/* the expense app: website styles. Brand: forest, mint, amber (VAT only), paper, ink. Inter. */
:root {
  --forest: #0E3B2E;
  --forest-soft: #1A4D3E;
  --mint: #46E3A0;
  --mint-soft: #E3F9EE;
  --mint-ink: #1F8A5B;
  --amber: #FFC531;      /* VAT only */
  --amber-soft: #FFF4D1; /* VAT only */
  --paper: #F1F3F2;
  --ink: #16191A;
  --muted: #5D6664;
  --line: #E1E5E3;
  --white: #FFFFFF;
  --radius: 22px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* Wordmark */
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -0.04em; text-decoration: none; white-space: nowrap; }
.wordmark .dot { color: var(--mint); }

/* Header */
.header { position: sticky; top: 0; z-index: 5; background: rgba(14, 59, 46, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.nav a:hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px;
  border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.12s ease;
}
.btn:active { transform: scale(0.98); }
.btn-mint { background: var(--mint); color: var(--forest); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-outline { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn-small { height: 42px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero { background: var(--forest); color: var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--mint); background: rgba(70, 227, 160, 0.12); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; margin-top: 18px; }
.hero h1 .accent { color: var(--mint); }
.hero .lead { font-size: 19px; color: rgba(255, 255, 255, 0.78); margin-top: 20px; max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: var(--white);
}
.store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.6); line-height: 1.2; }
.store b { display: block; font-size: 16px; line-height: 1.2; }
.hero .fine { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }

/* Phone mock-up */
.phone {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 610; margin: 0 auto; border-radius: 46px;
  background: #050807; padding: 12px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #1a1a1a; }
.screen > img { width: 100%; height: 100%; object-fit: cover; }
.sweep { position: absolute; left: 6%; right: 6%; height: 3px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 16px var(--mint); animation: sweep 2.8s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { top: 14%; } 50% { top: 78%; } }
.chips { position: absolute; left: 12px; right: 12px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, 0.95); color: var(--forest); opacity: 0; transform: translateY(6px); animation: pop 0.4s ease forwards;
}
.chip i { font-style: normal; color: var(--muted); font-weight: 600; }
.chip.vat { background: var(--amber); color: var(--ink); }
.chip.vat i { color: rgba(22, 25, 26, 0.65); }
.chip:nth-child(1) { animation-delay: 0.6s; }
.chip:nth-child(2) { animation-delay: 1.1s; }
.chip:nth-child(3) { animation-delay: 1.6s; }
.chip:nth-child(4) { animation-delay: 2.1s; }
.chip:nth-child(5) { animation-delay: 2.6s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: #050807; border-radius: 20px; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .sweep { animation: none; top: 50%; }
  .chip { animation: none; opacity: 1; transform: none; }
}

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 12px rgba(14, 59, 46, 0.06); }
.step .num { width: 44px; height: 44px; border-radius: 14px; background: var(--mint); color: var(--forest); font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.step h3 { font-size: 21px; margin-top: 18px; }
.step p { margin-top: 8px; color: var(--muted); }

/* Features */
.features { background: var(--white); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border-radius: var(--radius); padding: 26px; background: var(--paper); }
.feature .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--forest); display: grid; place-items: center; }
.feature .icon svg { width: 24px; height: 24px; stroke: var(--mint); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature.vat { background: var(--amber-soft); }
.feature.vat .icon { background: var(--amber); }
.feature.vat .icon svg { stroke: var(--ink); }
.feature h3 { font-size: 19px; margin-top: 16px; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* Accountant band */
.band { background: var(--forest); color: var(--white); }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.band h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.band p { margin-top: 14px; color: rgba(255, 255, 255, 0.78); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E3B2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.report { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); }
.report-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--forest); }
.report-top .wordmark { font-size: 17px; }
.report-top span { font-size: 13px; color: var(--muted); }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.total { border-radius: 14px; padding: 12px; background: var(--paper); }
.total.vat { background: var(--amber-soft); }
.total small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.total b { font-size: 20px; letter-spacing: -0.02em; }
.rows { width: 100%; border-collapse: collapse; font-size: 14px; }
.rows th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 6px 0; }
.rows td { padding: 9px 0; border-top: 1px solid var(--line); }
.rows .num { text-align: right; font-variant-numeric: tabular-nums; }

