/* ============================================================
   Buhalteris 3.0 — Darbo užmokesčio skaičiavimo programa
   Warm, human SaaS landing — design tokens + components
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Schibsted+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  /* Warm neutrals */
  --cream:        #F7F1E3;
  --cream-soft:   #FBF6EC;
  --surface:      #FFFDF8;
  --surface-2:    #FCF7EC;
  --ink:          #2B2A26;
  --ink-soft:     #514E47;
  --muted:        #76726A;
  --line:         #E7DEC9;
  --line-soft:    #EFE8D7;

  /* Accents — share chroma + lightness, vary hue (oklch) */
  --green:        oklch(0.62 0.11 152);
  --green-strong: oklch(0.52 0.12 152);
  --green-soft:   oklch(0.93 0.045 152);
  --coral:        oklch(0.70 0.13 36);
  --coral-strong: oklch(0.62 0.14 36);
  --coral-soft:   oklch(0.93 0.05 46);

  /* Active accent (swappable via [data-accent]) */
  --accent:        var(--green);
  --accent-strong: var(--green-strong);
  --accent-soft:   var(--green-soft);
  --on-accent:     #fffdf8;

  /* Soft shadows */
  --sh-sm: 0 1px 2px rgba(60,50,30,.05), 0 2px 6px rgba(60,50,30,.04);
  --sh-md: 0 2px 4px rgba(60,50,30,.04), 0 10px 24px rgba(60,50,30,.06);
  --sh-lg: 0 6px 14px rgba(60,50,30,.06), 0 24px 50px rgba(60,50,30,.10);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --maxw: 1140px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

[data-accent="coral"] {
  --accent:        var(--coral);
  --accent-strong: var(--coral-strong);
  --accent-soft:   var(--coral-soft);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.accent-text { color: var(--accent-strong); }

/* hand-drawn underline mark behind a word */
.mark {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.mark::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: 4%;
  height: 38%;
  background: var(--accent-soft);
  border-radius: 8px;
  z-index: -1;
  transform: rotate(-.6deg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 600; font-size: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 4px 14px -2px color-mix(in oklch, var(--accent) 55%, transparent);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 10px 24px -4px color-mix(in oklch, var(--accent) 60%, transparent); }
.btn-ghost {
  background: var(--surface); color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }

.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- eyebrow / pill ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--cream) 92%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Schibsted Grotesk'; font-weight: 700; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.logo .glyph {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; font-size: 18px; font-weight: 800;
  box-shadow: var(--sh-sm);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 15.5px; color: var(--ink-soft); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--accent-strong); }
.nav-links a.current { color: var(--accent-strong); }
.nav-links a.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .login { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.nav-cta .login:hover { color: var(--accent-strong); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: transform .28s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.section-pad { padding: 92px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 46px); margin: 18px 0 16px; }
.section-head p { font-size: 18px; color: var(--muted); }

/* ---------- HERO ---------- */
.hero { padding: 56px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); margin: 22px 0 22px; }
.hero .sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.hero-note .check { color: var(--accent-strong); }

/* payslip card */
.payslip {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-lg);
  position: relative;
}
.payslip::before {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 80% at 80% -10%, var(--accent-soft) 0%, transparent 55%);
  pointer-events: none; opacity: .8;
}
.payslip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; position: relative; }
.payslip-head .who { display: flex; align-items: center; gap: 11px; }
.payslip .av {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-family: 'Schibsted Grotesk';
}
.payslip .who b { font-family: 'Schibsted Grotesk'; font-size: 15.5px; display: block; }
.payslip .who span { font-size: 13px; color: var(--muted); }
.payslip .tag { font-size: 12px; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; }
.payslip .row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.payslip .row span:first-child { color: var(--muted); }
.payslip .row b { font-family: 'Schibsted Grotesk'; font-weight: 600; }
.payslip .neto { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; padding-top: 16px; }
.payslip .neto .lbl { font-family: 'Schibsted Grotesk'; font-weight: 600; font-size: 16px; }
.payslip .neto .amt { font-family: 'Schibsted Grotesk'; font-weight: 800; font-size: 32px; color: var(--accent-strong); letter-spacing: -.02em; }
.float-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 15px; box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600;
  font-family: 'Schibsted Grotesk';
}
.float-badge .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; }
.badge-tl { top: -22px; left: -26px; }
.badge-br { bottom: -20px; right: -22px; }

