/* =========================================================================
   m3r.dk — site stylesheet
   Design tokens shared with the Olly / Tally / Sally apps
   (brand orange #F4A259, cream #FBEFD5, dark brown ink #33281F, IBM Plex Sans)
   ========================================================================= */

/* ---------- fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/IBMPlexSans-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/IBMPlexSans-Italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/IBMPlexSans-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/IBMPlexSans-Bold.woff2") format("woff2");
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --page: #f8f2e6;
  --surface: #fffdf8;
  --surface-2: #fffefb;
  --cream: #fbefd5;
  --ink: #33281f;
  --ink-2: #5f5244;
  --muted: #94897a;
  --border: rgba(51, 40, 31, 0.10);
  --border-strong: rgba(51, 40, 31, 0.18);
  --brand: #f4a259;
  --brand-hover: #ef9440;
  --brand-deep: #b96712;
  --gold: #f7c436;
  --good: #1b9e4b;
  --good-soft: #e4f4e6;
  --good-text: #14713a;
  --danger: #ec221f;
  --purple: #7c5cbf;
  --purple-soft: #efe9f9;
  --blue: #2673b4;
  --blue-soft: #e3eff9;
  --amber-soft: #fdeeda;
  --amber-text: #9a5b0d;
  --grid: #ece3d2;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(51,40,31,.05), 0 6px 18px rgba(51,40,31,.06);
  --shadow-lg: 0 2px 6px rgba(51,40,31,.06), 0 24px 60px rgba(51,40,31,.12);
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --maxw: 1140px;
  --nav-h: 66px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: var(--brand) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 82% -14%, color-mix(in srgb, var(--brand) 16%, transparent), transparent),
    radial-gradient(820px 420px at -6% 108%, color-mix(in srgb, var(--brand) 9%, transparent), transparent),
    var(--page);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.14; letter-spacing: -0.022em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.7rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.06rem, 1.7vw, 1.26rem); color: var(--ink-2); line-height: 1.58; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }
section { padding: clamp(56px, 6.6vw, 94px) 0; }
section.tight { padding: clamp(42px, 4.6vw, 64px) 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-head { max-width: 68ch; margin-bottom: clamp(34px, 4vw, 52px); }
.section-head.center { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 11px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 550; cursor: pointer; text-decoration: none;
  transition: background .14s, border-color .14s, transform .14s, box-shadow .14s;
}
.btn:hover { background: var(--cream); text-decoration: none; transform: translateY(-1px); }
.btn.primary {
  background: var(--brand); border-color: var(--brand); color: #33281f; font-weight: 650;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 38%, transparent);
}
.btn.primary:hover { background: var(--brand-hover); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 44%, transparent); }
.btn.ghost { background: transparent; border-color: var(--border-strong); }
.btn.small { padding: 8px 15px; font-size: 14px; border-radius: 9px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arrow-link { font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.arrow-link svg { transition: transform .16s; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--brand) 45%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg, .brand img { width: 32px; height: 32px; border-radius: 9px; display: block; }
.brand .dot { color: var(--brand); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 13px; border-radius: 10px; color: var(--ink-2);
  font-weight: 500; font-size: 15px;
}
.site-nav a:hover { background: var(--cream); color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--cream); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--ink-2); cursor: pointer; flex: none;
}
.icon-btn:hover { background: var(--cream); color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .site-nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px 22px 22px; background: var(--surface);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .22s ease; margin-left: 0;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 12px 14px; font-size: 16px; }
  .site-nav .btn { margin-top: 8px; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(52px, 7vw, 92px); padding-bottom: clamp(30px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--brand-deep); }
.hero .lead { max-width: 46ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--muted); font-size: 14.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- marquee / strip ---------- */
.strip {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--cream) 55%, transparent);
}
.strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 38px; justify-content: center; padding: 18px 0; }
.strip b { font-weight: 600; }
.strip span { color: var(--ink-2); font-size: 15px; display: inline-flex; align-items: center; gap: 9px; }
.strip svg { color: var(--brand-deep); flex: none; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid.g3, .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .grid.g2, .grid.g3, .grid.g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 26px 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; transition: transform .16s, box-shadow .16s, border-color .16s; }
.card-link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 55%, var(--border)); }

.ico {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #33281f; margin-bottom: 16px;
}
.ico.soft { background: var(--amber-soft); color: var(--amber-text); }

.numbered { counter-reset: step; }
.numbered .card { position: relative; padding-top: 30px; }
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--cream);
  color: var(--brand-deep); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); margin-bottom: 14px;
}

/* feature list */
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: .52em; width: 15px; height: 9px;
  border-left: 2.2px solid var(--brand-deep); border-bottom: 2.2px solid var(--brand-deep);
  transform: rotate(-45deg);
}
ul.ticks li b, ul.ticks li strong { color: var(--ink); font-weight: 600; }

