/* Solantry AI Enterprise
   Minimal Swiss-neutral system, with high-fidelity hero/footer proportions
   based on the supplied references. */

:root {
  --black: #080808;
  --muted: #686868;
  --line: #d9d9d9;
  --soft: #f6f6f4;
  --white: #fff;
  --container: 1380px;
  --pad: clamp(28px, 4.2vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button { font: inherit; }

img {
  display: block;
  max-width: 100%;
}

.section-grid,
.header-inner {
  width: min(calc(100% - 2 * var(--pad)), var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 104px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(0);
  transition: transform .42s var(--ease), background .25s ease;
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 143px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  letter-spacing: -.015em;
}

.main-nav a,
.socials a,
.footer-column a {
  position: relative;
}

.main-nav a::after,
.socials a::after,
.footer-column a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right .35s var(--ease);
}

.main-nav a:hover::after,
.socials a:hover::after,
.footer-column a:hover::after {
  right: 0;
}

.mobile-menu {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu span {
  display: block;
  width: 22px;
  height: 1px;
  background: #111;
  margin: 5px 0;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 84px;
}

.hero-content {
  width: 100%;
  text-align: center;
  margin-top: -4px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 4.25vw, 72px);
  line-height: .98;
  font-weight: 300;
  letter-spacing: -.065em;
}

.hero h1 strong {
  font-weight: 600;
}

.hero h1 span {
  font-weight: 300;
}

.hero-copy {
  max-width: 660px;
  margin: 208px auto 0;
  font-size: 13px;
  line-height: 1.38;
  letter-spacing: -.018em;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  height: 41px;
  padding: 0 18px;
  margin-top: 59px;
  border-radius: 999px;
  color: #fff;
  background: #050505;
  font-size: 11px;
  letter-spacing: -.015em;
  transition: transform .3s var(--ease), background .3s ease;
}

.pill-button:hover {
  transform: translateY(-2px);
  background: #262626;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  color: #333;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 21px;
  background: #111;
  animation: scrollPulse 1.8s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(.45); opacity: .25; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Shared content */
section:not(.hero) {
  overflow: clip;
}

.enterprise,
.advancements,
.contact-band {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(60px, 9vw, 160px);
  align-items: center;
  padding-block: 150px;
  border-top: 1px solid var(--line);
}

.section-intro h2,
.advancements-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 84px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 500;
}

.section-intro h2 span,
.advancements-heading h2 span,
.contact-copy h2 span {
  font-weight: 300;
}

.lead {
  max-width: 590px;
  margin: 0 0 68px;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.35;
  letter-spacing: -.035em;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease);
}

.feature:hover {
  padding-left: 10px;
}

.feature-number {
  font-size: 11px;
  color: var(--muted);
  padding-top: 4px;
}

.feature h3 {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.feature p {
  margin: 0;
  max-width: 500px;
  color: #5d5d5d;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -.015em;
}

/* Advancements */
.advancements {
  grid-template-columns: .9fr 1.1fr;
  position: relative;
}

.advancements-heading > p:last-child {
  max-width: 430px;
  margin: 35px 0 0;
  color: #5d5d5d;
  font-size: 13px;
  line-height: 1.55;
}

.release-stack {
  border-top: 1px solid var(--line);
}

.release {
  display: grid;
  grid-template-columns: 145px 1fr 25px;
  gap: 20px;
  align-items: center;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
  transition: padding .45s var(--ease), background .35s ease;
}

.release:hover {
  padding-inline: 14px;
  background: var(--soft);
}

.release-version {
  color: #777;
  font-size: 12px;
}

.release-name {
  font-size: clamp(18px, 2vw, 29px);
  letter-spacing: -.04em;
  font-weight: 500;
}

.release-arrow {
  font-size: 20px;
  transform: translate(-4px, 4px);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s ease;
}

.release:hover .release-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.enterprise-mark {
  grid-column: 2;
  margin-top: 50px;
}

.enterprise-mark img {
  width: min(270px, 55%);
  opacity: .92;
}

/* Contact */
.contact-band {
  min-height: 64vh;
  background: #f7f7f5;
}

.contact-action {
  justify-self: end;
  max-width: 420px;
}

.contact-action p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5d5d5d;
}

/* Footer */
.site-footer {
  background: #fff;
}

.footer-topline {
  height: 1px;
  background: #111;
}

.footer-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  padding-top: 74px;
  padding-bottom: 90px;
}

