/* ── Vibe Books Landing – Premium Redesign ───────────────────── */
@import url('/css/fonts.css');
@import url('/css/brand-lockup.css');

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

:root {
  --teal:        #00b4a6;
  --teal-dark:   #008f83;
  --teal-light:  #e0faf8;
  --orange:      #f5943a;
  --orange-light:#fff4e8;
  --navy:        #1b3a5c;
  --navy-light:  #e8eef7;
  --text:        #0d1b2a;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --bg:          #f8fafb;
  --white:       #ffffff;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.12);
  --font:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --gutter:      40px;
}

/* Offsets anchor jumps by the sticky nav height so section labels aren't hidden under it. */
html { scroll-padding-top: 84px; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--white); }
.flag-gb { width: 20px; height: 10px; border-radius: 1px; flex-shrink: 0; vertical-align: -1px; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; height: 68px; gap: 40px;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-links { display: flex; gap: 32px; flex: 1; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-mobile-actions { display: none; }
.btn-nav-ghost {
  padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 600;
  color: var(--text-muted); border: 1.5px solid var(--border);
  transition: all .15s; font-family: var(--font);
}
.btn-nav-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-nav-primary {
  padding: 9px 20px; border-radius: 8px; font-size: 14px; font-weight: 700;
  background: var(--teal); color: var(--white); transition: background .15s, color .15s;
  font-family: var(--font);
}
/* Explicit selectors: .btn-nav-primary alone loses to .nav-links a (extra element); keep white inside nav menus */
.nav-actions .btn-nav-primary,
.nav-links .btn-nav-primary {
  color: var(--white);
}
.btn-nav-primary:hover { background: var(--teal-dark); color: var(--white); }
.nav-links .btn-nav-primary:hover,
.nav-actions .btn-nav-primary:hover {
  color: var(--white);
}
.nav-hamburger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; margin-left: auto; }

/* Beta / HMRC notice — below nav */
.beta-strip {
  background: linear-gradient(135deg, rgba(0, 180, 166, 0.12), rgba(27, 58, 92, 0.06));
  border-bottom: 1px solid rgba(0, 180, 166, 0.28);
}
.beta-strip-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.beta-strip-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  margin-top: 2px;
}
.beta-strip-text {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text);
}

/* Back to top — long landing page */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--teal-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .15s, border-color .15s;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--teal-light);
  border-color: rgba(0, 180, 166, 0.35);
  color: var(--teal);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
