:root {
  color-scheme: light;
  --ink: #102a23;
  --ink-deep: #061d18;
  --evergreen: #0b3b31;
  --evergreen-soft: #1f5b4c;
  --creek: #247ca3;
  --creek-bright: #67b8cb;
  --copper: #bd6937;
  --cream: #f4f0e7;
  --paper: #fbf8f1;
  --mint: #bce3d1;
  --line: rgba(16, 42, 35, 0.18);
  --shadow: 0 28px 80px rgba(4, 31, 25, 0.15);
  --radius: 1.25rem;
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); }
body, button, input { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

::selection { color: var(--paper); background: var(--creek); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink-deep);
  border-radius: 0.5rem;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow--mint { color: var(--mint); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand img { width: 3.5rem; height: 3.5rem; object-fit: contain; }
.brand__type { display: grid; gap: 0.08rem; }
.brand__type strong {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.38rem;
  line-height: 1;
  letter-spacing: -0.025em;
}
.brand__type small {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.7;
}
.brand--light { color: var(--paper); }
.brand--light img { filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22)); }

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, .card-link:focus-visible, .password-toggle:focus-visible {
  outline: 3px solid var(--creek-bright);
  outline-offset: 3px;
}
.button--primary { color: white; background: var(--copper); box-shadow: 0 12px 28px rgba(136, 66, 28, 0.2); }
.button--primary:hover { background: #a9582b; box-shadow: 0 18px 34px rgba(136, 66, 28, 0.26); }
.button--quiet { border-color: var(--line); background: rgba(255, 255, 255, 0.35); }
.button--cream { color: var(--ink-deep); background: var(--cream); }
.button--glass { color: white; background: rgba(6, 29, 24, 0.28); border-color: rgba(255, 255, 255, 0.48); backdrop-filter: blur(8px); }
.button--glass:hover { background: rgba(6, 29, 24, 0.52); }
.button--wide { width: 100%; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-pill i, .live-badge i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #4ac58a;
  box-shadow: 0 0 0 0.25rem rgba(74, 197, 138, 0.16);
}
.status-pill--dark { color: var(--evergreen); }

/* Login */
.login-page {
  min-height: 100vh;
  overflow-x: hidden;
  color: white;
  background:
    radial-gradient(circle at 12% 90%, rgba(36, 124, 163, 0.32), transparent 34rem),
    linear-gradient(135deg, #061d18 0%, #0b3b31 55%, #0f4438 100%);
}
.login-page::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.16;
  background-image: repeating-radial-gradient(ellipse at 20% 105%, transparent 0 34px, rgba(188, 227, 209, 0.55) 35px 36px, transparent 37px 52px);
  mask-image: linear-gradient(to top, black, transparent 76%);
}
.login-orbit {
  position: fixed;
  border: 1px solid rgba(188, 227, 209, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.login-orbit--one { width: 32rem; height: 32rem; top: -19rem; right: -10rem; }
.login-orbit--two { width: 17rem; height: 17rem; right: 15%; bottom: -11rem; }
.login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, calc(100% - 3rem));
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.18fr) minmax(22rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  margin: 0 auto;
  padding: 3rem 0;
}
.login-story {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 0;
}
.login-story .brand img { width: 4.5rem; height: 4.5rem; }
.login-story__copy { max-width: 41rem; padding: 4rem 0; }
.login-story__copy h1 {
  max-width: 8ch;
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(4.4rem, 8vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.82;
}
.login-story__copy > p:last-child {
  max-width: 35rem;
  margin: 2.25rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}
.location-stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.location-stamp__line { width: 3.5rem; height: 1px; background: var(--mint); }

.gate-card {
  overflow: hidden;
  color: var(--ink);
  background: rgba(251, 248, 241, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0.75rem;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
}
.gate-card__top, .gate-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
}
.gate-card__top { border-bottom: 1px solid var(--line); }
.gate-card__number, .gate-card__bottom {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.gate-card__number { color: rgba(16, 42, 35, 0.5); }
.gate-card__body { padding: clamp(2rem, 5vw, 3.5rem); }
.gate-card h2 {
  max-width: 9ch;
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.gate-card__intro { margin: 1.25rem 0 2.25rem; color: rgba(16, 42, 35, 0.67); line-height: 1.6; }
.password-form { display: grid; gap: 0.8rem; }
.password-form label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.password-field { position: relative; }
.password-field input {
  width: 100%;
  min-height: 3.6rem;
  padding: 0.85rem 4.5rem 0.85rem 1rem;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(16, 42, 35, 0.25);
  border-radius: 0.35rem;
  outline: none;
}
.password-field input:focus { border-color: var(--creek); box-shadow: 0 0 0 3px rgba(36, 124, 163, 0.13); }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  padding: 0.35rem;
  border: 0;
  color: var(--creek);
  background: transparent;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(-50%);
}
.form-error { margin: 0; color: #a43e31; font-size: 0.83rem; font-weight: 700; }
.gate-note { display: flex; gap: 0.8rem; margin-top: 1.25rem; color: rgba(16, 42, 35, 0.58); font-size: 0.73rem; line-height: 1.55; }
.gate-note svg { flex: 0 0 1.35rem; width: 1.35rem; fill: var(--creek); }
.gate-card__bottom { color: rgba(16, 42, 35, 0.48); background: rgba(16, 42, 35, 0.045); border-top: 1px solid var(--line); }

/* Portal */
.portal-page { background: var(--cream); }
.portal-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 6.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem max(1.5rem, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 231, 0.88);
  backdrop-filter: blur(14px);
}
.portal-header__actions { display: flex; align-items: center; gap: 2rem; }
.text-button {
  padding: 0.5rem 0;
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
}
.text-button--dark { color: var(--ink); }

.portal-hero {
  position: relative;
  display: grid;
  min-height: 42rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) max(1.5rem, calc((100vw - 1240px) / 2)) 4rem;
  border-bottom: 1px solid var(--line);
}
.portal-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 60%, rgba(36, 124, 163, 0.09) 60% 73%, transparent 73%),
    repeating-radial-gradient(ellipse at 100% 108%, transparent 0 48px, rgba(11, 59, 49, 0.11) 49px 50px, transparent 51px 70px);
  mask-image: linear-gradient(90deg, transparent 35%, black);
}
.portal-hero__mark {
  position: absolute;
  top: -8rem;
  right: -2rem;
  color: rgba(11, 59, 49, 0.055);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(20rem, 40vw, 39rem);
  font-weight: 700;
  letter-spacing: -0.19em;
  line-height: 1;
  pointer-events: none;
}
.portal-hero__copy { position: relative; z-index: 1; max-width: 55rem; }
.portal-hero h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.73;
}
.portal-hero h1 em { color: var(--creek); font-weight: 400; }
.portal-hero__lede { max-width: 44rem; margin: 2.75rem 0 0; color: rgba(16, 42, 35, 0.72); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.25rem; }
.portal-hero__stats { position: relative; z-index: 1; display: grid; min-width: 12rem; border-top: 1px solid var(--line); }
.portal-hero__stats div { display: grid; grid-template-columns: 4rem 1fr; align-items: baseline; gap: 0.7rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.portal-hero__stats strong { font-family: "Iowan Old Style", Georgia, serif; font-size: 2.1rem; font-weight: 500; }
.portal-hero__stats span { color: rgba(16, 42, 35, 0.62); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }

.section-shell { width: min(1240px, calc(100% - 3rem)); margin-inline: auto; }
.flagship-section { padding-block: clamp(5.5rem, 10vw, 9rem); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}
.section-heading--rule { padding-top: 2rem; border-top: 1px solid var(--line); }
.section-heading h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
}
.section-heading > p { margin: 0; color: rgba(16, 42, 35, 0.66); line-height: 1.7; }

