﻿
:root {
  --navy: #10283b;
  --navy-deep: #091a29;
  --coral: #ff8b7c;
  --coral-light: #ffd2cb;
  --cream: #f6f1e8;
  --paper: #fffcf7;
  --teal: #2d817b;
  --ink: #172b3a;
  --muted: #5d6b74;
  --line: #d9d3c9;
  --shadow: 0 22px 70px rgba(16, 40, 59, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(3rem, 6.6vw, 6.65rem); max-width: 10.5ch; margin-bottom: 28px; }
h2 { font-size: clamp(2.25rem, 4.1vw, 4rem); margin-bottom: 24px; }
h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); margin-bottom: 14px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 20px; top: 12px; z-index: 1000; transform: translateY(-150%);
  background: var(--paper); color: var(--navy); padding: 12px 18px; border-radius: 10px;
  box-shadow: var(--shadow); font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 4px; }

.site-header {
  position: sticky; top: 0; z-index: 100; min-height: 82px; padding: 15px clamp(22px, 5vw, 78px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(246, 241, 232, 0.92); border-bottom: 1px solid rgba(16, 40, 59, 0.1);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; text-decoration: none; color: var(--navy); }
.brand img { border-radius: 12px; box-shadow: 0 8px 22px rgba(16, 40, 59, 0.14); }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.site-header nav a, .site-footer nav a { font-size: 0.95rem; font-weight: 750; text-decoration-thickness: 2px; text-decoration-color: transparent; }
.site-header nav a:hover, .site-footer nav a:hover { text-decoration-color: currentColor; }

.hero {
  min-height: calc(100vh - 82px); padding: clamp(68px, 9vw, 130px) clamp(22px, 6.5vw, 105px) 110px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr); align-items: center;
  gap: clamp(56px, 8vw, 130px); overflow: hidden; position: relative;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin-bottom: 18px; color: var(--teal); font-size: 0.79rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
.eyebrow span { color: var(--coral); margin-right: 8px; }
.hero-lede { max-width: 590px; color: var(--muted); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 46px; }
.button {
  min-height: 50px; padding: 13px 22px; border: 2px solid var(--navy); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 850; text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: white; box-shadow: 0 12px 28px rgba(16, 40, 59, 0.2); }
.button-primary:hover { background: var(--navy-deep); }
.button-secondary { background: transparent; color: var(--navy); }
.button-secondary:hover { background: rgba(255, 255, 255, 0.56); }
.proof-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.proof-row li { min-width: 125px; padding: 0 24px; border-left: 1px solid var(--line); display: grid; }
.proof-row li:first-child { padding-left: 0; border-left: 0; }
.proof-row strong { color: var(--navy); font-size: 1.35rem; line-height: 1.1; }
.proof-row span { margin-top: 7px; max-width: 105px; color: var(--muted); font-size: 0.75rem; line-height: 1.35; }

.hero-visual { min-height: 650px; position: relative; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute; width: min(560px, 92%); aspect-ratio: 1; border-radius: 50%;
  background: var(--coral-light); opacity: 0.6; box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.28);
}
.orb { position: absolute; border-radius: 50%; opacity: 0.95; }
.orb-one { width: 74px; height: 74px; right: 8%; top: 12%; background: var(--teal); }
.orb-two { width: 38px; height: 38px; left: 8%; bottom: 17%; background: var(--coral); }
.formula { position: absolute; color: var(--navy); font-family: Consolas, monospace; font-weight: 850; opacity: 0.55; }
.formula-one { left: 4%; top: 19%; transform: rotate(-12deg); }
.formula-two { right: 2%; bottom: 24%; transform: rotate(8deg); }
.phone-frame {
  position: relative; z-index: 2; width: min(330px, 78vw); padding: 12px; border: 3px solid var(--navy);
  border-radius: 48px; background: var(--navy-deep); box-shadow: 0 34px 70px rgba(9, 26, 41, 0.28); transform: rotate(2.5deg);
}
.phone-top { height: 28px; display: grid; place-items: center; }
.phone-top span { width: 74px; height: 7px; border-radius: 10px; background: #314757; }
.phone-screen { min-height: 560px; padding: 18px 18px 24px; border-radius: 34px; background: var(--paper); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 0.82rem; font-weight: 850; }
.app-bar img { border-radius: 9px; }
.progress-track { height: 6px; margin: 20px 0 27px; border-radius: 20px; background: #e5e2dc; overflow: hidden; }
.progress-track span { display: block; width: 68%; height: 100%; background: var(--teal); border-radius: inherit; }
.quiz-label { margin-bottom: 12px; text-align: center; color: var(--muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.structure-card { min-height: 295px; display: grid; place-items: center; background: white; border: 1px solid #e4ddd3; border-radius: 24px; }
.structure-card img { max-height: 230px; width: auto; }
.answer-card { margin-top: 15px; padding: 14px 15px; border-radius: 16px; background: #e5f4ef; display: flex; align-items: center; gap: 12px; }
.answer-dot { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: white; font-weight: 900; }
.answer-card span:last-child { display: grid; }
.answer-card small { color: var(--teal); font-weight: 850; text-transform: uppercase; letter-spacing: 0.06em; }
.answer-card strong { color: var(--navy); }
.floating-note {
  position: absolute; z-index: 3; padding: 14px 18px; border: 1px solid rgba(16, 40, 59, 0.12); border-radius: 16px;
  display: grid; background: rgba(255, 252, 247, 0.96); box-shadow: 0 16px 38px rgba(16, 40, 59, 0.16);
}
.floating-note strong { color: var(--navy); font-size: 1.25rem; line-height: 1; }
.floating-note span { margin-top: 6px; color: var(--muted); font-size: 0.73rem; }
.note-one { left: 1%; top: 39%; transform: rotate(-5deg); }
.note-two { right: 0; bottom: 23%; transform: rotate(4deg); }

.app-section, .approach-section { padding: clamp(78px, 10vw, 145px) clamp(22px, 6.5vw, 105px); }
.app-section { background: var(--paper); }
.section-heading { max-width: 780px; margin-bottom: 54px; }
.section-heading > p:last-child, .approach-intro > p:last-child { color: var(--muted); font-size: 1.12rem; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.app-grid-portfolio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-card { min-height: 580px; padding: clamp(30px, 4vw, 52px); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.app-card-featured { background: var(--cream); border: 1px solid var(--line); }
.app-card-dark { background: var(--navy); color: #dce5e9; box-shadow: var(--shadow); }
.app-card-dark h3, .app-card-dark .app-kicker { color: white; }
.app-card-dark .check-list li::before { background: var(--coral); color: var(--navy); }
.app-card-top { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.app-card-icon { border-radius: 20px; box-shadow: 0 14px 32px rgba(16, 40, 59, 0.18); }
.app-kicker { margin: 0 0 8px; color: var(--teal); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.app-card p:not(.app-kicker) { font-size: 1.03rem; }
.reaction-icon { width: 146px; height: 82px; margin-bottom: 28px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 21px; background: var(--coral); color: var(--navy); }
.reaction-icon span { width: 39px; height: 39px; border: 2px solid var(--navy); border-radius: 50%; display: grid; place-items: center; font-weight: 900; }
.reaction-icon b { font-size: 1.55rem; }
.check-list { list-style: none; margin: 22px 0 32px; padding: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: "âœ“"; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: white; font-size: 0.72rem; font-weight: 900; }
.app-card-footer { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.store-button { min-height: 58px; padding: 8px 16px; border: 2px solid var(--navy); border-radius: 13px; display: flex; align-items: center; gap: 12px; background: var(--navy); color: white; text-decoration: none; }
.app-card-dark .store-button { border-color: white; background: white; color: var(--navy); }
.store-button:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.16); }
.store-button span:nth-child(2) { display: grid; line-height: 1.05; }
.store-button small { font-size: 0.6rem; letter-spacing: 0.03em; }
.store-button strong { font-size: 1.05rem; }
.play-mark { font-size: 1.35rem; }
.download-note { font-size: 0.8rem; font-weight: 750; opacity: 0.78; }
.portfolio-card { min-height: 510px; padding: clamp(26px, 3vw, 38px); border: 1px solid var(--line); background: var(--cream); }
.portfolio-card h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.portfolio-card > p { color: var(--muted); }
.portfolio-mark { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 21px; display: grid; place-items: center; background: var(--navy); color: white; font-size: 1.25rem; font-weight: 900; box-shadow: 0 14px 32px rgba(16, 40, 59, 0.16); }
.tone-navy { background: var(--navy); color: #dce5e9; border-color: var(--navy); }
.tone-navy h3, .tone-navy .app-kicker { color: white; }
.tone-navy > p { color: #dce5e9; }
.tone-navy .portfolio-mark { background: var(--coral); color: var(--navy); }
.tone-navy .check-list li::before { background: var(--coral); color: var(--navy); }
.tone-teal .portfolio-mark { background: var(--teal); }
.tone-gold .portfolio-mark { background: #c8752c; }
.tone-plum .portfolio-mark { background: #6d527b; }
.tone-blue .portfolio-mark { background: #356b98; }
.platform-buttons { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.platform-buttons .store-button { min-width: 0; padding: 8px 11px; }
.platform-buttons .store-button strong { font-size: 0.91rem; }
.platform-buttons .store-button small { font-size: 0.53rem; }
.tone-navy .store-button { border-color: white; background: white; color: var(--navy); }

.approach-section { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); gap: clamp(54px, 8vw, 120px); }
.approach-intro { position: sticky; top: 120px; align-self: start; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,0.38); }
.feature-card > span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 36px; border: 1px solid var(--coral); border-radius: 50%; color: var(--navy); font-size: 0.74rem; font-weight: 900; }
.feature-card p { color: var(--muted); }

.study-section { padding: 0 clamp(22px, 6.5vw, 105px) clamp(82px, 10vw, 145px); display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 24px; }
.study-panel, .privacy-panel { padding: clamp(34px, 5vw, 68px); border-radius: var(--radius-lg); }
.study-panel { background: var(--coral-light); }
.study-steps { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 24px; }
.study-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.study-steps li > span { width: 48px; height: 48px; border: 2px solid var(--navy); border-radius: 50%; display: grid; place-items: center; color: var(--navy); font-weight: 900; }
.study-steps strong { color: var(--navy); font-size: 1.08rem; }
.study-steps p { margin: 4px 0 0; color: #475963; }
.privacy-panel { background: var(--navy); color: #dce5e9; }
.privacy-panel h2 { color: white; }
.privacy-panel .eyebrow { color: var(--coral); }
.privacy-panel a { display: inline-block; margin-top: 18px; color: white; font-weight: 850; }
.shield { width: 62px; height: 62px; margin-bottom: 34px; display: grid; place-items: center; border-radius: 20px 20px 28px 28px; background: var(--teal); color: white; font-size: 1.7rem; font-weight: 900; }

.support-section { margin: 0 clamp(22px, 6.5vw, 105px) clamp(82px, 10vw, 130px); padding: clamp(38px, 5vw, 68px); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--teal); color: white; }
.support-section h2, .support-section .eyebrow { color: white; margin-bottom: 0; }
.support-section .eyebrow { opacity: 0.84; margin-bottom: 10px; }
.button-light { flex-shrink: 0; border-color: white; background: white; color: var(--navy); }
.button-light:hover { background: var(--cream); }

.site-footer { padding: 52px clamp(22px, 6.5vw, 105px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 34px; }
.footer-brand { align-self: end; }
.site-footer > p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.site-footer nav { grid-column: 2; grid-row: 1 / span 2; }
.site-footer .copyright { grid-column: 1 / -1; margin-top: 25px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.78rem; }

.legal-page { min-height: 70vh; padding: clamp(64px, 8vw, 110px) 22px 120px; }
.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-wrap > header { margin-bottom: 55px; }
.legal-wrap h1 { max-width: 13ch; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.legal-meta { color: var(--muted); }
.legal-card { padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.legal-card section + section { margin-top: 42px; padding-top: 38px; border-top: 1px solid var(--line); }
.legal-card h2 { font-size: 1.65rem; margin-bottom: 14px; }
.legal-card h3 { font-size: 1.2rem; margin-top: 24px; }
.legal-card ul { padding-left: 1.3em; }
.legal-card li + li { margin-top: 8px; }
.legal-back { display: inline-flex; margin-bottom: 24px; color: var(--teal); font-weight: 850; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 610px; }
  .app-grid, .study-section { grid-template-columns: 1fr; }
  .app-grid-portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach-section { grid-template-columns: 1fr; }
  .approach-intro { position: static; max-width: 720px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header { min-height: 74px; padding: 12px 18px; }
  .brand span { max-width: 132px; line-height: 1.1; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 0.82rem; }
  .site-header nav a:nth-child(2) { display: none; }
  .hero { min-height: auto; padding: 62px 20px 82px; gap: 44px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  h2 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .proof-row { display: grid; grid-template-columns: repeat(3, 1fr); }
  .proof-row li { min-width: 0; padding: 0 10px; }
  .proof-row span { font-size: 0.68rem; }
  .hero-visual { min-height: 535px; }
  .hero-visual::before { width: 420px; }
  .phone-frame { width: 274px; border-radius: 40px; }
  .phone-screen { min-height: 465px; padding: 14px; border-radius: 29px; }
  .structure-card { min-height: 230px; }
  .structure-card img { max-height: 190px; }
  .floating-note { padding: 11px 13px; }
  .floating-note strong { font-size: 1rem; }
  .note-one { left: 0; }
  .note-two { right: -4px; }
  .app-section, .approach-section { padding: 82px 20px; }
  .app-card { min-height: auto; padding: 28px; }
  .app-grid-portfolio { grid-template-columns: 1fr; }
  .portfolio-card { min-height: 0; }
  .app-card-top { align-items: flex-start; }
  .app-card-icon { width: 66px; height: 66px; }
  .portfolio-mark { width: 66px; height: 66px; flex-basis: 66px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .study-section { padding: 0 20px 82px; }
  .support-section { margin: 0 20px 82px; padding: 34px 26px; align-items: flex-start; flex-direction: column; }
  .button-light { width: 100%; font-size: 0.9rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { grid-column: 1; grid-row: auto; margin: 22px 0 8px; }
  .site-footer .copyright { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media (prefers-contrast: more) {
  :root { --muted: #34434c; --line: #7b858b; }
  .button, .app-card, .feature-card, .legal-card { border-width: 2px; }
}
