:root {
  --ink: #071018;
  --deep: #03131e;
  --abyss: #02080d;
  --cream: #f6efe3;
  --sand: #d7b98c;
  --copper: #d9783f;
  --aqua: #58f0ff;
  --glacier: #c7f8ff;
  --muted: rgba(246, 239, 227, 0.72);
  --line: rgba(246, 239, 227, 0.16);
  --glass: rgba(4, 21, 31, 0.58);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--cream);
  font-family: var(--body);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: fixed;
  inset: 22px 28px auto;
  z-index: 50;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px 0 22px;
  border: 1px solid rgba(246, 239, 227, 0.16);
  border-radius: 999px;
  background: rgba(3, 15, 23, 0.22);
  backdrop-filter: blur(22px) saturate(135%);
  transition: background 350ms ease, border-color 350ms ease, transform 350ms ease, box-shadow 350ms ease;
}
.nav.scrolled {
  background: rgba(4, 16, 24, 0.78);
  border-color: rgba(88, 240, 255, 0.22);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(199, 248, 255, 0.5);
  background: #03131e;
  box-shadow: 0 0 0 3px rgba(217, 120, 63, 0.22), 0 0 24px rgba(88, 240, 255, 0.42);
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.85);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.74);
}
.nav-links a { transition: color 180ms ease; }
.nav-links a:hover,
.nav-links a.active { color: var(--glacier); }
.nav-cta {
  justify-self: end;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(246, 239, 227, 0.92), rgba(215, 185, 140, 0.88));
  color: #0a1a21;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-toggle { display: none; }
.mobile-menu { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -6% 0 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  z-index: -4;
  filter: saturate(1.04) contrast(1.02);
  transform: translateY(0) scale(1.02);
  will-change: transform;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 42%, rgba(88, 240, 255, 0.04), transparent 28%),
    linear-gradient(90deg, rgba(2, 8, 13, 0.78), rgba(2, 8, 13, 0.18) 44%, rgba(2, 8, 13, 0.84)),
    linear-gradient(180deg, rgba(2, 8, 13, 0.08), rgba(2, 8, 13, 0.74) 82%, var(--abyss));
}
.hero-noise,
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.hero-oracle {
  position: absolute;
  top: 18%;
  right: 8%;
  z-index: -2;
  width: min(520px, 46vw);
  aspect-ratio: 1;
  opacity: 0.74;
  pointer-events: none;
  filter: drop-shadow(0 0 42px rgba(88, 240, 255, 0.18));
  animation: oracleFloat 16s ease-in-out infinite alternate;
}
.hero-oracle::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(88, 240, 255, 0.22), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(2, 8, 13, 0.04), rgba(2, 8, 13, 0.74) 52%, transparent 70%);
  opacity: 0.8;
  animation: oraclePulse 9s ease-in-out infinite;
}
.oracle-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(88, 240, 255, 0.2);
  border-radius: 42% 58% 47% 53% / 52% 44% 56% 48%;
  background:
    conic-gradient(from 120deg, transparent, rgba(88, 240, 255, 0.16), transparent 34%, rgba(217, 120, 63, 0.1), transparent 68%);
  mix-blend-mode: screen;
  animation: oracleOrbit 22s linear infinite;
}
.oracle-ring:nth-child(2) {
  inset: 22%;
  border-color: rgba(215, 185, 140, 0.16);
  animation-duration: 31s;
  animation-direction: reverse;
  transform: rotate(35deg);
}
.oracle-eye {
  position: absolute;
  top: 43%;
  width: clamp(40px, 5vw, 76px);
  height: clamp(18px, 2.4vw, 34px);
  opacity: 0.86;
  transform: scale(0.74);
}
.oracle-eye:nth-of-type(3) {
  left: 36%;
}
.oracle-eye:nth-of-type(4) {
  left: 52%;
  animation-duration: 10.8s, 15.8s, 18s;
  animation-delay: -2.8s, -5.5s, -9s;
}
.oracle-glyph {
  position: absolute;
  color: rgba(199, 248, 255, 0.38);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(88, 240, 255, 0.18);
  animation: glyphDrift 12s ease-in-out infinite;
}
.glyph-one { top: 25%; left: 14%; }
.glyph-two { right: 8%; top: 60%; animation-delay: -4s; }
.glyph-three { left: 38%; bottom: 18%; animation-delay: -7s; }
.hero-content {
  width: min(980px, calc(100% - 40px));
  padding-top: 70px;
  text-align: center;
  animation: riseIn 1200ms cubic-bezier(.2,.8,.2,1) both;
}
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 180, 116, 0.38);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 120, 63, 0.9), rgba(164, 73, 39, 0.74));
  box-shadow: 0 10px 28px rgba(111, 45, 22, 0.18);
  font-family: var(--mono);
  color: #fff3df;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-eyebrow,
.agent-overlay .eyebrow,
.contact-content .eyebrow {
  background: linear-gradient(135deg, rgba(217, 120, 63, 0.94), rgba(116, 46, 24, 0.72));
  color: #fff5e6;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26), 0 0 22px rgba(217, 120, 63, 0.16);
}
.hero-content .eyebrow,
.section-head .eyebrow,
.contact-content .eyebrow {
  margin-inline: auto;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 11vw, 10.4rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.62);
}
.hero-ocean-word {
  display: inline-block;
  margin-inline: 0.035em;
  letter-spacing: -0.035em;
}
.hero-copy {
  width: min(720px, 100%);
  margin: 28px auto 0;
  color: rgba(246, 239, 227, 0.82);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary {
  color: #06151b;
  background: linear-gradient(135deg, var(--glacier), var(--sand) 55%, var(--copper));
  box-shadow: 0 18px 50px rgba(88, 240, 255, 0.18);
}
.button-ghost {
  border: 1px solid rgba(246, 239, 227, 0.28);
  background: rgba(246, 239, 227, 0.07);
}
.hero-panel {
  position: absolute;
  right: 5vw;
  bottom: 11vh;
  width: min(310px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid rgba(88, 240, 255, 0.22);
  border-radius: 24px;
  background: rgba(4, 19, 29, 0.42);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  animation: driftPanel 5s ease-in-out infinite alternate;
}
.panel-oracle {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 244, 185, 0.96) 0 11%, rgba(88, 240, 255, 0.9) 12% 28%, rgba(4, 13, 19, 0.9) 30% 100%);
  box-shadow: 0 0 18px rgba(88, 240, 255, 0.42);
  animation: watcherBlink 13.7s cubic-bezier(.42, 0, .18, 1) infinite, watcherFocus 17.3s steps(1, end) infinite;
}
.hero-panel span,
.studio-card-caption span,
.agent-card span,
.process-item span {
  display: block;
  color: rgba(246, 239, 227, 0.55);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-panel strong {
  display: block;
  margin-top: 7px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.02;
}
.hero-panel-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--glacier);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}
.signal-bars {
  display: grid;
  grid-template-columns: 1.2fr 1fr .82fr;
  align-items: end;
  gap: 8px;
  height: 42px;
  margin-top: 16px;
}
.signal-bars i {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-width: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(88, 240, 255, 0.92), rgba(88, 240, 255, 0.16));
  box-shadow: 0 0 18px rgba(88, 240, 255, 0.28);
  animation: pulseBar 1.8s ease-in-out infinite;
}
.signal-bars i span {
  position: absolute;
  bottom: -18px;
  color: rgba(246, 239, 227, 0.54);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.signal-bars i:nth-child(1) { height: 92%; animation-delay: .1s; }
.signal-bars i:nth-child(2) { height: 68%; animation-delay: .25s; }
.signal-bars i:nth-child(3) { height: 42%; animation-delay: .4s; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(246, 239, 227, 0.62);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-cue i { width: 1px; height: 54px; background: linear-gradient(var(--cream), transparent); transform-origin: top; animation: scrollLine 1.7s ease-in-out infinite; }

.day-section {
  background: linear-gradient(180deg, #f5eadb, #e2c69e 48%, #09202c 100%);
  color: var(--ink);
}
.philosophy { padding: 130px 0 80px; }
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}
.studio-copy h2,
.section-head h2,
.agent-overlay h2,
.process-copy h2,
.contact-content h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .9;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.studio-copy p:not(.eyebrow),
.process-copy p,
.contact-content p {
  color: rgba(7, 16, 24, 0.68);
  line-height: 1.9;
  font-size: 1.03rem;
}
.studio-card {
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(43, 24, 10, 0.32);
  transform: rotate(1.2deg);
}
.studio-card img { aspect-ratio: 1.08 / .78; width: 100%; height: 100%; object-fit: cover; }
.studio-card-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px;
  border: 1px solid rgba(246, 239, 227, 0.28);
  border-radius: 24px;
  color: var(--cream);
  background: rgba(3, 14, 20, 0.58);
  backdrop-filter: blur(18px);
}
.studio-card-caption strong { display: block; margin-top: 6px; font-family: var(--display); font-size: 28px; line-height: 1.05; }
.stats-strip {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(7, 16, 24, 0.16);
  border-radius: 34px;
  background: rgba(255, 248, 238, 0.3);
  overflow: hidden;
}
.stat { padding: 30px; border-right: 1px solid rgba(7, 16, 24, 0.14); }
.stat:last-child { border-right: 0; }
.stat-value { display: block; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 5rem); line-height: .85; }
.stat-label { color: rgba(7, 16, 24, 0.55); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.apps { padding: 110px 0 150px; }
.section-head { max-width: 820px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.app-card {
  min-height: 380px;
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(7, 16, 24, 0.16);
  border-radius: 34px;
  background: rgba(255, 248, 238, 0.22);
}
.app-card.featured { transform: translateY(-28px); background: rgba(255, 248, 238, 0.4); }
.app-card h3,
.agent-card h3,
.process-item h3 { margin: 80px 0 14px; font-family: var(--display); font-size: 2.4rem; line-height: .95; letter-spacing: -0.04em; }
.app-card p:not(.eyebrow), .agent-card p, .process-item p { line-height: 1.75; color: rgba(7, 16, 24, .62); }
.app-orb {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(199, 248, 255, 0.55);
  background: #03131e;
  box-shadow: 0 18px 40px rgba(2, 8, 13, 0.22), 0 0 0 5px rgba(217, 120, 63, 0.12), 0 0 28px rgba(88, 240, 255, 0.2);
}
.app-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
}
.app-orb.mac { border-radius: 50% 42% 50% 35%; }
.app-orb.ios { width: 86px; height: 116px; border-radius: 27px; }
.app-orb.ios img { transform: scale(1.28); }
.app-orb.agent {
  border-radius: 28px;
  transform: rotate(45deg);
}
.app-orb.agent img {
  transform: rotate(-45deg) scale(1.34);
}
.transition-section {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(88, 240, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #09202c, #02080d 70%);
}
.abyssal-watcher {
  position: absolute;
  top: 46%;
  right: 13%;
  z-index: 0;
  display: flex;
  gap: clamp(34px, 5vw, 82px);
  opacity: 0.72;
  filter: blur(0.15px) drop-shadow(0 0 42px rgba(88, 240, 255, 0.45));
  mix-blend-mode: screen;
  transform: rotate(-5deg) scale(0.9);
  animation: watcherDrift 18s ease-in-out infinite alternate;
}
.abyssal-watcher::before {
  content: "";
  position: absolute;
  inset: -90px -120px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(3, 18, 25, 0.82), rgba(3, 18, 25, 0.22) 44%, transparent 72%);
}
.watcher-eye {
  position: relative;
  width: clamp(52px, 6vw, 94px);
  height: clamp(24px, 3vw, 42px);
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 50%, rgba(255, 244, 185, 1) 0 9%, rgba(94, 250, 255, 0.95) 10% 25%, rgba(15, 117, 132, 0.86) 26% 42%, rgba(4, 13, 19, 0.94) 44% 100%);
  background-size: 118% 122%;
  background-position: 50% 50%;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.28),
    0 0 24px rgba(88, 240, 255, 0.62),
    0 0 78px rgba(88, 240, 255, 0.26);
  animation:
    watcherBlink 13.7s cubic-bezier(.42, 0, .18, 1) infinite,
    watcherFocus 17.3s steps(1, end) infinite,
    watcherGlow 19s ease-in-out infinite;
}
.watcher-eye:nth-child(2) {
  animation-duration: 11.9s, 14.6s, 21s;
  animation-delay: -1.6s, -4.2s, -7s;
}
.watcher-eye::before,
.watcher-eye::after {
  content: "";
  position: absolute;
  left: -8%;
  width: 116%;
  height: 58%;
  background: linear-gradient(180deg, rgba(2, 8, 13, 0.98), rgba(4, 21, 31, 0.88));
  z-index: 2;
}
.watcher-eye::before {
  top: -53%;
  border-radius: 0 0 50% 50%;
  animation: watcherUpperLid 13.7s cubic-bezier(.42, 0, .18, 1) infinite;
}
.watcher-eye::after {
  bottom: -53%;
  border-radius: 50% 50% 0 0;
  animation: watcherLowerLid 13.7s cubic-bezier(.42, 0, .18, 1) infinite;
}
.watcher-eye:nth-child(2)::before,
.watcher-eye:nth-child(2)::after {
  animation-duration: 11.9s;
  animation-delay: -1.6s;
}
.current-field { position: absolute; inset: 0; overflow: hidden; }
.current-dot {
  position: absolute;
  width: var(--size);
  height: var(--size);
  left: var(--left);
  top: var(--top);
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 18px rgba(88, 240, 255, .72);
  opacity: .55;
  animation: floatCurrent var(--dur) linear infinite;
  animation-delay: var(--del);
}
.transition-content { position: relative; text-align: center; }
.transition-content p { margin: 24px 0; font-family: var(--display); font-size: clamp(2.6rem, 7vw, 6rem); line-height: .96; letter-spacing: -0.045em; }
.transition-line { width: min(460px, 64vw); height: 1px; background: linear-gradient(90deg, transparent, var(--aqua), transparent); }
.night-section { position: relative; background: var(--abyss); color: var(--cream); }
.agents { padding: 130px 0 100px; overflow: hidden; }
.night-glow { position: absolute; inset: 0; background: radial-gradient(circle at 20% 10%, rgba(217, 120, 63, .16), transparent 30%), radial-gradient(circle at 75% 28%, rgba(88, 240, 255, .18), transparent 32%); pointer-events: none; }
.agent-hero {
  position: relative;
  min-height: 640px;
  border-radius: 46px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.agent-hero img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; }
.agent-overlay {
  position: absolute;
  inset: auto 32px 32px auto;
  width: min(560px, calc(100% - 64px));
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(246, 239, 227, 0.16);
  border-radius: 34px;
  background: rgba(3, 13, 20, 0.62);
  backdrop-filter: blur(22px);
}
.agent-overlay p:not(.eyebrow) { color: rgba(246, 239, 227, .74); line-height: 1.8; }
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.agent-card {
  padding: 28px;
  min-height: 310px;
  border: 1px solid rgba(246, 239, 227, .12);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(246, 239, 227, .08), rgba(246, 239, 227, .025));
}
.agent-card p, .process-item p { color: rgba(246, 239, 227, .62); }
.process { padding: 100px 0 140px; }
.process-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.process-copy { position: sticky; top: 130px; }
.process-copy p { color: rgba(246, 239, 227, .62); }
.process-list { display: grid; gap: 14px; }
.process-item {
  padding: 26px 30px;
  border: 1px solid rgba(88, 240, 255, .14);
  border-radius: 30px;
  background: rgba(6, 22, 32, .58);
}
.process-item h3 { margin-top: 22px; }
.contact {
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 110px 20px;
}
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(1.12); }
.contact::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(2, 8, 13, .28), rgba(2, 8, 13, .9) 72%); }
.contact-content {
  position: relative;
  z-index: 1;
  width: min(790px, 100%);
  text-align: center;
  padding: clamp(30px, 7vw, 76px);
  border: 1px solid rgba(246, 239, 227, .18);
  border-radius: 42px;
  background: rgba(3, 13, 20, .58);
  backdrop-filter: blur(22px);
}
.contact-content p { color: rgba(246, 239, 227, .72); line-height: 1.85; }
.contact-content .button { margin-top: 22px; }
.contact-content .button-primary {
  letter-spacing: 0.08em;
  text-transform: none;
}
.contact-meta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; color: rgba(246, 239, 227, .54); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer { padding: 54px 0; background: #010508; border-top: 1px solid rgba(246, 239, 227, .12); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr; gap: 40px; }
.footer h2 { margin: 0 0 10px; font-family: var(--display); font-size: 34px; }
.footer p, .footer span, .footer a { display: block; color: rgba(246, 239, 227, .58); line-height: 1.8; }
.footer a:hover { color: var(--aqua); }

.subpage-hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 170px 0 96px;
  isolation: isolate;
}
.subpage-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.subpage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(1.08) contrast(1.03);
}
.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 38%, rgba(88, 240, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(2, 8, 13, 0.52), rgba(2, 8, 13, 0.94));
}
.subpage-hero-inner {
  text-align: center;
}
.subpage-hero-inner .eyebrow {
  margin-inline: auto;
}
.subpage-hero h1 {
  width: min(980px, 100%);
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: -0.07em;
  text-wrap: balance;
}
.subpage-hero p:not(.eyebrow) {
  width: min(720px, 100%);
  margin: 28px auto 0;
  color: rgba(246, 239, 227, 0.76);
  font-size: 1.1rem;
  line-height: 1.85;
}
.app-index-section {
  padding: 96px 0 130px;
}
.app-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.app-status-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(246, 239, 227, 0.13);
  border-radius: 36px;
  background:
    radial-gradient(circle at 75% 10%, rgba(88, 240, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(246, 239, 227, 0.08), rgba(246, 239, 227, 0.025));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}
.app-status-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}
.app-status-card > * {
  position: relative;
  z-index: 1;
}
.app-status-card.live {
  background-color: rgba(8, 31, 42, 0.72);
}
.app-status-card.live::before {
  content: "";
  position: absolute;
  top: 34%;
  left: 41%;
  z-index: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff0bd 0 12%, rgba(217, 120, 63, 0.95) 13% 42%, rgba(217, 120, 63, 0.16) 43% 100%);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 10px rgba(217, 120, 63, 0.08),
    0 0 26px rgba(217, 120, 63, 0.72),
    0 0 70px rgba(217, 120, 63, 0.24);
  animation: terraEpicenter 2.4s ease-in-out infinite;
}
.app-status-card.live::after {
  background:
    radial-gradient(circle at 41% 34%, transparent 0 4%, rgba(255, 188, 117, 0.5) 4.3% 4.8%, transparent 5.2%),
    radial-gradient(circle at 41% 34%, transparent 0 10%, rgba(217, 120, 63, 0.35) 10.4% 10.9%, transparent 11.4%),
    radial-gradient(circle at 41% 34%, transparent 0 17%, rgba(217, 120, 63, 0.24) 17.4% 17.9%, transparent 18.4%),
    radial-gradient(circle at 41% 34%, rgba(217, 120, 63, 0.16), transparent 24%);
  opacity: 0.76;
  transform-origin: 41% 34%;
  animation: terraSensorPulse 3.8s ease-out infinite;
}
.app-status-card.progress {
  background-color: rgba(28, 26, 25, 0.72);
}
.app-status-card.progress::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 39%;
  z-index: 0;
  height: 130px;
  opacity: 0.5;
  background:
    linear-gradient(90deg,
      rgba(88, 240, 255, 0.06) 0 3%,
      rgba(88, 240, 255, 0.58) 3.4% 4.2%,
      rgba(88, 240, 255, 0.08) 4.8% 8%,
      rgba(215, 185, 140, 0.46) 8.6% 9.2%,
      rgba(88, 240, 255, 0.06) 10% 13%,
      rgba(88, 240, 255, 0.72) 13.6% 14.8%,
      rgba(88, 240, 255, 0.08) 15.4% 19%,
      rgba(215, 185, 140, 0.4) 19.6% 20.2%,
      rgba(88, 240, 255, 0.04) 21% 100%);
  background-size: 170px 100%;
  clip-path: polygon(0 50%, 5% 35%, 10% 68%, 15% 22%, 20% 78%, 25% 42%, 30% 58%, 35% 16%, 40% 84%, 45% 38%, 50% 62%, 55% 26%, 60% 72%, 65% 44%, 70% 56%, 75% 30%, 80% 70%, 85% 40%, 90% 60%, 95% 46%, 100% 50%, 100% 100%, 0 100%);
  filter: blur(0.3px) drop-shadow(0 0 24px rgba(88, 240, 255, 0.22));
  animation: cadenceWave 7.8s linear infinite;
}
.app-status-card.progress::after {
  background:
    linear-gradient(90deg, transparent, rgba(88, 240, 255, 0.16), transparent),
    radial-gradient(ellipse at 50% 46%, rgba(88, 240, 255, 0.12), transparent 34%);
  background-size: 38% 100%, 100% 100%;
  background-position: -42% 0, center;
  background-repeat: no-repeat;
  opacity: 0.72;
  animation: cadenceScan 5.6s ease-in-out infinite;
}
.app-status-card.concept {
  background-color: rgba(7, 18, 27, 0.72);
}
.app-status-card.concept::after {
  background:
    radial-gradient(circle at 78% 24%, rgba(88, 240, 255, 0.18), transparent 20%),
    radial-gradient(circle at 100% 52%, rgba(88, 240, 255, 0.12), transparent 24%);
}
/* FutureSelf OS sits in the grid like every other card; its thumb is a
   living video orb instead of a static icon. */