.flagship-card {
  position: relative;
  min-height: clamp(35rem, 65vw, 48rem);
  overflow: hidden;
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.flagship-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flagship-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 23, 18, 0.18), rgba(3, 23, 18, 0.08) 35%, rgba(3, 23, 18, 0.88)); }
.flagship-card__topline { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 1.6rem; }
.card-index, .live-badge { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.live-badge { display: inline-flex; align-items: center; gap: 0.5rem; }
.flagship-card__content { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: clamp(1.5rem, 4vw, 4rem); }
.flagship-card__content > p { margin: 0 0 1rem; color: rgba(255, 255, 255, 0.72); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.flagship-card__content h3 { max-width: 11ch; margin: 0; font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(3.8rem, 8vw, 7.7rem); font-weight: 500; letter-spacing: -0.065em; line-height: 0.82; }
.flagship-card__actions { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-top: 2rem; }
.flagship-card__buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.round-link { display: grid; width: 7.5rem; height: 7.5rem; place-content: center; color: white; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%; font-size: 0.67rem; font-weight: 800; line-height: 1.35; text-align: center; text-decoration: none; text-transform: uppercase; transition: background 180ms ease, transform 180ms ease; }
.round-link:hover { color: var(--ink); background: var(--cream); transform: rotate(-3deg); }

.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; padding-bottom: clamp(6rem, 11vw, 10rem); }
.demo-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 0.75rem; transition: box-shadow 220ms ease, transform 220ms ease; }
.demo-card:hover { box-shadow: 0 20px 48px rgba(4, 31, 25, 0.11); transform: translateY(-4px); }
.demo-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 0.75fr; }
.demo-card__image { position: relative; display: block; min-height: 22rem; overflow: hidden; background: var(--evergreen); }
.demo-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.demo-card:hover .demo-card__image img { transform: scale(1.035); }
.demo-card__launch { position: absolute; top: 1rem; right: 1rem; display: grid; width: 3.2rem; height: 3.2rem; place-items: center; color: var(--ink); background: var(--cream); border-radius: 50%; font-size: 1.2rem; box-shadow: 0 10px 28px rgba(4, 31, 25, 0.17); }
.demo-card__body { display: flex; min-height: 18rem; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 4vw, 2.6rem); }
.demo-card__meta { display: flex; width: 100%; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; color: rgba(16, 42, 35, 0.55); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.demo-card__body h3, .product-card__copy h3 { margin: 0; font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 0.96; }
.demo-card__body p { margin: 1.2rem 0 2rem; color: rgba(16, 42, 35, 0.66); line-height: 1.65; }
.demo-card--strategy .demo-card__image { background: var(--ink-deep); }
.demo-card--strategy .demo-card__image img { object-position: center; }
.demo-card--strategy .demo-card__body { color: white; background: var(--evergreen); }
.demo-card--strategy .demo-card__meta,
.demo-card--strategy .demo-card__body p { color: rgba(255, 255, 255, 0.66); }
.demo-card--strategy .card-link { color: var(--mint); }
.card-link { display: inline-flex; gap: 1rem; margin-top: auto; padding-bottom: 0.35rem; border-bottom: 1px solid currentColor; color: var(--evergreen); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.card-link--button { padding: 0 0 0.35rem; background: transparent; cursor: pointer; }

.product-section { padding-block: clamp(6rem, 11vw, 10rem); color: white; background: var(--ink-deep); }
.section-heading--light > p { color: rgba(255, 255, 255, 0.6); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-card { position: relative; min-height: 46rem; overflow: hidden; border-radius: 0.75rem; }
.product-card--blue { background: #195f78; }
.product-card--copper { background: #934c2c; }
.product-card--green { background: #185345; }
.product-card__number { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2; font-family: "Iowan Old Style", Georgia, serif; font-size: 1.6rem; }
.phone-stage { height: 24rem; overflow: hidden; padding: 3.3rem 3rem 0; background: radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.18), transparent 68%); }
.phone-stage img { width: min(12rem, 70%); margin: 0 auto; border: 6px solid #10221f; border-bottom: 0; border-radius: 1.8rem 1.8rem 0 0; box-shadow: 0 28px 55px rgba(0, 0, 0, 0.35); }
.product-card__copy { position: relative; z-index: 2; display: flex; min-height: 22rem; flex-direction: column; align-items: flex-start; padding: 2rem; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(3, 23, 18, 0.2)); }
.product-card__tag { display: inline-block; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.65); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.product-card__copy p { margin: 1.1rem 0 2rem; color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; line-height: 1.65; }
.product-card .card-link { color: white; border: 0; border-bottom: 1px solid currentColor; }
.platform-visual { display: grid; height: 24rem; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 4.2rem 1.5rem 1.5rem; background: radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.15), transparent 68%); }
.platform-visual__rail { display: grid; align-content: start; gap: 0.75rem; padding: 1rem 0.85rem; background: rgba(3, 23, 18, 0.5); border-radius: 0.65rem; }
.platform-visual__rail i { aspect-ratio: 1; background: rgba(255, 255, 255, 0.28); border-radius: 0.25rem; }
.platform-visual__screen { padding: 1.2rem; color: var(--ink); background: #eff4ee; border-radius: 0.65rem; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28); }
.platform-visual__top { display: flex; justify-content: space-between; }
.platform-visual__top span { width: 35%; height: 0.45rem; background: #bdcac5; border-radius: 1rem; }
.platform-visual__top span:last-child { width: 15%; }
.platform-visual__metric { display: grid; margin: 1.7rem 0 1rem; }
.platform-visual__metric b { font-family: "Iowan Old Style", Georgia, serif; font-size: 3.1rem; font-weight: 500; line-height: 1; }
.platform-visual__metric span { color: #647b72; font-size: 0.55rem; font-weight: 800; text-transform: uppercase; }
.platform-visual__bars { display: flex; height: 4rem; align-items: end; gap: 0.4rem; padding-bottom: 0.8rem; border-bottom: 1px solid #cbd5d1; }
.platform-visual__bars i { flex: 1; height: 40%; background: var(--creek); border-radius: 0.15rem 0.15rem 0 0; }
.platform-visual__bars i:nth-child(2) { height: 72%; }
.platform-visual__bars i:nth-child(3) { height: 52%; }
.platform-visual__bars i:nth-child(4) { height: 90%; background: var(--copper); }
.platform-visual__bars i:nth-child(5) { height: 68%; }
.platform-visual__rows { display: grid; gap: 0.55rem; padding-top: 0.8rem; }
.platform-visual__rows span { height: 0.5rem; background: #d6deda; border-radius: 1rem; }

.closing-section { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(3rem, 8vw, 8rem); padding-block: clamp(6rem, 12vw, 11rem); }
.closing-section h2 { margin: 0; font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(3.7rem, 7vw, 7rem); font-weight: 500; letter-spacing: -0.065em; line-height: 0.86; }
.closing-section__action { align-self: end; padding-top: 2rem; border-top: 1px solid var(--line); }
.closing-section__action p { margin: 0 0 2rem; color: rgba(16, 42, 35, 0.67); font-size: 1.05rem; line-height: 1.7; }

.portal-footer { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 3rem max(1.5rem, calc((100vw - 1240px) / 2)); color: white; background: var(--ink-deep); }
.portal-footer > div { display: grid; gap: 0.4rem; color: rgba(255, 255, 255, 0.5); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-align: right; text-transform: uppercase; }

.guide-dialog { width: min(35rem, calc(100% - 2rem)); padding: clamp(2rem, 6vw, 4rem); color: var(--ink); background: var(--paper); border: 0; border-radius: 0.75rem; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4); }
.guide-dialog::backdrop { background: rgba(3, 23, 18, 0.78); backdrop-filter: blur(5px); }
.guide-dialog h2 { margin: 0; font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(2.7rem, 7vw, 4.5rem); font-weight: 500; letter-spacing: -0.055em; line-height: 0.94; }
.guide-dialog > p:not(.eyebrow) { margin: 1.3rem 0 2rem; color: rgba(16, 42, 35, 0.66); line-height: 1.7; }
.guide-dialog__close { position: absolute; top: 1rem; right: 1rem; display: grid; width: 2.5rem; height: 2.5rem; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.5rem; cursor: pointer; }
.guide-dialog .text-button { display: block; margin: 1.25rem auto 0; }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; width: min(42rem, calc(100% - 2rem)); gap: 1rem; padding-block: 2rem; }
  .login-story { min-height: auto; gap: 2rem; }
  .login-story__copy { padding: 3rem 0; }
  .login-story__footer { display: none; }
  .portal-hero { min-height: auto; grid-template-columns: 1fr; }
  .portal-hero__stats { grid-template-columns: repeat(3, 1fr); }
  .portal-hero__stats div { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 39rem; display: grid; grid-template-columns: 0.85fr 1.15fr; }
  .phone-stage, .platform-visual { height: 100%; min-height: 39rem; padding-top: 5rem; }
  .product-card__copy { min-height: auto; justify-content: end; }
}

@media (max-width: 720px) {
  .brand__type small, .portal-header .status-pill { display: none; }
  .portal-header { min-height: 5.4rem; }
  .portal-header__actions { gap: 1rem; }
  .portal-hero { padding-top: 5rem; }
  .portal-hero__mark { top: 0; }
  .portal-hero h1 { font-size: clamp(4.2rem, 22vw, 7rem); }
  .portal-hero__stats { grid-template-columns: 1fr; }
  .portal-hero__stats div { grid-template-columns: 4rem 1fr; }
  .section-heading, .closing-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-card--wide { display: block; grid-column: auto; }
  .demo-card__image { min-height: 16rem; }
  .flagship-card { min-height: 40rem; }
  .flagship-card__actions { align-items: flex-start; flex-direction: column; }
  .flagship-card__buttons { width: 100%; }
  .flagship-card__buttons .button { width: 100%; }
  .round-link { width: auto; height: auto; padding: 0.75rem 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; text-align: left; }
  .product-card { display: block; min-height: auto; }
  .phone-stage, .platform-visual { min-height: 23rem; height: 23rem; }
  .product-card__copy { min-height: 22rem; }
  .portal-footer { align-items: flex-start; flex-direction: column; }
  .portal-footer > div { text-align: left; }
}

@media (max-width: 480px) {
  .login-shell { width: calc(100% - 1.25rem); padding-block: 0.75rem; }
  .login-story__copy h1 { font-size: 3.7rem; }
  .login-story__copy { padding: 2rem 0; }
  .gate-card__body { padding: 1.5rem; }
  .gate-card__bottom { align-items: flex-start; flex-direction: column; }
  .portal-header .brand img { width: 2.7rem; height: 2.7rem; }
  .portal-header .brand__type strong { font-size: 1.08rem; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .flagship-card__content h3 { font-size: 3.6rem; }
}