@media (max-width: 768px) {
  .back-to-top { bottom: 20px; right: 16px; width: 44px; height: 44px; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(170deg, #f8fafb 0%, #edf8f7 50%, #f8fafb 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 60px; align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-light); color: var(--teal-dark);
  border: 1px solid rgba(0,180,166,.2);
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 18px; letter-spacing: .2px;
}
.hero-h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -1.4px; color: var(--text);
  margin-bottom: 10px;
}
.hero-byline {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}
.hero-highlight {
  background: linear-gradient(135deg, var(--teal), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-p {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.75; max-width: 480px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.hero-price { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.hero-price strong { color: var(--text); font-weight: 700; }

.btn-cta {
  display: inline-flex; align-items: center;
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 700; font-family: var(--font);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,180,166,.35);
  transition: transform .15s, box-shadow .15s;
  border: none; cursor: pointer;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,180,166,.45); }
.btn-cta-lg { padding: 17px 36px; font-size: 16px; }

.btn-outline {
  display: inline-flex; align-items: center;
  padding: 14px 26px; border-radius: 10px;
  font-size: 15px; font-weight: 700; font-family: var(--font);
  border: 2px solid var(--border); color: var(--text-muted);
  transition: border-color .15s, color .15s;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.hero-trust {
  display: flex; gap: 8px 20px; flex-wrap: wrap;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  margin-top: 4px;
}
.hero-trust > span { display: inline-flex; align-items: center; gap: 5px; }
.ht-mark { color: var(--teal); font-weight: 800; }

/* ── App Window Mockup ───────────────────────────────────────── */
/* Bottom padding reserves the gutter the receipt badge sits in. */
.hero-visual { position: relative; padding: 8px 0 72px; }
.app-window {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,.14);
  overflow: hidden;
}
.window-chrome {
  background: #f1f5f9; padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.chrome-mock-label {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 3px 7px;
  border-radius: 4px;
  line-height: 1;
  user-select: none;
}
.chrome-dots { display: flex; gap: 5px; }
.chrome-dot { width: 10px; height: 10px; border-radius: 50%; }
.chrome-dot.cr { background: #ef4444; }
.chrome-dot.cy { background: #f59e0b; }
.chrome-dot.cg { background: #22c55e; }
.chrome-url { flex: 1; text-align: center; font-size: 11px; color: #94a3b8; font-weight: 500; }
.window-body { display: flex; min-height: 320px; }
.win-sidebar {
  width: 168px; background: var(--navy); padding: 12px 8px;
  flex-shrink: 0;
}
.win-brand { padding: 2px 4px 10px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 8px; }
.win-nav-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; line-height: 1.2;
  color: rgba(255,255,255,.55);
  padding: 6px 7px; border-radius: 7px; margin-bottom: 2px;
}
.win-nav-item svg { width: 13px; height: 13px; flex-shrink: 0; }
.win-active { background: var(--teal); color: #fff; box-shadow: 0 2px 8px rgba(0,180,166,.28); }
.win-main { flex: 1; min-width: 0; padding: 12px; background: #f8fafb; }
.win-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.win-title { font-size: 13px; font-weight: 800; color: var(--text); letter-spacing: -.2px; }
.win-year {
  font-size: 9px; font-weight: 700; color: var(--text-muted);
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 3px 7px; white-space: nowrap;
}
.win-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 8px; }
.win-stat {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 10px 8px 12px;
}
.win-stat::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
}
.win-stat.income::before { background: var(--teal); }
.win-stat.expense::before { background: #ef4444; }
.win-stat.profit::before { background: var(--navy); }
.win-stat.tax::before { background: var(--orange); }
.ws-label { font-size: 8px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .35px; font-weight: 700; }
.ws-val { font-size: 14px; font-weight: 800; color: var(--text); margin-top: 1px; letter-spacing: -.3px; }
.win-lower { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7px; }
.win-panel {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 9px 6px; min-width: 0;
}
.win-panel-h {
  font-size: 10px; font-weight: 800; color: var(--text);
  margin-bottom: 4px;
}
.win-qrow {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 4px 0; border-top: 1px solid #f1f5f9;
}
.win-qname { font-size: 9px; font-weight: 700; color: var(--text); white-space: nowrap; }
.win-qname span { font-weight: 600; color: var(--text-muted); }
.win-qchip {
  font-size: 8px; font-weight: 800; letter-spacing: .2px;
  padding: 2px 6px; border-radius: 99px; white-space: nowrap;
}
.win-qchip.on { background: var(--teal-light); color: var(--teal-dark); }
.win-qchip.due { background: var(--orange-light); color: #c47010; }
.win-legend { display: flex; align-items: center; gap: 3px; font-size: 8px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.win-legend i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.lg-in { background: var(--teal); margin-right: 1px; }
.lg-ex { background: #f87171; margin-left: 4px; }
.win-chart { display: flex; align-items: flex-end; gap: 8px; flex: 1; min-height: 64px; padding-top: 4px; }
.win-pair { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 100%; }
.win-pair .bar { width: 8px; border-radius: 3px 3px 0 0; height: var(--h); }
.win-pair .bar.in { background: #5dcaa8; }
.win-pair .bar.ex { background: #fca5a5; }
.h70 { --h: 70%; } .h88 { --h: 88%; } .h76 { --h: 76%; } .h54 { --h: 54%; }
.h22 { --h: 22%; } .h18 { --h: 18%; } .h28 { --h: 28%; } .h16 { --h: 16%; }

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border: 1px solid var(--border);
  font-size: 13px;
  max-width: 232px;
}
.fb-icon { font-size: 22px; background: var(--teal-light); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.fb-icon.orange { background: var(--orange-light); }
.fb-title { font-weight: 700; font-size: 13px; }
.fb-sub { font-size: 11px; color: var(--text-muted); }
.fb3 { bottom: 6px; right: 6px; }
.fb-icon--purple { background: #ede9fe; }

/* ── Deadline Strip ──────────────────────────────────────────── */
.deadline-strip {
  background: linear-gradient(135deg, var(--navy), #2a5080);
  color: #fff; padding: 14px 0;
}
.ds-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; text-align: center; font-size: 14px;
}
.ds-icon { font-size: 20px; }
.ds-btn {
  background: var(--orange); color: #fff;
  padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 700;
  white-space: nowrap; transition: background .15s;
}
.ds-btn:hover { background: #d97520; }

/* ── Who For ─────────────────────────────────────────────────── */
.who-for { padding: 48px 0; border-bottom: 1px solid var(--border); background: var(--white); }
.who-label { text-align: center; font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 20px; }
.who-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.who-tags span {
  background: var(--bg); border: 1.5px solid var(--border);
  padding: 9px 18px; border-radius: 24px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: border-color .15s, color .15s;
}
.who-tags span:hover { border-color: var(--teal); color: var(--teal); }

/* ── Available today vs after HMRC recognition ───────────────── */
.avail { padding: 72px 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.avail .section-label { display: flex; justify-content: center; }
.avail .section-h2 { text-align: center; }
.avail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 920px; margin: 36px auto 0;
}
.avail-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.avail-card--now { border-color: rgba(0, 180, 166, .45); }
.avail-card--soon { border-style: dashed; }
.avail-card h3 {
  font-size: 15px; font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px; line-height: 1.4;
}
.avail-dot {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
}
.avail-dot--now { background: var(--teal-light); color: var(--teal-dark); }
.avail-dot--soon { background: var(--navy-light); color: var(--navy); }
.avail-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.avail-card li { font-size: 14px; color: var(--text-muted); line-height: 1.55; padding-left: 18px; position: relative; }
.avail-card li::before { content: '·'; position: absolute; left: 4px; color: var(--teal); font-weight: 800; }
.avail-card--soon li::before { color: var(--navy); }
.avail-note {
  text-align: center; font-size: 13px; color: var(--text-muted);
  max-width: 40rem; margin: 22px auto 0; line-height: 1.65;
}
@media (max-width: 768px) {
  .avail { padding: 56px 0; }
  .avail-grid { grid-template-columns: 1fr; }
}

/* ── Section Shared ──────────────────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--teal);
  background: var(--teal-light);
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 16px;
}
.section-h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px; }
.section-p { font-size: 17px; color: var(--text-muted); line-height: 1.7; max-width: 540px; }

/* ── Features ────────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--white); }
.features .section-h2, .features .section-p { text-align: center; margin-left: auto; margin-right: auto; }
.features .section-label { display: flex; justify-content: center; }
.features-paid-hint {
  text-align: center;
  max-width: 34rem;
  margin: 12px auto 28px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
.features-paid-hint strong { color: var(--navy); font-weight: 700; }
.features .features-grid { margin-top: 28px; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.feat-card {
  padding: 30px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--white);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }

/* AI Receipt Scanning feature card */
.feat-card--ai { border-color: var(--teal); border-width: 2px; }
.feat-card--ai:hover { border-color: var(--teal); }
.feat-card-header-row { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0; }
.feat-card-header-row .feat-icon { margin-bottom: 0; }
.feat-badge-new {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: var(--teal); color: #fff;
  padding: 3px 9px; border-radius: 20px;
  text-transform: uppercase; align-self: flex-start;
}
.feat-badge-soon {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: transparent; color: var(--text-muted);
  border: 1.5px solid var(--border);
  padding: 3px 9px; border-radius: 20px;
  text-transform: uppercase; align-self: flex-start;
}
.feat-card--coming-soon { opacity: .82; }

/* Hero trust row highlight */
/* How It Works new-step badge */
.hs-badge-new {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em;
  background: var(--teal); color: #fff;
  padding: 2px 7px; border-radius: 20px;
  text-transform: uppercase; vertical-align: middle; margin-left: 6px;
}

/* Pricing — highlighted AI scanning feature line */
.pc-feat-new { font-weight: 600; color: var(--teal); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: inherit;
}
.feat-icon svg {
  width: 26px; height: 26px;
  flex-shrink: 0;
}
.feat-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── How It Works ────────────────────────────────────────────── */
.how { padding: 100px 0; background: var(--bg); }
.how-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.how-steps { margin: 32px 0; display: flex; flex-direction: column; gap: 0; }
.how-step {
  display: flex; gap: 16px;
  align-items: stretch;
}
.how-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 36px;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 0;
}
.hs-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}
.how-step-connector {
  width: 2px;
  flex: 1;
  min-height: 20px;
  margin: 4px 0 0;
  background: linear-gradient(180deg, var(--teal) 0%, rgba(0, 180, 166, 0.18) 100%);
  border-radius: 1px;
}
.how-step:last-child .how-step-connector { display: none; }
.hs-content { padding-bottom: 28px; }
.how-step:last-child .hs-content { padding-bottom: 0; }
.hs-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.hs-content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* How visual */
.how-visual { display: flex; flex-direction: column; gap: 16px; }
.how-card {
  background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.how-card-sm { padding: 18px 24px; }
.hc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.hc-title { font-size: 15px; font-weight: 700; }
.hc-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.hc-badge.submitted { background: var(--teal-light); color: var(--teal-dark); }
.hc-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.hc-row:last-of-type { border-bottom: none; }
.hc-row.big { font-size: 16px; font-weight: 700; }
.hc-divider { border-top: 2px solid var(--border); margin: 8px 0; }
.hc-meta { font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.teal-text { color: var(--teal); }
.red-text { color: #ef4444; }
.hc-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 12px; }
.txn-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.txn-row:last-child { border-bottom: none; }
.txn-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.txn-dot.income { background: var(--teal); }
.txn-dot.expense { background: #ef4444; }
.txn-desc { flex: 1; font-weight: 500; }
.txn-amt { font-weight: 700; font-size: 13px; }
.txn-amt.income { color: var(--teal); }
.txn-amt.expense { color: #ef4444; }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing { padding: 100px 0; background: var(--white); }
.pricing .section-h2, .pricing .section-p { text-align: center; margin-left: auto; margin-right: auto; }
.pricing .section-label { display: flex; justify-content: center; }

.billing-switch {
  display: flex; gap: 0; justify-content: center;
  background: var(--bg); border-radius: 10px; padding: 4px;
  width: fit-content; margin: 32px auto 48px; border: 1.5px solid var(--border);
}
.bs-btn {
  padding: 9px 22px; border-radius: 7px; border: none;
  font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font);
  background: transparent; color: var(--text-muted);
  transition: all .2s; display: flex; align-items: center; gap: 8px;
}
.bs-btn.active { background: var(--white); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.bs-save { background: #dcfce7; color: #16a34a; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; }

.pricing-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: start;
}
/* Main pricing (#pricing): four plans — full row on wide screens */
#pricing .pricing-cards {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
/* Two columns only on mid-width viewports — never below 1025px (phones use single column below) */
@media (max-width: 1180px) and (min-width: 1025px) {
  #pricing .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.price-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 32px; position: relative;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.price-card:hover { box-shadow: var(--shadow); }
/* Free: lighter “entry” tier */
.price-card--free {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1.5px dashed #cbd5e1;
  box-shadow: none;
}
.price-card--free:hover {
  box-shadow: var(--shadow-sm);
  border-color: #94a3b8;
}
.price-card--free .pc-amount { color: var(--text-muted); }
/* Duo: mid tier — subtle teal frame */
.price-card--duo {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 52%);
  border: 1.5px solid rgba(0, 180, 166, 0.35);
  box-shadow: 0 2px 12px rgba(0, 180, 166, 0.06);
}
.price-card--duo:hover {
  box-shadow: 0 8px 28px rgba(0, 180, 166, 0.12);
  border-color: rgba(0, 180, 166, 0.5);
}
.price-card-featured {
  border-color: var(--teal); border-width: 2px;
  box-shadow: 0 10px 44px rgba(0, 180, 166, 0.18);
  transform: scale(1.03);
  z-index: 2;
  background: linear-gradient(180deg, #f0fffc 0%, #ffffff 55%);
}
.price-card-featured:hover { box-shadow: 0 14px 52px rgba(0, 180, 166, 0.24); }
.price-card-pro {
  border-color: rgba(27, 58, 92, 0.35);
  border-width: 1.5px;
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 50%);
  box-shadow: 0 4px 20px rgba(27, 58, 92, 0.07);
}
.price-card-pro:hover { box-shadow: 0 10px 36px rgba(27, 58, 92, 0.12); }
.pc-badge-pro {
  background: var(--navy);
  color: #fff;
}
.pc-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff;
  padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.pc-plan { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 10px; }
.pc-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; flex-wrap: wrap; }
.pc-amount { font-size: 42px; font-weight: 800; letter-spacing: -1px; color: var(--text); }
.pc-period { font-size: 14px; color: var(--text-muted); white-space: nowrap; }
/* When yearly billing is active the headline is the annual total — tighten amount slightly */
.billing-yearly .pc-price { align-items: flex-start; flex-direction: column; gap: 2px; }
.billing-yearly .pc-amount { font-size: 36px; }
.billing-yearly .pc-period { font-size: 12px; }
.pc-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.pc-features { list-style: none; margin-bottom: 28px; }
.pc-features li { font-size: 14px; padding: 6px 0; display: flex; align-items: flex-start; gap: 8px; }
.pc-features li::before { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.pc-features li.yes::before { content: '✓'; color: var(--teal); font-weight: 700; }
.pc-features li.no { color: var(--text-muted); }
.pc-features li.no::before { content: '✗'; color: #cbd5e1; }
.pc-btn {
  display: block; text-align: center;
  padding: 13px; border-radius: 10px;
  font-size: 15px; font-weight: 700; font-family: var(--font);
  transition: all .15s;
}
.pc-btn-primary { background: var(--teal); color: #fff; }
.pc-btn-primary:hover { background: var(--teal-dark); }
.pc-btn-outline { border: 2px solid var(--border); color: var(--text); }
.pc-btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.pricing-footnote { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 36px; }

/* ── Comparison ──────────────────────────────────────────────── */
.compare { padding: 100px 0; background: var(--bg); }
.compare .section-label { display: flex; }
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1.5px solid var(--border); margin-top: 48px; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table th { background: #f8fafb; font-weight: 700; font-size: 13px; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 500; color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .vb-col { background: var(--teal-light); color: var(--teal-dark); font-weight: 700; }
.compare-table th.vb-col { background: var(--teal); color: #fff; }
.compare-table th.vb-col .brand-lockup { justify-content: center; }
/* 5-column “vs the others” table — keep all brands visible on small screens via horizontal scroll */
.compare-table.compare-multi {
  width: max-content;
  min-width: 100%;
}
.compare-scroll-hint {
  display: none;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.4;
}

/* ── Peace Of Mind ───────────────────────────────────────────── */
.peace { padding: 72px 0; background: var(--white); }
.peace-box {
  border: 1.5px solid var(--border);
  background: linear-gradient(135deg, #f8fafb 0%, #edf8f7 100%);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}
.peace-box .section-label { display: inline-flex; }
.peace-box .section-h2,
.peace-box .section-p {
  margin-left: auto;
  margin-right: auto;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { padding: 100px 0; background: var(--white); }
.faq-container { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq-left { position: sticky; top: 80px; }
.faq-right { display: flex; flex-direction: column; gap: 12px; }
.faq-group { display: flex; flex-direction: column; gap: 12px; }
.faq-group + .faq-group { margin-top: 32px; }
.faq-group-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); padding: 0 4px 4px; border-bottom: 2px solid var(--teal);
  margin-bottom: 4px;
}
.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); overflow: hidden;
  transition: border-color .15s;
}
.faq-item[open] { border-color: var(--teal); }
.faq-item summary {
  padding: 18px 20px; font-size: 15px; font-weight: 600;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--text-muted); }
.faq-item[open] summary::after { content: '−'; color: var(--teal); }
.faq-item p { padding: 0 20px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.faq-item p + p { padding-top: 0; }
/* Deep-link from the dashboard VAT banner — sit below the sticky nav. */
#faq-vat-threshold { scroll-margin-top: 88px; }

/* ── CTA ─────────────────────────────────────────────────────── */
.cta-section { padding: 80px 0; background: var(--bg); }
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #2a5080 100%);
  border-radius: 24px; padding: 60px 40px; text-align: center; color: #fff;
  max-width: 680px; margin: 0 auto;
  box-shadow: 0 32px 80px rgba(27,58,92,.25);
}
.cta-logo { margin-bottom: 24px; display: flex; justify-content: center; }
.cta-box h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; letter-spacing: -.5px; }
.cta-box p { font-size: 17px; color: #94a3b8; margin-bottom: 32px; }
.cta-box .cta-trust-badges {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px 8px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.62);
  margin: 18px 0 12px; line-height: 1.5; letter-spacing: 0.02em;
}
.cta-box .cta-trust-badges .trust-sep { color: rgba(255,255,255,.28); user-select: none; }
.cta-note { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 0; margin-bottom: 0; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--navy); color: #94a3b8; padding: 64px 0 28px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: 14px; color: #cbd5e1; line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #f8fafc; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-col a { font-size: 14px; color: #cbd5e1; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: #ffffff; }
.footer-ico {
  padding: 28px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
/* Homepage: smaller mark — trust without dominating the footer */
.footer-ico--compact {
  padding: 14px 0 6px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
}
.footer-ico--compact .footer-ico-meta { margin: 0; }
.footer-ico-link { display: inline-block; line-height: 0; }
.footer-ico-link img { height: 52px; width: auto; display: block; opacity: 0.95; }
.footer-ico--compact .footer-ico-link img { height: 34px; max-width: 150px; object-fit: contain; }
.footer-ico-link:hover img { opacity: 1; }
.footer-ico-meta { font-size: 12px; color: #94a3b8; margin: 0; }
.footer-ico-meta a { color: #cbd5e1; font-weight: 600; }
.footer-ico-meta a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: #94a3b8;
}
.pc-pending-note {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 12px;
  line-height: 1.5;
  color: #7c2d12;
  text-align: left;
}

/* Utility classes used by the CSP inline-style cleanup on this standalone page */
.u-inline-block { display: inline-block; }
.u-mt-8 { margin-top: 8px; }
.u-text-teal { color: var(--teal); }
.u-fw-600 { font-weight: 600; }

.landing-tag-teal { background: var(--teal-light); color: var(--teal); }
.landing-tag-orange { background: var(--orange-light); color: var(--orange); }
.landing-tag-navy { background: var(--navy-light); color: var(--navy); }

.footer-brand .brand-lockup { margin-bottom: 12px; }

.landing-cta-wrap { text-align: center; padding: 48px 20px; }
.landing-cta-title { font-size: 28px; font-weight: 800; color: #1e293b; margin-bottom: 8px; }
.landing-cta-sub { color: #64748b; font-size: 16px; margin-bottom: 24px; }
.landing-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.landing-cta-btn-primary,
.landing-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.landing-cta-btn-primary { background: var(--teal); transition: background .15s; }
.landing-cta-btn-primary:hover { background: var(--teal-dark); }
.landing-cta-btn-secondary { background: var(--navy); transition: opacity .15s; }
.landing-cta-btn-secondary:hover { opacity: .85; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .hero-h1 { font-size: 36px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .how-inner { grid-template-columns: 1fr; gap: 40px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  /* #pricing uses higher-specificity rules; without this, 2 columns persist on phones and clip cards */
  #pricing .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .price-card-featured { transform: none; }
  .faq-container { grid-template-columns: 1fr; gap: 40px; }
  .faq-left { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { padding-top: env(safe-area-inset-top); }
  .nav-inner { height: 60px; padding: 0 16px; gap: 12px; }
  .nav-logo .brand-lockup-wordmark { font-size: 15px; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: calc(60px + env(safe-area-inset-top)); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 16px; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; margin-left: auto; font-size: 26px; line-height: 1; }
  .nav-actions { display: none; }
  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 4px;
  }
  .nav-mobile-actions .btn-nav-ghost,
  .nav-mobile-actions .btn-nav-primary {
    display: block;
    text-align: center;
    width: 100%;
  }
  .features-grid { grid-template-columns: 1fr; }
  .fb1, .fb2, .fb3 { display: none; }
  .hero-visual { padding: 0; }
  .win-sidebar { width: 52px; padding: 10px 6px; }
  .win-brand .brand-lockup-wordmark { display: none; }
  .win-nav-item { font-size: 0; justify-content: center; padding: 8px 4px; }
  .win-nav-item svg { width: 16px; height: 16px; }
  .ws-val { font-size: 13px; }
  .win-qname span { display: none; }
  .win-lower { grid-template-columns: 1fr; }
  .win-chart { min-height: 72px; }
  .hero { padding: 60px 0 48px; }
  html { scroll-padding-top: 76px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .compare-scroll-hint { display: block; }
  .compare-table.compare-multi th,
  .compare-table.compare-multi td { padding: 12px 12px; font-size: 13px; }
}
