/* Shared design system for home and privacy pages. */
/* Design tokens */
:root {
  --orange: #f77c22;
  --coral: #f65f57;
  --rose: #cc4367;
  --gold: #ffd86e;
  --blue-tiny: #0f98ee;
  --ink: #572744;
  --paper: #fff2e7;
  --white: #fffaf5;
  --border: rgba(120, 38, 67, .32);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem;
  --s6: 1.5rem; --s8: 2rem; --s12: 3rem; --s16: 4rem; --s24: 6rem; --s32: 8rem;
  --r-small: .5rem; --r-medium: 1rem; --r-large: 1.75rem;
  --shadow-low: .25rem .25rem 0 #d34b68, .5rem .65rem 1.2rem rgba(183, 47, 88, .15);
  --shadow-mid: .45rem .5rem 0 #bd3c6b, 1rem 1.2rem 2rem rgba(153, 38, 83, .22);
  --shadow-high: .7rem .75rem 0 #ab315c, 1.5rem 2rem 3rem rgba(137, 29, 73, .25);
  --ease: cubic-bezier(.2,.8,.2,1);
  --speed: 200ms;
  --z-header: 20;
}
/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, .55vw + 11px, 22px); scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
::selection { color: var(--ink); background: var(--gold); }
:focus-visible { outline: 3px solid var(--blue-tiny); outline-offset: 4px; }
/* Base typography */
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.72; }
h1, h2, h3, p, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.18; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
h2 { font-size: clamp(1.45rem, 3.1vw, 2.8rem); }
h3 { font-size: clamp(1rem, 1.45vw, 1.32rem); }
p { text-wrap: pretty; }
a { color: inherit; }
.eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
/* Layout and container */
.container { width: min(100% - 2.5rem, 1360px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 10vw, 8rem); position: relative; }
.section-heading { max-width: 58rem; margin-bottom: var(--s12); }
.section-heading h2 { margin: var(--s4) 0 var(--s6); }
.section-heading > p:last-child { max-width: 44rem; font-size: 1.08rem; }
/* Components */
.skip-link { position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .75rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: var(--z-header); background: #ffe6c5; border-bottom: 2px solid var(--ink); }
.header__strip { height: 1.75rem; background: var(--rose); color: white; border-bottom: 1px solid var(--border); }
.header__strip-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; font-size: .7rem; font-weight: 600; letter-spacing: .04em; }
.header__main { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; gap: var(--s3); }
.brand__chip { background: #fff3e6; border: 1px solid var(--border); border-radius: var(--r-small); flex: none; padding: .2rem; }
.brand img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.brand__name { font-weight: 600; font-size: clamp(.78rem, 1.15vw, 1rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
nav { flex: none; }
.nav__privacy { display: flex; min-height: 2.75rem; align-items: center; gap: .5rem; text-decoration: none; padding: .5rem .85rem; border: 2px solid var(--ink); border-radius: var(--r-small); box-shadow: .2rem .2rem 0 var(--rose); font-weight: 600; font-size: .82rem; transition: transform var(--speed) var(--ease); }
.nav__privacy:hover { transform: translate(-2px, -2px); }
.page--policy .nav__privacy { background: var(--gold); }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; min-height: 3rem; padding: .7rem 1.25rem; font-size: .86rem; font-weight: 600; border: 2px solid var(--ink); border-radius: var(--r-small); position: relative; isolation: isolate; overflow: hidden; box-shadow: var(--shadow-low); transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
.button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, #fff9 48%, transparent 60%); transform: translateX(-140%); z-index: -1; transition: transform 600ms var(--ease); }
.button:hover { transform: translateY(-3px); box-shadow: var(--shadow-mid); }
.button:hover::after { transform: translateX(140%); }
.button--primary { background: linear-gradient(135deg, var(--gold), var(--orange)); }
.button--outline { background: var(--white); }
.site-footer { background: #ffdfbb; border-top: 1px solid var(--ink); padding: var(--s8) 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); font-size: .875rem; }
.footer__brand { display: flex; align-items: center; gap: var(--s3); font-weight: 600; }
.footer__brand img { width: 2rem; height: 2rem; object-fit: contain; }
.scroll-progress { position: fixed; z-index: 40; right: 0; top: 0; height: 0; width: .2rem; background: var(--rose); pointer-events: none; }
.back-top { position: fixed; z-index: 30; bottom: 1.25rem; right: 1.25rem; width: 2.75rem; height: 2.75rem; background: var(--gold); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-small); opacity: 0; pointer-events: none; transform: translateY(.5rem); transition: opacity var(--speed), transform var(--speed); }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
/* Page sections */
.hero-shell { height: 100vh; height: 100svh; height: 100dvh; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); background: radial-gradient(circle at 16% 80%, #ffca72, transparent 37%), radial-gradient(circle at 90% 5%, #ffc4a8, transparent 37%), #fa8445; }
.hero-shell > main { min-height: 0; }
.hero { height: 100%; min-height: 0; position: relative; isolation: isolate; display: grid; place-items: center; padding: calc(var(--hs, 1) * min(2.1svh, 1rem)) 1.25rem; }
.hero__words { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-around; overflow: clip; pointer-events: none; color: transparent; -webkit-text-stroke: 1.5px rgba(129, 37, 67, .25); font-family: var(--font-head); font-size: clamp(2.3rem, 10vw, 10rem); white-space: nowrap; line-height: 1.5; transform: rotate(-5deg); }
.hero__content { width: min(100%, 65rem); height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--hs, 1) * min(2svh, 1rem)); position: relative; }
.hero__headline-card { z-index: 2; text-align: center; width: min(100%, 58rem); padding: calc(var(--hs, 1) * min(2.3svh, 1.25rem)) calc(var(--hs, 1) * min(2.5vw, 1.5rem)); background: linear-gradient(140deg, #fff9f0f5 0%, #ffd6baf5 100%); border: 2px solid #9c3558; border-radius: var(--r-large); box-shadow: var(--shadow-high), inset 0 2px 0 #fff; }
.hero__headline-card .eyebrow { font-size: calc(var(--hs, 1) * clamp(.65rem, min(.9vw, 1.5svh), .9rem)); }
.hero h1 { display: flex; flex-direction: column; align-items: center; gap: calc(var(--hs, 1) * .15rem); margin: calc(var(--hs, 1) * min(2svh, 1rem)) auto; font-size: calc(var(--hs, 1) * clamp(.94rem, min(3.5vw, 5svh), 3.6rem)); line-height: 1.28; color: #812946; text-shadow: 2px 2px 0 #ffc771; }
.hero__subline { font-size: calc(var(--hs, 1) * clamp(.81rem, min(1.3vw, 2.2svh), 1.18rem)); max-width: 35rem; margin-inline: auto; line-height: 1.5; }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: calc(var(--hs, 1) * .75rem); margin-top: calc(var(--hs, 1) * min(2svh, 1rem)); }
.hero__actions .button { font-size: calc(var(--hs, 1) * .74rem); min-height: 44px; padding: .45rem .85rem; }
.hero__scene { width: calc(var(--hs, 1) * min(35vw, 30svh, 20rem)); height: calc(var(--hs, 1) * min(19vw, 20svh, 11rem)); flex: none; max-width: 70%; position: relative; transform-style: preserve-3d; perspective: 900px; pointer-events: none; }
.hero__orbit { position: absolute; border: .55rem solid; border-radius: 50%; inset: 0; transform: rotateX(62deg); box-shadow: inset 0 0 1.2rem #fff9, 0 0 1rem #fff8; }
.hero__orbit--outer { border-color: #edaf38; background: linear-gradient(120deg,#fff2a950,transparent); }
.hero__orbit--inner { inset: 15%; border-color: #fff4be; border-width: .32rem; transform: rotateX(62deg) rotateZ(27deg); }
.hero__platform { position: absolute; width: 62%; height: 80%; top: 14%; left: 19%; background: linear-gradient(145deg, #ffcf5f, #e7713b); border: 2px solid #9c3558; border-radius: 25%; transform: rotateX(43deg) rotateZ(-12deg); box-shadow: 0 1rem 0 #c44b68, 0 1.5rem 1rem #9b375966; }
.hero__platform-top { position: absolute; inset: -7% 0 0; transform: rotateX(-35deg); }
.about { background: #ffe9d2; background-image: repeating-radial-gradient(circle at 0 0, transparent 0 4rem, #cb648313 4.05rem 4.12rem); }
.about__narrow { max-width: 56rem; text-align: center; }
.about h2 { margin: var(--s6) 0 var(--s8); }
.about blockquote { font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.5; font-weight: 600; margin-bottom: var(--s8); }
.about p:not(.eyebrow) { margin-top: var(--s6); font-size: 1.08rem; }
.features { background: #fc9965; }
.features__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s6); }
.feature-card { background: linear-gradient(145deg, #fff3e0, #ffe4cb); border: 2px solid #913657; border-radius: var(--r-medium); padding: var(--s8); box-shadow: var(--shadow-low); position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 15rem; transition: transform var(--speed) var(--ease); }
.feature-card:hover { transform: translateY(-4px); }
.feature-card--1 { grid-row: span 2; background: linear-gradient(145deg, #ffe19f, #f76f66); min-height: 32rem; }
.feature-card__icon { width: 3.25rem; height: 3.25rem; color: var(--rose); }
.feature-card h3 { margin: auto 0 var(--s4); }
.feature-card p { margin-bottom: var(--s6); }
.feature-card__index { font-size: .82rem; font-weight: 600; margin-top: auto; }
.steps { background: #fff2e7; }
.steps__road { width: 100%; height: 6rem; color: #cc5072; }
.steps__road svg { width: 100%; height: 100%; }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
.step { border-top: 3px solid var(--rose); padding-top: var(--s6); }
.step > span { font-family: var(--font-head); color: var(--rose); }
.step h3 { margin: var(--s6) 0 var(--s4); }
.trust { background: #ffc589; }
.trust__strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: var(--s8); }
.trust__strip > div { padding: var(--s6); border-left: 1px solid var(--ink); }
.trust__strip strong { font-family: var(--font-head); font-size: .88rem; }
.trust__strip p { margin-top: var(--s4); }
.text-link { display: inline-flex; align-items: center; min-height: 3rem; font-weight: 600; text-underline-offset: .35rem; }
.cta { padding: var(--s24) 0; color: #552344; background: linear-gradient(120deg, #ffb844 0%, #f86c56 50%, #da5983 100%); }
.cta__inner { max-width: 68rem; }
.cta h2 { font-size: clamp(2rem, 5vw, 5rem); margin: var(--s6) 0; }
.cta p:not(.eyebrow) { max-width: 42rem; font-size: 1.08rem; }
.cta__actions { margin-top: var(--s8); display: flex; gap: var(--s6); align-items: center; flex-wrap: wrap; }
.cta__note { font-size: .875rem; font-weight: 600; }
/* Privacy page */
.page--policy { background: #ffedda; background-image: repeating-radial-gradient(circle at 100% 0%, transparent 0 5rem, #ec9c7b1c 5.08rem 5.15rem); }
.policy-main { padding: var(--s16) 0 var(--s24); }
.policy-title { max-width: 54rem; margin: 0 auto; border-radius: var(--r-large); background: #ffd5bc; border: 1px solid var(--border); padding: var(--s8); box-shadow: var(--shadow-mid); }
.policy-title h1 { font-size: clamp(1.15rem, 2.3vw, 2.1rem); margin: var(--s6) 0; }
.policy-title > p { font-weight: 600; }
.policy-content { max-width: 760px; margin: var(--s8) auto 0; }
.policy-row { padding: var(--s8) var(--s6); border: 1px solid var(--border); background: #fff8edee; border-radius: var(--r-medium); margin-bottom: var(--s6); box-shadow: var(--shadow-low); overflow-wrap: anywhere; }
.policy-row h2 { font-size: clamp(.94rem, 1.4vw, 1.2rem); margin-bottom: var(--s6); }
.policy-row p + p { margin-top: var(--s2); }
.policy-row ul { padding-left: var(--s6); margin: var(--s3) 0; }
.policy-row li { margin-bottom: var(--s2); }
/* Utilities */
[reveal] { opacity: 1; }
.js-motion .reveal:not(.is-revealed) { opacity: 0; transform: translateX(1.5rem); }
.reveal { transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
/* Responsive rules */
@media (min-width: 768px) { .container { width: min(100% - 4rem, 1360px); } }
@media (min-width: 1280px) { .container { width: min(100% - 6rem, 1360px); } }
@media (max-width: 1023px) { .features__grid { grid-template-columns: 1fr 1fr; } .feature-card--1 { grid-row: span 1; min-height: 15rem; } .steps__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 767px) { .header__strip-inner { font-size: .6rem; } .features__grid { grid-template-columns: 1fr; } .feature-card { min-height: 0; } .steps__road { display: none; } .trust__strip { grid-template-columns: 1fr; } .trust__strip > div { border-left: 0; border-top: 1px solid var(--ink); } .footer__inner { flex-wrap: wrap; } .policy-main { padding-top: var(--s8); } }
@media (max-width: 480px) { .header__main { min-height: 4rem; gap: .35rem; } .brand { gap: .35rem; } .brand__name { max-width: 8.2rem; font-size: .77rem; } .nav__privacy { padding: .45rem .52rem; font-size: .73rem; white-space: nowrap; } .header__strip-inner span:last-child { display: none; } .steps__grid { grid-template-columns: 1fr; } .hero__actions { gap: .5rem; } .hero__headline-card { border-radius: var(--r-medium); } .policy-row { padding: var(--s6); } .policy-title { padding: var(--s6); } }
@media (max-height: 600px) { .hero__content { flex-direction: row; justify-content: center; } .hero__scene { width: calc(var(--hs, 1) * min(27vw, 36svh)); height: calc(var(--hs, 1) * min(20vw, 24svh)); max-width: 36%; } .hero__headline-card { max-width: min(66%, 45rem); } .hero h1 { font-size: calc(var(--hs, 1) * clamp(.7rem, min(2.3vw, 5svh), 2rem)); } }
@media (max-height: 420px) { .hero__scene { display: none; } .hero__headline-card { max-width: min(100%, 48rem); } .hero__headline-card .eyebrow { display: none; } }
.hero--compact .hero__scene, .hero--compact .hero__actions .button--outline { display: none; }
/* Motion and reduced motion */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none; transition-duration: .01ms; } .js-motion .reveal:not(.is-revealed) { opacity: 1; transform: none; } }
/* Print */
@media print { .site-header nav, .back-top, .scroll-progress { display: none; } .policy-row { box-shadow: none; break-inside: avoid; } .page--policy { background: white; } }
