/* AccountaBee landing. Tokens mirror design/tokens/design-tokens.json (light and dark);
   gold is for fills and actions only, never for text, and never carries white text. */

@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-700.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --ground: #EDF0F4;
  --paper: #FFFFFF;
  --paper-muted: #E4E9EF;
  --ink: #1F2328;
  --ink-2: #4A4E55;
  --ink-3: #5F646C;
  --line: #DBE1E8;
  --gold: #F2B11A;
  --gold-hover: #E8A614;
  --gold-header: #FFC53B;
  --gold-soft: #FFE7A8;
  --selected: #FBF0D7;
  --focus: #3459B7;
  --phone: #1F2328;
  --shadow: 0 1px 2px rgb(31 35 40 / .08), 0 18px 40px -12px rgb(31 35 40 / .25);
  --head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #14171A;
    --paper: #1F2328;
    --paper-muted: #292E34;
    --ink: #F7F5F0;
    --ink-2: #C5C2BA;
    --ink-3: #A6ABB3;
    --line: #3D434A;
    --gold-soft: #3A3323;
    --selected: #3A3323;
    --focus: #9DB6F5;
    --phone: #0B0D0F;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 18px 40px -12px rgb(0 0 0 / .65);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--gold); color: #1F2328; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: .5rem; top: -4rem; background: var(--paper); color: var(--ink); padding: .6rem 1rem; border-radius: 999px; z-index: 20; }
.skip:focus { top: .5rem; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: 1.02; margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.1; margin-bottom: 1.25rem; }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; margin-bottom: .5rem; }