/* ---------- reassurance bar ---------- */
.reassure {
  background: var(--ink); color: var(--cream-soft);
  border-radius: var(--r-lg); padding: 30px 38px; box-shadow: var(--sh-md);
  display: grid; grid-template-columns: auto 1px 1fr; gap: 30px; align-items: center;
}
.reassure .lead { display: flex; align-items: center; gap: 16px; }
.reassure .lead .seal {
  width: 50px; height: 50px; border-radius: 14px; flex: none;
  background: var(--accent); color: var(--on-accent); display: grid; place-items: center;
}
.reassure .lead b { font-family: 'Schibsted Grotesk'; font-size: 19px; line-height: 1.2; }
.reassure .div { width: 1px; height: 46px; background: rgba(255,255,255,.16); }
.reassure ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.reassure li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: rgba(255,253,248,.82); }
.reassure li .check { color: var(--accent); flex: none; }

/* ---------- feature cards ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px 26px; box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: color-mix(in oklch, var(--accent) 40%, var(--line)); }
.feat .ic {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent-strong);
  display: grid; place-items: center;
}
.feat h3 { font-size: 20px; margin-bottom: 9px; }
.feat p { font-size: 15.5px; color: var(--muted); }

/* ---------- kam skirta ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card {
  border-radius: var(--r-lg); padding: 42px 38px; position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.aud-card.a { background: var(--surface); }
.aud-card.b { background: var(--ink); color: var(--cream-soft); border-color: transparent; }
.aud-card .kicker { font-family: 'Schibsted Grotesk'; font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.aud-card.a .kicker { color: var(--accent-strong); }
.aud-card.b .kicker { color: var(--accent); }
.aud-card h3 { font-size: 29px; margin: 12px 0 14px; }
.aud-card.b h3 { color: var(--cream-soft); }
.aud-card p { font-size: 16.5px; }
.aud-card.a p { color: var(--ink-soft); }
.aud-card.b p { color: rgba(255,253,248,.8); }
.aud-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.aud-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.aud-list .check { flex: none; margin-top: 3px; }
.aud-card.a .aud-list .check { color: var(--accent-strong); }
.aud-card.b .aud-list .check { color: var(--accent); }

/* ---------- calculator ---------- */
.calc-section { background: var(--surface-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
}
.calc-input { padding: 40px; }
.calc-input .yr { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; font-family:'Schibsted Grotesk'; }
.calc-input h3 { font-size: 26px; margin-bottom: 6px; }
.calc-input > p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

.toggle-row { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.toggle-row button {
  font-family: 'Schibsted Grotesk'; font-weight: 600; font-size: 14px;
  border: none; background: none; cursor: pointer; padding: 8px 18px; border-radius: 999px;
  color: var(--muted); transition: .2s;
}
.toggle-row button.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }

.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 9px; font-family:'Schibsted Grotesk'; }
.amount-box { display: flex; align-items: center; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 4px 16px; transition: border-color .2s; }
.amount-box:focus-within { border-color: var(--accent); }
.amount-box input { flex: 1; border: none; background: none; font-family: 'Schibsted Grotesk'; font-weight: 700; font-size: 30px; color: var(--ink); padding: 12px 0; width: 100%; outline: none; -moz-appearance: textfield; }
.amount-box input::-webkit-outer-spin-button, .amount-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.amount-box .cur { font-family: 'Schibsted Grotesk'; font-weight: 700; font-size: 24px; color: var(--muted); }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--line); margin-top: 22px; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); box-shadow: var(--sh-sm); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

.opt-row { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 14px 16px; background: var(--surface-2); border-radius: var(--r-sm); border: 1px solid var(--line); }
.opt-row .t b { font-family:'Schibsted Grotesk'; font-size: 14.5px; display:block; }
.opt-row .t span { font-size: 12.5px; color: var(--muted); }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .sl { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: .25s; cursor: pointer; }
.switch .sl::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: var(--surface); border-radius: 50%; transition: .25s; box-shadow: var(--sh-sm); }
.switch input:checked + .sl { background: var(--accent); }
.switch input:checked + .sl::before { transform: translateX(20px); }

/* calc result */
.calc-result { background: var(--ink); color: var(--cream-soft); padding: 40px; display: flex; flex-direction: column; }
.calc-result .rlabel { font-size: 14px; color: rgba(255,253,248,.65); font-weight: 500; }
.calc-result .neto-big { font-family: 'Schibsted Grotesk'; font-weight: 800; font-size: clamp(46px, 7vw, 60px); letter-spacing: -.03em; line-height: 1; margin: 6px 0 4px; color: #fff; }
.calc-result .neto-big .e { color: var(--accent); }
.calc-result .perlbl { font-size: 14px; color: rgba(255,253,248,.6); margin-bottom: 26px; }

.bars { display: flex; flex-direction: column; gap: 16px; margin-bottom: auto; }
.bar-item .bl { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.bar-item .bl span { color: rgba(255,253,248,.78); }
.bar-item .bl b { font-family: 'Schibsted Grotesk'; color: #fff; }
.bar-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; transition: width .5s var(--ease); }
.bar-fill.neto { background: var(--accent); }
.bar-fill.gpm  { background: oklch(0.70 0.13 36); }
.bar-fill.sodra{ background: oklch(0.74 0.10 86); }

.calc-foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: space-between; }
.calc-foot .ec { font-size: 13.5px; color: rgba(255,253,248,.62); }
.calc-foot .ec b { font-family:'Schibsted Grotesk'; color: #fff; font-size: 16px; display:block; }
.calc-disclaim { font-size: 12px; color: var(--muted); text-align: center; margin-top: 18px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: left; position: relative; }
.step .num {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm);
  color: var(--accent-strong); margin-bottom: 18px; position: relative;
}
.step .num b { font-family:'Schibsted Grotesk'; font-size: 13px; position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan.featured { background: var(--ink); color: var(--cream-soft); border-color: transparent; box-shadow: var(--sh-lg); }
.plan .pname { font-family:'Schibsted Grotesk'; font-weight: 600; font-size: 16px; letter-spacing: .02em; }
.plan.featured .pname { color: var(--accent); }
.plan .ribbon { align-self: flex-start; font-size: 12px; font-weight: 600; background: var(--accent); color: var(--on-accent); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; font-family:'Schibsted Grotesk'; }
.plan .ptag { font-size: 14px; color: var(--muted); margin-top: 4px; }
.plan.featured .ptag { color: rgba(255,253,248,.65); }
.plan .pprice { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 6px; }
.plan .pprice .amt { font-family:'Schibsted Grotesk'; font-weight: 800; font-size: 46px; letter-spacing: -.03em; }
.plan .pprice .per { font-size: 15px; color: var(--muted); }
.plan.featured .pprice .per { color: rgba(255,253,248,.6); }
.plan .pfeat { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.plan .pfeat li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan .pfeat .check { flex: none; margin-top: 3px; color: var(--accent-strong); }
.plan.featured .pfeat .check { color: var(--accent); }
.plan .btn { margin-top: auto; }
.plan.featured .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.plan.featured .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: var(--accent); color: #fff; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 28px; box-shadow: var(--sh-sm); display: flex; flex-direction: column;
}
.quote .stars { color: var(--accent-strong); letter-spacing: 2px; font-size: 15px; margin-bottom: 14px; }
.quote blockquote { font-size: 17px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 22px; flex: 1; }
.quote .by { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family:'Schibsted Grotesk'; font-weight: 700; font-size: 16px; flex: none; }
.quote .by b { font-family:'Schibsted Grotesk'; font-size: 15px; display: block; }
.quote .by span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; font-family:'Schibsted Grotesk'; font-weight: 600; font-size: 19px; color: var(--ink); }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: .25s; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--accent-strong); border-radius: 2px; }
.faq-q .pm::before { width: 12px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 12px; transition: transform .25s; }
.faq-item.open .pm { background: var(--accent-soft); border-color: transparent; }
.faq-item.open .pm::after { transform: rotate(90deg) scaleX(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--muted); font-size: 16px; max-width: 64ch; }