/* Pricing */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--line); margin: 0 auto 36px; }
.toggle button { font: inherit; font-weight: 700; font-size: 15px; border: 0; background: transparent; color: var(--muted); height: 44px; padding: 0 22px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.toggle button[aria-pressed='true'] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(14, 59, 46, 0.1); }
.toggle .save { font-size: 11px; color: var(--mint-ink); background: var(--mint-soft); padding: 2px 8px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { position: relative; background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: inset 0 0 0 1.5px var(--line); display: flex; flex-direction: column; gap: 18px; }
.plan.best { box-shadow: inset 0 0 0 2px var(--mint), 0 12px 30px rgba(14, 59, 46, 0.1); }
.plan .tag { position: absolute; top: -12px; left: 28px; background: var(--mint); color: var(--forest); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan .blurb { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; }
.price span { color: var(--muted); font-size: 15px; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--mint-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan li.soon { color: var(--muted); }
.plan li.soon::before { background-color: #A9B2AF; }
.plan li .soon-tag { font-size: 11px; font-weight: 700; background: var(--paper); border-radius: 999px; padding: 1px 8px; margin-left: 4px; white-space: nowrap; }
.plan .btn { width: 100%; margin-top: auto; }
.price-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 28px; }

/* FAQ */
.faq { background: var(--white); }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--paper); border-radius: 18px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-weight: 700; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 26px; font-weight: 400; color: var(--forest); flex: none; }
details[open] summary::after { content: '–'; }
details p { padding-bottom: 20px; color: var(--muted); }
details p + p { margin-top: -8px; }

/* CTA + footer */
.cta { text-align: center; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.cta p { color: var(--muted); margin-top: 12px; font-size: 18px; }
.cta .stores { justify-content: center; }
.cta .store { background: var(--forest); box-shadow: none; }
.footer { background: var(--forest); color: rgba(255, 255, 255, 0.72); padding: 48px 0 40px; font-size: 15px; }
.footer .wrap { display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer .wordmark { color: var(--white); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a { text-decoration: none; font-weight: 600; color: var(--white); }
.footer nav a:hover { color: var(--mint); }
.footer small { font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.6; }

/* Simple pages (privacy, support) */
.page-hero { background: var(--forest); color: var(--white); padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.page-hero p { margin-top: 10px; color: rgba(255, 255, 255, 0.72); }
.doc { padding: 48px 0 88px; }
.doc .wrap { max-width: 780px; display: grid; gap: 16px; }
.card { background: var(--white); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 4px 12px rgba(14, 59, 46, 0.06); }
.card h2 { font-size: 21px; margin-bottom: 10px; }
.card p + p, .card ul + p, .card p + ul { margin-top: 12px; }
.card ul { padding-left: 20px; margin: 0; display: grid; gap: 8px; }
.card li::marker { color: var(--mint-ink); }
.card a { color: var(--mint-ink); font-weight: 600; }
.gap { background: rgba(70, 227, 160, 0.15); outline: 1.5px dashed var(--mint-ink); outline-offset: -1px; border-radius: 4px; padding: 0 4px; } /* details still to fill in */
.footer .gap { outline-color: var(--mint); color: var(--white); }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .hero .wrap, .band .wrap { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; gap: 48px; }
  .steps, .grid, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 460px; margin: 0 auto; }
  .plan.best { order: -1; margin-top: 12px; }
  section { padding: 64px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .header .btn { margin-left: auto; }
  .phone { width: 260px; }
  .store { flex: 1 1 100%; justify-content: center; }
  .totals { grid-template-columns: 1fr 1fr; }
  .totals .total:first-child { grid-column: 1 / -1; }
  .card { padding: 22px 20px; }
}