.footer-brand img {
  width: 290px;
  max-width: 100%;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-label {
  margin: 4px 0 5px;
  color: #666;
  font-size: 14px;
  letter-spacing: -.02em;
}

.footer-column a {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -.035em;
}

.footer-label-spaced {
  margin-top: 34px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  align-items: center;
  min-height: 72px;
  padding-bottom: 24px;
}

.copyright {
  margin: 0;
  font-size: 12px;
  color: #333;
}

.socials {
  display: flex;
  align-items: center;
  gap: 21px;
  font-size: 11px;
  color: #333;
}

.locale-trigger {
  border: 0;
  min-width: 155px;
  height: 41px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: #050505;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 11px;
  transition: transform .3s var(--ease);
}

.locale-trigger:hover {
  transform: translateY(-2px);
}

.locale-trigger span:last-child {
  color: #888;
}

/* Locale modal */
.locale-modal[hidden] { display: none; }

.locale-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.locale-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.locale-panel {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(1040px, calc(100% - 36px));
  max-height: min(86vh, 880px);
  overflow: auto;
  background: #fff;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid #111;
  box-shadow: 0 30px 90px rgba(0,0,0,.15);
  animation: panelIn .35s var(--ease) both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translate(-50%, -47%) scale(.985); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.locale-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--line);
}

.locale-panel-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 500;
}

.modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid #111;
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
  background: #f4f4f2;
}

.region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 55px;
  padding-top: 36px;
}

.region-group h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

.region-items {
  border-top: 1px solid var(--line);
}

.region-items a {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 11px;
  align-items: center;
  min-height: 45px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  transition: padding .3s var(--ease), background .3s ease;
}

.region-items a:hover {
  padding-inline: 7px;
  background: #f7f7f5;
}

.region-items a span {
  font-size: 13px;
}

.region-items a b {
  color: #777;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .05em;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .18s; }

.visually-hidden-section {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* Responsive */
@media (max-width: 900px) {
  :root { --pad: 25px; }

  .site-header { height: 82px; }

  .main-nav {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: 73px;
    display: none;
    padding: 17px;
    background: #fff;
    border: 1px solid #111;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .main-nav.is-open { display: flex; }
  .mobile-menu { display: block; }

  .hero {
    min-height: 100svh;
    padding-top: 65px;
  }

  .hero h1 {
    font-size: clamp(41px, 8.6vw, 66px);
  }

  .hero-copy {
    margin-top: 145px;
    max-width: 610px;
  }

  .enterprise,
  .advancements,
  .contact-band {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 80px;
    padding-block: 105px;
  }

  .advancements {
    gap: 65px;
  }

  .enterprise-mark { grid-column: auto; }

  .footer-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 75px;
  }

  .footer-brand img { width: 220px; }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .socials {
    flex-wrap: wrap;
  }

  .locale-trigger {
    justify-self: start;
  }

  .region-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 42px;
    letter-spacing: -.07em;
  }

  .hero-copy {
    margin-top: 120px;
    font-size: 12px;
  }

  .pill-button {
    margin-top: 40px;
  }

  .section-intro h2,
  .advancements-heading h2,
  .contact-copy h2 {
    font-size: 48px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-column a {
    font-size: 16px;
  }

  .release {
    grid-template-columns: 90px 1fr 20px;
    gap: 10px;
    min-height: 88px;
  }

  .release-name { font-size: 17px; }

  .locale-panel {
    width: calc(100% - 20px);
    padding: 22px;
  }

  .region-items a {
    grid-template-columns: 28px 1fr;
  }

  .region-items a b {
    grid-column: 2;
    margin-top: -8px;
    margin-bottom: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