/* Header: one gold field, as in the app. */
.top { position: sticky; top: 0; z-index: 10; background: var(--gold-header); color: #1F2328; box-shadow: 0 1px 0 rgb(31 35 40 / .1); }
@media (prefers-color-scheme: dark) { .top { background: var(--gold); } }
.top :focus-visible { outline-color: #1F2328; }
.top__bar { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__bee { background: #fff; border-radius: 50%; padding: 3px; }
.wordmark { font-family: var(--body); font-weight: 400; font-size: 1.35rem; letter-spacing: -.03em; }
.wordmark b { font-weight: 700; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .9375rem; padding: .7rem .75rem; border-radius: 999px; }
.nav a:hover { background: rgb(31 35 40 / .1); }
.nav a:not(.nav__cta)[aria-current="true"] { background: rgb(31 35 40 / .14); }
.nav .nav__cta { background: #1F2328; color: #F7F5F0; }
.nav .nav__cta:hover { background: #3D434A; }
.nav .nav__cta[aria-current="true"] { box-shadow: inset 0 0 0 2px #F7F5F0, 0 0 0 2px #1F2328; }
@media (max-width: 880px) { .nav a:not(.nav__cta) { display: none; } }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold-soft) 62%, var(--ground) 100%); overflow: hidden; }
@media (prefers-color-scheme: dark) { .hero { background: linear-gradient(180deg, #2E2A1E 0%, var(--ground) 100%); } }
/* The app header's bottom wave: a soft warm swell behind the phone and a contour along the lower edge. */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 78% 38%, var(--gold-header) 0%, rgb(255 197 59 / 0) 70%); opacity: .8; }
@media (prefers-color-scheme: dark) { .hero::before { background: radial-gradient(ellipse 60% 70% at 78% 38%, rgb(242 177 26 / .2) 0%, rgb(242 177 26 / 0) 70%); opacity: 1; } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 88px); background: var(--ground); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V44C220 4 470 8 720 36S1200 72 1440 18V80Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V44C220 4 470 8 720 36S1200 72 1440 18V80Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: end; padding-top: clamp(2.5rem, 7vw, 5.5rem); }
.hero__copy { padding-bottom: clamp(3rem, 7vw, 6rem); align-self: center; }
.lead { font: 600 clamp(1.25rem, 2.4vw, 1.6rem)/1.35 var(--head); letter-spacing: -.01em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.75rem 0 1rem; }
.note { font-size: .9375rem; color: var(--ink-2); }
.hero__phone { justify-self: center; width: min(100%, 22rem); }

.btn { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.5rem; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; }
.btn--quiet { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--quiet:hover { background: var(--selected); }
.status { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.25rem; border-radius: 999px; border: 1.5px solid var(--ink-3); color: var(--ink); font: 600 .9375rem/1.2 var(--body); }

/* Phone frame: a graphite bezel with the bottom faded away, so every scene can be any height. */
.phone { margin: 0; padding: 10px 10px 0; background: var(--phone); border-radius: 38px 38px 0 0; box-shadow: var(--shadow);
  -webkit-mask: linear-gradient(180deg, #000 var(--fade, 78%), transparent 100%); mask: linear-gradient(180deg, #000 var(--fade, 78%), transparent 100%); }
.phone--short { --fade: 92%; }
.phone img { border-radius: 28px 28px 0 0; width: 100%; }
.phone--hero { animation: rise .9s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes rise { from { transform: translateY(2.5rem); opacity: 0; } to { transform: none; opacity: 1; } }

/* Feature sections: one idea each, copy beside a phone. */
.feature { padding-block: clamp(4rem, 9vw, 7.5rem); }
.feature--paper { background: var(--paper); }
.feature--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.feature--flip.feature--steps .feature__grid { grid-template-columns: minmax(13rem, 15rem) minmax(15rem, 21rem) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.feature--steps .feature__copy { order: 3; }
.ticket-wrap { --tk-shadow: drop-shadow(0 1px 1px rgb(31 35 40 / .1)) drop-shadow(0 14px 18px rgb(31 35 40 / .2));
  margin: 0; justify-self: center; width: 100%; position: relative; z-index: 2; filter: var(--tk-shadow); }
.ticket-wrap figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ticket { --tk: #FBF8F0; background: var(--tk); color: #1F2328; padding: 1.1rem 1rem 1.6rem; transform: rotate(-2deg);
  font: 400 .8125rem/1.45 ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; }
@media (prefers-color-scheme: dark) { .ticket-wrap { --tk-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .5)) drop-shadow(0 14px 18px rgb(0 0 0 / .6)); } }
.ticket__vat { display: flex; justify-content: space-between; margin-top: .45rem !important; font-size: .75rem; color: #4A4E55; }
@media (min-width: 761px) { .feature--steps .ticket-wrap { margin-right: -2.5rem; } }
.ticket p { margin: 0; max-width: none; }
.ticket__shop { text-align: center; font-weight: 700; padding-bottom: .7rem; margin-bottom: .7rem !important; border-bottom: 1px dashed #5F646C; }
.ticket dl { margin: 0; display: grid; gap: .25rem; }
.ticket dl div { display: flex; justify-content: space-between; gap: .75rem; }
.ticket dt { overflow-wrap: anywhere; }
.ticket dd { margin: 0; }
.ticket__total { display: flex; justify-content: space-between; margin-top: .7rem !important; padding-top: .6rem; border-top: 1px dashed #5F646C; font-weight: 700; }
.feature__grid { display: grid; grid-template-columns: 1fr minmax(15rem, 21rem); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.feature--flip .feature__grid { grid-template-columns: minmax(15rem, 21rem) 1fr; }
.feature--flip .feature__copy { order: 2; }
.feature__copy p { color: var(--ink-2); }
.feature__copy h2 + p { font-size: 1.1875rem; color: var(--ink); }

/* Bands: short statements, no phone. */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band--offline { background: var(--ink); color: var(--ground); }
.band--offline p { color: inherit; }
.band--avail { background: var(--paper-muted); }
.band__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: start; }
.band__grid h2 { margin: 0; }
.band__grid p:last-child { margin-bottom: 0; }

/* Privacy: plain, two columns, the owner's decision said straight. */
.feature--privacy { background: var(--paper); }
.privacy__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.privacy__cols p { color: var(--ink-2); margin: 0; }
.privacy__note { margin: 2rem 0 0; font-size: .9375rem; color: var(--ink-3); }

/* Pricing */
.pricing { padding-block: clamp(4rem, 9vw, 7.5rem); background: var(--gold-soft); }
.pricing__lead { font-size: 1.1875rem; max-width: 56ch; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; align-items: stretch; }
.plan { background: var(--paper); border-radius: 20px; padding: 1.5rem 1.4rem 1.75rem; display: flex; flex-direction: column; border: 1px solid var(--line); }
.plan--featured { border: 2px solid var(--gold); }
.price { margin: .25rem 0 0; min-height: 3.2rem; display: flex; align-items: baseline; gap: .3rem; }
.amount { font: 700 2.25rem/1.15 var(--head); letter-spacing: -.02em; }
.per { color: var(--ink-3); font-weight: 600; }
.alt { margin: 0 0 .75rem; color: var(--ink-2); font-size: .9375rem; min-height: 3em; }
.plan ul { list-style: none; margin: 1.1rem 0 0; padding: 1.1rem 0 0; border-top: 1px dashed var(--line); display: grid; gap: .55rem; font-size: .975rem; color: var(--ink-2); }
.plan li { padding-left: 1.25rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 2px; background: var(--gold); }
.pricing__fine { margin: 1.75rem 0 0; font-size: .9375rem; color: var(--ink-2); }

/* Footer */
.foot { background: var(--ink); color: var(--ground); padding-block: 3rem; }
.foot__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; }
.brand--foot .wordmark { font-size: 1.6rem; }
.foot__claim { font: 700 1.5rem/1.2 var(--head); margin: 1rem 0 0; }
.foot__links { display: flex; flex-direction: column; gap: .5rem; }
.foot__links a { font-weight: 600; }
.foot a:focus-visible { outline-color: var(--gold); }
@media (prefers-color-scheme: dark) { .band--offline, .foot { background: #0B0D0F; color: var(--ink); } }

@media (max-width: 960px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero__grid, .feature__grid, .feature--flip .feature__grid, .feature--flip.feature--steps .feature__grid, .band__grid, .privacy__cols { grid-template-columns: 1fr; }
  .feature--steps .feature__copy { order: -1; }
  .ticket-wrap { max-width: 16rem; }
  .feature--flip .feature__copy { order: 0; }
  .hero__phone, .phone { width: min(100%, 20rem); margin-inline: auto; }
  .hero__copy { padding-bottom: 1rem; }
  .plans { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone--hero { animation: none; }
}
@media print { .top, .skip { display: none; } }
