:root {
	--navy: #081427;
	--ink: #1f2a3c;
	--muted: #5a6475;
	--orange: #f2601a;
	--orange-dark: #c94a0c;
	--cream: #fffaf5;
	--line: #eadfd4;
	--ok: #1f9d55;
	--warn: #d98a00;
	--radius: 16px;
	font-family: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--ink);
	background: var(--cream);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--orange-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; text-align: center; margin-bottom: 1.4em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: #fff; font-weight: 700; font-size: 1rem; border: 0; border-radius: 999px; padding: 14px 26px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--orange-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(242, 96, 26, .35); outline-offset: 2px; }
.btn--small { padding: 9px 18px; font-size: .92rem; }

/* top bar */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 250, 245, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.top__brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.top__brand b { color: var(--orange); }

/* hero */
.hero { padding: 72px 0 88px; background: radial-gradient(1100px 500px at 85% -10%, #ffe3cf 0%, rgba(255, 227, 207, 0) 60%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 22px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242, 96, 26, .18); }

/* signup */
.signup { margin-top: 28px; max-width: 520px; }
.signup__row { display: flex; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: 0 8px 30px rgba(8, 20, 39, .07); }
.signup input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; padding: 10px 16px; color: var(--navy); border-radius: 999px; }
.signup input[type=email]:focus { outline: none; }
.signup__row:focus-within { border-color: var(--orange); }
.signup__note { font-size: .88rem; color: var(--muted); margin: 12px 4px 0; }
.signup__msg { font-weight: 600; margin: 10px 4px 0; min-height: 1.4em; }
.signup__msg.is-ok { color: var(--ok); }
.signup__msg.is-error { color: #c0392b; }
.signup.is-done .signup__row { display: none; }

/* product panel mock */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px rgba(8, 20, 39, .12); transform: rotate(1.2deg); max-width: 400px; margin-left: auto; }
.panel__head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); padding-bottom: 14px; border-bottom: 1px solid #f1ebe4; margin-bottom: 16px; }
.score { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.score__ring { position: relative; width: 78px; height: 78px; }
.score__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score__ring circle { fill: none; stroke-width: 12; }
.score__bg { stroke: #eef3ef; }
.score__fg { stroke: var(--ok); stroke-dasharray: 314; stroke-dashoffset: 44; stroke-linecap: round; }
.score__ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.checks { list-style: none; padding: 0; margin: 0 0 16px; font-size: .95rem; }
.checks li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid #f5f0ea; }
.checks li::before { position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; font-weight: 800; }
.checks .ok::before { content: "✓"; background: var(--ok); }
.checks .warn::before { content: "!"; background: var(--warn); }
.related { background: #fff6ef; border-radius: 12px; padding: 12px 14px; font-size: .9rem; }
.related__pick { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--navy); margin-top: 4px; }
.related__pick span { color: var(--orange-dark); white-space: nowrap; }

/* features */
.features { padding: 88px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 1.35rem; margin-bottom: 14px; }

/* switch steps */
.switch { padding: 88px 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps p { color: var(--muted); margin: 0; }
.steps__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px; }

/* faq */
.faq { padding: 24px 0 88px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* cta */
.cta { background: var(--navy); color: #fff; padding: 72px 0; text-align: center; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #c9d1de; font-size: 1.1rem; }
.cta__inner img { margin-bottom: 12px; }

/* footer */
.foot { padding: 28px 0; font-size: .9rem; color: var(--muted); }
.foot__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* plain pages */
.page { padding: 64px 0 88px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page h2 { text-align: left; font-size: 1.3rem; margin: 1.6em 0 .5em; }

@media (max-width: 900px) {
	.hero { padding: 48px 0 64px; }
	.hero__grid { grid-template-columns: 1fr; gap: 44px; }
	.panel { margin: 0 auto; transform: none; }
	.grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.grid, .steps { grid-template-columns: 1fr; }
	.signup__row { flex-direction: column; border-radius: 18px; }
	.signup .btn { width: 100%; }
	.top .btn--small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }
