:root {
  --navy: #112b53;
  --slate: #5f6f86;
  --magenta: #ff2e93;
  --orange: #ff9017;
  --gold: #ffc648;
  --mint: #29c88a;
  --teal: #0ca6cf;
  --cyan: #12b8f4;
  --violet: #7a68f6;
  --mist: #fdf8f3;
  --cloud: #fffdfc;
  --line: rgba(153, 177, 209, 0.32);
  --gradient: linear-gradient(135deg, #ff2e93 0%, #ff7a1f 35%, #22c55e 68%, #0ea5e9 100%);
  --radius: 20px;
  --shadow: 0 18px 40px -22px rgba(17, 43, 83, 0.35);
  --font: "Aptos", "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--mist);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 820px; }
.muted { color: var(--slate); }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--magenta); margin-bottom: 0.6em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.92rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 10px 22px -12px rgba(255, 46, 147, .9); }
.btn-primary:hover { background: #e9227f; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 243, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); }
.brand img { width: 40px; height: 40px; }
.brand-word { font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav > a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.main-nav > a:hover { color: var(--magenta); }
.nav-signin-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-ghost { display: none; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0; background: var(--cloud);
    border-bottom: 1px solid var(--line); padding: 8px 16px 18px; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-signin-mobile { display: grid; gap: 10px; margin-top: 14px; }
}
@media (max-width: 420px) {
  .brand-word { font-size: 1.35rem; }
  .header-actions .btn-primary { padding: 8px 12px; }
}

/* Hero */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } .hero { padding: 80px 0 56px; } }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-ctas.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-size: 0.95rem; }
.hero-points li::before { content: "✓"; color: var(--mint); font-weight: 800; margin-right: 6px; }
@media (max-width: 520px) { .hero-ctas .btn { width: 100%; } }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .9; }
.blob-1 { width: 260px; height: 260px; background: radial-gradient(circle at 30% 30%, #ffd08a, var(--orange)); top: -10px; right: 6%; opacity: .45; }
.blob-2 { width: 200px; height: 200px; background: radial-gradient(circle at 30% 30%, #7fe3ff, var(--teal)); bottom: 20px; left: 4%; opacity: .4; }
.phone {
  position: relative; width: 280px; max-width: 100%; border-radius: 40px; padding: 12px;
  background: var(--navy); box-shadow: 0 30px 60px -25px rgba(17, 43, 83, .6);
}
.phone-notch { width: 90px; height: 20px; background: var(--navy); border-radius: 0 0 14px 14px; margin: -2px auto 0; position: relative; z-index: 2; }
.phone-screen { background: var(--mist); border-radius: 30px; padding: 18px 14px 20px; margin-top: -16px; }
.ph-hello { font-weight: 800; font-size: 1.05rem; margin: 10px 4px 12px; }
.ph-balance { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 8px 20px -14px rgba(17,43,83,.5); display: grid; gap: 2px; }
.ph-balance span { font-size: .78rem; color: var(--slate); }
.ph-balance strong { font-size: 1.45rem; }
.ph-ok { font-style: normal; font-size: .76rem; color: #138a5c; font-weight: 700; }
.ph-ok::before { content: "● "; }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ph-tiles span { border-radius: 16px; padding: 12px 10px; min-height: 64px; font-size: .78rem; font-weight: 700; line-height: 1.2; display: flex; align-items: flex-end; }
.t-mint { background: #34d399; } .t-peach { background: #fed7aa; } .t-gold { background: #fcd34d; }
.t-sky { background: #38bdf8; } .t-white { background: #fff; box-shadow: inset 0 0 0 1px var(--line); } .t-orange { background: #fb923c; }
.visual-note { font-size: .78rem; color: var(--slate); margin-top: 12px; }

/* Sign-in chooser */
.signin-band { padding: 8px 0 36px; }
.signin-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .signin-grid { grid-template-columns: 1fr 1fr; } }
.signin-card {
  display: grid; gap: 6px; padding: 24px; border-radius: var(--radius); text-decoration: none; color: var(--navy);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.signin-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; }
.signin-client::before { background: linear-gradient(90deg, var(--magenta), var(--orange)); }
.signin-accountant::before { background: linear-gradient(90deg, var(--mint), var(--cyan)); }
.signin-card:hover { transform: translateY(-2px); border-color: var(--navy); }
.signin-kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--slate); }
.signin-card strong { font-size: 1.4rem; }
.signin-sub { color: var(--slate); }
.signin-go { font-weight: 700; color: var(--magenta); margin-top: 6px; }
.signin-accountant .signin-go { color: #0b7fa0; }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-tint { background: var(--cloud); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--slate); font-size: 1.08rem; }

.who-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.who-card p { color: var(--slate); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step p { color: var(--slate); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.g-pink { background: linear-gradient(135deg, #ec4899, #fb923c); }
.g-orange { background: linear-gradient(135deg, #f97316, #fbbf24); }
.g-green { background: linear-gradient(135deg, #10b981, #2dd4bf); }
.g-blue { background: linear-gradient(135deg, #0ea5e9, #7a68f6); }

.features { display: grid; gap: 14px; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--mist); }
.feature h3 { font-size: 1.02rem; margin-bottom: .2em; }
.feature p { margin: 0; color: var(--slate); font-size: .95rem; }
.chip { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-weight: 800; font-size: 1.1rem; }
.c-mint { background: #d1fae5; color: #047857; } .c-pink { background: #fce7f3; color: #be185d; }
.c-gold { background: #fef3c7; color: #b45309; } .c-sky { background: #e0f2fe; color: #0369a1; }
.c-violet { background: #ede9fe; color: #6d28d9; } .c-orange { background: #ffedd5; color: #c2410c; }

.two-col { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.two-col p { color: var(--slate); }
.two-col p strong { color: var(--navy); }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--mint); font-weight: 800; }

.flow { display: grid; gap: 6px; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); }
.flow-step span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--magenta); }
.flow-done { background: var(--navy); color: #fff; border-color: var(--navy); }
.flow-done span { color: var(--gold); }
.flow-arrow { text-align: center; color: var(--slate); font-weight: 800; }

/* Pricing */
.price-grid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 960px) { .price-grid { grid-template-columns: 1.05fr 1fr 1fr; } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.price-main { border: 2px solid var(--magenta); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--magenta); color: #fff; font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.price { margin: 6px 0 0; font-weight: 700; }
.price-big { font-size: 2.6rem; font-weight: 800; }
.price-after { color: var(--slate); }
.price-after strong { color: var(--navy); font-size: 1.2rem; }
.bundle-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.bundle-table th { text-align: left; font-size: .8rem; color: var(--slate); font-weight: 700; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.bundle-table td { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.bundle-table td:last-child, .bundle-table th:last-child { text-align: right; color: var(--slate); }
.bundle-table tr.best td { color: #047857; }
.bundle-table tr.best td:first-child::after { content: " · best value"; font-size: .75rem; font-weight: 700; }
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.service-list b { background: #ede9fe; color: #5b21b6; border-radius: 999px; min-width: 32px; text-align: center; padding: 0 10px; font-size: .9rem; line-height: 1.8; }
.fine { margin-top: 22px; color: var(--slate); font-size: .92rem; }

/* About */
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 20px; justify-items: center; }
.about-card img { width: 140px; }
.about-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; width: 100%; }
.about-card dt { color: var(--slate); font-size: .9rem; }
.about-card dd { margin: 0; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--magenta); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); }

/* CTA */
.cta { background: var(--navy); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--gradient); }
.cta-inner { max-width: 760px; }
.cta p { color: rgba(255,255,255,.8); }
.cta-mail a { color: var(--gold); }

/* Footer */
.site-footer { background: #0c2140; color: rgba(255,255,255,.75); padding: 48px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.site-footer a, .site-footer .linklike { display: block; color: rgba(255,255,255,.75); text-decoration: none; padding: 4px 0; }
.site-footer a:hover, .site-footer .linklike:hover { color: #fff; }
.site-footer .muted { color: rgba(255,255,255,.6); margin-top: 10px; }
.brand-footer { color: #fff !important; display: inline-flex !important; }
.brand-footer img { width: 32px; height: 32px; }
.copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.55); }

/* Cookie banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: 0 20px 50px -20px rgba(17,43,83,.5);
}
.consent[hidden] { display: none; }
.consent p { font-size: .93rem; color: var(--slate); margin-bottom: 12px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .signin-card { transition: none; }
}
