/* sdrsowa.com in the owl's colours (owner, 2026-10-12): warm charcoal and orange in dark, orange accents on white in light.
   Dark follows the system unless the visitor picks a theme with the sun / moon button (html[data-theme]).
   --accent is the accent as text, borders and icons (a darker orange on white so it reads: #c2410c, about 5:1);
   --accent-fill / --accent-grad is the orange behind button text, with --accent-ink on it (dark ink, about 8:1; white would
   be about 2.4:1). The legal pages (legal.css) use the same variables: --bg, --text, --muted, --line, --link, --accent, --code. */
:root {
  --bg: #faf8f5;
  --bg2: #fff4e6;
  --card: #ffffff;
  --text: #1a1613;
  --muted: #5c554d;
  --line: #ece5dc;
  --link: #c2410c;
  --accent: #c2410c;
  --accent-fill: #ff8a00;
  --accent-grad: linear-gradient(135deg, #ff8a00, #ffb02e);
  --accent-ink: #1a0e00;
  --accent-soft: #fff1e0;
  --code: #f5f0ea;
  --shadow: 0 1px 2px rgba(28, 20, 12, .06), 0 8px 24px rgba(28, 20, 12, .08);
  --shadow-lg: 0 2px 6px rgba(28, 20, 12, .08), 0 22px 48px rgba(28, 20, 12, .18);
  --win: #0a0908;
  --win-bar: #1a1816;
  --win-text: #f2efe9;
  --measure: 46rem;
  --wide: 76rem;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0d0c; --bg2: #121110; --card: #1a1816; --text: #f2efe9; --muted: #a39e96; --line: #2a2622; --brand: #ffffff;
    --link: #ffa233; --accent: #ff8a00; --accent-ink: #1a0e00; --accent-soft: #2a1a08; --code: #221f1c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 22px 48px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0d0c; --bg2: #121110; --card: #1a1816; --text: #f2efe9; --muted: #a39e96; --line: #2a2622; --brand: #ffffff;
  --link: #ffa233; --accent: #ff8a00; --accent-ink: #1a0e00; --accent-soft: #2a1a08; --code: #221f1c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 22px 48px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg) linear-gradient(180deg, var(--bg2) 0, var(--bg) 640px) no-repeat;
  font: 16px/1.6 Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin: 4px 0; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 16px; }
.wide-wrap { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 6px 10px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg2) 82%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { max-width: var(--wide); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--brand, var(--text)); text-decoration: none; font-weight: 800; font-size: 21px; font-style: italic; }
.brand-owl { width: 36px; height: 36px; border-radius: 9px; display: block; }
.brand em { font-style: italic; color: #ff8a00; background: linear-gradient(90deg, #ff7a00, #ffb02e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } /* the owl's orange (owner, 2026-10-12) */
.links { display: flex; gap: 26px; margin: 0 auto; }
.links a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.links a:hover, .links a[aria-current="page"] { color: var(--accent); }
.tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.langs { display: flex; gap: 0; }
.langs button { font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 4px 5px; cursor: pointer; }
.langs button[aria-pressed="true"] { color: var(--text); font-weight: 700; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text);
  display: inline-grid; place-items: center; cursor: pointer; padding: 0;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px;
  padding: 10px 18px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent-fill) var(--accent-grad); color: var(--accent-ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent-fill) 30%, transparent);
}
.btn:hover { filter: brightness(1.06); }
.btn:active { background: #ff7a00; }
.btn.wide { width: 100%; padding: 13px 18px; font-size: 16px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px 20px 24px; max-width: var(--wide); margin: 0 auto; }
.stage { position: relative; }
.stack { position: relative; aspect-ratio: 16 / 10.6; margin: 0 26px; }
.win {
  position: absolute; right: 0; bottom: 0; width: 78%; border-radius: 12px; overflow: hidden; background: var(--win);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .08);
  transform-origin: 100% 100%;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .45s ease, filter .45s ease;
}
.win-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; background: var(--win-bar); color: var(--win-text); font-size: 12.5px; font-weight: 600; }
.win-bar svg { width: 14px; height: 14px; fill: none; stroke: #ff8a00; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.win-bar .ctl { margin-left: auto; display: flex; gap: 14px; opacity: .6; font-weight: 400; letter-spacing: 2px; }
.win img { width: 100%; aspect-ratio: 1100 / 617; object-fit: cover; object-position: left top; }
.win[data-depth="0"] { transform: none; z-index: 5; }
.win[data-depth="1"] { transform: translate(-12%, -12%) scale(.95); z-index: 4; filter: brightness(.86); }
.win[data-depth="2"] { transform: translate(-24%, -24%) scale(.9); z-index: 3; filter: brightness(.74); }
.win[data-depth="3"] { transform: translate(-36%, -36%) scale(.85); z-index: 2; filter: brightness(.64); }
.win[data-depth="4"] { transform: translate(-48%, -48%) scale(.8); z-index: 1; filter: brightness(.55); }
.win:not([data-depth="0"]) { cursor: pointer; }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 8; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--text); box-shadow: var(--shadow); cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.arrow.prev { left: 0; }
.arrow.next { right: 0; }
.dots { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--accent-fill); width: 22px; border-radius: 6px; }
.dots .count { margin-left: 8px; font-variant-numeric: tabular-nums; }

.pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0 14px; font-weight: 800; }
.hero h1 .line { display: block; }
.hero .lead { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.feat-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.feat-list li { margin: 0; }
.feat {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; font: inherit; color: var(--text);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.feat:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.feat[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.feat .tile { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.feat[aria-pressed="true"] .tile { background: var(--accent-fill) var(--accent-grad); color: var(--accent-ink); }
.feat .tile svg, .card .tile svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat strong { display: block; font-size: 15px; }
.feat span.d { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }

/* sections */
section.block { max-width: var(--wide); margin: 0 auto; padding: 56px 20px 8px; scroll-margin-top: 72px; }
section.block > h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 8px; font-weight: 800; }
section.block > .sub { color: var(--muted); max-width: var(--measure); margin-bottom: 26px; }
/* the preview banner: a light rounded strip, centred */
.notice { max-width: var(--wide); margin: 12px auto 0; padding: 0 20px; }
.banner {
  max-width: 880px; margin: 0 auto; display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 20px; padding: 14px 22px;
}
.banner p { margin: 0; flex: 1 1 380px; font-size: 15.5px; }
.badge-preview { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-fill); border-radius: 999px; padding: 4px 12px; }
.banner .soon { flex: none; font-size: 13px; font-weight: 600; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.shots-note { color: var(--muted); font-size: 13px; text-align: center; max-width: 34rem; margin: 10px auto 0; }

/* features: a plain list in columns, no boxes */
.flist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 44px; }
.fitem { border-top: 1px solid var(--line); padding-top: 16px; }
.fitem h3 { font-size: 17px; margin: 0 0 6px; }
.fitem p, .fitem li { color: var(--muted); font-size: 15px; }
.fitem p { margin: 0 0 8px; }
.fitem ul { padding-left: 18px; margin: 0; }
.fitem .beta { font-size: 14px; }

/* lightbox: the front window larger */
.win[data-depth="0"] { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 8, 8, .9); display: grid; place-items: center; padding: 24px 72px; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lb-fig img { max-width: min(90vw, 1500px); max-height: 84vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); background: #080808; }
.lb-fig figcaption { color: #f2efe9; font-size: 14px; margin-top: 10px; text-align: center; }
.lightbox .arrow { position: fixed; }
.lightbox .arrow.prev { left: 16px; }
.lightbox .arrow.next { right: 16px; }
.lb-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 1080px) { .flist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .flist { grid-template-columns: 1fr; gap: 22px; }
  .banner { border-radius: 16px; padding: 14px 16px; }
  .lightbox { padding: 64px 8px; }
  .lightbox .arrow { top: auto; bottom: 16px; transform: none; }
}
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.card .tile { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p, .card li { color: var(--muted); font-size: 15px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .beta { font-size: 13.5px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #9a5b00; background: #fff3d6; border-radius: 6px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px; }
.figure-card { margin: 22px 0 0; }
.figure-card img { border-radius: 12px; box-shadow: var(--shadow-lg); }
.figure-card figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.next-list { columns: 2; column-gap: 40px; padding-left: 20px; }
.next-list li { break-inside: avoid; }
table.plain { border-collapse: collapse; width: 100%; font-size: 15px; }
table.plain th, table.plain td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { font-size: 13px; color: var(--muted); font-weight: 600; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cta p { margin: 0; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 15px; }

/* footer */
.bottom { border-top: 1px solid var(--line); margin-top: 64px; padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
.bottom .wide-wrap > p { margin: 0 0 8px; }
.foot-links a { margin-right: 18px; }

/* feedback form */
.page { max-width: var(--measure); margin: 0 auto; padding: 40px 16px 0; }
.page h1 { font-size: clamp(30px, 3.6vw, 40px); margin: 0 0 12px; font-weight: 800; }
.page .lede { font-size: 18px; }
.page h2 { font-size: 22px; margin: 40px 0 10px; }
.form { margin: 8px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.field { margin: 0 0 18px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .hint { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 2px; }
fieldset.field { border: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 16px; margin: 0; }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
}
textarea { min-height: 11rem; resize: vertical; line-height: 1.5; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.trap { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.count { color: var(--muted); font-size: 13px; text-align: right; margin-top: 4px; }
.field label.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400; }
.consent input { margin-top: 5px; }
button.send { font: inherit; font-weight: 600; color: var(--accent-ink); background: var(--accent-fill) var(--accent-grad); border: 0; border-radius: 10px; padding: 11px 24px; cursor: pointer; }
button.send[disabled] { opacity: .6; cursor: default; }
.result { margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--accent); }
.result.error { border-left-color: #c0392b; }

@media (max-width: 1080px) {
  .links { gap: 18px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .links { display: none; }
  .tools { margin-left: auto; }
}
@media (max-width: 640px) {
  .top-row { gap: 10px; padding: 0 14px; }
  .brand { font-size: 19px; }
  .tools .btn { padding: 8px 12px; font-size: 14px; }
  .hero { padding: 20px 16px 8px; }
  .stack { margin: 0 18px; }
  .arrow { width: 38px; height: 38px; }
  .grid, .two, .row2, .row3 { grid-template-columns: 1fr; }
  .row2, .row3 { gap: 0; }
  .next-list { columns: 1; }
  section.block { padding: 44px 16px 0; }
  .notice { padding: 0 16px; }
  .form { padding: 18px; }
}
@media (max-width: 420px) {
  .langs button { padding: 4px 3px; }
  .tools .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .win, .feat { transition: none; }
}

/* Get SDRSowa before the release: a thank-you note under the top bar (site.js) */
.get-note { position: fixed; top: 78px; right: 16px; z-index: 60; max-width: 360px; display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 14px 14px 18px; border-radius: 12px; background: var(--card); color: var(--text);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 12px 32px rgb(0 0 0 / 0.35); }
.get-note[hidden] { display: none; }
.get-note p { margin: 0; font-size: 15px; line-height: 1.5; }
.get-close { flex: none; border: 0; background: none; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; opacity: 0.7; }
.get-close:hover { opacity: 1; }

/* the owl banner at the end of the page (owner, 2026-10-12): a dark panel in both themes, as the picture is on black */
.mascot { width: calc(100% - 40px); max-width: calc(var(--wide) - 40px); margin: 56px auto 24px; padding: 24px 16px 8px; text-align: center; color: var(--text);
  background: none; } /* the owl is transparent (owner's picture), so it sits straight on the page in both themes */
.mascot-title { margin: 0; display: flex; flex-direction: column; gap: 4px; font-weight: 900; letter-spacing: -0.02em;
  line-height: 1.02; font-size: clamp(30px, 6vw, 64px); }
.mascot-slogan { background: linear-gradient(90deg, #ff8a00, #ffc34d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mascot img { display: block; margin: 18px auto 0; width: min(440px, 86%); height: auto; }
