/* 12x31 website, round 6 (v5), signed off as the landing, About and Pricing designs. The frame of every site page (landing, About, Pricing, legal and explainer pages): reset, tokens, header, footer. Tokens are src/index.css :root, verbatim where they exist.
   The rest of the shared styles are in shared.css, loaded after this file by the composed pages. Motion rules: transform and opacity; every animation has a prefers-reduced-motion version; nothing needs inline script. */
*,*::before,*::after{box-sizing:border-box}
:root{
  --bg-base:#0a0b0f;--bg-surface:#12141c;--bg-elevated:#1a1d28;--bg-hover:#222636;--bg-active:#2a2f42;
  --border-default:rgba(255,255,255,.08);--border-strong:rgba(255,255,255,.12);
  --text-primary:#e8eaed;--text-secondary:#8b8f9a;--text-tertiary:#555965;--text-inverse:#0a0b0f;
  --hb-deep:#6c72ff;--accent:#6c72ff;--accent-hover:#8186ff;--accent-subtle:rgba(108,114,255,.12);--hb-pale:#a9adff;
  --teal:#2dd4bf;--amber:#f59e0b;--amber-text:#fbbf24;--danger:#ff4d4d;
  --ease:cubic-bezier(.22,.61,.36,1);--spring:cubic-bezier(.34,1.56,.64,1);
  --hh:56px;--focus:#9b99ff;--cell:#1a1d28;
  --f-display:'Outfit',system-ui,sans-serif;--f-mono:'JetBrains Mono',ui-monospace,monospace;
}
html{-webkit-text-size-adjust:100%;background:var(--bg-base)}
body{margin:0;background:var(--bg-base);color:var(--text-primary);font:400 1.0625rem/1.6 var(--f-display);overflow-x:clip}
[hidden]{display:none!important}
.sym{position:absolute}
button{font:inherit;color:inherit;cursor:pointer}
a{color:inherit}
img,svg{display:block}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:8px;top:-60px;background:var(--bg-surface);padding:10px 14px;z-index:100;border:2px solid var(--focus);border-radius:8px}
.skip:focus{top:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- header: logo, nav, Sign in. Always there. ---------- */
.site{position:fixed;top:0;left:0;right:0;z-index:60;height:var(--hh);display:flex;align-items:center;gap:16px;padding:0 20px;background:rgba(10,11,15,.9);border-bottom:1px solid var(--border-default);backdrop-filter:blur(10px)}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:44px;flex:none}
.brand .mk{width:28px;height:28px;flex:none;transition:transform .5s var(--spring)}
.brand:hover .mk{transform:rotate(-8deg) scale(1.08)}
.brand b{font:700 1rem var(--f-mono);letter-spacing:-.03em}
.brand b .x{color:var(--accent);display:inline-block;transition:transform .6s var(--spring)}
.brand:hover b .x{transform:rotate(90deg) scale(1.2)}
.site nav{display:flex;gap:2px;margin:0 auto}
.site nav a{display:flex;align-items:center;min-height:44px;padding:0 14px;text-decoration:none;font-weight:500;font-size:.9375rem;color:var(--text-secondary);position:relative}
.site nav a::after{content:"";position:absolute;left:14px;right:14px;bottom:8px;height:2px;border-radius:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease)}
.site nav a:hover,.site nav a[aria-current="page"]{color:var(--text-primary)}
.site nav a:hover::after,.site nav a[aria-current="page"]::after{transform:scaleX(1)}
.signin{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border:1px solid #656b7c;border-radius:8px;text-decoration:none;font-weight:600;font-size:.9375rem;flex:none;transition:background .2s,border-color .2s}
.signin:hover{background:rgba(255,255,255,.07);border-color:var(--hb-pale)}
@media(max-width:620px){.site{padding:0 14px;gap:8px}.site nav{display:none}.signin{margin-left:auto}}

/* ---------- footer: one quiet row, full width (Erik W2: smaller; F1: 12x31 and all rights reserved only) ---------- */
.ftr-wrap{padding:0 24px 18px;margin-top:40px}
.ftr{display:flex;align-items:center;gap:12px 28px;flex-wrap:wrap;border-top:1px solid var(--border-default);padding:14px 0 0;text-align:left}
.ftr .brand{min-height:40px}
.ftr-tag{margin:0 0 0 -14px;color:var(--text-secondary);font-size:.8125rem;white-space:nowrap}
.ftr-tag::before{content:"\00b7";margin-right:.6em;color:var(--text-tertiary)}
.ftr-nav{flex:1 1 100%;order:3}
.ftr-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 4px}
.ftr-nav a{display:inline-flex;min-height:40px;align-items:center;padding:0 10px;text-decoration:none;color:var(--text-secondary);font-size:.875rem}
.ftr-nav a:hover{color:var(--text-primary);text-decoration:underline}
.ftr-fine{margin:0;color:var(--text-secondary);font-size:.8125rem;order:2;margin-left:auto}
@media(max-width:700px){.ftr-tag{flex-basis:100%;order:2;margin:-6px 0 0;white-space:normal}.ftr-tag::before{content:none}.ftr-nav{flex-basis:100%;order:3}.ftr-fine{order:1;margin-left:auto}}

/* ---------- reduced motion (every page) ---------- */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}
