/* ============ Design tokens ============
   Every color, size and easing the site uses, named once here and referenced
   with var(--name) below. Change a value here and it changes everywhere. */
:root {
  --black: #070809;
  --black-2: #0c0e10;
  --ink: #101214;
  --muted-dark: #777b81;
  --white: #f6f4ef;
  --paper: #f2efe7;
  --stone: #d9d3c7;
  --gold: #d6a749;
  --gold-2: #efc568;
  --eyebrow-dark: #755410; /* 6.03:1 on --paper, 4.65:1 on --stone */
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(11, 12, 13, 0.16);
  --shell: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ============ Base reset ============
   Small global defaults: predictable box sizing, dark page background,
   the site font, and links inheriting their surrounding color. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--black);
}
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}

/* ============ Layout helpers ============
   .shell centers content at a max width; .sr-only hides text visually while
   keeping it readable to screen readers; .skip-link appears on first Tab. */
.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  transform: translateY(-180%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ============ Fixed header + navigation ============
   Transparent over the hero; JS adds .scrolled after 16px of scroll to give
   it the dark blurred background. .menu-toggle is the mobile hamburger
   (hidden on desktop, shown in the 980px media query below). */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}
.site-header.scrolled {
  background: rgba(7, 8, 9, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}
.brand img {
  width: 64px;
  height: 38px;
  object-fit: contain;
}
.brand-word {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: 0.16em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}
.site-nav > a:not(.button) {
  padding-block: 6px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.18s;
}
.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible {
  color: #fff;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 21px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

/* ============ Buttons ============ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 650;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    border-color 0.2s;
}
.button:hover {
  transform: translateY(-1px);
}
.button-small {
  min-height: 40px;
  padding-inline: 17px;
}
.button-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #14110a;
  box-shadow: 0 10px 28px rgba(214, 167, 73, 0.14);
}
.button-ghost {
  border-color: rgba(214, 167, 73, 0.56);
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
}
.button-black {
  background: #0b0c0e;
  color: #fff;
}

/* ============ Hero ============
   Full-height opening section: mountain photo on the right (.hero-art),
   dark gradient overlay (.hero-vignette) keeping text readable, copy on
   the left, and the four Build/Scale/Operate/Impact cards along the bottom. */
.hero {
  position: relative;
  min-height: 940px;
  overflow: clip;
  background: #08090a;
  display: flex;
  align-items: stretch;
}
.hero-art {
  position: absolute;
  inset: 0 0 0 33%;
  background: url('../assets/images/hero-mountain.webp') 70% center / cover no-repeat;
  opacity: 0.985;
  filter: saturate(0.92) contrast(1.02);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  /* The first (top) gradient is a scrim for the fixed header: ridge highlights
     in the photo can reach near-white, so the nav's white text needs a
     guaranteed dark band behind it at every viewport crop. */
  background:
    linear-gradient(180deg, rgba(7, 8, 9, 0.85) 0%, rgba(7, 8, 9, 0.35) 9%, transparent 18%),
    linear-gradient(
      90deg,
      #070809 0%,
      rgba(7, 8, 9, 0.98) 28%,
      rgba(7, 8, 9, 0.58) 52%,
      rgba(7, 8, 9, 0.12) 77%,
      rgba(7, 8, 9, 0.25) 100%
    ),
    linear-gradient(0deg, #070809 0%, transparent 32%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 196px;
  padding-bottom: 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-copy {
  max-width: 630px;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow-dark {
  color: var(--eyebrow-dark);
}
.cta .eyebrow-dark {
  color: #4e3806;
} /* 5.01:1 on --gold */
.hero h1 {
  margin: 0;
  font-size: clamp(58px, 6.5vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.058em;
  font-weight: 760;
}
.hero h1 span {
  color: var(--gold-2);
}
.hero-lede {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}
.hero-products {
  margin-top: 44px;
  max-width: 720px;
}
.hero-products > p {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
}
.hero-product-list a {
  position: relative;
  padding-block: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}
.hero-product-list a:hover,
.hero-product-list a:focus-visible {
  color: var(--gold-2);
}
.hero-product-list a + a::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%);
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  padding-top: 30px;
  gap: 26px;
}
.hero-points article {
  min-width: 0;
}
/* The icon SVGs carry their own colors (gold stroke over a white trace) —
   an <img> can't inherit currentColor, and the old tint filter couldn't
   recolor the black strokes that produced, which made the icons invisible. */
.hero-points img {
  width: 29px;
  height: 29px;
  margin-bottom: 15px;
}
.hero-points h2 {
  margin: 0 0 7px;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.hero-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.55;
}

/* ============ Section surfaces ============
   Each homepage band picks one of these background/color pairings. */
.section {
  padding: 128px 0;
}
.section-light {
  background: var(--paper);
  color: var(--ink);
}
.section-dark {
  background: #0c0e10;
  color: #f3f0e9;
}
.section-stone {
  background: var(--stone);
  color: var(--ink);
}
.section-black {
  background: #050607;
}
.section-heading {
  max-width: 750px;
  margin-bottom: 66px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 690;
}
.section-heading > p:last-child {
  max-width: 680px;
  margin: 25px 0 0;
  color: #696a6d;
  font-size: 17px;
  line-height: 1.7;
}
.section-heading-dark > p:last-child {
  color: rgba(255, 255, 255, 0.54);
}

/* ============ Product cards (#products) ============
   Four-card 2x2 grid. .product-cta-pending is the status-and-action line
   ("Early access - Request a demo") used while a product has no live
   destination of its own. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
}
.product-card h3 {
  margin: 0 0 14px;
  font-size: 42px;
  letter-spacing: -0.05em;
}
.product-card h3.product-name-long {
  font-size: 34px;
  line-height: 1.02;
}
.product-card p {
  margin: 0;
  max-width: 330px;
  font-size: 15px;
  line-height: 1.65;
}
.product-card a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid currentColor;
  font-size: 13px;
  font-weight: 680;
}
.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 720;
  opacity: 0.8;
}
.product-card-dark {
  background: #0b0c0e;
  color: #f6f4ef;
}
.product-card-dark p {
  color: rgba(255, 255, 255, 0.62);
}
.product-card-gold {
  background: var(--gold);
  color: #17130b;
}
.product-card-gold p {
  color: rgba(23, 19, 11, 0.74);
}
.product-card-outline {
  border: 1px solid rgba(17, 18, 20, 0.24);
  background: transparent;
  color: var(--ink);
}
.product-card-outline p {
  color: #68696b;
}
.product-cta-pending {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid currentColor;
  font-size: 13px;
  font-weight: 680;
}
.product-cta-pending a {
  border-bottom: 1px solid currentColor;
  padding-block: 4px;
}

/* ============ /login product picker ============
   The <select> is styled as a large dark field; .login-go is the Continue
   button, with .is-disabled while the chosen product has no client access.
   .login-status is the announcement line under it (role=status in the HTML). */
.login-section {
  min-height: 100vh;
  padding-top: 176px;
}
.login-copy {
  max-width: 720px;
  margin-bottom: 46px;
}
.login-copy h1 {
  margin: 0;
  font-size: clamp(54px, 6vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.056em;
  font-weight: 720;
}
.login-copy p:last-child {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 17px;
  line-height: 1.7;
}
.login-note {
  max-width: 920px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  line-height: 1.7;
}
.login-note a {
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(214, 167, 73, 0.5);
  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}
.login-note a:hover,
.login-note a:focus-visible {
  color: var(--gold-2);
  border-color: currentColor;
}

.login-picker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
}
.login-field {
  width: 100%;
}
.login-label {
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 720;
  color: rgba(255, 255, 255, 0.66);
}
.login-select-wrap {
  position: relative;
  width: 100%;
}
.login-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  padding: 20px 58px 20px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  color: var(--white);
  font: inherit;
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}
.login-select:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}
.login-select:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 167, 73, 0.26);
}
.login-select-caret {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 10px;
  height: 10px;
  margin-top: -8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
}
.login-detail {
  min-height: 78px;
  margin-top: 20px;
}
.login-role {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 720;
  color: var(--gold);
}
.login-desc {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  line-height: 1.7;
}
.login-go {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 26px;
  background: var(--gold);
  color: #17130b;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 720;
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease);
}
.login-go:hover {
  background: var(--gold-2);
}
.login-go:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}
.login-go.is-disabled {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.44);
  cursor: not-allowed;
}
.login-go.is-disabled:hover {
  background: rgba(255, 255, 255, 0.09);
}
.login-status {
  margin: 16px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  line-height: 1.65;
}
.login-status.is-warn {
  color: var(--gold-2);
}
/* Clipped rather than display:none — a live region that is removed from the
   accessibility tree while empty is frequently not announced when it fills. */
.login-status:empty {
  margin: 0;
  height: 0;
  overflow: hidden;
}

/* ============ Legal pages (/terms, /accessibility) ============ */
.legal-section {
  padding-top: 176px;
}
.legal {
  max-width: 760px;
}
.legal h1 {
  margin: 0 0 10px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 720;
}
.legal-meta {
  margin: 0 0 42px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}
.legal h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.legal p,
.legal li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.75;
}
.legal p {
  margin: 0 0 16px;
}
.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(214, 167, 73, 0.5);
}
.legal a:hover,
.legal a:focus-visible {
  border-color: currentColor;
}
.legal strong {
  color: #fff;
}

/* ============ How we build (#model) ============
   Two columns: sticky heading on the left, numbered rows on the right. */
.split-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 100px;
  align-items: start;
}
.section-heading-dark {
  position: sticky;
  top: 132px;
  margin-bottom: 0;
}
.model-list {
  border-top: 1px solid var(--line-dark);
}
.model-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line-dark);
}
.model-row > span {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
}
.model-row h3 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.035em;
}
.model-row p {
  margin: 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
  line-height: 1.7;
}

/* ============ About (#about) ============ */
.statement {
  max-width: 1040px;
}
.statement-copy {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

/* ============ Operating principles (#principles) ============ */
.principles-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 60px;
}
.principles-head h2 {
  margin: 0;
  text-align: right;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.principle {
  min-height: 300px;
  padding: 26px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.principle span {
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 760;
}
.principle h3 {
  margin: 92px 0 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.principle p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  line-height: 1.65;
}

/* ============ Contact band (#contact) ============ */
.cta {
  padding: 76px 0;
  background: var(--gold);
  color: #11110f;
}
.cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.cta h2 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

/* ============ Footer ============ */
.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050607;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 30px;
}
.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}
.footer-links {
  display: flex;
  gap: 18px;
}
.site-footer .footer-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  padding-block: 6px;
  transition: color 0.18s ease;
}
.site-footer .footer-link:hover,
.site-footer .footer-link:focus-visible {
  color: var(--gold-2);
}