/* ---------- final CTA ---------- */
.final {
  background: var(--ink); color: var(--cream-soft); border-radius: var(--r-xl);
  padding: 72px 48px; text-align: center; position: relative; overflow: hidden;
}
.final::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 120% at 50% -20%, color-mix(in oklch, var(--accent) 30%, transparent) 0%, transparent 60%); }
.final > * { position: relative; }
.final h2 { font-size: clamp(32px, 5vw, 52px); color: #fff; margin-bottom: 16px; }
.final p { font-size: 19px; color: rgba(255,253,248,.78); max-width: 46ch; margin: 0 auto 32px; }
.final .hero-cta { justify-content: center; }
.final .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.final .btn-ghost:hover { background: rgba(255,255,255,.14); color:#fff; }

/* ---------- footer ---------- */
footer.foot { padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-grid .about p { color: var(--muted); font-size: 15px; max-width: 32ch; margin-top: 14px; }
.foot-col h4 { font-family:'Schibsted Grotesk'; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { color: var(--muted); font-size: 15px; transition: color .2s; }
.foot-col a:hover { color: var(--accent-strong); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 14px; color: var(--muted); flex-wrap: wrap; gap: 12px; }

/* ---------- billing toggle ---------- */
.bill-toggle { display: flex; width: fit-content; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 0 auto 40px; box-shadow: var(--sh-sm); }
.bt-opt { display: inline-flex; align-items: center; gap: 8px; font-family: 'Schibsted Grotesk'; font-weight: 600; font-size: 14.5px; border: none; background: none; cursor: pointer; padding: 11px 22px; border-radius: 999px; color: var(--muted); transition: .2s var(--ease); }
.bt-opt.on { background: var(--accent); color: var(--on-accent); }
.bt-save { font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.bt-opt.on .bt-save { background: rgba(255,255,255,.22); color: #fff; }
.price-grid { transition: opacity .2s; }
.bill-note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }

/* ---------- app preview frame ---------- */
.app-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; max-width: 1000px; margin: 0 auto; }
.af-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.af-dot { width: 11px; height: 11px; border-radius: 50%; }
.af-url { margin-left: 14px; font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 16px; font-family: 'Schibsted Grotesk'; }
.af-body { display: grid; grid-template-columns: 220px 1fr; min-height: 420px; }
.af-side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 18px 14px; }
.afs-logo { display: flex; align-items: center; gap: 9px; font-family: 'Schibsted Grotesk'; font-weight: 700; font-size: 15px; padding: 0 6px 14px; }
.afs-glyph { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.afs-co { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; margin-bottom: 14px; }
.afs-coav { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-family: 'Schibsted Grotesk'; font-weight: 700; font-size: 12px; }
.afs-co b { font-family: 'Schibsted Grotesk'; font-size: 12px; display: block; line-height: 1.2; }
.afs-co span { font-size: 10.5px; color: var(--muted); }
.afs-nav { display: flex; flex-direction: column; gap: 2px; }
.afs-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.afs-item i { width: 16px; height: 16px; border-radius: 5px; background: var(--line); flex: none; }
.afs-item.on { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
.afs-item.on i { background: var(--accent); }
.af-main { padding: 22px 24px; }
.af-greet b { font-family: 'Schibsted Grotesk'; font-size: 19px; display: block; }
.af-greet span { font-size: 13.5px; color: var(--muted); }
.af-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.af-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.afst-lbl { font-size: 11.5px; color: var(--muted); }
.af-stat b { font-family: 'Schibsted Grotesk'; font-weight: 800; font-size: 21px; display: block; margin: 3px 0; letter-spacing: -.02em; }
.afst-tr { font-size: 11px; color: var(--muted); font-weight: 600; }
.afst-tr.up { color: var(--accent-strong); }
.af-cards { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.af-chart, .af-dl { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.afc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.afc-head b { font-family: 'Schibsted Grotesk'; font-size: 13.5px; }
.af-badge { font-size: 10.5px; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; }
.afc-bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.afc-bars span { flex: 1; background: var(--accent-soft); border-radius: 6px 6px 3px 3px; }
.afc-bars span.hl { background: var(--accent); }
.af-dlrow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.af-dlrow:last-child { border-bottom: none; }
.af-dlic { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.af-dlic.ok { background: var(--green-soft); color: var(--green-strong); }
.af-dlic.warn { background: oklch(0.95 0.05 80); color: oklch(0.50 0.10 70); }
.af-dlic.danger { background: oklch(0.94 0.05 30); color: oklch(0.58 0.16 28); }
.af-dlrow b { font-family: 'Schibsted Grotesk'; font-size: 12.5px; display: block; }
.af-dlrow span { font-size: 11px; color: var(--muted); }
.app-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 34px; text-align: center; }
.app-cta-note { font-size: 14px; color: var(--muted); }

@media (max-width: 760px) {
  .af-body { grid-template-columns: 1fr; }
  .af-side { display: none; }
  .af-stats { grid-template-columns: 1fr 1fr; }
  .af-cards { grid-template-columns: 1fr; }
}

/* ---------- scroll reveal (visible by default; only below-fold items animate) ---------- */
.reveal, .reveal-stagger > * { opacity: 1; transform: none; }
.reveal.pending { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.pending.in { opacity: 1; transform: none; }
.reveal-stagger.pending > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.pending.in > * { opacity: 1; transform: none; }
.reveal-stagger.pending.in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.pending.in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.pending.in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.pending.in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.pending.in > *:nth-child(6) { transition-delay: .35s; }

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

/* ---------- accessibility: focus-visible ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible, .faq-q:focus-visible, .bt-opt:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 8px;
}
.amount-box:focus-within { outline: 3px solid var(--accent-strong); outline-offset: 2px; }
.amount-box input:focus-visible { outline: none; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 18px; border-radius: 10px; font-family: 'Schibsted Grotesk'; font-weight: 600; z-index: 100; }
.skip-link:focus { left: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero .sub { max-width: 48ch; }
  .feat-grid, .steps, .price-grid, .quotes { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .reassure { grid-template-columns: 1fr; gap: 20px; }
  .reassure .div { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links, .nav-cta .login { display: none; }
  .burger { display: block; }
  .nav-cta { margin-left: auto; margin-right: 6px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-cta .btn-primary { display: none; }
  .section-pad { padding: 60px 0; }
  .feat-grid, .steps, .price-grid, .quotes, .audience { grid-template-columns: 1fr; }
  .hero-cta .btn, .final .hero-cta .btn { flex: 1; justify-content: center; }
  .calc-input, .calc-result { padding: 28px 24px; }
  .float-badge { display: none; }
  .reassure { padding: 24px; }
  .reassure ul { gap: 12px 20px; }
  .final { padding: 52px 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 520px) {
  .hero { padding: 40px 0 60px; }
  .hero-grid { gap: 36px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn, .final .hero-cta .btn { width: 100%; }
  .nav-inner { height: 62px; }
  .logo { font-size: 17px; }
  .logo .glyph { width: 30px; height: 30px; font-size: 16px; }
  .nav-cta .btn-primary { padding: 11px 18px; font-size: 14.5px; }
  .payslip { padding: 22px; }
  .payslip .neto .amt { font-size: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-menu.open { inset: 62px 0 0; }
}

/* mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; position: fixed; inset: 70px 0 0; background: var(--cream); z-index: 49; padding: 24px 22px; }
.mobile-menu a { display: block; font-family:'Schibsted Grotesk'; font-weight: 600; font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }
