@font-face { font-family: "Geist"; src: url("fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #0A0D12;
  --bg-2: #0D1117;
  --surface: #0F141B;
  --line: #222A35;
  --line-2: #2A3341;
  --line-soft: #1C232D;
  --grid: #16291F;
  --text: #E6EAF0;
  --text-2: #C9D1DC;
  --muted: #C3CBD6;
  --muted-2: #A9B2BF;
  --copper: #D9894A;
  --copper-hover: #E59A5E;
  --copper-text: #D9894A;
  --green: #4FA374;
  --green-text: #4FA374;
  --ink: #0A0D12;
  --on-accent: #0A0D12;
  --glow: rgba(217,137,74,.14);
  --hover-text: #fff;
  --lang-sep: #4A5566;
  --ghost-border: #364152;
  --code-comment: #8B95A7;
  --shadow: rgba(0,0,0,.8);
  --code-key: #7AA2F7;
  --code-str: #9ECE6A;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  /* elevation: three planes instead of a border on everything */
  --plane-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 1px 2px rgba(0,0,0,.45);
  --plane-2: 0 1px 0 rgba(255,255,255,.06) inset, 0 16px 40px -16px rgba(0,0,0,.7);
  --plane-3: 0 1px 0 rgba(255,255,255,.07) inset, 0 48px 120px -32px rgba(0,0,0,.85);
  /* colour fields: the grid colour as "paper", copper once per page */
  --field: #16291F;
  --field-line: #22402F;
  --on-field-muted: #B9C7BE;
  --t-hero: clamp(46px, 6.6vw, 100px);
  --t-h2: clamp(34px, 4.4vw, 60px);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

/* Light mode: follows the system setting unless the visitor picked a theme (data-theme on <html>, set by theme.js).
   Brand on white: copper #C8742F for fills, #9A5520 for text, green #24704A. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #FFFFFF;
    --bg-2: #F6F7F9;
    --surface: #F1F3F6;
    --line: #E2E6EC;
    --line-2: #D5DBE3;
    --line-soft: #ECEFF3;
    --grid: #F3E3D4;
    --text: #0A0D12;
    --text-2: #1F2733;
    --muted: #2E3746;
    --muted-2: #475161;
    --copper: #C8742F;
    --copper-hover: #B5662A;
    --copper-text: #9A5520;
    --green: #24704A;
    --green-text: #24704A;
    --hover-text: #000;
    --lang-sep: #98A2B3;
    --ghost-border: #C3CBD6;
    --shadow: rgba(10,13,18,.18);
    --code-key: #2A56C6;
    --code-str: #2F6B17;
    --code-comment: #5F6978;
    --plane-1: 0 0 0 1px rgba(10,13,18,.06), 0 1px 2px rgba(10,13,18,.06);
    --plane-2: 0 0 0 1px rgba(10,13,18,.07), 0 16px 40px -18px rgba(10,13,18,.22);
    --plane-3: 0 0 0 1px rgba(10,13,18,.08), 0 40px 100px -36px rgba(10,13,18,.3);
    --field: #F3E3D4;
    --field-line: #E6CDB6;
    --on-field-muted: #3D4757;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F6F7F9;
  --surface: #F1F3F6;
  --line: #E2E6EC;
  --line-2: #D5DBE3;
  --line-soft: #ECEFF3;
  --grid: #F3E3D4;
  --text: #0A0D12;
  --text-2: #1F2733;
  --muted: #2E3746;
  --muted-2: #475161;
  --copper: #C8742F;
  --copper-hover: #B5662A;
  --copper-text: #9A5520;
  --green: #24704A;
  --green-text: #24704A;
  --hover-text: #000;
  --lang-sep: #98A2B3;
  --ghost-border: #C3CBD6;
  --shadow: rgba(10,13,18,.18);
  --code-key: #2A56C6;
  --code-str: #2F6B17;
  --code-comment: #5F6978;
  --plane-1: 0 0 0 1px rgba(10,13,18,.06), 0 1px 2px rgba(10,13,18,.06);
  --plane-2: 0 0 0 1px rgba(10,13,18,.07), 0 16px 40px -18px rgba(10,13,18,.22);
  --plane-3: 0 0 0 1px rgba(10,13,18,.08), 0 40px 100px -36px rgba(10,13,18,.3);
  --field: #F3E3D4;
  --field-line: #E6CDB6;
  --on-field-muted: #3D4757;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding keeps anchor jumps clear of the sticky header */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* sections after the hero fade and slide up as they scroll into view; site.js adds .reveal to <html>, so without JS or with reduced motion nothing is hidden */
@media (prefers-reduced-motion: no-preference) {
  .reveal main > section:not(:first-child) > .wrap { opacity: 0; transform: translateY(20px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
  .reveal main > section.is-in > .wrap { opacity: 1; transform: none; }
}
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { overflow-wrap: break-word; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--copper); color: var(--on-accent); }
html { accent-color: var(--copper); }
a { color: var(--text); }
a:hover { color: var(--hover-text); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }
.mono { font-family: var(--mono); }
/* one section label style everywhere (the extra class beats `.split-head > p` and `.band p`) */
.label, main p.label { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-text); margin: 0 0 18px; max-width: none; }
.label::before { content: ""; flex: none; width: 24px; height: 2px; background: var(--copper); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--copper); color: var(--on-accent); padding: 10px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

.grid-bg { position: relative; isolation: isolate; background-color: var(--bg); }
/* one even grid, centred, fading out evenly towards the bottom (no second layer, no off-centre fade) */
.grid-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top; }
.book-page.grid-bg::before, .not-found.grid-bg::before, .svc-hero.grid-bg::before { -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%); mask-image: linear-gradient(to bottom, #000 0%, transparent 70%); }
.not-found { min-height: 60vh; }
.not-found .legal { padding-top: 120px; }
.hero.grid-bg::before { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%); }
.hero.grid-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(640px 420px at calc(50% + 320px) 62%, var(--glow), transparent 70%), radial-gradient(30% 40% at 60% 75%, rgba(79,163,116,.08), transparent 70%); }

