/*
Theme Name: Varnara
Theme URI: https://varnara.se
Description: Bilingual (SV/EN) landing page for the Varnara co-parenting app.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: kidsin
*/

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/jakarta-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/jakarta-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
	color-scheme: light;
	--bg: #fbf8f3;
	--bg-tint: #f3f0ea;
	--surface: #ffffff;
	--ink: #1a1a2e;
	--ink-2: #3a4256;
	--muted: #5b6478;
	--line: #e7e2d9;
	--primary: #1d6fd8;
	--primary-ink: #1558b0;
	--primary-soft: #e6f0fc;
	--brand: #408dd7;
	--teal: #2ec4b6;
	--teal-soft: #dcf6f3;
	--amber: #ffd166;
	--amber-soft: #fff4d6;
	--green: #06b48a;
	--green-soft: #dcf7ee;
	--warn: #b45309;
	--warn-soft: #fef3e2;
	--coral: #ef476f;
	--coral-soft: #fde8ee;
	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(26, 26, 46, .06), 0 2px 8px rgba(26, 26, 46, .04);
	--shadow: 0 2px 6px rgba(26, 26, 46, .05), 0 12px 32px rgba(26, 26, 46, .08);
	--shadow-lg: 0 8px 20px rgba(26, 26, 46, .08), 0 30px 60px rgba(29, 111, 216, .14);
	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 72px;
	--gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.025em; font-weight: 800; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 6vw + 32px, 120px); }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); }

/* ---------- Buttons, chips, badges ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 44px; padding: 10px 20px;
	border: 1.5px solid transparent; border-radius: 999px;
	font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(29, 111, 216, .28); }
.btn--primary:hover { background: var(--primary-ink); box-shadow: 0 8px 24px rgba(29, 111, 216, .36); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); animation: pulse 2.4s ease-in-out infinite; }

.chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.chip--teal { background: var(--teal-soft); color: #0f7a70; }
.chip--amber { background: var(--amber-soft); color: #8a5a00; }
.chip--blue { background: var(--primary-soft); color: var(--primary-ink); }

.icon-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.icon-badge .icon { width: 22px; height: 22px; }
.icon-badge--amber { background: var(--amber-soft); color: #a86b00; }
.icon-badge--warn { background: var(--warn-soft); color: var(--warn); }

.avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; font-size: .8rem; font-weight: 800; color: #fff; }
.avatar--teal { background: var(--teal); }
.avatar--amber { background: #f0b429; }

.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks .icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--green-soft); color: var(--green); stroke-width: 3; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	height: var(--header-h);
	background: rgba(251, 248, 243, .82);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(26, 26, 46, .04); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand img { width: auto; height: 34px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav ul { display: flex; gap: 4px; }
.nav ul a { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.nav ul a:hover { background: rgba(26, 26, 46, .05); color: var(--ink); }
.nav__lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; margin-left: 4px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); background: var(--surface); }
.nav__lang:hover { border-color: var(--ink-2); }
.nav__lang .icon { width: 16px; height: 16px; }
.nav__cta { margin-left: 8px; }

.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1023px) {
	.nav-toggle { display: grid; }
	.nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 12px;
		padding: 16px var(--gutter) 24px;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 40px rgba(26, 26, 46, .08);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
	}
	.nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
	.nav ul { flex-direction: column; gap: 2px; }
	.nav ul a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
	.nav__lang { align-self: flex-start; margin: 0; }
	.nav__cta { margin: 4px 0 0; min-height: 50px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(32px, 5vw, 72px) clamp(64px, 7vw, 112px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(40% 50% at 85% 20%, rgba(64, 141, 215, .18), transparent 70%),
		radial-gradient(35% 45% at 70% 85%, rgba(46, 196, 182, .14), transparent 70%),
		radial-gradient(30% 40% at 5% 10%, rgba(255, 209, 102, .2), transparent 70%);
}
.hero__grid { display: grid; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.7rem, 1.6rem + 5vw, 5rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 24px; }
.hero__title em { font-style: normal; background: linear-gradient(100deg, var(--primary) 10%, var(--teal) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 560px; font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 18px; height: 18px; color: var(--green); stroke-width: 2.6; }

.store-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 20px 8px 16px; border-radius: 14px; background: var(--ink); color: #fff; line-height: 1.1; }
.store-badge__logo { width: 26px; height: 26px; }
.store-badge small { display: block; font-size: .7rem; font-weight: 500; opacity: .8; }
.store-badge strong { display: block; font-size: 1.15rem; letter-spacing: -.01em; }

.hero__visual { position: relative; display: grid; place-items: center; padding: 20px 0; }

/* Phone mockup */
.phone {
	position: relative; width: min(330px, 84vw); aspect-ratio: 9 / 19.2;
	padding: 11px; border-radius: 52px;
	background: linear-gradient(145deg, #2a2f45, #10131f);
	box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08);
	animation: float 7s ease-in-out infinite;
}
.phone__screen { position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 0 14px; border-radius: 42px; background: #f6f7f9; font-size: 11px; line-height: 1.35; }
.phone__status { display: flex; align-items: center; justify-content: space-between; height: 44px; flex: none; padding: 0 10px; font-weight: 700; font-size: 12px; }
.phone__notch { width: 92px; height: 26px; border-radius: 20px; background: #10131f; }
.phone__bars { display: flex; gap: 2px; align-items: flex-end; }
.phone__bars i { width: 3px; border-radius: 1px; background: var(--ink); }
.phone__bars i:nth-child(1) { height: 5px; } .phone__bars i:nth-child(2) { height: 7px; } .phone__bars i:nth-child(3) { height: 9px; }
.app__head { display: flex; align-items: center; justify-content: space-between; }
.app__title { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.app__date { color: var(--muted); font-weight: 600; }
.app__section { margin-top: 2px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.custody { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: linear-gradient(120deg, var(--teal), #3fb0e0); color: #fff; }
.custody__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .22); }
.custody__icon .icon { width: 16px; height: 16px; }
.custody strong { display: block; font-size: 12.5px; }
.custody span { opacity: .9; }
.timeline { display: grid; gap: 8px; }
.timeline__item { display: grid; grid-template-columns: 34px 1fr; gap: 6px; align-items: start; }
.timeline__time { padding-top: 8px; font-weight: 700; color: var(--muted); font-size: 10px; }
.timeline__card { display: flex; gap: 8px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.timeline__card img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; flex: none; }
.timeline__body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.timeline__body strong { font-size: 11.5px; }
.timeline__check { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9.5px; }
.timeline__check .icon { width: 11px; height: 11px; color: var(--green); stroke-width: 3; }
.handover { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1.5px dashed rgba(6, 180, 138, .5); background: var(--green-soft); }
.handover__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--green); color: #fff; }
.handover__icon .icon { width: 15px; height: 15px; }
.handover strong { display: block; font-size: 12px; }
.handover span { color: var(--muted); font-size: 10px; }
.tabbar { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 0 22px; border-top: 1px solid #e8eaee; background: #f6f7f9; }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; font-weight: 600; color: #98a1b3; }
.tabbar .icon { width: 18px; height: 18px; }
.tabbar .is-active { color: var(--primary); }

/* Floating cards */
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow); font-size: .82rem; line-height: 1.3; max-width: 250px; }
.float strong { display: block; font-size: .85rem; }
.float span { color: var(--muted); }
.float__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--amber-soft); color: #a86b00; }
.float__icon .icon { width: 18px; height: 18px; }
.float__icon--green { background: var(--green); color: #fff; }
.float--notif { top: 77%; left: -4%; animation: float 7s ease-in-out -2s infinite; }
.float--trial { top: 3%; right: -2%; gap: 8px; padding: 12px 16px; background: var(--ink); color: #fff; animation: float 7s ease-in-out -4s infinite; }
.float--trial .icon { width: 18px; height: 18px; color: var(--amber); }
.float--handover { left: 6%; bottom: -24px; }

/* ---------- Strip ---------- */
.strip { padding-block: 28px; border-block: 1px solid var(--line); background: var(--surface); }
.strip__grid { display: grid; gap: 16px; }
.strip__item { display: flex; align-items: center; gap: 14px; margin: 0; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }

/* ---------- Showcase ---------- */
.showcase__row { display: grid; gap: 40px; align-items: center; }
.showcase__row + .showcase__row { margin-top: clamp(72px, 9vw, 128px); }
.showcase__copy h2 { margin-bottom: 16px; }
.showcase__copy .lead { margin-bottom: 26px; }
.showcase__visual { position: relative; }
.illus { position: relative; }
.illus img, .band__img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.mock-card { position: relative; max-width: 460px; margin-inline: auto; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.mock-card::before { content: ""; position: absolute; inset: -18px -18px auto auto; z-index: -1; width: 70%; height: 80%; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--amber-soft), var(--primary-soft)); }

.expense { display: grid; gap: 16px; }
.expense__head { display: flex; align-items: center; gap: 12px; }
.expense__head strong { display: block; }
.expense__head span { color: var(--muted); font-size: .85rem; }
.expense__amount { margin-left: auto; font-size: 1.25rem; letter-spacing: -.02em; white-space: nowrap; }
.expense__split { display: grid; gap: 10px; justify-items: start; }
.expense__bar { width: 100%; height: 10px; border-radius: 99px; background: var(--amber-soft); overflow: hidden; }
.expense__bar i { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.expense__row { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--bg); }
.expense__row strong { margin-left: auto; }
.expense__paid { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--green-soft); color: #047857; font-weight: 700; font-size: .9rem; }
.expense__paid .icon { width: 18px; height: 18px; stroke-width: 3; }
.expense__budget { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.expense__budget > div:first-child { display: flex; justify-content: space-between; gap: 8px; }
.expense__bar--budget { height: 8px; background: var(--primary-soft); }
.expense__bar--budget i { background: var(--primary); }

.tone { display: grid; gap: 14px; }
.tone::before { background: linear-gradient(135deg, var(--teal-soft), var(--coral-soft)); }
.tone__bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; justify-self: end; font-size: .95rem; }
.tone__bubble--bad { background: var(--coral-soft); color: #9f1239; text-decoration: line-through; text-decoration-color: rgba(159, 18, 57, .35); }
.tone__bubble--good { background: var(--primary); color: #fff; }
.tone__warn { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--warn-soft); border: 1px solid #fcd9a8; }
.tone__warn strong { display: block; color: #7c2d12; font-size: .95rem; }
.tone__warn span { color: #9a4a12; font-size: .85rem; }
.tone__actions { display: flex; gap: 8px; }
.tone__actions .btn { pointer-events: none; }

/* ---------- Features ---------- */
.features { display: grid; gap: 16px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .icon-badge { margin-bottom: 18px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
.features .feature:nth-child(3n+2) .icon-badge { background: var(--teal-soft); color: #0f7a70; }
.features .feature:nth-child(3n) .icon-badge { background: var(--amber-soft); color: #a86b00; }

/* ---------- Band ---------- */
.band__grid { display: grid; gap: 40px; align-items: center; }
.band__copy h2 { margin-bottom: 16px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px 28px 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.step__num { position: absolute; top: 24px; right: 26px; font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--primary-soft); }
.step__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 16px; background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(29, 111, 216, .3); }
.step__icon .icon { width: 24px; height: 24px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; max-width: 920px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font-size: 1.4rem; margin-bottom: 6px; }
.plan__desc { color: var(--muted); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 4px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan__price strong { font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; }
.plan__price span { color: var(--muted); font-weight: 600; }
.plan .checks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan--premium { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -15px; left: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; }
.plan__badge .icon { width: 14px; height: 14px; color: var(--amber); }
.plan__lead-in { margin-bottom: 14px; font-weight: 700; }
.plan__split { display: flex; gap: 10px; align-items: center; margin-bottom: 24px; padding: 12px 14px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-ink); font-size: .9rem; font-weight: 600; }
.plans__note { margin: 28px auto 0; max-width: 640px; text-align: center; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .2s ease; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.05rem; }
.faq__toggle { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--bg-tint); transition: transform .25s ease, background-color .2s ease; }
.faq__toggle .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--primary-soft); color: var(--primary); }
.faq__item p { margin: 0; padding: 0 24px 24px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, var(--primary-soft) 100%); }
.contact__grid { display: grid; gap: 40px; align-items: start; }
.contact__intro .lead { margin-bottom: 26px; }
.contact__card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { padding: 12px 16px; border-radius: 12px; background: var(--coral-soft); color: #9f1239; font-weight: 600; font-size: .92rem; }
.form__alert p { margin: 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 16px;
	border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg);
	font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
	-webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px rgba(29, 111, 216, .14); }
.field input::placeholder, .field textarea::placeholder { color: #9aa1b0; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; border-radius: 6px; cursor: pointer; display: grid; place-items: center; }
.field--check input:checked { background: var(--primary); border-color: var(--primary); }
.field--check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.field--check label { font-weight: 500; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.field--check .field__error { grid-column: 1 / -1; }
.field__error { margin: 0; min-height: 0; color: #be123c; font-size: .85rem; font-weight: 600; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: #e11d48; background: #fff7f9; }

.form-success { padding: 24px 8px; text-align: center; }
.form-success:focus { outline: none; }
.form-success__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.form-success__icon .icon { width: 34px; height: 34px; stroke-width: 2.6; }
.form-success p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding-top: 64px; background: var(--ink); color: #c5cad6; font-size: .95rem; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand img { filter: brightness(0) invert(1); }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
.site-footer__brand p { max-width: 320px; margin: 0; }
.site-footer__title { margin-bottom: 14px; font-weight: 700; color: #fff; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:not(.brand) { color: #c5cad6; text-decoration: none; }
.site-footer a:not(.brand):hover { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8d94a5; }
.site-footer__bottom p { margin: 0; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.notfound__code { margin: 0; font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; background: linear-gradient(100deg, var(--primary), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .lead { margin-bottom: 32px; }

/* ---------- Reveal on scroll ---------- */
/* If main.js never runs, the fallback animation shows everything after 3 s. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js:not(.js-ready) .reveal { animation: reveal-fallback 0s 3s forwards; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px var(--green-soft); } 50% { box-shadow: 0 0 0 7px rgba(6, 180, 138, .08); } }

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

/* ---------- Breakpoints ---------- */
@media (min-width: 560px) {
	:root { --gutter: 28px; }
	.form__row { grid-template-columns: 1fr 1fr; }
	.features { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
	.strip__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.plans { grid-template-columns: 1fr 1fr; align-items: stretch; }
	.site-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
	.site-footer__brand { grid-column: auto; }
}

@media (min-width: 1024px) {
	:root { --gutter: 32px; --header-h: 80px; }
	.hero__grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
	.hero__visual { padding: 0; }
	.showcase__row { grid-template-columns: 1fr 1fr; gap: 72px; }
	.showcase__row--flip .showcase__copy { order: 2; }
	.features { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.band__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
	.contact__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; }
	.contact__intro { position: sticky; top: calc(var(--header-h) + 32px); }
	.float--notif { left: -12%; }
	.float--trial { right: -10%; }
}

@media (max-width: 559px) {
	.hero__actions .btn { width: 100%; }
	.store-badge { width: 100%; justify-content: center; }
	.float { font-size: .75rem; padding: 10px 12px; max-width: 210px; }
	.float--notif { left: 0; top: 77%; }
	.float--trial { right: 0; }
	.float--handover { position: relative; left: auto; bottom: auto; margin: -28px auto 0; max-width: 90%; }
	.mock-card::before { inset: -10px -10px auto auto; }
}
