/* Fitup esileht — Figma "Veebileht · Esileht" (Fitup D) */
:root {
  --forest: #1F5C45; --forest-d: #184A37; --ink: #14201B; --ink6: #4B5752; --bone: #F3F2EE; --line: #E4E3DD;
  --apricot: #FFA66B; --apricot-d: #F2955A; --mint: #DDEBE3; --dark2: #22302A; --white: #fff;
  --display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: max(20px, env(safe-area-inset-left, 0px));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 17px/1.55 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gut); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .wrap { padding-left: 80px; padding-right: 80px; } }
.muted { color: var(--ink6); }
.kicker { font-weight: 600; font-size: 14px; color: var(--forest); }

/* Nupud */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 17px/1 var(--text); text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s; white-space: nowrap; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 16px; }
.btn-apricot { background: var(--apricot); color: var(--ink); }
.btn-apricot:hover { background: var(--apricot-d); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #22302A; }
.is-soon { opacity: .75; cursor: default; }

/* Hero */
.hero { background: var(--forest); color: var(--white); overflow: hidden; padding-top: max(20px, env(safe-area-inset-top, 0px)); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; }
.logo { font: 800 30px/1 var(--display); letter-spacing: -1px; text-decoration: none; color: var(--white); }
.links { display: none; gap: 36px; }
.links a { text-decoration: none; opacity: .85; font-weight: 500; font-size: 16px; }
.links a:hover { opacity: 1; }
@media (min-width: 980px) { .links { display: flex; } }
.nav-r { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 600; font-size: 15px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ' ▾'; font-size: 11px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); color: var(--ink); border-radius: 16px; padding: 8px; min-width: 180px; box-shadow: 0 18px 40px rgba(20,32,27,.18); z-index: 5; }
.lang a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.lang a:hover, .lang a[aria-current] { background: var(--mint); }
@media (max-width: 520px) { .nav .btn-sm { display: none; } }