/* header: sticky, page background, a subtle border once scrolled (site.js sets .is-scrolled) */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled, .site-header.menu-open { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.menu { display: flex; flex: 1 1 auto; align-items: center; justify-content: flex-end; gap: 12px 28px; flex-wrap: wrap; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.logo-light { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .logo-light { display: block; } :root:not([data-theme="dark"]) .logo-dark { display: none; } }
:root[data-theme="light"] .logo-light { display: block; }
:root[data-theme="light"] .logo-dark { display: none; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.theme-toggle:hover { color: var(--text); border-color: var(--ghost-border); }
.theme-toggle[hidden] { display: none; }
.theme-toggle .sun { display: none; }
.theme-toggle[aria-pressed="false"] .sun { display: block; }
.theme-toggle[aria-pressed="false"] .moon { display: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 15px; }
.nav a { color: var(--text-2); text-decoration: none; padding: 12px 0; display: inline-block; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { font-family: var(--mono); font-size: 13px; display: flex; gap: 6px; align-items: center; color: var(--lang-sep); }
.lang a { text-decoration: none; color: var(--muted-2); padding: 12px 2px; }
.lang a[aria-current="true"] { color: var(--text); }
/* below 1140 px (the nav with Home and the services dropdown needs about 1100 px in Estonian): one row (logo, "Broneeri kõne", menu button); the menu drops down under the header */
@media (max-width: 1139.98px) {
  .site-header .wrap { flex-wrap: nowrap; gap: 8px; }
  .brand { margin-right: auto; }
  .brand img { height: 26px; }
  .header-cta { order: 2; padding: 0 14px; }
  .js .menu-btn:not([hidden]) { display: inline-flex; order: 3; flex: none; }
  .js .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px var(--shadow); }
  .js .menu.is-open { display: flex; }
  .js .menu .nav { flex-direction: column; gap: 0; font-size: 17px; }
  .js .menu .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); }
  .js .menu .header-actions { justify-content: space-between; padding-top: 12px; }
  /* without JS: the old swipeable line under the logo */
  :root:not(.js) .site-header .wrap { flex-wrap: wrap; }
  :root:not(.js) .menu { order: 3; width: 100%; justify-content: space-between; }
  :root:not(.js) .nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; gap: 0 20px; }
}
@media (min-width: 1140px) and (max-width: 1240px) { .nav { gap: 0 16px; font-size: 14px; } .menu { gap: 12px 16px; } }
/* current page: a copper underline on the top-level link, copper text in the services list */
.nav > a[aria-current="page"], .nav-dd > a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--copper); }

/* services dropdown: "Teenused" links to the overview; the chevron button beside it opens the list of service pages.
   Wide screens: opens on hover and keyboard focus (CSS, so it works without JS); site.js adds .is-open (button) and
   .is-dismissed (Escape, or the button closing it while hovered) and keeps aria-expanded in step. */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.dd-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px; margin: 0 -6px 0 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); cursor: pointer; }
.dd-btn:hover { color: var(--text); }
.dd-btn svg { transition: transform .15s ease; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-menu { display: none; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1140px) {
  /* padding-top bridges the gap under the link, so the pointer can move into the list without closing it */
  .dd-menu { position: absolute; top: 100%; left: -14px; z-index: 40; min-width: 300px; padding-top: 6px; }
  .dd-menu::before { content: ""; position: absolute; inset: 6px 0 0; z-index: -1; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--plane-2); }
  .dd-menu li:first-child { padding-top: 8px; }
  .dd-menu li:last-child { padding-bottom: 8px; }
  .nav .dd-menu a { display: block; margin: 0 8px; padding: 10px 12px; border-radius: 6px; white-space: nowrap; font-size: 15px; color: var(--text-2); }
  .nav .dd-menu a:hover { background: var(--surface); color: var(--text); }
  .nav-dd:focus-within .dd-menu, .nav-dd.is-open .dd-menu { display: block; }
}
/* hover opens it only for a real pointer, so a tap on a touch screen is left to the button */
@media (min-width: 1140px) and (hover: hover) { .nav-dd:hover .dd-menu { display: block; } }
@media (min-width: 1140px) { .nav-dd.is-dismissed .dd-menu { display: none; } }
.nav .dd-menu a[aria-current="page"] { color: var(--copper-text); }
@media (max-width: 1139.98px) {
  /* inside the narrow-screen menu: the list expands in place under "Teenused" (button only) */
  .js .menu .nav-dd { flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); }
  .js .menu .nav-dd > a { flex: 1 1 auto; border-bottom: 0; }
  .js .menu .dd-btn { width: 44px; margin: 0; border: 1px solid var(--line-2); border-radius: 8px; }
  .js .menu .nav-dd.is-open .dd-menu { display: block; flex: 1 1 100%; padding: 0 0 10px 16px; border-left: 2px solid var(--copper); margin-bottom: 12px; }
  .js .menu .dd-menu a { display: block; padding: 10px 0; border-bottom: 0; font-size: 16px; color: var(--text-2); }
  .js .menu .dd-menu a[aria-current="page"] { color: var(--copper-text); }
  /* without JS the nav is one swipeable line: the list stays hidden, "Teenused" leads to the overview with every service */
}
/* without JS there is no disclosure button at any width, so no aria-expanded state can contradict what focus shows */
:root:not(.js) .dd-btn { display: none; }

/* buttons */
/* one hover and focus treatment for buttons, arrow links and cards: colour/border shift over .15s, the global focus ring */
.btn, .more, .card, .theme-toggle, .menu-btn { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 6px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-primary { background: var(--copper); color: var(--on-accent); }
.btn-primary:hover { background: var(--copper-hover); color: var(--on-accent); }
.btn-ghost { border: 1px solid var(--ghost-border); color: var(--text); font-weight: 500; background: var(--bg); }
.btn-ghost:hover { border-color: var(--muted-2); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1A202A; color: #fff; }

/* hero */
.hero { }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; padding-top: 104px; padding-bottom: 96px; }
.hero-head { flex: 1 1 100%; min-width: 0; }
.hero-text { flex: 5 1 340px; min-width: 0; align-self: center; }
.hero .lead { margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); background: var(--bg-2); border-radius: 999px; padding: 6px 14px; margin-bottom: 36px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
h1 { margin: 0; font-size: var(--t-hero); line-height: .96; letter-spacing: -0.05em; font-weight: 600; }
.hero h1 .accent { display: block; }
.accent { color: var(--copper-text); }
/* large headline text may use the brighter copper (3.5:1 on white passes AA for large text) */
h1 .accent, h2 .accent { color: var(--copper); }
.lead { margin: 32px 0 0; font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 600px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 430px) { :root { --t-hero: 40px; } .pill { font-size: 10.5px; letter-spacing: .04em; gap: 8px; padding: 6px 12px; } }
@media (max-width: 640px) { .pill { border-radius: 12px; } .hero .wrap { padding-top: 64px; padding-bottom: 72px; gap: 48px; } }

/* code panel */
.code { flex: 1 1 580px; min-width: 0; margin: 0; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 100px -30px var(--shadow); }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px 0 6px; border-bottom: 1px solid var(--line); background: var(--surface); }
.tabs { display: flex; }
.tab { font-family: var(--mono); font-size: 12px; padding: 0 14px; min-height: 44px; background: transparent; border: 0; color: var(--muted-2); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--copper); }
.code-meta { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.code pre { margin: 0; padding: 22px 20px 18px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--text-2); overflow-x: auto; }
.code .out { margin: 0; border-top: 1px solid var(--line); background: var(--bg); padding: 14px 20px; font-size: 12px; color: var(--muted-2); }
.k { color: var(--code-key); } .s { color: var(--code-str); } .c { color: var(--code-comment); } .ok { color: var(--green); } .p { color: var(--copper-text); }
[role="tabpanel"][hidden] { display: none; }
.code-caption { margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--text-2); }
/* below 768 px the code panel is hidden: it can't be read at phone width without sideways scrolling */
@media (max-width: 767px) { .result-layout .code { display: none; } }

/* before/after table with the code panel beside it (the code shows how the "after" is set up) */
.result-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.result-layout .compare { display: flex; flex-direction: column; }
.result-layout .compare-row:not(.compare-head) { flex: 1; }
.result-layout .compare { flex: 7 1 560px; min-width: 0; }
.result-layout .code { flex: 5 1 420px; }
@media (max-width: 1099px) { .result-layout .code { max-width: 760px; } }

/* plates: the brand's line drawings (tools/plates/*.svg, inlined so they follow the theme) */
.plate { position: relative; margin: 0; --plate-line: var(--ghost-border); --plate-text: var(--text); --plate-muted: var(--text-2); --plate-bg: transparent;
  background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-radius: 6px; box-shadow: var(--plane-2); }
.plate svg { width: 100%; height: auto; overflow: visible; }
/* stronger drawing: brighter context lines, heavier copper and green strokes */
.plate .z .l { stroke-width: 2; }
.plate .z .c, .plate .z .g, .plate .z .cf { stroke-width: 2.4; }
.plate .z .f { stroke-width: 1.2; }
.plate .z .d, .plate .z .h, .plate .z .w { fill: var(--text-2); }
.plate-hero { box-shadow: var(--plane-3); }
.plate-hero { margin-right: 10px; margin-bottom: 10px; }
.plate-hero::after { content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; border: 1px solid var(--copper); border-radius: inherit; opacity: .45; pointer-events: none; }
.plate-hero { flex: 7 1 560px; min-width: 0; max-width: 800px; }
@media (max-width: 1099px) { .plate-hero { flex-basis: 100%; max-width: 860px; } }
.plate-narrow { display: none; }
@media (max-width: 767px) {
  .plate-hero { flex-basis: 100%; }
  .plate-wide { display: none; }
  .plate-narrow { display: block; max-width: 440px; margin: 0 auto; }
}

/* sections */
.section { padding: 112px 0; }
.section-dense { padding: 88px 0; }
/* adjacent open sections: the previous section's bottom padding is the only gap */
.section + .section { padding-top: 0; }
.section-services { padding-bottom: 96px; }
.section-tight { padding-top: 32px; }
h2 { margin: 0; font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; }
.split-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: last baseline; justify-content: space-between; margin-bottom: 56px; }
.split-head > div, .split-head > p { flex: 1 1 420px; }
.split-head > p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.note { margin: 24px 0 0; font-size: 15px; color: var(--muted-2); }
@media (max-width: 640px) { .section { padding: 72px 0; } .section + .section { padding-top: 0; } }

/* services */
.services { border-top: 1px solid var(--line-2); }
.service { display: flex; flex-wrap: wrap; gap: 20px 40px; padding: 40px 0; border-bottom: 1px solid var(--line-soft); }
.service-no { flex: 0 0 120px; font-family: var(--sans); font-weight: 600; font-size: 76px; line-height: .9; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--copper); opacity: .6; transition: opacity .25s ease; }
.service:hover .service-no, .service:focus-within .service-no { opacity: 1; }
@supports not (-webkit-text-stroke: 1px black) { .service-no { color: var(--line-2); } }
.service-body { flex: 999 1 380px; min-width: 0; }
.plate-svc { flex: 0 1 340px; min-width: 0; align-self: center; }
@media (max-width: 1099px) { .service-no { flex-basis: 96px; } }
@media (max-width: 899px) { .plate-svc { flex-basis: 100%; max-width: none; } }
.service-body h3 { margin: 0 0 12px; font-size: 28px; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
.service-body p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-2); max-width: 580px; }
.service-side { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.service-side .tags { flex: 1 1 100%; }
.service-side .price { margin: 0; flex: 1 1 100%; }
.tags { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.tags li { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; }
.more { font-family: var(--mono); font-size: 13px; color: var(--copper-text); text-decoration: none; text-underline-offset: 4px; padding: 8px 0; align-self: flex-start; }
.more:hover, .more:focus-visible { color: var(--copper-text); text-decoration: underline; }
@media (max-width: 640px) { .service { gap: 12px 40px; } .service-no { flex-basis: 100%; font-size: 44px; line-height: 1; } }
:root[data-theme="light"] .service-no { opacity: 1; -webkit-text-stroke-color: var(--copper-text); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .service-no { opacity: 1; -webkit-text-stroke-color: var(--copper-text); } }

.services-also { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 28px 0 0; }
.services-also .label { margin: 0; }
.services-also .tags { flex: 1 1 auto; }
.svc-icon { margin: 0 0 14px; }
.svc-icon .ic-c { stroke: var(--copper); }
.svc-icon .ic-g { stroke: var(--green); }

/* before / after */
.compare { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--plane-1); }
.compare-row { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); font-size: 17px; line-height: 1.5; }
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { flex: 1 1 300px; padding: 20px 24px; }
.compare-row .before { color: var(--text-2); }
.compare-row .after { background: var(--bg-2); }
.compare-head { background: var(--surface); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.compare-head > div { padding: 14px 24px; }
.compare-head .after { background: transparent; color: var(--green-text); box-shadow: inset 0 2px 0 var(--green); }
.compare-row .after { display: flex; gap: 12px; align-items: flex-start; }
.check { flex: none; color: var(--green); margin-top: .3em; }
.compare-row .after > span, .principles li > span { flex: 1 1 0; min-width: 0; }
/* phones: each Enne/Pärast pair is one bordered item, with the labels above the two halves */
@media (max-width: 640px) {
  .compare { border: 0; border-radius: 0; overflow: visible; display: flex; flex-direction: column; gap: 12px; }
  .compare-head { display: none; }
  .compare-row, .compare-row:last-child { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .compare-row > div { padding: 14px 18px; }
  .compare-row .before { border-bottom: 1px solid var(--line-soft); }
  .compare-row .before::before { content: attr(data-label); display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
  .compare-row .after { flex-wrap: wrap; }
  .compare-row .after::before { content: attr(data-label); flex: 0 0 100%; margin-bottom: -8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--green-text); }
}

/* first step band */
/* security-review band: a raised surface with a soft accent glow, in the current theme */
.band { background: var(--field); color: var(--text); --line: var(--field-line); --line-soft: var(--field-line); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 128px; padding-bottom: 128px; }
.band p { color: var(--text-2); }
.band .fine { color: var(--on-field-muted); }
.band-text { flex: 999 1 460px; min-width: 0; }
.band h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.04em; margin-bottom: 20px; }
.band p { margin: 0 0 30px; font-size: 18px; line-height: 1.6; max-width: 600px; }
.band .fine { margin: 18px 0 0; font-size: 13px; }
/* prices: normal text colour, a little weight (copper is kept for links) */
.price, .band .price { margin: 14px 0 0; font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--text); }
.band .price { margin: 0 0 28px; font-size: 16px; }
/* review facts: access / you receive / next */
.facts { margin: 0 0 28px; display: grid; gap: 12px; max-width: 600px; }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 4px 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 13px; color: var(--on-field-muted); padding-top: 2px; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; } }
/* sample report: fictional data, labelled as such */
.sample { flex: 1 1 100%; margin-right: 8px !important; position: relative; margin: 0; background: var(--bg); border: 1px solid var(--line-2); border-radius: 6px; padding: 24px 28px 12px; box-shadow: var(--plane-3); --line-soft: var(--line-2); }
.sample::after { content: ""; position: absolute; inset: 8px -8px -8px 8px; z-index: -1; border: 1px solid var(--copper); border-radius: inherit; opacity: .4; pointer-events: none; }
.band .wrap { isolation: isolate; }
.sample figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.sample-title { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.sample-note { font-family: var(--mono); font-size: 12px; color: var(--muted-2); border: 1px dashed var(--ghost-border); border-radius: 999px; padding: 2px 10px; }
.sample-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 0; font-size: 15px; color: var(--text-2); border-bottom: 1px solid var(--line-soft); }
.sample-head b { font-weight: 600; color: var(--text); }
.sample-head .muted { color: var(--muted-2); }
.sample table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.sample th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); padding: 12px 12px 8px 0; }
.sample td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line-soft); color: var(--text-2); vertical-align: top; }
.sample .sev { font-family: var(--mono); font-size: 13px; color: var(--text); white-space: nowrap; }
.sample .eff { font-family: var(--mono); white-space: nowrap; color: var(--muted-2); }
@media (max-width: 640px) {
  .sample { padding: 20px 18px 8px; }
  .sample thead { display: none; }
  .sample tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
  .sample td { display: block; padding: 0; border: 0; }
  .sample td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--text); }
  .sample td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; color: var(--muted); }
  .sample .eff { grid-column: 2; grid-row: 1; }
}
.report { flex: 1 1 360px; align-self: center; position: relative; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 6px; padding: 28px 28px 12px; box-shadow: var(--plane-2); --line-soft: var(--line-2); }
.report h3 { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted-2); padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.report ol { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.report li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.report li:last-child { border-bottom: 0; }
.report li span { font-family: var(--mono); color: var(--muted-2); flex: none; }

/* steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.steps li { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1079px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li:nth-child(2n) .rule { display: none; } }
/* phones: one column with a vertical route line instead of horizontal rules */
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { position: relative; padding-left: 28px; gap: 8px; }
  .steps li::before { content: ""; position: absolute; left: 5px; top: 18px; bottom: -32px; width: 2px; background: var(--copper); opacity: .5; }
  .steps li:last-child::before { display: none; }
  .step-line { position: absolute; left: 0; top: 4px; }
  .step-line .rule { display: none; }
}
.step-line { display: flex; align-items: center; gap: 14px; }
.step-line .node { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--copper); flex: none; }
.steps li:first-child .node { background: var(--copper); }
.step-line .rule { flex: 1; height: 2px; background: linear-gradient(90deg, var(--copper), var(--copper)) 0 0 / 100% 100% no-repeat, var(--line-2); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .step-line .rule { animation: route-fill linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    @keyframes route-fill { from { background-size: 0 100%, auto; } to { background-size: 100% 100%, auto; } }
  }
}
.steps li:last-child .rule { display: none; }
.steps .no { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.steps h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* working principles: a compact row of four */
.principles { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.principles .wrap { padding-top: 48px; padding-bottom: 48px; }
.principles ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 32px; }
@media (max-width: 1039px) { .principles ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .principles ul { grid-template-columns: 1fr; } }
.principles li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--text); }

/* work */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1055px) { .cards { grid-template-columns: 1fr; } .card .case { grid-template-columns: repeat(3, 1fr); gap: 12px 24px; } }
@media (max-width: 640px) { .card .case { grid-template-columns: 1fr; } }
.card { min-width: 0; position: relative; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-top-color: color-mix(in srgb, var(--copper) 35%, var(--line)); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--plane-1); }
.card .meta { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.card h3 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.25; }
.card:hover { border-color: var(--ghost-border); box-shadow: var(--plane-2); }
@media (prefers-reduced-motion: no-preference) { .card { transition: border-color .18s ease, box-shadow .18s ease, transform .18s var(--ease); } .card:hover { transform: translateY(-3px); } }
.case { margin: 4px 0 0; display: grid; gap: 12px; }
.case dt { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
.case dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.case div:last-child dd { color: var(--text-2); }

/* contact */
.contact { --grid: rgba(10,13,18,.10); background: var(--copper); color: var(--ink); }
.contact.grid-bg { background-color: var(--copper); }
.contact h2 { color: var(--ink); }
.contact .contact-text p { color: var(--ink); }
.contact a:focus-visible { outline-color: var(--ink); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; padding-top: 120px; padding-bottom: 96px; }
.contact-text { flex: 999 1 520px; min-width: 0; }
.contact h2 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.045em; margin-bottom: 20px; }
.contact-text p { margin: 0; font-size: 18px; line-height: 1.6; max-width: 560px; }
.contact-box { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; background: var(--ink); border-radius: 8px; padding: 24px; box-shadow: 0 40px 80px -40px rgba(10,13,18,.6); --text: #E6EAF0; --muted-2: #98A2B3; --ghost-border: #364152; --bg: #0A0D12; }
.contact-box .btn-ghost { font-family: var(--mono); font-size: 15px; }
.contact-box p { margin: 4px 0 0; font-size: 14px; color: var(--muted-2); text-align: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line-soft); overflow: hidden; }
.footer-mark { order: 9; margin: 24px 0 -0.36em; font-family: var(--sans); font-weight: 600; font-size: clamp(88px, 24vw, 340px); line-height: 1; letter-spacing: -0.06em; color: var(--line-soft); user-select: none; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; padding-bottom: 0; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--muted-2); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
/* footer links at least 24 px tall */
.site-footer a { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 0; color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-sections { font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

/* legal page */
.legal { max-width: 760px; padding: 80px 32px 112px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 5vw, 56px); margin-bottom: 12px; }
.legal h2 { font-size: 24px; letter-spacing: -0.01em; margin: 48px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.legal .updated { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }

/* service pages (/teenused/…, /en/services/…): smaller h1 than the home hero, one reading column */
.svc-hero .wrap { padding-top: 40px; padding-bottom: 72px; }
.svc-hero h1 { font-size: clamp(34px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.04em; max-width: 980px; margin-top: 4px; }
.svc-hero .lead { max-width: 760px; }
.crumbs { margin: 0 0 40px; font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.crumbs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--lang-sep); }
.crumbs a { color: var(--muted-2); }
.svc-sec { padding: 64px 0; border-top: 1px solid var(--line-soft); }
.svc-sec h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 28px; }
.svc-list, .svc-do { margin: 0; padding: 0; list-style: none; max-width: 820px; counter-reset: svc; }
.svc-list li, .svc-do li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; line-height: 1.6; color: var(--text-2); }
.svc-list li::before { content: ""; flex: none; width: 16px; height: 2px; margin-top: .8em; background: var(--copper); }
.svc-do li::before { counter-increment: svc; content: counter(svc, decimal-leading-zero); flex: none; font-family: var(--mono); font-size: 13px; color: var(--muted-2); padding-top: .25em; }
.svc-text p { margin: 20px 0 0; max-width: 760px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.svc-text p:first-child { margin-top: 0; }
.svc-text:not(:empty) + .report { margin-top: 24px; }
.svc-sec .report { max-width: 820px; }
.svc-sec .report + .svc-text p:first-child { margin-top: 24px; }
.svc-related { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 32px; }
.band-more { display: inline-block; margin-left: 20px; }
/* services overview (/teenused/, /en/services/): a catalogue of cards, no hero plate */
.ov-hero .wrap { padding-bottom: 56px; }
.ov-sec { padding: 8px 0 96px; }
.ov-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 767px) { .ov-cards { grid-template-columns: 1fr; } }
.ov-card h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.ov-card > p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.ov-prices .price { margin: 0; }
.ov-card .more { margin-top: auto; }
.ov-note { margin: 32px 0 0; max-width: 760px; font-size: 15px; line-height: 1.6; color: var(--muted-2); }
@media (max-width: 640px) { .ov-card { padding: 22px; } .ov-sec { padding-bottom: 72px; } }
@media (max-width: 640px) { .svc-sec { padding: 48px 0; } .svc-list li, .svc-do li { font-size: 16px; } }
.faq-head h2 { margin-bottom: 40px; }
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .faq .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: 104px; }
  .faq-head h2 { margin-bottom: 0; }
  .faq-list { max-width: none; }
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 500; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--mono); font-size: 22px; color: var(--copper-text); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 24px; max-width: 720px; font-size: 16px; line-height: 1.65; color: var(--text-2); }