.app-status-card.signal {
  background-color: rgba(10, 9, 26, 0.78);
}
.signal-thumb-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* zoom past the jittery edges; own GPU layer keeps it steady */
  transform: scale(1.2) translateZ(0);
  backface-visibility: hidden;
}

/* frequency tuning — sine carriers sweeping across the signal, two
   wavelengths drifting at different speeds to read as "tuning in" */
.signal-tuner {
  position: absolute;
  top: 54%;
  left: 74%;
  z-index: 0;
  width: 520px;
  height: 150px;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 56% 100% at 50% 50%, #000 38%, transparent 78%);
          mask-image: radial-gradient(ellipse 56% 100% at 50% 50%, #000 38%, transparent 78%);
}
.signal-tuner::before,
.signal-tuner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat-x;
  background-position: 0 50%;
}
.signal-tuner::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='150' viewBox='0 0 120 150'%3E%3Cpath d='M0 75 Q 30 33 60 75 T 120 75' fill='none' stroke='%235FE3FF' stroke-width='1.6'/%3E%3C/svg%3E");
  animation: signalScan 9s linear infinite;
}
.signal-tuner::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='150' viewBox='0 0 80 150'%3E%3Cpath d='M0 75 Q 20 52 40 75 T 80 75' fill='none' stroke='%238F7BFF' stroke-width='1.4'/%3E%3C/svg%3E");
  opacity: 0.85;
  animation: signalScan 6s linear infinite reverse;
}
.card-watcher {
  position: absolute;
  top: 31%;
  right: -18px;
  z-index: 0;
  display: flex;
  gap: 18px;
  opacity: 0.72;
  transform: rotate(-4deg) scale(0.55);
  filter: drop-shadow(0 0 34px rgba(88, 240, 255, 0.36));
  mix-blend-mode: screen;
  animation: cardWatcherDrift 13s ease-in-out infinite alternate;
}
.card-watcher::before {
  content: "";
  position: absolute;
  inset: -54px -70px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(3, 18, 25, 0.8), rgba(3, 18, 25, 0.16) 50%, transparent 72%);
}
.card-watcher .watcher-eye {
  width: 66px;
  height: 30px;
}
.card-watcher .watcher-eye:nth-child(2) {
  animation-duration: 10.6s, 14.4s, 19s;
  animation-delay: -3.1s, -6.3s, -8s;
}
.app-status-thumb {
  width: 132px;
  height: 132px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(199, 248, 255, 0.34);
  border-radius: 34px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25), 0 0 32px rgba(88, 240, 255, 0.15);
}
.app-status-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
}
.app-status-card .eyebrow {
  margin-top: 42px;
}
.app-status-card h2 {
  margin: 16px 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.app-status-card p:not(.eyebrow) {
  color: rgba(246, 239, 227, 0.64);
  line-height: 1.8;
}
.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--glacier);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.policy-section {
  padding: 96px 0 130px;
}
.policy-card {
  width: min(860px, calc(100% - 40px));
  padding: clamp(30px, 6vw, 70px);
  border: 1px solid rgba(246, 239, 227, 0.14);
  border-radius: 40px;
  background: rgba(5, 20, 30, 0.72);
  box-shadow: var(--shadow);
}
.policy-updated {
  margin-top: 0;
  color: var(--sand);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.policy-card h2 {
  margin: 36px 0 10px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.policy-card p {
  color: rgba(246, 239, 227, 0.68);
  line-height: 1.9;
}
.policy-card a {
  color: var(--glacier);
}
.policy-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.policy-card li {
  display: flex;
  gap: 12px;
  color: rgba(246, 239, 227, 0.68);
  line-height: 1.75;
}
.policy-card li::before {
  content: "—";
  color: rgba(88, 240, 255, 0.52);
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 11px;
  margin-top: 3px;
}

.policy-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-bottom: 36px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(246, 239, 227, 0.1);
}
.policy-meta-item {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.36);
}
.policy-meta-item strong { color: rgba(246, 239, 227, 0.66); font-weight: 700; }

.policy-not-collected {
  margin: 18px 0 0;
  padding: 22px 26px;
  border: 1px solid rgba(74, 222, 128, 0.18);
  border-radius: 20px;
  background: rgba(74, 222, 128, 0.04);
}
.policy-not-collected ul { grid-template-columns: repeat(2, 1fr); }
.policy-not-collected li::before { content: "✕"; color: rgba(74, 222, 128, 0.7); }

.policy-safety-notice {
  margin: 18px 0 0;
  padding: 20px 24px;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 18px;
  background: rgba(251, 146, 60, 0.05);
}
.policy-safety-notice p { margin: 0; color: rgba(246, 239, 227, 0.72) !important; line-height: 1.8; }

.policy-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.policy-contact-card {
  padding: 20px 22px;
  border: 1px solid rgba(246, 239, 227, 0.1);
  border-radius: 18px;
  background: rgba(4, 16, 24, 0.6);
}
.policy-contact-card span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.36);
  margin-bottom: 7px;
}
.policy-contact-card a { color: var(--glacier); font-weight: 600; }
.policy-contact-card a:hover { color: var(--aqua); }

.policy-dev-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 239, 227, 0.1);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.32);
}
.policy-final-note {
  margin: 36px 0 0;
  padding: 28px 30px;
  border: 1px solid rgba(217, 120, 63, 0.26);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 30%, rgba(217, 120, 63, 0.1), transparent 50%),
    rgba(8, 28, 40, 0.72);
}
.policy-final-note p { margin: 0; color: rgba(246, 239, 227, 0.76) !important; line-height: 1.85; font-size: 1.03rem !important; }
.policy-doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
@media (max-width: 560px) {
  .policy-doc-links { flex-direction: column; }
}

@media (max-width: 560px) {
  .policy-not-collected ul { grid-template-columns: 1fr; }
  .policy-contact-grid { grid-template-columns: 1fr; }
}

.reveal, .reveal-left, .stagger-up .reveal-child {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(.2,.8,.2,1);
}
.reveal-left { transform: translateX(-34px); }
.visible, .visible.reveal-left, .stagger-up.visible .reveal-child { opacity: 1; transform: translate(0); }
.stagger-up.visible .reveal-child:nth-child(2) { transition-delay: 90ms; }
.stagger-up.visible .reveal-child:nth-child(3) { transition-delay: 180ms; }
.stagger-up.visible .reveal-child:nth-child(4) { transition-delay: 270ms; }

@keyframes riseIn { from { opacity: 0; transform: translateY(34px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes driftPanel { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-12px) rotate(1deg); } }
@keyframes pulseBar { 0%,100% { opacity: .45; transform: scaleY(.72); } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes scrollLine { 0% { transform: scaleY(0); opacity: 0; } 35% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes floatCurrent { from { transform: translate3d(-8vw, 4vh, 0); opacity: 0; } 18% { opacity: .65; } to { transform: translate3d(108vw, -18vh, 0); opacity: 0; } }
@keyframes oracleFloat {
  from { transform: translate3d(0, 0, 0) rotate(-3deg); }
  to { transform: translate3d(-2vw, 2vh, 0) rotate(2deg); }
}
@keyframes oraclePulse {
  0%, 100% { opacity: 0.46; transform: scale(0.96); }
  48% { opacity: 0.86; transform: scale(1.04); }
}
@keyframes oracleOrbit {
  to { transform: rotate(360deg); }
}
@keyframes glyphDrift {
  0%, 100% { opacity: 0.18; transform: translate3d(0, 0, 0); }
  42% { opacity: 0.46; transform: translate3d(10px, -8px, 0); }
  68% { opacity: 0.28; transform: translate3d(-6px, 8px, 0); }
}
@keyframes terraEpicenter {
  0%, 100% { transform: translate(-50%, -50%) scale(0.78); opacity: 0.68; }
  36% { transform: translate(-50%, -50%) scale(1.16); opacity: 1; }
  58% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.82; }
}
@keyframes terraSensorPulse {
  0% { opacity: 0; transform: scale(0.2); filter: blur(0); }
  10% { opacity: 0.82; }
  58% { opacity: 0.38; }
  100% { opacity: 0; transform: scale(1.95); filter: blur(0.6px); }
}
@keyframes cadenceWave {
  from { background-position: 0 0; opacity: 0.34; transform: translateY(0) scaleY(0.88); }
  45% { opacity: 0.62; transform: translateY(-3px) scaleY(1.04); }
  to { background-position: 170px 0; opacity: 0.38; transform: translateY(0) scaleY(0.9); }
}
@keyframes cadenceScan {
  0%, 100% { background-position: -42% 0, center; opacity: 0.34; }
  48% { background-position: 142% 0, center; opacity: 0.82; }
}
@keyframes cardWatcherDrift {
  from { transform: translate3d(0, 0, 0) rotate(-4deg) scale(0.55); opacity: 0.46; }
  45% { opacity: 0.8; }
  to { transform: translate3d(-18px, 8px, 0) rotate(-2deg) scale(0.62); opacity: 0.62; }
}
@keyframes signalScan {
  from { background-position: 0 50%; }
  to { background-position: 240px 50%; }
}
@keyframes watcherDrift {
  from { transform: translate3d(0, 0, 0) rotate(-5deg) scale(0.9); opacity: 0.46; }
  45% { opacity: 0.76; }
  to { transform: translate3d(-2.5vw, 2vh, 0) rotate(-3deg) scale(0.96); opacity: 0.58; }
}
@keyframes watcherBlink {
  0%, 6%, 8.4%, 24%, 43%, 46.5%, 67%, 70%, 84%, 89%, 100% { transform: scaleY(1); opacity: 0.94; }
  7.1%, 44.8%, 68.4% { transform: scaleY(0.1); opacity: 0.34; }
  25.5%, 86% { transform: scaleY(1.32); opacity: 1; }
  28%, 88% { transform: scaleY(1.08); opacity: 0.98; }
}
@keyframes watcherUpperLid {
  0%, 6%, 8.4%, 24%, 43%, 46.5%, 67%, 70%, 84%, 89%, 100% { transform: translateY(0); }
  7.1%, 44.8%, 68.4% { transform: translateY(54%); }
  25.5%, 86% { transform: translateY(-28%); }
  28%, 88% { transform: translateY(-10%); }
}
@keyframes watcherLowerLid {
  0%, 6%, 8.4%, 24%, 43%, 46.5%, 67%, 70%, 84%, 89%, 100% { transform: translateY(0); }
  7.1%, 44.8%, 68.4% { transform: translateY(-54%); }
  25.5%, 86% { transform: translateY(28%); }
  28%, 88% { transform: translateY(10%); }
}
@keyframes watcherFocus {
  0%, 18%, 42%, 63%, 100% { background-position: 50% 50%; }
  19%, 22% { background-position: 44% 48%; }
  43%, 46% { background-position: 58% 52%; }
  64%, 66% { background-position: 52% 44%; }
}
@keyframes watcherGlow {
  0%, 22%, 40%, 62%, 100% {
    box-shadow:
      inset 0 0 18px rgba(255, 255, 255, 0.28),
      0 0 24px rgba(88, 240, 255, 0.62),
      0 0 78px rgba(88, 240, 255, 0.26);
  }
  26%, 86% {
    box-shadow:
      inset 0 0 24px rgba(255, 255, 255, 0.36),
      0 0 34px rgba(88, 240, 255, 0.78),
      0 0 105px rgba(88, 240, 255, 0.34);
  }
}

/* ===== TerraSignal App Page ===== */

.terra-hero::after {
  background:
    radial-gradient(circle at 65% 34%, rgba(217, 120, 63, 0.26), transparent 30%),
    radial-gradient(circle at 50% 38%, rgba(88, 240, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(2, 8, 13, 0.44), rgba(2, 8, 13, 0.96));
}

.terra-hero-pulse {
  position: absolute;
  top: 44%;
  left: 66%;
  z-index: 0;
  width: 580px;
  height: 580px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.52;
}
.terra-hero-pulse::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff0bd 0 12%, rgba(217, 120, 63, 0.95) 13% 42%, rgba(217, 120, 63, 0.16) 43% 100%);
  box-shadow:
    0 0 0 16px rgba(217, 120, 63, 0.07),
    0 0 44px rgba(217, 120, 63, 0.7),
    0 0 120px rgba(217, 120, 63, 0.28);
  animation: terraEpicenter 2.4s ease-in-out infinite;
}
.terra-hero-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 5%, rgba(255, 188, 117, 0.48) 5.3% 5.8%, transparent 6.2%),
    radial-gradient(circle at 50% 50%, transparent 0 12%, rgba(217, 120, 63, 0.34) 12.4% 12.9%, transparent 13.4%),
    radial-gradient(circle at 50% 50%, transparent 0 20%, rgba(217, 120, 63, 0.22) 20.4% 20.9%, transparent 21.4%),
    radial-gradient(circle at 50% 50%, transparent 0 29%, rgba(217, 120, 63, 0.14) 29.4% 29.9%, transparent 30.4%),
    radial-gradient(circle at 50% 50%, rgba(217, 120, 63, 0.08), transparent 40%);
  animation: terraSensorPulse 3.8s ease-out infinite;
}

.app-status-card {
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), box-shadow 320ms ease, border-color 320ms ease;
}
.app-status-card.live:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 120, 63, 0.36);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.3), 0 0 60px rgba(217, 120, 63, 0.14);
}
.app-status-card.signal:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 123, 255, 0.42);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.3), 0 0 60px rgba(143, 123, 255, 0.16);
}

.app-detail-overview {
  padding: 120px 0 100px;
  overflow: hidden;
}
.app-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}
.app-overview-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .9;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.app-overview-copy p:not(.eyebrow) {
  color: rgba(246, 239, 227, 0.68);
  line-height: 1.9;
  font-size: 1.03rem;
}
.app-overview-copy .eyebrow { margin-bottom: 22px; }
.app-overview-copy .text-link { margin-top: 30px; }

.app-overview-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.terra-icon-display {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.terra-icon-rings {
  position: absolute;
  inset: 0;
}
.terra-icon-rings::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff0bd 0 12%, rgba(217, 120, 63, 0.95) 13% 42%, rgba(217, 120, 63, 0.16) 43% 100%);
  box-shadow:
    0 0 0 12px rgba(217, 120, 63, 0.06),
    0 0 38px rgba(217, 120, 63, 0.58),
    0 0 100px rgba(217, 120, 63, 0.22);
  animation: terraEpicenter 2.4s ease-in-out infinite;
  z-index: 2;
}
.terra-icon-rings::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(255, 188, 117, 0.38) 18.4% 18.9%, transparent 19.4%),
    radial-gradient(circle at 50% 50%, transparent 0 30%, rgba(217, 120, 63, 0.26) 30.4% 30.9%, transparent 31.4%),
    radial-gradient(circle at 50% 50%, transparent 0 41%, rgba(217, 120, 63, 0.16) 41.4% 41.9%, transparent 42.4%),
    radial-gradient(circle at 50% 50%, rgba(217, 120, 63, 0.08), transparent 52%);
  animation: terraSensorPulse 3.8s ease-out infinite;
  animation-delay: 0.5s;
}
.terra-icon-box {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border: 1px solid rgba(199, 248, 255, 0.34);
  border-radius: 48px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    0 0 56px rgba(217, 120, 63, 0.2),
    0 0 100px rgba(88, 240, 255, 0.1);
}
.terra-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
}

.app-features {
  padding: 0 0 130px;
}
.app-features .section-head {
  margin-bottom: 52px;
}
.app-features .section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .9;
  letter-spacing: -0.055em;
}
.app-features .section-head p:not(.eyebrow) {
  color: rgba(246, 239, 227, 0.62);
  line-height: 1.85;
  font-size: 1.03rem;
  margin-top: 18px;
  max-width: 580px;
}

@media (max-width: 920px) {
  .app-overview-grid { grid-template-columns: 1fr; gap: 64px; }
  .app-overview-visual { order: -1; }
}

@media (max-width: 560px) {
  .terra-hero-pulse { display: none; }
  .app-detail-overview { padding: 82px 0; }
  .terra-icon-display { width: 220px; height: 220px; }
  .terra-icon-box { width: 160px; height: 160px; border-radius: 38px; }
}

/* --- TerraSignal status colors --- */
:root {
  --ts-minor:    #4ade80;
  --ts-active:   #facc15;
  --ts-elevated: #fb923c;
  --ts-critical: #f87171;
}

/* Trust line (hero footer) */
.terra-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin-top: 20px;
  color: rgba(246, 239, 227, 0.44);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Positioning section ── */
.terra-positioning { padding: 130px 0 100px; }
.terra-position-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}
.terra-position-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}
.terra-position-copy .eyebrow,
.terra-position-copy h2,
.terra-position-copy p:not(.eyebrow),
.terra-position-copy .terra-questions { margin: 0; }
.terra-position-copy h2 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: .94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.terra-position-copy p:not(.eyebrow) {
  color: rgba(246, 239, 227, 0.68);
  line-height: 1.9;
  font-size: 1.03rem;
}
.terra-questions {
  display: grid;
  gap: 9px;
  width: 100%;
  margin-top: 8px;
}
.terra-question {
  padding: 15px 22px;
  border: 1px solid rgba(217, 120, 63, 0.30);
  border-radius: 14px;
  background: rgba(217, 120, 63, 0.08);
  color: rgba(246, 239, 227, 0.90);
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  box-shadow:
    0 2px 14px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.terra-answer-card {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(217, 120, 63, 0.28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 28% 28%, rgba(217, 120, 63, 0.14), transparent 52%),
    rgba(8, 31, 42, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 60px rgba(217, 120, 63, 0.08);
}
.terra-answer-card .eyebrow { margin-bottom: 16px; }
.terra-real-q {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: .88;
  letter-spacing: -0.055em;
  color: var(--cream);
  margin: 0 0 18px;
}
.terra-answer-card p {
  margin: 0;
  color: rgba(246, 239, 227, 0.64);
  line-height: 1.85;
  font-size: 1.03rem;
}

/* ── Watch Zones section ── */
.terra-watch-section { padding: 0 0 120px; }
.terra-watch-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(48px, 7vw, 88px);
  align-items: center;
}
.terra-watch-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .9;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.terra-watch-copy p:not(.eyebrow) {
  color: rgba(246, 239, 227, 0.68);
  line-height: 1.9;
  font-size: 1.03rem;
  margin-top: 18px;
}
.terra-zone-stack { display: grid; gap: 12px; }
.terra-zone-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(246, 239, 227, 0.1);
  border-radius: 20px;
  background: rgba(5, 18, 28, 0.74);
  backdrop-filter: blur(14px);
  transition: border-color 220ms ease;
}
.terra-zone-card:hover { border-color: rgba(246, 239, 227, 0.2); }
.terra-zone-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.terra-zone-dot.minor   { background: var(--ts-minor);    box-shadow: 0 0 10px rgba(74, 222, 128, 0.62); }
.terra-zone-dot.active  { background: var(--ts-active);   box-shadow: 0 0 10px rgba(250, 204, 21, 0.62); }
.terra-zone-dot.elevated{ background: var(--ts-elevated); box-shadow: 0 0 10px rgba(251, 146, 60, 0.62); }
.terra-zone-dot.critical{ background: var(--ts-critical); box-shadow: 0 0 10px rgba(248, 113, 113, 0.62); }
.terra-zone-name { font-weight: 600; font-size: 0.95rem; line-height: 1.2; }
.terra-zone-detail {
  color: rgba(246, 239, 227, 0.44);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
}
.terra-zone-badge {
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.terra-zone-badge.minor    { background: rgba(74, 222, 128, 0.12);  color: var(--ts-minor);    border: 1px solid rgba(74, 222, 128, 0.24); }
.terra-zone-badge.active   { background: rgba(250, 204, 21, 0.12);  color: var(--ts-active);   border: 1px solid rgba(250, 204, 21, 0.24); }
.terra-zone-badge.elevated { background: rgba(251, 146, 60, 0.12);  color: var(--ts-elevated); border: 1px solid rgba(251, 146, 60, 0.24); }
.terra-zone-badge.critical { background: rgba(248, 113, 113, 0.12); color: var(--ts-critical); border: 1px solid rgba(248, 113, 113, 0.24); }
.terra-zone-primary {
  border-color: rgba(88, 240, 255, 0.22);
  background: rgba(4, 22, 34, 0.88);
}

/* ── Color system section ── */
.terra-color-section { padding: 0 0 120px; }
.terra-color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 52px;
}
.terra-color-card {
  padding: 28px 22px 24px;
  border-radius: 28px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.terra-color-card.minor    { background: rgba(74, 222, 128, 0.06);  border-color: rgba(74, 222, 128, 0.2); }
.terra-color-card.active   { background: rgba(250, 204, 21, 0.06);  border-color: rgba(250, 204, 21, 0.2); }
.terra-color-card.elevated { background: rgba(251, 146, 60, 0.06);  border-color: rgba(251, 146, 60, 0.2); }
.terra-color-card.critical { background: rgba(248, 113, 113, 0.06); border-color: rgba(248, 113, 113, 0.22); }
.terra-color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-bottom: 18px;
}
.terra-color-card.minor    .terra-color-dot { background: var(--ts-minor);    box-shadow: 0 0 18px rgba(74, 222, 128, 0.52); }
.terra-color-card.active   .terra-color-dot { background: var(--ts-active);   box-shadow: 0 0 18px rgba(250, 204, 21, 0.52); }
.terra-color-card.elevated .terra-color-dot { background: var(--ts-elevated); box-shadow: 0 0 18px rgba(251, 146, 60, 0.52); }
.terra-color-card.critical .terra-color-dot { background: var(--ts-critical); box-shadow: 0 0 18px rgba(248, 113, 113, 0.52); }
.terra-color-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.terra-color-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(246, 239, 227, 0.58);
}

/* ── Alert levels section ── */
.terra-alerts-section { padding: 0 0 120px; }
.terra-alerts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 88px);
  align-items: center;
  margin-top: 52px;
}
.terra-alerts-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  line-height: .9;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.terra-alerts-copy p {
  color: rgba(246, 239, 227, 0.68);
  line-height: 1.9;
  font-size: 1.03rem;
  margin-top: 18px;
}
.terra-alert-stack { display: grid; gap: 10px; }
.terra-alert-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(246, 239, 227, 0.1);
  border-radius: 20px;
  background: rgba(5, 18, 28, 0.68);
}
.terra-alert-mag {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.terra-alert-info { min-width: 0; }
.terra-alert-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}
.terra-alert-desc {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.42);
}
.terra-alert-item.active-level   { border-color: rgba(74, 222, 128, 0.18); }
.terra-alert-item.elevated-level { border-color: rgba(250, 204, 21, 0.18); }
.terra-alert-item.strong-level   { border-color: rgba(251, 146, 60, 0.2); }
.terra-alert-item.critical-level { border-color: rgba(248, 113, 113, 0.22); background: rgba(248, 113, 113, 0.04); }
.terra-alert-item .terra-zone-badge { align-self: center; }
.terra-alert-note {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(88, 240, 255, 0.06);
  border: 1px solid rgba(88, 240, 255, 0.14);
  color: rgba(246, 239, 227, 0.56);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Feature bullet list ── */
.terra-feature-list { display: grid; gap: 13px; margin-top: 28px; }
.terra-feature-item { display: flex; gap: 13px; align-items: flex-start; }
.terra-feature-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 8px rgba(88, 240, 255, 0.48);
  flex-shrink: 0;
  margin-top: 8px;
}
.terra-feature-item span {
  color: rgba(246, 239, 227, 0.66);
  line-height: 1.75;
  font-size: 1rem;
}

/* ── Character section ── */
.terra-character-section { padding: 0 0 120px; }
.terra-character-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid rgba(246, 239, 227, 0.13);
  border-radius: 40px;
  background:
    radial-gradient(circle at 80% 30%, rgba(88, 240, 255, 0.1), transparent 38%),
    rgba(5, 18, 28, 0.72);
  box-shadow: var(--shadow);
}
.terra-character-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}
.terra-character-copy .eyebrow,
.terra-character-copy h2,
.terra-character-copy p:not(.eyebrow) { margin: 0; }
.terra-character-copy h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: .96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.terra-character-copy p:not(.eyebrow) {
  color: rgba(246, 239, 227, 0.68);
  line-height: 1.9;
  font-size: 1.03rem;
}
.terra-character-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border: 1px solid rgba(88, 240, 255, 0.16);
  border-radius: 28px;
  background: rgba(4, 18, 27, 0.58);
  position: relative;
  overflow: hidden;
}
.terra-character-visual .card-watcher {
  position: static;
  transform: scale(0.9);
  opacity: 0.82;
  filter: drop-shadow(0 0 28px rgba(88, 240, 255, 0.38));
  mix-blend-mode: normal;
  animation: cardWatcherDrift 13s ease-in-out infinite alternate;
}

/* ── Future expansion section ── */
.terra-expansion-section { padding: 0 0 120px; }
.terra-expansion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 52px;
}
.terra-expansion-item {
  padding: 24px 26px;
  border: 1px solid rgba(88, 240, 255, 0.1);
  border-radius: 24px;
  background: rgba(4, 18, 27, 0.62);
}
.terra-expansion-item span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.4);
  margin-bottom: 10px;
}
.terra-expansion-item p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--cream);
}
.terra-expansion-note {
  margin-top: 42px;
  text-align: center;
  color: rgba(246, 239, 227, 0.52);
  font-size: 1rem;
  line-height: 1.8;
}
.terra-expansion-note strong { color: var(--cream); font-weight: 600; }

/* ── Sources + Privacy section ── */
.terra-sources-section { padding: 0 0 100px; }
.terra-source-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}
.terra-source-card {
  padding: 26px 28px;
  border: 1px solid rgba(246, 239, 227, 0.1);
  border-radius: 24px;
  background: rgba(5, 18, 28, 0.62);
}
.terra-source-abbr {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 8px;
}
.terra-source-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.terra-source-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(246, 239, 227, 0.54);
  line-height: 1.7;
}
.terra-privacy-note {
  margin-top: 28px;
  padding: 28px 34px;
  border: 1px solid rgba(88, 240, 255, 0.14);
  border-radius: 24px;
  background: rgba(4, 18, 27, 0.52);
}
.terra-privacy-note p {
  margin: 0;
  color: rgba(246, 239, 227, 0.62);
  line-height: 1.8;
  font-size: 0.97rem;
}

/* Legal doc cards grid */
.terra-legal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.terra-legal-card {
  padding: 26px 26px 24px;
  border: 1px solid rgba(246, 239, 227, 0.1);
  border-radius: 24px;
  background: rgba(5, 18, 28, 0.64);
  display: flex;
  flex-direction: column;
  transition: border-color 220ms ease, transform 220ms ease;
}
.terra-legal-card:hover {
  border-color: rgba(88, 240, 255, 0.2);
  transform: translateY(-3px);
}
.terra-legal-card span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua);
  opacity: 0.72;
  margin-bottom: 10px;
}
.terra-legal-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.terra-legal-card p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(246, 239, 227, 0.52);
  line-height: 1.7;
  flex: 1;
}
.terra-legal-card .text-link { margin-top: 18px; }

/* FAQ page styles */
.terra-faq-section { padding: 0 0 130px; }
.terra-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 52px;
}
.terra-faq-item {
  padding: 28px 32px;
  border: 1px solid rgba(246, 239, 227, 0.09);
  border-radius: 22px;
  background: rgba(5, 18, 28, 0.6);
  transition: border-color 220ms ease;
}
.terra-faq-item:hover { border-color: rgba(88, 240, 255, 0.16); }
.terra-faq-q {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.terra-faq-a {
  color: rgba(246, 239, 227, 0.62);
  line-height: 1.85;
  font-size: 0.97rem;
}
.terra-faq-a a { color: var(--glacier); }

@media (max-width: 920px) {
  .terra-legal-cards { grid-template-columns: 1fr; }
}

/* ── Pricing section ── */
.terra-pricing-section { padding: 100px 0 130px; }
.terra-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 52px;
  max-width: 840px;
  margin-inline: auto;
  margin-top: 52px;
}
.terra-price-card {
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(246, 239, 227, 0.13);
  border-radius: 36px;
  background: rgba(5, 20, 30, 0.72);
}
.terra-price-card.pro {
  border-color: rgba(217, 120, 63, 0.32);
  background:
    radial-gradient(circle at 30% 0%, rgba(217, 120, 63, 0.12), transparent 46%),
    rgba(8, 31, 42, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 52px rgba(217, 120, 63, 0.1);
}
.terra-price-tier {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.48);
  margin-bottom: 10px;
}
.terra-price-card.pro .terra-price-tier { color: var(--copper); }
.terra-price-name {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.055em;
  line-height: .88;
  margin: 0 0 14px;
}
.terra-price-amount {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.44);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(246, 239, 227, 0.1);
  margin-bottom: 24px;
}
.terra-price-card.pro .terra-price-amount { color: rgba(217, 120, 63, 0.72); }
.terra-price-note {
  font-family: var(--body);
  font-size: 0.82rem;
  color: rgba(246, 239, 227, 0.42);
  line-height: 1.6;
  margin-top: 10px;
  font-style: italic;
}
.terra-price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.terra-price-list li {
  display: flex;
  gap: 12px;
  font-size: 0.96rem;
  color: rgba(246, 239, 227, 0.68);
  line-height: 1.5;
}
.terra-price-list li::before {
  content: "—";
  color: var(--aqua);
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 11px;
}
.terra-price-card.pro .terra-price-list li::before { color: var(--copper); }

/* First li is a tagline — no dash, display font, subtle separator below */
.terra-price-list li:first-child {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08rem;
  color: rgba(246, 239, 227, 0.90);
  letter-spacing: -0.01em;
  line-height: 1.3;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(246, 239, 227, 0.10);
  margin-bottom: 4px;
  gap: 0;
}
.terra-price-list li:first-child::before { display: none; }
.terra-price-card.pro .terra-price-list li:first-child {
  color: rgba(246, 239, 227, 0.94);
  border-bottom-color: rgba(217, 120, 63, 0.18);
}

/* Beta hazard pill — sits below both pricing cards */
.terra-beta-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  max-width: 680px;
  padding: 14px 26px;
  border: 1px solid rgba(251, 146, 60, 0.26);
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.07);
  font-family: var(--body);
  font-size: 0.875rem;
  color: rgba(246, 239, 227, 0.72);
  line-height: 1.55;
  text-align: center;
}
.terra-beta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fb923c;
  box-shadow: 0 0 8px rgba(251, 146, 60, 0.7);
  flex-shrink: 0;
  animation: beta-pulse 2.6s ease-in-out infinite;
}
@keyframes beta-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(251, 146, 60, 0.7); }
  50%       { opacity: 0.55; box-shadow: 0 0 4px rgba(251, 146, 60, 0.3); }
}
@media (max-width: 600px) {
  .terra-beta-pill { border-radius: 20px; padding: 13px 20px; }
}

.terra-price-card .button { margin-top: 28px; width: 100%; }

/* Responsive: terra detail page additions */
@media (max-width: 920px) {
  .terra-position-grid,
  .terra-watch-split,
  .terra-alerts-layout,
  .terra-character-card,
  .terra-pricing-grid { grid-template-columns: 1fr; }
  .terra-color-grid { grid-template-columns: repeat(2, 1fr); }
  .terra-expansion-grid { grid-template-columns: repeat(2, 1fr); }
  .terra-source-strip { grid-template-columns: 1fr; }
  .terra-privacy-note { grid-template-columns: 1fr; }
  .terra-character-visual { min-height: 160px; }
  .terra-pricing-grid { max-width: 100%; }
}
@media (max-width: 560px) {
  .terra-color-grid,
  .terra-expansion-grid { grid-template-columns: 1fr; }
  .terra-positioning { padding: 82px 0; }
  .terra-watch-section,
  .terra-color-section,
  .terra-alerts-section,
  .terra-character-section,
  .terra-expansion-section,
  .terra-sources-section { padding-bottom: 82px; }
  .terra-pricing-section { padding: 82px 0; }
}

/* ── Hero app icon ── */
.terra-hero-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.42),
    0 0 38px rgba(217, 120, 63, 0.24),
    0 0 70px rgba(88, 240, 255, 0.14);
}
.terra-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ── Screenshot preview section ── */
.terra-screens-section { padding: 0 0 120px; }
.terra-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.terra-screen-card {
  border-radius: 32px;
  border: 1px solid rgba(246, 239, 227, 0.13);
  overflow: hidden;
  background: rgba(4, 17, 26, 0.86);
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), border-color 280ms ease;
}
.terra-screen-card:hover {
  transform: translateY(-5px);
  border-color: rgba(88, 240, 255, 0.22);
}
.terra-screen-preview {
  position: relative;
  aspect-ratio: 9 / 17;
  overflow: hidden;
  background: rgba(3, 12, 19, 0.9);
}
/* Notch */
.terra-screen-preview::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 5px;
  background: rgba(246, 239, 227, 0.18);
  border-radius: 3px;
  z-index: 4;
}
/* Shared screen gradient bg */
.ts-home-preview { background: radial-gradient(circle at 50% 15%, rgba(88, 240, 255, 0.1), transparent 38%), radial-gradient(circle at 80% 80%, rgba(74, 222, 128, 0.08), transparent 34%), #030c13; }
.ts-map-preview  { background: radial-gradient(circle at 30% 60%, rgba(217, 120, 63, 0.1), transparent 38%), radial-gradient(circle at 70% 20%, rgba(88, 240, 255, 0.08), transparent 32%), #020a10; }
.ts-detail-preview { background: radial-gradient(circle at 50% 40%, rgba(251, 146, 60, 0.12), transparent 44%), #030c13; }

/* Mini screen content: Home */
.ts-mini-header {
  position: absolute;
  top: 26px;
  left: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.44);
}
.ts-mini-primary {
  position: absolute;
  top: 46px;
  left: 14px;
  right: 14px;
  z-index: 2;
  padding: 10px 12px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 14px;
  background: rgba(4, 22, 34, 0.88);
}
.ts-mini-primary-name {
  font-size: 9px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.72);
}
.ts-mini-primary-status {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.ts-mini-primary-detail {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.38);
}
.ts-mini-zone-row {
  position: absolute;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(246, 239, 227, 0.08);
  border-radius: 10px;
  background: rgba(4, 16, 24, 0.72);
}
.ts-mini-zone-row:nth-child(3) { top: 136px; }
.ts-mini-zone-row:nth-child(4) { top: 172px; }
.ts-mini-zone-row:nth-child(5) { top: 208px; }
.ts-mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ts-mini-dot.minor    { background: var(--ts-minor);    box-shadow: 0 0 6px rgba(74, 222, 128, 0.6); }
.ts-mini-dot.active   { background: var(--ts-active);   box-shadow: 0 0 6px rgba(250, 204, 21, 0.6); }
.ts-mini-dot.elevated { background: var(--ts-elevated); box-shadow: 0 0 6px rgba(251, 146, 60, 0.6); }
.ts-mini-zone-name {
  flex: 1;
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(246, 239, 227, 0.72);
}
.ts-mini-badge {
  padding: 2px 6px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ts-mini-badge.minor    { background: rgba(74, 222, 128, 0.14);  color: var(--ts-minor);    border: 1px solid rgba(74, 222, 128, 0.24); }
.ts-mini-badge.active   { background: rgba(250, 204, 21, 0.14);  color: var(--ts-active);   border: 1px solid rgba(250, 204, 21, 0.24); }
.ts-mini-badge.elevated { background: rgba(251, 146, 60, 0.14);  color: var(--ts-elevated); border: 1px solid rgba(251, 146, 60, 0.24); }

/* Mini screen content: Map */
.ts-map-filter {
  position: absolute;
  top: 26px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 5px;
}
.ts-map-chip {
  padding: 4px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(246, 239, 227, 0.16);
  color: rgba(246, 239, 227, 0.58);
  background: rgba(4, 16, 24, 0.72);
}
.ts-map-chip.active { border-color: rgba(88, 240, 255, 0.4); color: var(--aqua); background: rgba(88, 240, 255, 0.08); }
.ts-map-event {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  z-index: 2;
  opacity: 0.78;
}
.ts-map-event.minor    { color: var(--ts-minor);    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5); }
.ts-map-event.active   { color: var(--ts-active);   box-shadow: 0 0 8px rgba(250, 204, 21, 0.5); }
.ts-map-event.elevated { color: var(--ts-elevated); box-shadow: 0 0 10px rgba(251, 146, 60, 0.58); }
.ts-map-event.critical { color: var(--ts-critical); box-shadow: 0 0 12px rgba(248, 113, 113, 0.62); }

/* Mini screen content: Detail */
.ts-detail-inner {
  position: absolute;
  inset: 30px 14px 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.ts-detail-mag {
  font-family: var(--display);
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--ts-elevated);
  text-shadow: 0 0 40px rgba(251, 146, 60, 0.38);
}
.ts-detail-loc {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.5);
}
.ts-detail-rows {
  width: 100%;
  display: grid;
  gap: 5px;
  margin-top: 6px;
}
.ts-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(246, 239, 227, 0.09);
  border-radius: 9px;
  background: rgba(4, 14, 22, 0.7);
}
.ts-detail-row-label {
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.38);
}
.ts-detail-row-value {
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(246, 239, 227, 0.72);
}
.ts-detail-row-value.ok { color: var(--ts-minor); }

/* Screen label area */
.terra-screen-meta {
  padding: 22px 24px 26px;
  border-top: 1px solid rgba(246, 239, 227, 0.1);
}
.terra-screen-meta h3 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.terra-screen-meta p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(246, 239, 227, 0.56);
  line-height: 1.65;
}

/* ── Why Different section ── */
.terra-diff-section { padding: 0 0 120px; }
.terra-diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 52px;
}
.terra-diff-item {
  padding: 26px 24px;
  border: 1px solid rgba(246, 239, 227, 0.1);
  border-radius: 26px;
  background: rgba(5, 18, 28, 0.62);
  transition: border-color 220ms ease, transform 220ms ease;
}
.terra-diff-item:hover {
  border-color: rgba(88, 240, 255, 0.2);
  transform: translateY(-3px);
}
.terra-diff-item span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 12px;
  opacity: 0.72;
}
.terra-diff-item h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.terra-diff-item p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(246, 239, 227, 0.58);
  line-height: 1.7;
}

