/* Colours (light and dark themes), page layout and buttons. Used everywhere. */
/* Layout: phone-first app column (max 480px) for the product; landing widens to two columns on desktop. */
:root{
  --bg:#F2F5F7; --surface:#FFFFFF; --ink:#13213B; --muted:#596579; --line:#DCE2EA;
  --accent:#1D6B58; --accent-ink:#FFFFFF; --accent-soft:#E1F0EA;
  --gold:#B87B0E; --gold-soft:#FBF0D8; --bad:#B0433A; --bad-soft:#F8E4E1;
  --display:"Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body:"Figtree", "Segoe UI", system-ui, sans-serif;
  --r:14px;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#0D1420; --surface:#162032; --ink:#E7ECF4; --muted:#9BA7B9; --line:#29364A;
  --accent:#52C2A2; --accent-ink:#052219; --accent-soft:#143229;
  --gold:#E8B54F; --gold-soft:#372B12; --bad:#F0897D; --bad-soft:#3A1C19; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0D1420; --surface:#162032; --ink:#E7ECF4; --muted:#9BA7B9; --line:#29364A;
  --accent:#52C2A2; --accent-ink:#052219; --accent-soft:#143229;
  --gold:#E8B54F; --gold-soft:#372B12; --bad:#F0897D; --bad-soft:#3A1C19; color-scheme:dark}
html,body{height:100%}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
button{font:inherit;color:inherit;cursor:pointer}
button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
h1,h2,h3{font-family:var(--display);line-height:1.15;margin:0;text-wrap:balance}
p{margin:0}
a{color:var(--accent)}
.num{font-variant-numeric:tabular-nums}
#app{min-height:100%}
.col{max-width:480px;margin:0 auto;padding-inline:16px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:14px 20px;font-weight:700;font-size:16px;background:var(--accent);color:var(--accent-ink);width:100%;min-height:52px;box-shadow:0 3px 0 color-mix(in srgb,var(--accent) 60%,#000)}
.btn:active{transform:translateY(2px);box-shadow:0 1px 0 color-mix(in srgb,var(--accent) 60%,#000)}
.btn[disabled]{background:var(--line);color:var(--muted);box-shadow:none;cursor:default}
.btn.ghost{background:transparent;color:var(--accent);box-shadow:none;border:2px solid var(--line)}
.link{background:none;border:0;color:var(--muted);text-decoration:underline;padding:8px}