/* Scoped to .js so that without JavaScript the content is simply visible,
   rather than stranded at opacity:0 with no observer left to reveal it. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s var(--ease),
    transform 0.72s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay {
  transition-delay: 0.09s;
}
.reveal-delay-2 {
  transition-delay: 0.18s;
}

/* Dark core + gold halo: one ring or the other always clears 3:1, so focus
   stays visible on the paper, stone and gold sections as well as the dark ones. */
:focus-visible {
  outline: 2px solid #0b0c0e;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--gold-2);
}
/* Users who ask the OS for less motion get everything visible immediately
   and instant scrolling instead of smooth. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============ Tablet and below (<=980px) ============
   The hamburger appears and the nav becomes an off-canvas panel that slides
   in from the right. visibility toggles with the slide so the closed panel
   is out of the Tab order and invisible to screen readers. */
@media (max-width: 980px) {
  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 103;
  }
  .menu-toggle[aria-expanded='true'] span:nth-of-type(2) {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] span:nth-of-type(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 102;
    padding: 110px 24px 36px;
    background: rgba(5, 6, 7, 0.98);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.35s var(--ease),
      visibility 0s linear 0.35s;
  }
  .site-nav.open {
    transform: translateX(0);
    visibility: visible;
    transition:
      transform 0.35s var(--ease),
      visibility 0s;
  }
  .site-nav > a:not(.button) {
    padding: 17px 2px;
    border-bottom: 1px solid var(--line-dark);
    font-size: 18px;
  }
  .site-nav .button {
    margin-top: 28px;
  }
  .hero {
    min-height: 1030px;
  }
  .hero-art {
    left: 20%;
    opacity: 0.88;
    background-position: 72% center;
  }
  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(7, 8, 9, 0.85) 0%, rgba(7, 8, 9, 0.35) 9%, transparent 18%),
      linear-gradient(90deg, #070809 0%, rgba(7, 8, 9, 0.92) 38%, rgba(7, 8, 9, 0.25) 100%),
      linear-gradient(0deg, #070809 0%, transparent 40%);
  }
  .hero-inner {
    padding-top: 174px;
  }
  .hero-copy {
    max-width: 580px;
  }
  .hero-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 22px;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .section-heading-dark {
    position: static;
  }
  .principles-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr auto auto;
  }
  .footer-grid p:first-of-type {
    display: none;
  }
}