.hero-row { display: grid; gap: 40px; padding-top: 40px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pill { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: var(--mint); font-weight: 500; font-size: 14px; }
h1 { font-weight: 800; font-size: clamp(50px, 7.6vw, 88px); line-height: .96; letter-spacing: -.035em; }
h1 span { display: block; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.48; opacity: .85; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; gap: 40px; margin: 8px 0 0; }
.facts dt { font: 700 34px/1.1 var(--display); letter-spacing: -1px; }
.facts dd { margin: 0; color: var(--mint); font-weight: 500; font-size: 14px; }
.phones { position: relative; height: 420px; }
.phone { position: absolute; border-radius: 48px; overflow: hidden; border: 9px solid var(--ink); background: var(--bone); box-shadow: 0 30px 60px rgba(0,0,0,.35); aspect-ratio: 390 / 844; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-front { width: 280px; left: 50%; transform: translateX(-60%); top: 0; }
.phone-back { width: 240px; left: 50%; transform: translateX(8%); top: 64px; }
@media (min-width: 980px) {
  .hero-row { grid-template-columns: minmax(0, 1fr) 480px; align-items: end; padding-top: 56px; }
  .hero-text { padding-bottom: 96px; }
  .phones { height: 600px; }
  .phone-front { width: 290px; left: 0; transform: none; top: 24px; }
  .phone-back { width: 250px; left: 250px; transform: none; top: 100px; }
}

/* Sektsioonid */
section h2 { font-weight: 800; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.03em; }
.feat { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.sec-head { display: grid; gap: 20px; margin-bottom: 48px; }
.sec-head p { color: var(--ink6); font-size: 19px; max-width: 32em; }
@media (min-width: 980px) { .sec-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 80px; } }
.cards { display: grid; gap: 20px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.card { border-radius: 28px; padding: 36px 36px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-width: 0; }
.card h3 { font-weight: 700; font-size: 30px; line-height: 1.12; letter-spacing: -.025em; }
.card > p:not(.kicker) { opacity: .8; }
.card-0 { background: var(--white); }
.card-1 { background: var(--ink); color: var(--white); }
.card-1 .kicker { color: var(--apricot); }
.card-2 { background: var(--mint); }
.crop { position: relative; height: 330px; margin-top: 16px; }
.phone-sm { width: 280px; left: 50%; transform: translateX(-50%); top: 20px; border-width: 8px; border-radius: 40px; box-shadow: none; }

.how { padding-bottom: clamp(64px, 9vw, 120px); }
.how h2 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 40px; }
.steps { display: grid; gap: 32px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } .steps li { padding-right: 40px; } }
.steps li { border-top: 2px solid var(--ink); padding-top: 24px; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: 800 64px/1 var(--display); letter-spacing: -2px; color: var(--ink); opacity: .18; margin-bottom: 14px; }
.steps li:first-child::before { color: var(--forest); opacity: 1; }
.steps h3 { font-weight: 700; font-size: 26px; letter-spacing: -.02em; margin-bottom: 10px; }
.steps p { color: var(--ink6); }

.races { background: var(--ink); color: var(--white); padding: clamp(72px, 9vw, 110px) 0; }
.races .kicker { color: var(--apricot); margin-bottom: 16px; }
.races h2 { margin-bottom: 20px; max-width: 11em; }
.races .muted { color: rgba(255,255,255,.75); max-width: 30em; font-size: 18px; }
.races-row { display: grid; gap: 40px; }
@media (min-width: 980px) { .races-row { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; } }
.race-list { display: flex; flex-wrap: wrap; gap: 10px; }
.race-list li { background: var(--dark2); border-radius: 16px; padding: 12px 18px; display: flex; flex-direction: column; }
.race-list strong { font-weight: 600; }
.race-list span { color: var(--mint); font-size: 13px; opacity: .85; font-weight: 500; }

.pricing { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(56px, 7vw, 96px); text-align: center; }
.pricing > .muted { margin-top: 14px; font-size: 19px; }
.plans { display: grid; gap: 20px; margin-top: 48px; text-align: left; align-items: end; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.plan-hi { background: var(--forest); color: var(--white); border-color: var(--forest); }
.plan .tag { align-self: flex-start; background: var(--apricot); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 13px; }
.plan h3 { font-weight: 700; font-size: 28px; letter-spacing: -.02em; }
.plan .sub { opacity: .7; }
.plan .price strong { font: 800 48px/1 var(--display); letter-spacing: -.03em; }
.plan .price span { opacity: .7; font-weight: 500; }
.plan ul { display: grid; gap: 10px; padding: 6px 0 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--forest); }
.plan-hi li svg { color: var(--apricot); }

.langs { padding-bottom: clamp(56px, 7vw, 96px); }
.langs-box { background: var(--mint); border-radius: 28px; padding: 40px clamp(24px, 4vw, 48px); display: grid; gap: 20px; }
.langs-box h2 { font-weight: 700; font-size: 32px; letter-spacing: -.02em; }
.langs-box ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.langs-box a { color: var(--forest); font-weight: 600; font-size: 18px; text-decoration: none; }
.langs-box a:hover { text-decoration: underline; }
@media (min-width: 980px) { .langs-box { grid-template-columns: 360px 1fr; align-items: center; gap: 48px; } }

.faq { display: grid; gap: 32px; padding-bottom: clamp(72px, 9vw, 120px); }
.faq h2 { font-size: clamp(32px, 3.4vw, 44px); }
@media (min-width: 980px) { .faq { grid-template-columns: 380px 1fr; gap: 80px; } }
.qs details { border-top: 1px solid var(--line); padding: 22px 0; }
.qs details:last-child { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: '+'; font: 500 24px/1 var(--text); color: var(--forest); }
.qs details[open] summary::after { content: '–'; }
.qs h3 { font: 600 20px/1.35 var(--text); }
.qs p { color: var(--ink6); margin-top: 12px; max-width: 46em; }

.foot { background: var(--forest); color: var(--white); padding: clamp(64px, 8vw, 100px) 0 max(40px, env(safe-area-inset-bottom, 0px)); }
.foot-cta { display: grid; gap: 32px; margin-bottom: 64px; }
@media (min-width: 980px) { .foot-cta { grid-template-columns: 1fr auto; align-items: end; } }
.foot-title { font: 800 clamp(44px, 6vw, 80px)/0.98 var(--display); letter-spacing: -.035em; }
.foot-title span { display: block; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-bar { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.foot-bar .logo { font-size: 24px; }
.foot-bar ul { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; opacity: .75; }
.foot-bar a { text-decoration: none; }
.foot-bar a:hover { text-decoration: underline; }
