:root {
    color-scheme: light;
    --paper: #f6f5ef;
    --surface: #fffef9;
    --ink: #1c302c;
    --muted: #53645e;
    --accent: #17624f;
    --line: #c7d0c4;
    --tint: #eaf0e5;
    --measure: 72rem;
    font-family: "Trebuchet MS", "Liberation Sans", sans-serif;
    font-size: 18px;
    line-height: 1.65;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--ink);
    background: linear-gradient(155deg, #eef2e7, transparent 34rem), var(--paper);
}
body.host {
    --accent: #195b7b;
    --ink: #193442;
    --muted: #4c6471;
    --line: #c0cfd5;
    --tint: #e7eef2;
    background: linear-gradient(155deg, #e1edf1, transparent 34rem), var(--paper);
}
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}
p, li, h1, h2, h3, a { overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
figcaption { color: var(--muted); margin-top: .75rem; font-size: .9rem; }
h1, h2, h3 { line-height: 1.15; font-weight: 500; }
h1, h2 { font-family: Georgia, "Liberation Serif", serif; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.04em; margin: .5rem 0 1.2rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.025em; margin: 0 0 1rem; }
h3 { font-size: 1.15rem; font-weight: bold; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: .6rem; }
code { font-family: "Courier New", monospace; font-size: .9em; }
.wrap { width: min(var(--measure), calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -8rem; padding: .6rem 1rem; background: var(--surface); z-index: 2; }
.skip-link:focus { top: .5rem; }
.site-header { padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.header-row, nav, .actions { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; align-items: center; }
.header-row { justify-content: space-between; }
.brand { font-weight: bold; text-decoration: none; }
nav { font-size: .9rem; }
nav a { padding-block: .3rem; }
.hero { padding-block: 4rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.hero > * { min-width: 0; }
.receiver-name { display: inline-block; max-width: 100%; }
.screenshot-link { display: block; border-radius: .5rem; }
.screenshot-link img { width: 100%; border-radius: inherit; box-shadow: 0 .5rem 1.5rem #1c302c14; }
.eyebrow { font-size: .75rem; letter-spacing: .14em; font-weight: bold; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 1.2rem; max-width: 42rem; }
.small { font-size: .9rem; color: var(--muted); }
.actions { margin-block: 1.5rem 1rem; }
.button { display: inline-block; padding: .75rem 1.1rem; border: 1px solid var(--accent); background: var(--accent); color: white; border-radius: .3rem; text-decoration: none; font-weight: bold; }
.button.secondary { background: transparent; color: var(--accent); }
.button:hover { text-decoration: underline; }
.section { border-top: 1px solid var(--line); padding-block: 3rem; }
.section > p { max-width: 48rem; }
.demo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.demo > * { min-width: 0; }
.video-frame { position: relative; width: min(100%, 360px); aspect-ratio: 9 / 16; margin-inline: auto; border-radius: .5rem; overflow: hidden; background: var(--ink); box-shadow: 0 .5rem 1.5rem #1c302c24; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-preview { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1rem; text-align: center; text-decoration: none; color: white; background: linear-gradient(#10272299, #102722dd), url('assets/wtfreq-main.png') center / cover; }
.video-preview:hover { background-color: var(--accent); text-decoration: underline; }
.video-preview:focus-visible { outline-color: white; outline-offset: -6px; }
.video-play { display: grid; place-items: center; width: 3rem; height: 3rem; flex-shrink: 0; padding-left: .15rem; border-radius: 50%; background: white; color: var(--accent); font-size: 1.25rem; }
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns > * { min-width: 0; }
.number { font-family: "Courier New", monospace; color: var(--accent); font-size: .9rem; }
.notice { border-left: 4px solid var(--accent); padding: 1.2rem 1.4rem; background: var(--tint); margin-block: 1.5rem; }
.notice p:last-child { margin-bottom: 0; }
.placeholder {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-content: center;
    text-align: center;
    gap: .6rem;
    padding: 1.5rem;
    border: 1px dashed var(--accent);
    border-radius: .4rem;
    background: repeating-linear-gradient(135deg, transparent 0 14px, #7588720a 14px 15px), var(--tint);
    color: var(--muted);
    aspect-ratio: 4 / 3;
}
.placeholder strong { font-family: Georgia, "Liberation Serif", serif; font-size: 1.6rem; color: var(--ink); font-weight: normal; }
.placeholder span { font-size: .85rem; }
.placeholder.portrait { aspect-ratio: 9 / 16; }
.gallery { margin-top: 1.8rem; }
details { padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: bold; }
details p { margin: 1rem 0 0; max-width: 48rem; }
.prose { max-width: 48rem; padding-block: 3rem; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.prose h2 { margin-top: 2.2rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.6rem; }
.draft { border: 1px dashed #88652d; background: #fff1d6; color: #513b16; padding: 1rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; font-size: .85rem; color: var(--muted); }
.site-footer p { margin-top: 1rem; }

@media (max-width: 760px) {
    .wrap { width: calc(100% - 2rem); }
    .hero { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2.5rem; }
    .demo { grid-template-columns: 1fr; gap: 1.5rem; }
    .columns { grid-template-columns: 1fr; gap: 1.5rem; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 22rem; width: 100%; margin-inline: auto; }
    .section { padding-block: 2rem; }
}
@media (max-width: 420px) {
    .gallery { grid-template-columns: 1fr; }
}
@media print {
    body, body.host { background: white; color: black; }
    .site-header, .skip-link, .actions, .gallery, .placeholder, .video-frame, .site-footer { display: none; }
    .hero, .columns, .demo { display: block; }
    .wrap { width: 100%; }
}