/* ── Legal disclaimer ── */
.terra-legal {
  padding: 0 0 60px;
}
.terra-legal-note {
  padding: 18px 24px;
  border: 1px solid rgba(246, 239, 227, 0.08);
  border-radius: 16px;
  background: rgba(3, 10, 16, 0.6);
  color: rgba(246, 239, 227, 0.36);
  font-size: 0.82rem;
  line-height: 1.75;
  text-align: center;
}

/* Responsive additions */
@media (max-width: 920px) {
  .terra-screen-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .terra-diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .terra-diff-grid { grid-template-columns: 1fr; }
  .terra-hero-icon { width: 66px; height: 66px; border-radius: 18px; }
}


/* ===================================================
   ── Screenshot Gallery (7 grouped sub-sections) ──
   =================================================== */

.terra-gallery-section {
  padding: 0 0 140px;
  position: relative;
}

.terra-gallery-section .section-head {
  margin-bottom: 24px;
}

/* Sub-section group */
.terra-gallery-group {
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid rgba(246, 239, 227, 0.07);
}
.terra-gallery-group:first-of-type {
  margin-top: 64px;
  padding-top: 0;
  border-top: 0;
}

.terra-gallery-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  margin: 0 auto 64px;
  max-width: 980px;
}
.terra-gallery-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(217, 120, 63, 0.85);
  padding-top: 14px;
  position: relative;
  white-space: nowrap;
}
.terra-gallery-num::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 120, 63, 0.6), rgba(217, 120, 63, 0));
  margin-top: 14px;
}
.terra-gallery-head-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  min-width: 0;
}
.terra-gallery-head-text .eyebrow {
  margin: 0;
}
.terra-gallery-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--cream);
  text-wrap: balance;
}
.terra-gallery-head-text > p:not(.eyebrow) {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.78;
  color: rgba(246, 239, 227, 0.62);
  max-width: 58ch;
}

/* Phone row grids */
.terra-gallery-row {
  display: grid;
  gap: 36px 28px;
  justify-items: center;
  align-items: start;
}
.terra-gallery-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.terra-gallery-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.terra-gallery-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }

.terra-gallery-phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.terra-gallery-phone figcaption {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(199, 248, 255, 0.46);
  transition: color 280ms ease, letter-spacing 280ms ease;
  text-align: center;
}

/* Closing line */
.terra-gallery-foot {
  margin: 96px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(246, 239, 227, 0.07);
  max-width: 980px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.terra-gallery-foot span { color: rgba(246, 239, 227, 0.42); }

/* ============================================
   Device frame — brand-neutral premium smartphone
   (No Apple-specific marks. Generic flagship form.)
   ============================================ */
.ts-device {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  transition: transform 460ms cubic-bezier(.2,.8,.2,1);
}
/* Phone widths per layout density */
.terra-gallery-row--2 .ts-device { max-width: 322px; }
.terra-gallery-row--3 .ts-device { max-width: 266px; }
.terra-gallery-row--4 .ts-device { max-width: 224px; }

/* Outer chassis — uniform dark bezel, no lighter top, no inner overlay.
   The iOS screenshot already includes the dynamic island — we don't draw one. */
.ts-device-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14% / 6.4%;
  padding: 2.6%;
  background: #14181d;
  box-shadow:
    /* outer ambient shadow */
    0 36px 70px -20px rgba(0, 0, 0, 0.78),
    0 14px 28px -8px rgba(0, 0, 0, 0.55),
    /* outer separation halo — keeps the phone from melting into dark page bg */
    0 0 0 1px rgba(199, 248, 255, 0.06),
    0 0 38px rgba(88, 240, 255, 0.08),
    /* thin rim highlight — even, all sides */
    inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

/* Screen */
.ts-device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 11.4% / 5.2%;
  overflow: hidden;
  background: #000;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.9);
}
.ts-device-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* The screenshot's own iOS dynamic island is the only island visible.
   Hide any leftover CSS island markup so it can't double up. */
.ts-device-island { display: none; }
.ts-device-glare { display: none; }

/* ============================================
   Hardware buttons — iPhone 17 Pro Max layout.
   Action button + Volume Up + Volume Down on LEFT.
   Power / Side button on RIGHT.
   All dimensions are percentage-based so they scale
   across the three gallery densities (row-2 / 3 / 4).
   ============================================ */

/* Shared reset */
.ts-device::before,
.ts-device::after,
.ts-device-frame::before,
.ts-device-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  /* width is set per button below */
  width: 2%;
}

/* ── LEFT side buttons ── shared gradient (dark titanium face) */
.ts-device::before,
.ts-device::after,
.ts-device-frame::before {
  left: -2%;
  /* outer-left edge is rounded, inner edge flat */
  border-radius: 2px 1px 1px 2px;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.055) 0%,   /* subtle outer highlight — curved titanium */
      rgba(255,255,255,0.018) 30%,
      rgba(0,0,0,0.1)          70%,
      rgba(0,0,0,0.25)         100%  /* inner shadow — reads as depth */
    ),
    linear-gradient(
      180deg,
      #22262c 0%,
      #16191e 40%,
      #0e1115 60%,
      #1a1d22 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),   /* top chamfer */
    inset 0 -1px 0 rgba(0,0,0,0.55),         /* bottom chamfer */
    -1px 0 3px rgba(0,0,0,0.6),              /* side drop shadow */
    0 0 0 0.5px rgba(255,255,255,0.05);      /* outer micro-rim */
}

/* LEFT — Action button (top, shorter — matches Action button spec) */
.ts-device::before {
  top: 14.5%;
  height: 4%;
}

/* LEFT — Volume Up */
.ts-device::after {
  top: 21.5%;
  height: 8.8%;
}

/* LEFT — Volume Down */
.ts-device-frame::before {
  top: 32%;
  height: 8.8%;
}

/* RIGHT — Power / Side button
   Longer than volume buttons, sits mid-height.
   Slightly brighter face — the power button reads as the primary side control. */
.ts-device-frame::after {
  right: -2%;
  top: 24.5%;
  width: 2%;
  height: 11.5%;
  border-radius: 1px 2px 2px 1px;  /* outer-right edge rounded */
  background:
    linear-gradient(
      270deg,  /* mirror of left — highlight on outer-right face */
      rgba(255,255,255,0.065) 0%,
      rgba(255,255,255,0.022) 30%,
      rgba(0,0,0,0.08)        70%,
      rgba(0,0,0,0.22)        100%
    ),
    linear-gradient(
      180deg,
      #24282f 0%,
      #181b21 38%,
      #101318 58%,
      #1c1f26 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    1px 0 3px rgba(0,0,0,0.6),
    0 0 0 0.5px rgba(199,248,255,0.05);  /* very faint cyan halo — matches page accent */
}

/* Hover lift */
.terra-gallery-phone:hover .ts-device {
  transform: translateY(-10px);
}
.terra-gallery-phone:hover figcaption {
  color: rgba(199, 248, 255, 0.78);
  letter-spacing: 0.26em;
}

/* Responsive */
@media (max-width: 1100px) {
  .terra-gallery-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; margin-inline: auto; }
  .terra-gallery-row--4 .ts-device { max-width: 280px; }
}
@media (max-width: 820px) {
  .terra-gallery-section { padding-bottom: 100px; }
  .terra-gallery-group { margin-top: 72px; padding-top: 56px; }
  .terra-gallery-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 44px;
    text-align: left;
  }
  .terra-gallery-num { padding-top: 0; }
  .terra-gallery-num::after { width: 28px; margin-top: 10px; }
  .terra-gallery-row--2,
  .terra-gallery-row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; margin-inline: auto; }
  .terra-gallery-row--2 .ts-device,
  .terra-gallery-row--3 .ts-device,
  .terra-gallery-row--4 .ts-device { max-width: 240px; }
  .terra-gallery-foot {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}
@media (max-width: 560px) {
  .terra-gallery-section { padding-bottom: 80px; }
  .terra-gallery-group { margin-top: 56px; padding-top: 44px; }
  .terra-gallery-head h3 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .terra-gallery-row {
    gap: 28px 16px;
  }
  .terra-gallery-row--2,
  .terra-gallery-row--3,
  .terra-gallery-row--4 { grid-template-columns: 1fr; max-width: 280px; }
  .terra-gallery-row--2 .ts-device,
  .terra-gallery-row--3 .ts-device,
  .terra-gallery-row--4 .ts-device { max-width: 260px; }
}

/* ===== END TerraSignal ===== */

/* ============================================
   TerraSignal icon placements — CTA / Pricing / Footer
   ============================================ */

