/* billentyu.hu landing (design "Billentyu Landing v4", Memphis yellow, retro frames). Static, no build step. */
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-display: swap; font-weight: 400 700; src: url('../font/familjen-grotesk-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-display: swap; font-weight: 400 700; src: url('../font/familjen-grotesk-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
    --page: oklch(0.982 0.003 95);
    --alt: oklch(0.955 0.004 90);
    --ink: oklch(0.2 0.01 80);
    --ink2: oklch(0.36 0.008 90);
    --mute: oklch(0.47 0.008 90);
    --line: oklch(0.88 0.005 90);
    --band: oklch(0.89 0.15 95);
    --band-ink: oklch(0.2 0.01 80);
    --band-skirt: oklch(0.68 0.14 85);
    --tile: oklch(0.935 0.004 260);
    --night: oklch(0.255 0.008 260);
    --night-skirt: oklch(0.15 0.008 260);
    --night-ink: oklch(0.97 0.01 120);
    --night-sub: oklch(0.80 0.006 260);
    --night-line: oklch(0.36 0.008 260);
    --light-key: oklch(0.995 0.002 100);
    --light-skirt: oklch(0.80 0.006 90);
    --ok: oklch(0.45 0.11 150);
    --warn: oklch(0.5 0.11 70);
    --rule: color-mix(in oklch, currentColor 28%, transparent);
    --frame: 2px solid var(--ink);
    --drop: 6px 6px 0 var(--ink);
    --card: #fff;
    --band-sub: oklch(0.32 0.04 80);
    --neutral-skirt: oklch(0.80 0.006 90);
    --r: 10px;
    --r-lg: 14px;
    --r-screen: 12px;
    --gutter: 96px;
    color-scheme: light;
}
/* Dark: data-theme on <html>, set before first paint by the inline script (stored choice, else the system's). */
:root[data-theme=dark] {
    color-scheme: dark;
    --page: oklch(0.19 0.006 80);
    --alt: oklch(0.225 0.006 80);
    --ink: oklch(0.94 0.004 90);
    --ink2: oklch(0.80 0.006 90);
    --mute: oklch(0.68 0.006 90);
    --line: oklch(0.32 0.006 80);
    --band: oklch(0.84 0.15 92);
    --band-skirt: oklch(0.58 0.12 85);
    --tile: oklch(0.26 0.007 260);
    --card: oklch(0.24 0.006 80);
    --night: oklch(0.14 0.006 260);
    --night-skirt: oklch(0.08 0.005 260);
    --night-line: oklch(0.30 0.008 260);
    --light-key: oklch(0.30 0.008 260);
    --light-skirt: oklch(0.12 0.006 260);
    --ok: oklch(0.78 0.13 150);
    --warn: oklch(0.83 0.12 82);
    /* Frames turn light and the hard shadow yellow: a dark shadow vanishes on a dark page. */
    --frame: 2px solid oklch(0.94 0.004 90);
    --drop: 6px 6px 0 var(--band);
}
/* Colour: teal (Win95) instead of yellow (Memphis). */
:root[data-accent=teal] {
    --band: oklch(0.50 0.09 192);
    --band-ink: oklch(0.98 0.005 190);
    --band-sub: oklch(0.92 0.03 190);
    --band-skirt: oklch(0.36 0.07 192);
}
:root[data-accent=teal][data-theme=dark] { --band: oklch(0.54 0.09 192); --band-skirt: oklch(0.34 0.07 192); }
/* Retro off: no frames, no hard shadows, rounder corners. After the dark block, so it wins there too. */
:root[data-retro=off] { --frame: 1px solid transparent; --drop: none; --r: 20px; --r-lg: 28px; --r-screen: 22px; }
:root[data-theme=dark] .key:not(.key-light):not(.key-yellow) { --face: oklch(0.94 0.004 90); --skirt: oklch(0.62 0.006 90); --kink: oklch(0.2 0.01 80); }
:root[data-theme=dark] .hero .key:not(.key-light):not(.key-yellow) { --face: oklch(0.255 0.008 260); --skirt: oklch(0.12 0.006 260); --kink: oklch(0.97 0.01 120); }
:root[data-theme=dark] .hero .key-light { --face: oklch(0.995 0.002 100); --skirt: var(--neutral-skirt); --kink: oklch(0.2 0.01 80); }
:root[data-theme=dark] .plan .bigkey:not(.enter) { --face: var(--light-key); --skirt: var(--light-skirt); --kink: var(--ink); }
:root[data-theme=dark] .plan.hot { background: oklch(0.30 0.008 260); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page); }
body {
    margin: 0; background: var(--page); color: var(--ink); font-family: 'Familjen Grotesk', system-ui, sans-serif;
    font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 72px; line-height: .98; font-weight: 700; letter-spacing: -0.045em; text-wrap: balance; }