/* tag pills */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 13px; font-weight: 550; padding: 4px 11px; border-radius: 999px;
  background: var(--cream); color: var(--ink-2); border: 1px solid var(--border);
}
.tag.brand { background: color-mix(in srgb, var(--brand) 22%, transparent); color: var(--brand-deep); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }

/* ---------- product blocks ---------- */
.product { padding: clamp(54px, 7vw, 92px) 0; border-top: 1px solid var(--border); }
.product:first-of-type { border-top: 0; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 4.5vw, 58px); align-items: center; }
.product.flip .product-grid > .product-copy { order: 2; }
@media (max-width: 940px) {
  .product-grid { grid-template-columns: 1fr; }
  .product.flip .product-grid > .product-copy { order: 0; }
}
.product-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.product-name h2 { margin: 0; }
.product-name .role { color: var(--muted); font-size: 15px; font-weight: 500; }
.product-tagline { font-size: 1.16rem; color: var(--brand-deep); font-weight: 600; margin-bottom: 14px; }

/* sub nav for products page */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; background: color-mix(in srgb, var(--page) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.subnav .wrap { display: flex; gap: 6px; padding: 10px 0; overflow-x: auto; }
.subnav a { padding: 7px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); white-space: nowrap; border: 1px solid transparent; }
.subnav a:hover { background: var(--cream); color: var(--ink); text-decoration: none; border-color: var(--border); }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table.spec { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15.2px; }
@media (max-width: 760px) {
  /* hint that the table scrolls sideways */
  .table-wrap { background-image: linear-gradient(to left, color-mix(in srgb, var(--ink) 9%, transparent), transparent 38px); background-repeat: no-repeat; background-position: right center; }
}
table.spec th, table.spec td { text-align: left; padding: 13px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.spec thead th { background: var(--cream); font-weight: 600; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec td:first-child { font-weight: 600; white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 58px);
  background: linear-gradient(140deg, var(--brand), #e9924a 62%, #dd8339);
  color: #33281f; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.16); right: -90px; bottom: -140px;
}
.cta-band::before {
  content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: rgba(255,255,255,.12); right: 130px; bottom: -110px;
}
.cta-band h2 { color: #33281f; max-width: 20ch; }
.cta-band p { color: rgba(51,40,31,.82); max-width: 52ch; font-size: 1.06rem; }
.cta-band .btn-row { position: relative; z-index: 2; margin-top: 26px; }
.cta-band .btn { background: #33281f; color: #fdf6ea; border-color: #33281f; }
.cta-band .btn:hover { background: #241c15; }
.cta-band .btn.ghost { background: transparent; color: #33281f; border-color: rgba(51,40,31,.35); }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,.28); }

/* ---------- quote ---------- */
.quote {
  border-left: 3px solid var(--brand); padding: 4px 0 4px 22px;
  font-size: 1.2rem; line-height: 1.5; color: var(--ink); font-style: italic; max-width: 46ch;
}

/* ---------- forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3.4vw, 34px); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.6px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--page); border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 13px;
  transition: border-color .14s, box-shadow .14s;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 26%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 13.6px; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 14px; font-size: 14.6px; font-weight: 550; display: none; padding: 11px 14px; border-radius: 10px; }
.form-status.show { display: block; }
.form-status.ok { background: var(--good-soft); color: var(--good-text); }

.contact-line { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ico { margin: 0; width: 38px; height: 38px; border-radius: 11px; }
.contact-line .k { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.contact-line .v { font-weight: 600; font-size: 16.5px; }

details.faq { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 0 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--brand-deep); font-size: 20px; font-weight: 400; flex: none; }
details.faq[open] summary::after { content: "\2013"; }
details.faq p { color: var(--ink-2); margin: 0 0 16px; font-size: 15.6px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 70%, transparent); padding: 52px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-2); font-size: 15px; }
.site-footer a:hover { color: var(--brand-deep); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; color: var(--muted); font-size: 14px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card-link:hover { transform: none; }
}

/* ---------- pricing ---------- */
.notice {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--amber-soft); border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
  border-radius: var(--radius); padding: 15px 18px; color: var(--amber-text);
  font-size: 15.2px; font-weight: 500;
}
.notice svg { flex: none; margin-top: 3px; }
.notice b { color: var(--amber-text); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); position: relative;
}
.plan.featured { border-color: color-mix(in srgb, var(--brand) 60%, transparent); box-shadow: var(--shadow-lg); }
.plan-flag {
  position: absolute; top: -12px; right: 22px; background: var(--brand); color: #33281f;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.32rem; margin-bottom: 4px; }
.plan .kicker { color: var(--muted); font-size: 14.6px; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.price .num { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.price .unit { color: var(--muted); font-size: 15.5px; font-weight: 500; }
.price-note { color: var(--muted); font-size: 14.2px; margin-bottom: 20px; }

/* placeholder figures — replace before launch */
.tbd {
  color: var(--brand-deep);
  border-bottom: 2px dashed color-mix(in srgb, var(--brand) 70%, transparent);
  padding-bottom: 2px;
}

.modules { display: grid; gap: 12px; }
.module-row {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center;
  border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; background: var(--surface);
}
.module-row .ico { margin: 0; width: 34px; height: 34px; border-radius: 10px; }
.module-row .m-name { font-weight: 650; }
.module-row .m-desc { color: var(--muted); font-size: 14.4px; }
.module-row .m-price { font-weight: 650; white-space: nowrap; text-align: right; }
.module-row .m-price small { display: block; color: var(--muted); font-weight: 500; font-size: 12.6px; }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.stat { border-left: 3px solid var(--brand); padding-left: 18px; }
.stat .s-v { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; }
.stat .s-k { color: var(--muted); font-size: 14.6px; }

/* ---------- "what it replaces" swap list ---------- */
.swap-list { display: grid; gap: 2px; margin-top: 14px; }
.swap {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.swap:last-child { border-bottom: 0; }
.swap .from { color: var(--ink-2); font-size: 15.2px; }
.swap .to {
  position: relative; padding-left: 26px; font-weight: 650; color: var(--brand-deep);
  font-size: 14.6px; white-space: nowrap;
}
.swap .to::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.8px;
  background: var(--brand); transform: translateY(-50%);
}
.swap .to::after {
  content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px;
  border-top: 1.8px solid var(--brand); border-right: 1.8px solid var(--brand);
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- footer legal row ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-legal a, .linklike {
  color: var(--muted); font-size: 14px; background: none; border: 0; padding: 0;
  font: inherit; font-size: 14px; cursor: pointer; text-decoration: none;
}
.footer-legal a:hover, .linklike:hover { color: var(--brand-deep); text-decoration: underline; }

/* ---------- cookie banner ---------- */
.cookie-bar {
  position: fixed; z-index: 200; left: 22px; right: 22px; bottom: 22px;
  max-width: 720px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 20px 22px; display: grid; gap: 14px;
  animation: cookie-in .28s ease both;
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { animation: none; } }
.cookie-bar h4 { margin: 0; font-size: 16px; font-weight: 650; }
.cookie-bar p { margin: 0; font-size: 14.6px; color: var(--ink-2); line-height: 1.52; }
.cookie-bar .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-bar .cookie-actions .btn { padding: 9px 18px; font-size: 14.5px; }
.cookie-bar .cookie-actions .spacer { flex: 1; }
@media (max-width: 560px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 17px 18px; }
  .cookie-bar .cookie-actions .btn { flex: 1 1 auto; }
}

/* ---------- legal page ---------- */
.legal-body { max-width: 74ch; }
.legal-body h2 { font-size: clamp(1.42rem, 2.4vw, 1.85rem); margin-top: 2.1em; padding-top: 8px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.06rem; margin-top: 1.9em; }
.legal-body p, .legal-body li { font-size: 16px; color: var(--ink-2); }
.legal-body strong, .legal-body b { color: var(--ink); }
.legal-body ul { padding-left: 20px; display: grid; gap: 7px; margin: 0 0 1.1em; }
.legal-body hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0 0; }
.legal-meta { font-size: 14.4px; color: var(--muted); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.legal-toc a {
  font-size: 14px; font-weight: 550; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--ink-2); background: var(--surface);
}
.legal-toc a:hover { background: var(--cream); color: var(--ink); text-decoration: none; }
.legal-body table.spec { min-width: 480px; }
.info-card {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin: 0 0 1.4em;
}
.info-card p { margin: 0; }
.info-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 15.4px; }
.info-card dt { color: var(--muted); font-weight: 600; }
.info-card dd { margin: 0; color: var(--ink); }
@media (max-width: 520px) { .info-card dl { grid-template-columns: 1fr; gap: 2px; } .info-card dd { margin-bottom: 8px; } }

/* ---------- language switcher ---------- */
.lang {
  display: inline-flex; align-items: center; gap: 2px; flex: none;
  border: 1px solid var(--border); border-radius: 10px; background: var(--surface); padding: 3px;
}
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 30px; padding: 0 8px; border-radius: 7px;
  font-size: 13px; font-weight: 650; letter-spacing: .03em; color: var(--muted);
}
.lang a:hover { background: var(--cream); color: var(--ink); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--brand); color: #33281f; }