/* Final CTA — icon above eyebrow */
.terra-cta-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 26px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(217, 120, 63, 0.20),
    0 0 56px rgba(88, 240, 255, 0.12);
}
.terra-cta-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Pricing card — tiny icon above the TerraSignal name */
.terra-price-name { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.terra-price-mark {
  width: 44px;
  height: 44px;
  display: block;
  overflow: hidden;
  border-radius: 11px;
  flex-shrink: 0;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(88, 240, 255, 0.10);
}
.terra-price-card.pro .terra-price-mark {
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(217, 120, 63, 0.22);
}
.terra-price-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Footer — page brand mark, sub-page (TerraSignal) */
.footer-page-mark {
  width: 52px;
  height: 52px;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 13px;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(88, 240, 255, 0.10);
}
.footer-page-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 920px) {
  .nav { grid-template-columns: 1fr auto; inset: 14px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 1px solid rgba(246, 239, 227, .18); border-radius: 50%; background: rgba(246, 239, 227, .06); color: inherit; }
  .nav-toggle span { display: block; width: 18px; height: 1px; background: var(--cream); transition: transform 220ms ease, opacity 220ms ease; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { display: flex; position: fixed; inset: 0; z-index: 40; flex-direction: column; justify-content: center; align-items: center; gap: 24px; background: rgba(2, 8, 13, .92); backdrop-filter: blur(24px); opacity: 0; pointer-events: none; transition: opacity 240ms ease; }
  .mobile-menu.active { opacity: 1; pointer-events: auto; }
  .mobile-menu a { font-family: var(--display); font-size: 42px; }
  .hero h1 { font-size: clamp(4rem, 19vw, 7rem); }
  .hero-panel { position: relative; right: auto; bottom: auto; margin: 26px auto 0; }
  .studio-grid, .process-layout { grid-template-columns: 1fr; }
  .process-copy { position: static; }
  .stats-strip, .app-grid, .agent-grid, .footer-grid, .app-status-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(7, 16, 24, 0.14); }
  .stat:last-child { border-bottom: 0; }
  .app-card.featured { transform: none; }
  .agent-overlay { inset: auto 16px 16px; width: auto; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-logo { font-size: 10px; letter-spacing: .08em; }
  .hero { min-height: 940px; }
  .hero-content { padding-top: 120px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .philosophy, .apps, .agents, .process { padding-block: 82px; }
  .subpage-hero { min-height: 520px; padding: 120px 0 60px; }
  .app-status-card { min-height: 450px; }
  .studio-card { border-radius: 28px; transform: none; }
  .agent-hero, .agent-hero img { min-height: 720px; }
  .contact-content { border-radius: 30px; }
}

/* ── Scroll-to-top button ── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 20, 28, 0.80);
  border: 1px solid rgba(199, 248, 255, 0.16);
  color: rgba(199, 248, 255, 0.65);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 280ms ease,
    transform 280ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  z-index: 900;
  box-shadow:
    0 4px 22px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(199, 248, 255, 0.04);
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: rgba(199, 248, 255, 0.10);
  color: rgba(199, 248, 255, 0.95);
  border-color: rgba(199, 248, 255, 0.30);
}
.scroll-top:active {
  transform: translateY(2px) scale(0.95);
}
@media (max-width: 560px) {
  .scroll-top { bottom: 20px; right: 18px; width: 40px; height: 40px; }
}

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

/* ═══════════════════════ FutureSelf OS — dedicated page ═══════════════════════ */
.fsos-page {
  --fs-cyan: #5fe3ff;
  --fs-violet: #8f7bff;
  --fs-gold: #f2b65a;
  --fs-green: #4ade9c;
}

/* ── Hero ── */
.fsos-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 720px at 74% 8%, rgba(143, 123, 255, 0.18), transparent 60%),
    radial-gradient(900px 620px at 12% 88%, rgba(95, 227, 255, 0.09), transparent 58%),
    radial-gradient(700px 500px at 50% 120%, rgba(242, 182, 90, 0.06), transparent 60%),
    #05060d;
}
.fsos-hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(130px, 16vh, 170px) 84px;
}
.fsos-hero-copy .eyebrow { color: var(--fs-cyan); }
.fsos-hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 6.6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 16px 0 20px;
}
.fsos-hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(108deg, var(--fs-cyan), var(--fs-violet) 52%, var(--fs-gold));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fsos-lede {
  max-width: 46ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(246, 239, 227, 0.74);
}
.fsos-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.fsos-chips span {
  padding: 8px 14px;
  border: 1px solid rgba(143, 123, 255, 0.32);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.66);
  background: rgba(143, 123, 255, 0.05);
}
.fsos-hero .hero-actions { margin-top: 30px; }

/* ── Hero orb (reuses the .signal-orb lazy-load + .signal-tuner) ── */
.fsos-orb-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 40vw, 460px);
}
.fsos-orb-stage::before {
  content: "";
  position: absolute;
  width: clamp(320px, 36vw, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 123, 255, 0.34), rgba(95, 227, 255, 0.12) 46%, transparent 70%);
  filter: blur(10px);
}
.fsos-orb {
  position: relative;
  z-index: 1;
  width: clamp(232px, 28vw, 360px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  transform: scale(1.16) translateZ(0);
  backface-visibility: hidden;
  border: 1px solid rgba(199, 200, 255, 0.34);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(143, 123, 255, 0.42),
    inset 0 0 36px rgba(8, 6, 22, 0.5);
}
.fsos-orb-stage .signal-tuner {
  top: 50%;
  left: 50%;
  width: min(560px, 92%);
  height: 180px;
  opacity: 0.55;
}

/* ── Generic FSOS section + cards ── */
.fsos-section { position: relative; }
.fsos-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.fsos-card {
  position: relative;
  padding: 30px 28px;
  border: 1px solid rgba(143, 123, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(420px 200px at 80% 0%, rgba(95, 227, 255, 0.08), transparent 60%),
    rgba(12, 11, 26, 0.62);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), border-color 320ms ease, box-shadow 320ms ease;
}
.fsos-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 123, 255, 0.4);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34), 0 0 50px rgba(143, 123, 255, 0.14);
}
.fsos-card-step {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fs-cyan);
}
.fsos-card h3 {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.fsos-card p { color: rgba(246, 239, 227, 0.64); line-height: 1.75; }

/* ── Pattern Interrupt feature ── */
.fsos-interrupt-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.fsos-interrupt-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid rgba(143, 123, 255, 0.18);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(500px 360px at 50% 30%, rgba(143, 123, 255, 0.14), transparent 70%),
    rgba(8, 7, 20, 0.7);
}
.fsos-interrupt-ring {
  position: relative;
  width: 188px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
/* only the ring border pulses — the video core stays perfectly steady */
.fsos-interrupt-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(143, 123, 255, 0.5);
  box-shadow: 0 0 50px rgba(143, 123, 255, 0.3), inset 0 0 40px rgba(95, 227, 255, 0.12);
  animation: fsosBreathe 6s ease-in-out infinite;
}
.fsos-interrupt-video {
  width: 150px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  transform: scale(1.16) translateZ(0);
  backface-visibility: hidden;
  box-shadow: 0 0 34px rgba(143, 123, 255, 0.42), inset 0 0 26px rgba(8, 6, 22, 0.45);
}
@keyframes fsosBreathe {
  0%, 100% { transform: scale(0.92); }
  50% { transform: scale(1.12); }
}
.fsos-interrupt-copy h2 { margin-bottom: 14px; }
.fsos-interrupt-copy p { color: rgba(246, 239, 227, 0.7); line-height: 1.8; max-width: 48ch; }

/* ── Trader rules ── */
.fsos-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 44px;
}
.fsos-rule {
  padding: 22px 24px;
  border-left: 2px solid var(--fs-gold);
  border-radius: 4px 16px 16px 4px;
  background: rgba(12, 11, 26, 0.55);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: rgba(246, 239, 227, 0.92);
}

/* ── Proof Vault ── */
.fsos-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.fsos-proof-card {
  padding: 30px 26px;
  border: 1px solid rgba(74, 222, 156, 0.2);
  border-radius: 24px;
  background: rgba(8, 18, 14, 0.5);
  text-align: center;
}
.fsos-proof-num {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fs-green);
}
.fsos-proof-card span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.56);
}

/* ── Compliance disclaimer (required on every FSOS surface) ── */
.fsos-disclaimer {
  padding: 40px 0 70px;
  background: #05060d;
}
.fsos-disclaimer p {
  max-width: 70ch;
  margin: 0 auto;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(246, 239, 227, 0.5);
}

@media (max-width: 900px) {
  .fsos-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .fsos-orb-stage { order: -1; min-height: 300px; }
  .fsos-interrupt-grid { grid-template-columns: 1fr; }
  .fsos-interrupt-stage { order: -1; min-height: 300px; }
  .fsos-grid-3, .fsos-proof-strip { grid-template-columns: 1fr; }
}

/* ═══════════════════════ Onda — beach-town discovery app ═══════════════════════ */
.app-status-card.onda {
  background-color: rgba(8, 26, 28, 0.82);
}
/* golden-hour beach vibe: a sunrise glow low over the water (gold) and a
   sunset glow high in the sky (coral) — both heavily blurred, behind content */
.app-status-card.onda::before {
  content: "";
  position: absolute;
  top: 62%;
  left: 22%;
  z-index: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 196, 102, 0.3), rgba(255, 150, 80, 0.08) 48%, transparent 72%);
  filter: blur(16px);
}
.app-status-card.onda::after {
  content: "";
  display: block;
  position: absolute;
  inset: auto;
  top: 16%;
  left: 80%;
  z-index: 0;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 124, 108, 0.24), rgba(232, 99, 58, 0.07) 50%, transparent 72%);
  filter: blur(18px);
}
/* give Onda's icon the same framed look the others get (the default light-cyan
   border vanishes against the teal, so use a warmer, more visible frame) */
.app-status-card.onda .app-status-thumb {
  border-color: rgba(246, 239, 227, 0.5);
}

/* rolling ocean swells along the bottom — "onda" = wave */
.onda-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 160px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 42%, transparent);
          mask-image: linear-gradient(to top, #000 42%, transparent);
}
.onda-waves span {
  position: absolute;
  inset: 0;
  background-repeat: repeat-x;
  background-position: 0 bottom;
}
.onda-waves span:nth-child(1) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='90' viewBox='0 0 280 90'%3E%3Cpath d='M0 50 Q 70 14 140 50 T 280 50 V90 H0 Z' fill='%231C9AA0'/%3E%3C/svg%3E");
  opacity: 0.5;
  animation: ondaTide 11s linear infinite;
}
.onda-waves span:nth-child(2) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='70' viewBox='0 0 140 70'%3E%3Cpath d='M0 40 Q 35 16 70 40 T 140 40 V70 H0 Z' fill='%235FD0D6'/%3E%3C/svg%3E");
  opacity: 0.3;
  animation: ondaTide 7s linear infinite reverse;
}
@keyframes ondaTide {
  from { background-position-x: 0; }
  to { background-position-x: 280px; }
}
.app-status-card.onda:hover {
  transform: translateY(-6px);
  border-color: rgba(95, 208, 214, 0.4);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.3), 0 0 60px rgba(20, 133, 141, 0.18);
}

/* three legal links in place of a single app-page link (for now) */
.onda-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
}
.onda-links a {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--glacier);
  transition: color 0.25s ease;
}
.onda-links a:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -13px;
  color: rgba(246, 239, 227, 0.3);
}
.onda-links a:hover { color: #fff; }
