:root {
  --ink: #172238;
  --muted: #657086;
  --accent: #f97316;
  --accent-deep: #e85c08;
  --cream: #fffaf5;
  --cream-2: #fff4e9;
  --peach: #ffe3ca;
  --paper: #ffffff;
  --teal: #168f85;
  --rose: #e85b73;
  --line: rgba(23, 34, 56, 0.11);
  --shadow: 0 24px 70px rgba(69, 43, 20, 0.12);
  --radius: 28px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 202, 145, 0.36), transparent 28rem),
    radial-gradient(circle at 3% 43%, rgba(40, 166, 151, 0.09), transparent 24rem),
    var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 250, 245, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(23,34,56,.05); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .94rem; font-weight: 650; }
.nav-links a { text-decoration: none; color: #536077; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent-deep); }
.nav-button { border: 1px solid rgba(249,115,22,.35); border-radius: 999px; padding: 10px 17px; background: rgba(255,255,255,.7); color: var(--accent-deep) !important; }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); padding: 8px; font-size: 1.45rem; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 76px; padding: 80px 0 96px; }
.hero > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--accent-deep); font-size: .79rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 22px; font-family: var(--serif); font-size: clamp(3.4rem, 6.4vw, 6.7rem); line-height: .95; letter-spacing: -.055em; }
.accent-word { color: var(--accent); font-style: italic; }
.hero-copy > p { max-width: 610px; margin-bottom: 32px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 23px; border-radius: 16px; text-decoration: none; font-weight: 780; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, #ff852d, #ed5c0b); box-shadow: 0 14px 26px rgba(237,92,11,.25); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.74); color: var(--ink); }
.apple-mark { font-size: 1.25rem; }
.tiny-note { margin-top: 16px; color: #7e8798; font-size: .83rem; }

.visual-wrap { position: relative; min-height: 610px; display: grid; place-items: center; }
.glow { position: absolute; width: 510px; height: 510px; border-radius: 50%; background: radial-gradient(circle, rgba(255,184,112,.55), rgba(255,225,199,.15) 55%, transparent 70%); filter: blur(4px); }
.orbit { position: absolute; width: 460px; height: 460px; border: 1px dashed rgba(249,115,22,.28); border-radius: 50%; animation: spin 24s linear infinite; }
.orbit::before, .orbit::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; }
.orbit::before { top: 45px; left: 52px; background: var(--teal); }
.orbit::after { right: 18px; bottom: 105px; background: var(--rose); }
.phone { position: relative; z-index: 2; width: 310px; height: 618px; overflow: hidden; border: 9px solid #19243a; border-radius: 48px; background: #fffaf5; box-shadow: 0 36px 90px rgba(23,34,56,.25), inset 0 0 0 1px rgba(255,255,255,.5); transform: rotate(2deg); }
.phone::before { content: ''; position: absolute; z-index: 5; top: 11px; left: 50%; width: 94px; height: 23px; border-radius: 999px; background: #19243a; transform: translateX(-50%); }
.phone-screen { height: 100%; padding: 45px 18px 20px; background: linear-gradient(180deg, #fffaf5 0%, #fff4e9 100%); }
.phone-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.phone-head img { width: 42px; height: 42px; }
.phone-title { font-weight: 850; font-size: 1.1rem; }
.phone-sub { color: var(--muted); font-size: .66rem; }
.health-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin-bottom: 16px; }
.health-pill { padding: 8px 3px; border: 1px solid var(--line); border-radius: 11px; background: white; text-align: center; font-size: .58rem; font-weight: 700; }
.chat-bubble { margin-bottom: 14px; padding: 15px; border-radius: 18px 18px 18px 5px; background: white; box-shadow: 0 10px 26px rgba(23,34,56,.07); font-size: .72rem; line-height: 1.55; }
.chat-bubble strong { display: block; margin-bottom: 5px; color: var(--accent-deep); }
.phone-label { margin: 17px 0 9px; color: var(--muted); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.challenge-mini { display: flex; gap: 9px; }
.challenge-card { flex: 0 0 142px; min-height: 132px; padding: 14px; border-radius: 19px; color: white; background: linear-gradient(145deg, #173d49, #1d6971); }
.challenge-card.warm { background: linear-gradient(145deg, #ef7a36, #d95332); }
.challenge-icon { font-size: 1.2rem; }
.challenge-card h4 { margin: 18px 0 7px; font-family: var(--serif); font-size: 1rem; }
.challenge-card span { opacity: .77; font-size: .62rem; }
.report-mini { margin-top: 14px; padding: 14px; border-radius: 18px; background: #1c2a43; color: white; }
.report-mini small { color: #fbb780; }
.report-mini p { margin: 5px 0 0; font-size: .65rem; line-height: 1.45; color: #d9e0eb; }
.float-card { position: absolute; z-index: 3; padding: 13px 17px; border: 1px solid rgba(255,255,255,.8); border-radius: 17px; background: rgba(255,255,255,.86); box-shadow: 0 18px 45px rgba(23,34,56,.13); backdrop-filter: blur(12px); font-size: .78rem; font-weight: 750; }
.float-card span { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; font-weight: 550; }
.float-one { left: -12px; top: 158px; }
.float-two { right: -8px; bottom: 115px; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.48); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 24px; text-align: center; color: #657086; font-size: .81rem; font-weight: 720; letter-spacing: .05em; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }

.section { padding: 118px 0; }
.section-soft { background: rgba(255,255,255,.47); border-block: 1px solid rgba(23,34,56,.06); }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin-bottom: 18px; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; }
.section-head p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { min-height: 250px; padding: 29px; border: 1px solid rgba(23,34,56,.08); border-radius: 25px; background: rgba(255,255,255,.72); box-shadow: 0 14px 38px rgba(23,34,56,.05); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 15px; background: var(--cream-2); color: var(--accent-deep); font-size: 1.35rem; }
.feature:nth-child(2) .feature-icon, .feature:nth-child(5) .feature-icon { color: var(--teal); background: #eaf7f4; }
.feature:nth-child(3) .feature-icon, .feature:nth-child(6) .feature-icon { color: var(--rose); background: #fff0f3; }
.feature h3 { margin-bottom: 10px; font-size: 1.12rem; }
.feature p { margin-bottom: 0; color: var(--muted); font-size: .94rem; line-height: 1.65; }

.flow { display: grid; grid-template-columns: .8fr 1.2fr; gap: 78px; align-items: center; }
.logo-stage { position: relative; min-height: 520px; display: grid; place-items: center; border-radius: 44px; overflow: hidden; background: #152138; box-shadow: var(--shadow); }
.logo-stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 48%, rgba(249,115,22,.22), transparent 42%), radial-gradient(circle at 12% 12%, rgba(22,143,133,.2), transparent 25%); }
.logo-stage img { position: relative; width: 82%; filter: drop-shadow(0 30px 38px rgba(0,0,0,.25)); }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px; border-radius: 21px; transition: background .2s ease, transform .2s ease; }
.step:hover { background: white; transform: translateX(4px); }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(249,115,22,.25); border-radius: 50%; color: var(--accent-deep); font-family: var(--serif); font-weight: 700; }
.step h3 { margin: 1px 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

.challenge-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.practice { position: relative; min-height: 270px; padding: 26px; overflow: hidden; border-radius: 27px; color: white; background: linear-gradient(150deg, #1d5260, #16323d); }
.practice:nth-child(2) { background: linear-gradient(150deg, #d96d84, #a84f6c); }
.practice:nth-child(3) { background: linear-gradient(150deg, #e27d42, #b84c2f); }
.practice:nth-child(4) { background: linear-gradient(150deg, #705fa0, #423b72); }
.practice:nth-child(5) { background: linear-gradient(150deg, #2c8d80, #185b59); }
.practice:nth-child(6) { background: linear-gradient(150deg, #ba7535, #735026); }
.practice::after { content: ''; position: absolute; width: 160px; height: 160px; right: -55px; bottom: -58px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.05), 0 0 0 58px rgba(255,255,255,.03); }
.practice-badge { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .67rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.practice h3 { position: relative; z-index: 1; margin: 76px 0 9px; font-family: var(--serif); font-size: 1.6rem; }
.practice p { position: relative; z-index: 1; margin-bottom: 0; color: rgba(255,255,255,.77); font-size: .88rem; line-height: 1.55; }

.privacy-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; padding: 54px; border-radius: 38px; background: #172238; color: white; box-shadow: var(--shadow); }
.privacy-panel h2 { color: white; }
.privacy-panel p { color: #bfc8d7; line-height: 1.7; }
.privacy-points { display: grid; gap: 13px; }
.privacy-point { display: flex; gap: 13px; align-items: flex-start; padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: rgba(255,255,255,.045); }
.check { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(249,115,22,.18); color: #ff9b54; font-size: .74rem; }
.privacy-point strong { display: block; margin-bottom: 3px; font-size: .92rem; }
.privacy-point span { color: #aeb9ca; font-size: .8rem; line-height: 1.5; }

.cta { padding: 112px 0; text-align: center; }
.cta-card { position: relative; overflow: hidden; padding: 78px 30px; border-radius: 40px; background: linear-gradient(135deg, #fff0df, #ffe4c8); box-shadow: var(--shadow); }
.cta-card::before, .cta-card::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(249,115,22,.2); }
.cta-card::before { left: -120px; top: -130px; }
.cta-card::after { right: -100px; bottom: -140px; }
.cta-card img { width: 130px; height: 130px; margin: 0 auto 17px; object-fit: contain; }
.cta-card h2 { position: relative; margin-bottom: 13px; font-family: var(--serif); font-size: clamp(2.5rem,5vw,4.2rem); letter-spacing: -.045em; }
.cta-card p { position: relative; max-width: 590px; margin: 0 auto 27px; color: var(--muted); line-height: 1.65; }
.cta-card .actions { position: relative; justify-content: center; }

.site-footer { padding: 58px 0 35px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 50px; }
.footer-about { max-width: 390px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.footer-title { margin-bottom: 14px; color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); color: #7c8698; font-size: .79rem; }

.legal-main { min-height: 70vh; padding: 82px 0 110px; }
.legal-hero { max-width: 800px; margin-bottom: 52px; }
.legal-hero h1 { margin-bottom: 16px; font-size: clamp(3rem,7vw,5.4rem); }
.legal-hero p { color: var(--muted); line-height: 1.7; }
.updated { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: var(--cream-2); color: var(--accent-deep) !important; font-size: .75rem; font-weight: 700; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0,720px); gap: 70px; align-items: start; }
.legal-nav { position: sticky; top: 105px; display: grid; gap: 8px; }
.legal-nav a { padding: 8px 0; color: var(--muted); font-size: .85rem; text-decoration: none; }
.legal-nav a:hover { color: var(--accent-deep); }
.legal-copy { padding: 38px; border: 1px solid var(--line); border-radius: 27px; background: rgba(255,255,255,.72); }
.legal-copy section + section { margin-top: 37px; padding-top: 37px; border-top: 1px solid var(--line); }
.legal-copy h2 { margin-bottom: 12px; font-family: var(--serif); font-size: 1.65rem; letter-spacing: -.025em; }
.legal-copy h3 { margin: 22px 0 8px; font-size: 1rem; }
.legal-copy p, .legal-copy li { color: #566278; font-size: .96rem; line-height: 1.75; }
.legal-copy ul, .legal-copy ol { padding-left: 21px; }
.legal-copy a { color: var(--accent-deep); font-weight: 650; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.support-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.support-card h2 { font-size: 1.35rem; }
.support-card p { color: var(--muted); line-height: 1.65; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 60px; text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .visual-wrap { min-height: 650px; }
  .features, .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .logo-stage { min-height: 430px; }
  .privacy-panel { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav { position: static; grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { height: 68px; }
  .menu-button { display: block; }
  .nav-links { position: absolute; inset: 68px 14px auto; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,250,245,.98); box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-button { text-align: center; }
  .hero { min-height: auto; padding: 55px 0 70px; }
  h1 { font-size: 3rem; line-height: .98; }
  .hero-copy { overflow: hidden; }
  .hero-copy > p { width: 100%; font-size: 1rem; }
  .visual-wrap { min-height: 600px; }
  .phone { width: 285px; height: 568px; }
  .orbit { width: 340px; height: 340px; }
  .float-one { left: -2px; top: 115px; }
  .float-two { right: -2px; bottom: 70px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .section { padding: 84px 0; }
  .features, .challenge-grid, .support-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .practice { min-height: 235px; }
  .privacy-panel { padding: 31px 22px; border-radius: 29px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .legal-main { padding-top: 56px; }
  .legal-copy { padding: 25px 20px; }
  .legal-nav { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.62rem; }
  .button { width: 100%; padding-inline: 15px; }
  .float-card { padding: 11px 13px; font-size: .72rem; }
}

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