h2 { font-size: 52px; line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.lead { font-size: 19px; color: var(--ink2); max-width: 500px; text-wrap: pretty; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--page); padding: 8px 12px; border: var(--frame); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Keys */
.key {
    --face: var(--night); --skirt: var(--night-skirt); --kink: var(--night-ink);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
    background: var(--face); color: var(--kink); font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; padding: 11px 18px; border-radius: 10px;
    box-shadow: 0 0 0 1px var(--skirt), 0 4px 0 1px var(--skirt); margin-bottom: 4px; text-decoration: none; white-space: nowrap;
    transition: transform 70ms ease, box-shadow 70ms ease;
}
.key:hover { filter: brightness(1.05); }
.key:active, .key.down { transform: translateY(3px); box-shadow: 0 0 0 1px var(--skirt), 0 1px 0 1px var(--skirt); }
.key-light { --face: var(--light-key); --skirt: var(--light-skirt); --kink: var(--ink); }
.key-yellow { --face: var(--band); --skirt: var(--band-skirt); --kink: var(--band-ink); }
.key-lg { font-size: 17px; padding: 16px 26px; border-radius: 13px; box-shadow: 0 0 0 1px var(--skirt), 0 5px 0 1px var(--skirt); margin-bottom: 5px; }
.key-lg:active { box-shadow: 0 0 0 1px var(--skirt), 0 1px 0 1px var(--skirt); transform: translateY(4px); }
.keycap {
    --face: var(--night); --skirt: var(--night-skirt); --kink: var(--night-ink);
    width: 46px; height: 46px; flex: none; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--face); color: var(--kink); font-weight: 700; font-size: 17px;
    box-shadow: 0 0 0 1px var(--skirt), 0 4px 0 1px var(--skirt); margin-bottom: 4px;
}
.keycap-light { --face: var(--light-key); --skirt: var(--light-skirt); --kink: var(--ink); }
.retro { border: var(--frame); box-shadow: var(--drop); border-radius: var(--r); }