/* ============ Phones (<=640px) ============
   Single-column layouts, tighter spacing, larger tap-friendly controls. */
@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }
  .nav-wrap {
    min-height: 72px;
  }
  .brand img {
    width: 54px;
    height: 32px;
  }
  .brand-word {
    font-size: 13px;
  }
  .hero {
    min-height: 1080px;
  }
  .hero-art {
    inset: 175px -28% 215px 0;
    background-position: 66% center;
    opacity: 0.74;
  }
  .hero-vignette {
    background: linear-gradient(
      180deg,
      #070809 0%,
      rgba(7, 8, 9, 0.82) 44%,
      rgba(7, 8, 9, 0.2) 60%,
      #070809 80%
    );
  }
  .hero-inner {
    padding-top: 132px;
    padding-bottom: 34px;
  }
  .hero h1 {
    font-size: clamp(50px, 15vw, 69px);
  }
  .hero-lede {
    margin-top: 22px;
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 330px;
  }
  .hero-products {
    margin-top: 32px;
  }
  .hero-product-list {
    gap: 9px 20px;
  }
  .hero-product-list a {
    font-size: 13px;
  }
  .hero-product-list a + a::before {
    left: -11px;
  }
  .hero-points {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    padding-top: 24px;
  }
  .hero-points p {
    font-size: 12px;
  }
  .section {
    padding: 88px 0;
  }
  .login-section {
    padding-top: 124px;
  }
  .login-select {
    font-size: 19px;
    padding: 17px 52px 17px 18px;
  }
  .login-go {
    width: 100%;
    justify-content: space-between;
  }
  .login-detail {
    min-height: 0;
  }
  .section-heading {
    margin-bottom: 42px;
  }
  .section-heading h2 {
    font-size: 45px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card,
  .product-card:last-child {
    grid-column: auto;
    min-height: 360px;
  }
  .product-card h3 {
    font-size: 38px;
  }
  .split-grid {
    gap: 36px;
  }
  .model-row {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  .model-row h3 {
    font-size: 24px;
  }
  .statement-copy {
    font-size: 42px;
  }
  .principles-head {
    display: block;
  }
  .principles-head h2 {
    text-align: left;
    margin-top: 16px;
  }
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .principle {
    min-height: 230px;
  }
  .principle h3 {
    margin-top: 60px;
  }
  .cta-inner {
    display: block;
  }
  .cta h2 {
    font-size: 44px;
  }
  .cta .button {
    margin-top: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