/* ---- booking page (/broneeri/, /en/book/) ---- */
.book-page { border-bottom: 1px solid var(--line-soft); min-height: calc(100vh - 150px); min-height: calc(100dvh - 150px); }
/* the calendar is the first thing on the page: one title line, then the card */
.book-wrap { max-width: 760px; padding-top: 40px; padding-bottom: 96px; }
@media (max-width: 640px) { .book-wrap { padding-top: 20px; padding-bottom: 56px; } }
.book-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.book-intro h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -0.025em; }
.book-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.book-facts li + li::before { content: "·"; margin: 0 8px; }
.book-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: 0 24px 60px -30px var(--shadow); min-height: 240px; }
@media (max-width: 640px) { .book-card { padding: 20px; } }
.book-step + .book-step { margin-top: 28px; }
.book-h { font-size: 20px; letter-spacing: -0.01em; margin: 0 0 6px; }
.book-tz { margin: 0 0 16px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.days .month { grid-column: 1 / -1; margin: 12px 0 0; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); }
.days .month:first-child { margin-top: 0; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 12px; }
.day, .slot { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; min-height: 44px; }
.day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; }
.day .wd { font-family: var(--mono); font-size: 12px; color: var(--muted-2); text-transform: uppercase; }
.day .dm { font-weight: 600; font-size: 15px; }
.slot { font-family: var(--mono); font-size: 15px; }
.day:hover, .slot:hover { border-color: var(--copper); }
.day:disabled, .slot:disabled { cursor: not-allowed; opacity: .45; background: transparent; border-style: dashed; }
.day:disabled:hover, .slot:disabled:hover { border-color: var(--line-2); }
.slot:disabled { text-decoration: line-through; }
.day[aria-pressed="true"], .slot[aria-pressed="true"] { background: var(--copper); border-color: var(--copper); color: var(--on-accent); }
.day[aria-pressed="true"] .wd { color: var(--on-accent); }
.book-chosen { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; justify-content: space-between; margin: 10px 0 20px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.book-chosen p { margin: 0; font-size: 15px; }
.link-btn { font: inherit; font-family: var(--mono); font-size: 13px; color: var(--copper-text); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.book-form .field { margin-bottom: 16px; }
.book-form label, .book-form legend { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.book-form .opt { font-weight: 400; color: var(--muted-2); }
.book-form input[type="text"], .book-form input[type="email"], .book-form input[type="tel"], .book-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; }
.book-form textarea { resize: vertical; min-height: 96px; }
.book-form input:focus-visible, .book-form textarea:focus-visible { outline: 2px solid var(--copper); outline-offset: 1px; border-color: var(--copper); }
.book-form [aria-invalid="true"] { border-color: #D64545; }
.book-form .hint { margin: 6px 0 0; font-size: 13px; color: var(--muted-2); }
.modes { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.modes legend { width: 100%; }
.mode { display: inline-flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); cursor: pointer; font-weight: 400 !important; }
.mode input { accent-color: var(--copper); width: 18px; height: 18px; margin: 0; }
.mode:has(input:checked) { border-color: var(--copper); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.challenge { min-height: 65px; margin: 4px 0 16px; }
.book-form .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.book-form .btn[disabled] { opacity: .7; cursor: progress; }
.book-form .fine, .book-card .fine { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted-2); }
.book-form .fine a { color: inherit; }
.book-status { margin: 16px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.book-status:empty { display: none; }
.book-status.is-error { color: var(--text); border-left: 3px solid #D64545; padding-left: 12px; }
.book-status a { color: var(--copper-text); }
.book-done .book-h { font-size: 28px; margin-bottom: 12px; }
.book-done .book-when { font-family: var(--mono); font-size: 15px; color: var(--copper-text); }
.book-done p { color: var(--text-2); line-height: 1.6; }
.book-done .btn { margin-top: 12px; }