/* ---------- Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-key {
    width: 35px; height: 35px; border-radius: 8px; background: var(--night); display: inline-flex; align-items: center;
    justify-content: center; gap: 4px; box-shadow: 0 0 0 2px var(--night-skirt), 0 3px 0 2px var(--night-skirt); margin-bottom: 3px;
}
.logo-key i { width: 4px; height: 13px; border-radius: 2px; background: var(--night-ink); transform: skewX(-24deg); }
.logo-name { font-size: 25px; line-height: 1; letter-spacing: -0.035em; }
.logo-name b { font-weight: 700; }
.logo-sm .logo-key { width: 21px; height: 21px; border-radius: 5px; gap: 2px; box-shadow: 0 0 0 1px var(--night-skirt), 0 2px 0 1px var(--night-skirt); margin: 0; }
.logo-sm .logo-key i { width: 2px; height: 8px; }
.logo-sm .logo-name { font-size: 15px; }

/* ---------- Hero */
.hero { background: var(--band); color: var(--band-ink); overflow: hidden; }
.topbar { display: flex; align-items: center; gap: 40px; padding: 24px 0; }
.topbar nav { display: flex; gap: 30px; font-size: 16px; font-weight: 600; flex: 1; margin-left: 28px; }
.topbar nav a { text-decoration: none; }
.topbar nav a:hover { text-decoration: underline; }
.topbar .right { display: flex; gap: 22px; align-items: center; font-size: 16px; font-weight: 600; }
.lang a { text-decoration: none; opacity: .7; }
.lang strong { font-weight: 700; }
.theme {
    width: 38px; height: 38px; border: 0; border-radius: 10px; cursor: pointer; font-size: 17px; line-height: 1;
    background: var(--light-key); color: var(--ink); box-shadow: 0 0 0 1px var(--light-skirt), 0 3px 0 1px var(--light-skirt); margin-bottom: 3px;
}
.theme:active { transform: translateY(2px); box-shadow: 0 0 0 1px var(--light-skirt), 0 1px 0 1px var(--light-skirt); }
.hero .theme { background: oklch(0.995 0.002 100); color: oklch(0.2 0.01 80); box-shadow: 0 0 0 1px var(--neutral-skirt), 0 3px 0 1px var(--neutral-skirt); }
.tools { display: flex; gap: 8px; align-items: center; }
.theme span { display: inline-flex; align-items: center; justify-content: center; }
.theme svg { display: block; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--band); box-shadow: 0 0 0 2px oklch(0.2 0.01 80); vertical-align: middle; }
.menu-btn { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0 120px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-copy .sub { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.hero-copy .lead { color: var(--band-sub); }
.cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.stage { position: relative; height: 440px; }
.screen { position: absolute; left: 40px; top: 0; width: 820px; background: var(--night-skirt); padding: 12px; border-radius: var(--r-screen); }
.screen-inner { border-radius: 8px; background: var(--page); overflow: hidden; font-size: 13px; color: var(--ink); }
.screen-bar { display: flex; align-items: center; gap: 20px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.screen-bar .on { font-weight: 700; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.screen-bar span { color: var(--ink2); }
.screen-bar .on, .screen-bar .logo-name { color: var(--ink); }
.tag { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--mute); border: 1px solid var(--line); padding: 2px 6px; border-radius: 4px; }
.screen-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.screen-head { display: flex; justify-content: space-between; align-items: flex-end; }
.screen-head b { font-size: 24px; letter-spacing: -0.03em; }
.row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 90px 150px; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.row b:nth-child(3) { text-align: right; }
.row span { color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .ok { color: var(--ok); font-weight: 700; }
.row .warn { color: var(--warn); font-weight: 700; }
.row.new { background: var(--band); margin: 0 -6px; padding: 9px 6px; border-radius: 6px; }
.row.new, .row.new span { color: var(--band-ink); }
.issue-card {
    position: absolute; left: -40px; bottom: -110px; width: 330px; background: var(--card); padding: 22px; display: flex;
    flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink);
}
.issue-card .head { display: flex; justify-content: space-between; align-items: baseline; }
.issue-card .head b { font-size: 18px; }
.issue-card .tag { margin: 0; border-color: currentColor; color: var(--ink2); }
.issue-card .who { display: flex; flex-direction: column; gap: 1px; }
.issue-card .who small { font-size: 12px; color: var(--mute); font-weight: 700; }
.issue-card .total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
.issue-card .total b { font-size: 22px; letter-spacing: -0.02em; }
.issue-card .go { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; }
.issue-card .status { display: flex; flex-direction: column; gap: 3px; }
.issue-card .status .ok { color: var(--ok); font-weight: 700; }
.enter-key {
    width: 120px; height: 58px; flex: none; display: flex; flex-direction: column; justify-content: space-between; padding: 9px 12px;
    border: 0; border-radius: 12px; background: var(--band); color: var(--band-ink); font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1; text-align: left; cursor: pointer;
    box-shadow: 0 0 0 1px var(--band-skirt), 0 6px 0 1px var(--band-skirt); margin-bottom: 6px; transition: transform 80ms ease, box-shadow 80ms ease;
}
.enter-key span:last-child { align-self: flex-end; font-size: 20px; }
.enter-key.down, .enter-key:active { transform: translateY(5px); box-shadow: 0 0 0 1px var(--band-skirt), 0 1px 0 1px var(--band-skirt); }

/* ---------- Sections */
section { scroll-margin-top: 24px; }
.steps-sec { padding: 150px 0 110px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.split > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.steps { background: var(--tile); padding: 12px 32px; list-style: none; margin: 0; }
.steps li { display: flex; gap: 20px; align-items: center; padding: 20px 0; }
.steps li + li { border-top: 1.5px solid var(--rule); }
.steps .keycap { width: 52px; height: 52px; font-size: 19px; border-radius: 12px; }
.steps b { display: block; font-size: 21px; }
.steps span { font-size: 16px; line-height: 1.45; }

.features { background: var(--alt); padding: 110px 0; }
.features .wrap { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 72px; align-items: start; }
.features .intro { position: sticky; top: 40px; display: flex; flex-direction: column; gap: 18px; }
.features h2 { font-size: 46px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 48px; }
.tile { background: var(--page); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.tile.dim { background: var(--tile); }
.tiles .tile:nth-child(even) { transform: translateY(48px); }
.tile b { font-size: 20px; letter-spacing: -0.01em; }
.tile span { font-size: 16px; color: var(--ink2); text-wrap: pretty; }
.tile.dim span { color: var(--ink); }

.auto { background: var(--night); color: var(--night-ink); padding: 110px 0; }
.auto .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.auto .intro { display: flex; flex-direction: column; gap: 18px; }
.auto .lead { color: var(--night-sub); }
.flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 36px 0 0; max-width: 560px; padding: 0; list-style: none; }
.flow::before { content: ''; position: absolute; left: 14px; right: 12%; top: 13px; height: 2px; background: oklch(0.42 0.008 260); }
.flow li { position: relative; display: flex; flex-direction: column; gap: 6px; }
.flow i { width: 28px; height: 28px; border-radius: 14px; background: var(--band); color: var(--band-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; line-height: 1; }
.flow b { font-size: 18px; }
.flow span { font-size: 14px; color: var(--night-sub); }
.auto dl { margin: 0; }
.auto dl div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--night-line); }
.auto dt { font-size: 19px; font-weight: 700; }
.auto dd { margin: 0; font-size: 16px; color: var(--night-sub); text-wrap: pretty; }

.api { padding: 120px 0; }
.api .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 80px; align-items: center; }
.api .intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.code { background: var(--night); color: oklch(0.95 0.004 90); padding: 28px; font: 14px/1.7 ui-monospace, Menlo, Consolas, monospace; overflow-x: auto; margin: 0; }
.code .m { color: oklch(0.78 0.08 85); }
.code .c { color: oklch(0.72 0.006 260); }
.code .s { color: oklch(0.78 0.12 150); }

.duo { padding: 0 0 130px; }
.duo .wrap { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; }
.switch { background: var(--tile); padding: 56px 72px 56px 56px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; border-radius: var(--r-lg); }
.switch h2 { font-size: 44px; }
.switch p { font-size: 19px; max-width: 440px; }
.security { background: var(--night); color: var(--night-ink); padding: 48px; margin: 120px 0 0 -48px; display: flex; flex-direction: column; gap: 14px; border-radius: var(--r-lg); position: relative; }
.security h2 { font-size: 40px; }
.security p { font-size: 18px; color: var(--night-sub); }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; line-height: 1.4; }
.checks li::before { content: '✓'; color: var(--ok); font-weight: 700; }
.security .checks li::before, .plan.hot .checks li::before { color: var(--band); }

.pricing { background: var(--alt); padding: 110px 0 120px; }
.pricing .wrap { display: flex; flex-direction: column; gap: 48px; }
.pricing .intro { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.pricing h2 { font-size: 56px; }
.billing { display: flex; gap: 10px; }
.billing .key[aria-pressed=true] { transform: translateY(3px); box-shadow: 0 0 0 1px var(--skirt), 0 1px 0 1px var(--skirt); --face: var(--night); --kink: var(--night-ink); --skirt: var(--night-skirt); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--page); }
.plan.hot { background: var(--night); color: var(--night-ink); transform: translateY(-16px); }
.plan .cap { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.plan .bigkey {
    --face: var(--light-key); --skirt: var(--light-skirt); --kink: var(--ink);
    width: 124px; height: 52px; border-radius: 10px; background: var(--face); color: var(--kink); display: flex; align-items: flex-end;
    justify-content: space-between; padding: 0 11px 7px; font-size: 15px; font-weight: 700; position: relative;
    box-shadow: 0 0 0 1px var(--skirt), 0 5px 0 1px var(--skirt); margin-bottom: 5px;
}
.plan .bigkey.space { width: 168px; }
.plan .bigkey.enter { --face: var(--band); --skirt: var(--band-skirt); --kink: var(--band-ink); width: 110px; }
.plan .bigkey em { font-style: normal; font-size: 18px; }
.plan .bigkey .led { width: 6px; height: 6px; border-radius: 2px; background: var(--ok); position: absolute; top: 8px; right: 9px; }
.badge { background: var(--band); color: var(--band-ink); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.plan .name b { display: block; font-size: 26px; letter-spacing: -0.02em; }
.plan .name span, .plan .price small { color: var(--ink2); }
.plan.hot .name span, .plan.hot .price small, .plan.hot .price span { color: var(--night-sub); }
.plan .price { display: flex; flex-direction: column; gap: 2px; min-height: 70px; }
.plan .price b { font-size: 44px; letter-spacing: -0.035em; line-height: 1; }
.plan .price b.word { font-size: 34px; line-height: 1.1; }
.plan .price span { color: var(--ink2); margin-left: 6px; }
.plan .price small { font-size: 14px; }
.plan .checks { flex: 1; font-size: 15px; }
.plan > .key { align-self: stretch; }
.pricing .note { display: flex; justify-content: center; gap: 24px; font-size: 15px; color: var(--ink2); flex-wrap: wrap; text-align: center; }
.pricing .note a { color: var(--ink); font-weight: 700; }

.accountants { padding: 130px 0; }
.accountants .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 80px; align-items: center; }
.accountants .intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.clients { background: var(--card); padding: 22px; display: flex; flex-direction: column; font-size: 15px; }
.clients .head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; }
.clients .head b { font-size: 18px; }
.clients .head small { color: var(--mute); font-weight: 700; font-size: 12px; }
.clients div + div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.clients span { color: var(--ink2); }

.faq { background: var(--band); color: var(--band-ink); padding: 110px 0; }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 80px; align-items: start; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1.5px solid var(--rule); }
.faq details:last-child { border-bottom: 1.5px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; width: 24px; text-align: center; flex: none; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 20px; font-size: 16px; max-width: 680px; text-wrap: pretty; }
.final { background: var(--card); color: var(--ink); padding: 36px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.final h2 { font-size: 36px; }
.final p { color: var(--ink2); }
.final .key { align-self: stretch; }

footer { background: var(--night); color: var(--night-ink); padding: 64px 0; font-size: 15px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; align-items: start; }
footer .who { display: flex; flex-direction: column; gap: 16px; }
footer .who p { color: var(--night-sub); line-height: 1.6; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
footer a { text-decoration: none; color: var(--night-sub); }
footer a:hover { color: var(--night-ink); text-decoration: underline; }
footer .logo-key { background: var(--band); box-shadow: 0 0 0 2px var(--band-skirt), 0 3px 0 2px var(--band-skirt); }
footer .logo-key i { background: var(--band-ink); }
.ph { background: oklch(0.36 0.008 260); color: var(--night-ink); border-radius: 4px; padding: 0 5px; }

/* ---------- Narrow screens */
@media (max-width: 1240px) {
    :root { --gutter: 48px; }
    h1 { font-size: 60px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 150px; }
    .stage { height: 420px; margin-left: 40px; }
    .features .wrap, .auto .wrap, .api .wrap, .accountants .wrap, .faq .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .features .intro { position: static; }
    .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .plan.hot { transform: none; }
    footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    :root { --gutter: 20px; --drop: 4px 4px 0 var(--ink); }
    body { font-size: 16px; }
    h1 { font-size: 42px; }
    h2, .features h2, .pricing h2 { font-size: 30px; }
    .switch h2, .security h2, .final h2 { font-size: 28px; }
    .lead { font-size: 16px; }
    .topbar { gap: 12px; padding: 16px 0; }
    .topbar nav, .topbar .right .lang, .topbar .right .key { display: none; }
    .topbar .right { margin-left: auto; gap: 10px; font-size: 15px; }
    .topbar { gap: 10px; }
    .topbar .logo { gap: 8px; }
    .topbar .logo-name { font-size: 20px; }
    .topbar .logo-key { width: 30px; height: 30px; }
    .tools { gap: 6px; }
    .theme { width: 32px; height: 32px; }
    .hero-grid { padding: 24px 0 40px; gap: 32px; }
    .hero-copy .sub { font-size: 19px; }
    .cta .key { flex: 1; }
    .stage { height: auto; margin: 0; }
    .screen { display: none; }
    .issue-card { position: static; width: auto; }
    .steps-sec { padding: 56px 0; }
    .split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .steps { padding: 6px 20px; }
    .steps .keycap { width: 40px; height: 40px; font-size: 14px; }
    .steps b { font-size: 17px; }
    .steps span { font-size: 14px; }
    .features, .auto, .pricing, .faq { padding: 48px 0; }
    .api, .accountants { padding: 56px 0; }
    .tiles { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 14px; }
    .tiles .tile:nth-child(even) { transform: none; }
    .flow { margin-top: 12px; }
    .flow b { font-size: 15px; }
    .flow span { display: none; }
    .auto dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }
    .duo { padding-bottom: 56px; }
    .duo .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .switch, .security { padding: 28px; margin: 0; }
    .plans { grid-template-columns: minmax(0, 1fr); }
    .code { font-size: 12px; padding: 20px; }
    .faq summary { font-size: 17px; }
    footer .wrap { grid-template-columns: minmax(0, 1fr); }
}
