:root {
  --night: #151319;
  --night-deep: #0e0d12;
  --slate: #222129;
  --slate-soft: #2a2932;
  --stone: #ece9e2;
  --muted: #aaa7ad;
  --faint: #74717b;
  --mint: #7faf9b;
  --mint-bright: #9bc7b5;
  --violet: #747dc7;
  --line: rgba(236, 233, 226, 0.14);
  --line-strong: rgba(236, 233, 226, 0.24);
  --max: 1220px;
  --display: ui-rounded, "SF Pro Rounded", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Avenir Next", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--stone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 82% 8%, rgba(127, 175, 155, 0.055), transparent 34rem);
}

a { color: inherit; }
a:hover { color: var(--mint-bright); }
p, li, a { overflow-wrap: anywhere; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--mint-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--stone);
  color: var(--night);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 56px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--stone);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.studio-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
}

.wordmark-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
}

.wordmark strong,
.wordmark span {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.footer-about .studio-mark {
  width: 58px;
  height: 58px;
}

.wordmark b,
.brand-dot { color: var(--mint); font-weight: 800; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.82rem;
  font-weight: 600;
}

.nav-links a {
  color: #cbc8c4;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--mint-bright); }

.nav-links .nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-block: 108px 128px;
}

.hero > div { max-width: 920px; }

.brand-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.4rem, 9.6vw, 8.8rem);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.brand-title span { display: block; }
.brand-title .brand-dot { display: inline; margin-left: 0.03em; }

.hero-copy {
  max-width: 610px;
  margin: 38px 0 0;
  color: #c4c0c0;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-kicker,
.eyebrow {
  margin: 0 0 22px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-kicker::before,
.eyebrow::before { display: none; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 21px;
  border: 1px solid var(--mint);
  border-radius: 999px;
  background: var(--mint);
  color: var(--night-deep);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  transition: 160ms ease;
}

.button:hover {
  background: var(--mint-bright);
  color: var(--night-deep);
  transform: translateY(-2px);
}

.button.secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--stone);
}

.button.secondary:hover { border-color: var(--mint); color: var(--mint-bright); }

.section { padding-block: 132px; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 64px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1;
}

h1 { font-size: clamp(4rem, 8vw, 7.2rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.5rem); }

.section-intro { margin: 0; color: var(--muted); }

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(400px, 1.18fr);
  align-items: center;
  gap: clamp(56px, 9vw, 120px);
}

.product-copy > p:not(.eyebrow) { max-width: 620px; color: #c2bec0; font-size: 1.05rem; }
.product-name { font-size: clamp(3.2rem, 6vw, 5.7rem); }
.product-name span { color: var(--mint); }

.foretell-lockup {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 30px);
}

.foretell-mark {
  width: clamp(74px, 8vw, 112px);
  height: auto;
  flex: 0 0 auto;
  border: 1px solid rgba(236, 233, 226, 0.16);
  border-radius: 22%;
  background: #fcf8f2;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.foretell-lockup-product .foretell-mark { width: clamp(68px, 7vw, 86px); }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: var(--stone);
  font-weight: 650;
  text-decoration-color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.product-shot {
  min-width: 0;
  margin: 0;
  padding: clamp(28px, 5vw, 58px) clamp(22px, 4vw, 46px) 24px;
  display: grid;
  place-items: center;
  align-self: stretch;
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 8%, rgba(127,175,155,0.12), transparent 38%),
    var(--night-deep);
}

.phone-frame {
  width: min(100%, 382px);
  overflow: hidden;
  border: 8px solid #302f37;
  border-radius: 52px;
  background: #f7f5ef;
  box-shadow: 0 34px 80px rgba(0,0,0,0.38);
}

.phone-frame img { width: 100%; height: auto; }

.product-shot figcaption {
  width: 100%;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.74rem;
  text-align: center;
}

.product-shot figcaption span {
  margin-right: 8px;
  color: var(--mint);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.screen-panel {
  min-width: 0;
  min-height: 790px;
  margin: 0;
  padding: 40px 34px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(155deg, rgba(127,175,155,0.055), transparent 42%), var(--night-deep);
}

.screen-panel .phone-frame { width: min(100%, 330px); }

.screen-panel figcaption {
  width: 100%;
  display: grid;
  gap: 5px;
  text-align: left;
}

.screen-panel figcaption strong { font-family: var(--display); font-size: 1.12rem; font-weight: 600; }
.screen-panel figcaption span { color: var(--muted); font-size: 0.82rem; }

.mini-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.mini-feature { padding: 34px 28px 12px 0; }
.mini-feature + .mini-feature { padding-left: 28px; border-left: 1px solid var(--line); }
.mini-feature .number { color: var(--mint); font-size: 0.72rem; }
.mini-feature strong { display: block; margin-top: 22px; font-family: var(--display); font-size: 1.22rem; font-weight: 600; }
.mini-feature p { margin: 10px 0 0; color: var(--muted); font-size: 0.86rem; }

.cta-band {
  margin-bottom: 120px;
  padding: clamp(44px, 7vw, 86px);
  border: 1px solid var(--line);
  border-radius: 42px 42px 12px 12px;
  background: rgba(127,175,155,0.035);
}

.cta-band h2 { max-width: 880px; }
.cta-band p { max-width: 650px; color: var(--muted); }

.site-footer { padding-block: 64px 34px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 0.55fr); gap: 46px; }
.footer-about { max-width: 390px; color: var(--muted); font-size: 0.88rem; }
.footer-title { margin: 0 0 16px; color: var(--mint); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links { display: grid; align-content: start; gap: 9px; }
.footer-links a { color: #c8c5c2; font-size: 0.88rem; text-decoration: none; }
.footer-links a:hover { color: var(--mint-bright); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.72rem; }

.page-hero { padding-block: 106px 76px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 920px; font-size: clamp(3.6rem, 7vw, 6.8rem); }
.page-hero p:not(.eyebrow) { max-width: 720px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; }
.effective { margin-top: 22px; color: var(--mint); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }

.foretell-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
  padding-block: 96px 120px;
}

.foretell-hero h1 span { color: var(--mint); }
.foretell-lockup-hero { align-items: center; }
.foretell-lockup-hero .eyebrow { margin-bottom: 14px; }
.foretell-lead { max-width: 680px; margin: 30px 0 0; color: #c4c0c0; font-size: 1.13rem; }
.product-note { margin-top: 26px; padding-left: 18px; border-left: 2px solid var(--mint); color: var(--muted); font-size: 0.85rem; }

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { min-height: 300px; padding: 38px; background: var(--night); }
.step span { color: var(--mint); font-size: 0.72rem; }
.step h3 { margin-top: 56px; font-size: 1.7rem; }
.step p { margin: 14px 0 0; color: var(--muted); font-size: 0.92rem; }

.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 770px); gap: 90px; align-items: start; padding-block: 76px 124px; }
.legal-nav { position: sticky; top: 30px; display: grid; gap: 9px; padding: 22px 0; border-block: 1px solid var(--line); }
.legal-nav a { color: var(--muted); font-size: 0.8rem; text-decoration: none; }
.legal-nav a:hover { color: var(--mint-bright); }
.legal-copy { min-width: 0; }
.legal-copy section { scroll-margin-top: 28px; }
.legal-copy section + section { margin-top: 58px; padding-top: 58px; border-top: 1px solid var(--line); }
.legal-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.legal-copy h3 { margin-top: 34px; font-family: var(--body); font-size: 1rem; font-weight: 750; letter-spacing: 0; }
.legal-copy p, .legal-copy li { color: #c2bfc0; }
.legal-copy ul { padding-left: 22px; }
.legal-copy li + li { margin-top: 10px; }
.legal-copy a { color: var(--mint-bright); text-underline-offset: 4px; }
.legal-copy .plain-language { padding: 24px; border-left: 3px solid var(--mint); background: rgba(127,175,155,0.065); color: var(--stone); }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-block: 72px 120px; }
.support-card { padding: 36px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,0.012); }
.support-card h2 { font-size: 2rem; }
.support-card p { color: var(--muted); }
.support-card a:not(.button) { color: var(--mint-bright); text-underline-offset: 4px; }
.support-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found strong { display: block; color: var(--mint); font-family: var(--display); font-size: clamp(6rem, 18vw, 14rem); font-weight: 500; line-height: 0.8; }

@media (max-width: 940px) {
  .foretell-hero, .product-feature { grid-template-columns: 1fr; }
  .hero, .foretell-hero { min-height: auto; }
  .product-feature { gap: 58px; }
  .product-shot { min-height: 620px; }
  .mini-features { grid-template-columns: 1fr 1fr; }
  .mini-feature:nth-child(3) { border-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-nav { position: static; grid-template-columns: repeat(3, auto); overflow-x: auto; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .nav { align-items: flex-start; flex-direction: column; gap: 18px; padding-block: 22px; }
  .nav-links { width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 4px; font-size: 0.74rem; }
  .nav-links .nav-cta { margin-left: auto; padding: 8px 12px; }
  .hero { padding-block: 74px 90px; }
  .brand-title { font-size: clamp(3.8rem, 20vw, 5.6rem); }
  .section { padding-block: 92px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .product-name { font-size: 3.2rem; }
  .foretell-lockup { gap: 16px; }
  .foretell-lockup-hero { align-items: center; }
  .foretell-lockup-hero .foretell-mark { width: 76px; }
  .foretell-lockup-product .foretell-mark { width: 64px; }
  main > .section {
    position: relative;
    margin-top: 28px;
    padding: 112px 22px 88px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 50% 50% 0 0 / 86px 86px 0 0;
    background: linear-gradient(180deg, rgba(127,175,155,0.045), transparent 240px), var(--night-deep);
  }
  main > .section::before {
    position: absolute;
    top: 35px;
    left: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--mint);
    content: "";
    transform: translateX(-50%);
  }
  main > .section::after {
    position: absolute;
    top: 31px;
    left: calc(50% + 6px);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--night-deep);
    content: "";
  }
  .product-shot { min-height: 0; padding: 24px 16px 20px; border-radius: 30px; }
  .phone-frame { border-width: 6px; border-radius: 42px; }
  .screen-showcase { grid-template-columns: 1fr; }
  .screen-panel { min-height: 0; padding: 28px 18px 26px; border-radius: 28px; }
  .mini-features, .steps { grid-template-columns: 1fr; }
  .mini-feature + .mini-feature { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .cta-band { margin-bottom: 84px; padding: 38px 24px; border-radius: 30px 30px 10px 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding-block: 72px 54px; }
  .foretell-hero { gap: 56px; padding-block: 72px 90px; }
  .legal-layout { padding-block: 52px 86px; }
  .legal-nav { grid-template-columns: repeat(2, auto); }
  .support-grid { grid-template-columns: 1fr; }
  .support-card.wide { grid-column: auto; grid-template-columns: 1fr; }
}

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