/* Promo site. Colours are the app's tokens (src/app.css); --accent-text and
   --muted are a little darker in light mode so small text passes WCAG AA. */

@font-face {
    font-family: 'Figtree';
    src: url('fonts/Figtree-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Figtree';
    src: url('fonts/Figtree-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Young Serif';
    src: url('fonts/YoungSerif-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

:root {
    --paper: #f6efe3;
    --card: #fffaf2;
    --ink: #2b231c;
    --muted: #6b5e51;
    --line: #e4d8c5;
    --terra: #b4532a;
    --accent-text: #a24823;
    --terra-soft: #f3dccd;
    --olive: #5e6b3a;
    --olive-soft: #e5e8d3;
    --amber: #d9a441;
    --amber-soft: #f5e6c4;
    --on-accent: #ffffff;
    --frame: #2b231c;
    --shadow: rgba(43, 35, 28, 0.16);
    --band: #2b231c;
    --band-ink: #f6efe3;
    --band-muted: #d9cdbd;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) {
        --paper: #1b1713;
        --card: #25201a;
        --ink: #f0e7d9;
        --muted: #a99a8a;
        --line: #3a3129;
        --terra: #e2794c;
        --accent-text: #e8865c;
        --terra-soft: #43291d;
        --olive: #aab57f;
        --olive-soft: #2e321f;
        --amber-soft: #3d311a;
        --on-accent: #1b1713;
        --frame: #0d0b09;
        --shadow: rgba(0, 0, 0, 0.45);
        --band: #110e0b;
        --band-ink: #f0e7d9;
        --band-muted: #c9bcab;
        color-scheme: dark;
    }
}

:root[data-theme='dark'] {
    --paper: #1b1713;
    --card: #25201a;
    --ink: #f0e7d9;
    --muted: #a99a8a;
    --line: #3a3129;
    --terra: #e2794c;
    --accent-text: #e8865c;
    --terra-soft: #43291d;
    --olive: #aab57f;
    --olive-soft: #2e321f;
    --amber-soft: #3d311a;
    --on-accent: #1b1713;
    --frame: #0d0b09;
    --shadow: rgba(0, 0, 0, 0.45);
    --band: #110e0b;
    --band-ink: #f0e7d9;
    --band-muted: #c9bcab;
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font:
        1.0625rem/1.6 Figtree,
        system-ui,
        sans-serif;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent-text);
    text-underline-offset: 0.15em;
}

a:hover {
    color: var(--ink);
}

:focus-visible {
    outline: 3px solid var(--accent-text);
    outline-offset: 3px;
    border-radius: 6px;
}

main:focus {
    outline: none;
}

[hidden] {
    display: none !important;
}

.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: 16px;
    top: -100px;
    z-index: 10;
    background: var(--ink);
    color: var(--paper);
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

.skip:focus {
    top: 12px;
    color: var(--paper);
}

.serif {
    font-family: 'Young Serif', Georgia, serif;
    font-weight: 400;
}

h1,
h2 {
    font-family: 'Young Serif', Georgia, serif;
    font-weight: 400;
    margin: 0;
    line-height: 1.12;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.5rem, 5.4vw, 4.375rem);
    line-height: 1.06;
}

h2 {
    font-size: clamp(2rem, 3.6vw, 2.875rem);
}

h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

.accent {
    color: var(--accent-text);
}

.eyebrow {
    margin: 0;
    font-family: Figtree, system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--muted);
}

.lead {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 36em;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.9375rem;
}

.strong {
    font-weight: 600;
}

.amt {
    color: var(--accent-text);
    font-weight: 600;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.narrow {
    max-width: 840px;
}

.stack-xl {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.stack-lg {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 44rem;
}

.split-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px 32px;
}

.split-head > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.split-head a {
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
}

/* Header */

.site-header {
    border-bottom: 1px solid var(--line);
}

.header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 32px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-family: 'Young Serif', Georgia, serif;
    font-size: 1.5rem;
    min-height: 48px;
}

.brand img {
    width: 48px;
    height: 48px;
}

.main-nav ul,
.langs ul,
.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.main-nav ul {
    gap: 0 22px;
}

.main-nav a,
.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink);
    text-decoration: none;
}

.main-nav a:hover,
.footer-links a:hover {
    color: var(--accent-text);
    text-decoration: underline;
}

.main-nav a[aria-current='page'] {
    color: var(--accent-text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
}

.tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.langs ul {
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
}

.langs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 38px;
    padding: 0 8px;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.langs a:hover {
    background: var(--terra-soft);
    color: var(--ink);
}

.langs a[aria-current='true'] {
    background: var(--ink);
    color: var(--paper);
}

.round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    font:
        600 1.375rem/1 Figtree,
        system-ui,
        sans-serif;
    cursor: pointer;
}

.round:hover:not(:disabled) {
    border-color: var(--terra);
    color: var(--accent-text);
}

.round:disabled {
    opacity: 0.4;
    cursor: default;
}

.theme-toggle .icon-sun,
.theme-toggle[aria-pressed='true'] .icon-moon {
    display: none;
}

.theme-toggle[aria-pressed='true'] .icon-sun {
    display: block;
}

/* Buttons */

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 10px 24px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.0625rem;
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary {
    background: var(--terra);
    color: var(--on-accent);
}

.btn-primary:hover {
    color: var(--on-accent);
    filter: brightness(1.08);
}

.btn-secondary {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    color: var(--accent-text);
    border-color: var(--terra);
}

/* The step number in "1 Join the group", "2 Go to the test page". */
.btn-step {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.btn-play {
    background: var(--ink);
    color: var(--paper);
    padding-left: 18px;
}

.btn-play:hover {
    color: var(--paper);
    opacity: 0.9;
}

.btn-lines {
    display: flex;
    flex-direction: column;
}

.btn-small {
    font-size: 0.75rem;
    font-weight: 400;
}

.btn-big {
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-ghost {
    color: var(--ink);
    padding-left: 8px;
    padding-right: 8px;
}

.btn-ghost:hover {
    color: var(--accent-text);
}

/* Hero */

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px 64px;
    padding-top: 64px;
    padding-bottom: 88px;
}

.hero-text {
    flex: 1 1 440px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.status {
    font-weight: 600;
    color: var(--olive);
}

.trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    color: var(--muted);
    font-size: 0.9375rem;
}

.trust li:not(:last-child)::after {
    content: '·';
    padding: 0 10px;
}

.hero-phones {
    flex: 1 1 400px;
    min-width: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 32px;
}

.phone {
    background: var(--frame);
    border-radius: 40px;
    padding: 9px;
    box-shadow: 0 24px 60px var(--shadow);
}

.phone img {
    display: block;
    width: 100%;
    border-radius: 32px;
}

.phone-back {
    width: 46%;
    max-width: 260px;
    margin-top: 72px;
    margin-right: -40px;
    transform: rotate(-4deg);
}

.phone-front {
    width: 50%;
    max-width: 280px;
    position: relative;
    z-index: 1;
}

.float-card {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 30px var(--shadow);
    line-height: 1.3;
}

.float-card > span:last-child {
    display: flex;
    flex-direction: column;
}

.initial {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--terra-soft);
    color: var(--accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
}

.float-title {
    font-weight: 600;
}

.float-meta {
    font-size: 0.875rem;
    color: var(--muted);
}

/* How it works */

.band {
    background: var(--card);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 88px 0;
    scroll-margin-top: 16px;
}

.ways {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.way {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border-radius: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
}

.way p {
    color: var(--muted);
}

.tile {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-terra {
    background: var(--terra-soft);
    color: var(--accent-text);
}

.tile-olive {
    background: var(--olive-soft);
    color: var(--olive);
}

.before-after {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.before-after figure {
    margin: 0;
    min-width: 0;
    padding: 28px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.before {
    flex: 1 1 340px;
    border: 2px dashed var(--line);
    color: var(--muted);
}

.before blockquote {
    margin: 0;
}

.before-meta {
    font-size: 0.875rem;
}

.arrow-dot {
    flex: none;
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--terra);
    color: var(--on-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-dot svg {
    width: 24px;
    height: 24px;
}

.after {
    flex: 1 1 400px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px var(--shadow);
}

.steps {
    list-style: none;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 1.125rem;
}

.steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 16px;
}

.steps li::before {
    content: counter(step);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--terra-soft);
    color: var(--accent-text);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* Features */

.features {
    display: flex;
    flex-direction: column;
    gap: 112px;
    padding-top: 112px;
    padding-bottom: 112px;
    scroll-margin-top: 16px;
}

.feature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px 72px;
}

.feature-flip {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1 1 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-visual {
    flex: 1 1 340px;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.feature-visual .phone {
    width: 100%;
    max-width: 300px;
}

.demo {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.demo-label {
    font-weight: 600;
}

.stepper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.count {
    font-size: 1.75rem;
    min-width: 2ch;
    text-align: center;
}

.ingredients {
    list-style: none;
}

.ingredients li {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.ingredients .amt {
    text-align: right;
}

.demo-step {
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--paper);
}

.cards {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.mini {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timebar {
    display: flex;
    gap: 3px;
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
}

.tb-prep {
    flex: 20;
    background: var(--olive);
}

.tb-cook {
    flex: 15;
    background: var(--amber);
}

.tb-oven {
    flex: 25;
    background: var(--terra);
}

.ticks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticks li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticks .done {
    color: var(--muted);
}

.ticks .next {
    font-weight: 600;
}

.tick {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tick-done {
    background: var(--olive);
    color: var(--on-accent);
}

.tick-open {
    border: 2px solid var(--terra);
}

.big {
    font-size: 2.125rem;
    color: var(--accent-text);
    line-height: 1.2;
}

.household {
    width: 100%;
    max-width: 440px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.paired {
    display: flex;
    align-items: center;
    gap: 16px;
    line-height: 1.35;
}

.paired > span:last-child,
.drawing-caption {
    display: flex;
    flex-direction: column;
}

.rating {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--amber);
}

.quote {
    margin-top: 6px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--paper);
}

.drawing {
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}

.drawing-art {
    background: var(--terra-soft);
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soup {
    width: 260px;
    max-width: 80%;
    height: auto;
}

.f-shadow {
    fill: var(--ink);
    opacity: 0.1;
}

.f-terra {
    fill: var(--terra);
}

.f-amber {
    fill: var(--amber);
}

.f-olive {
    fill: var(--olive);
}

.f-card {
    fill: var(--card);
}

.s-steam {
    fill: none;
    stroke: var(--card);
    stroke-width: 5;
    stroke-linecap: round;
}

.s-spoon {
    stroke: var(--olive);
    stroke-width: 8;
    stroke-linecap: round;
}

.drawing-caption {
    padding: 20px 24px;
}

.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chips li {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Yours: the dark band */

.dark-band {
    background: var(--band);
    color: var(--band-ink);
    padding: 96px 0;
}

.dark-band a {
    color: var(--band-ink);
}

.dark-band a:hover {
    color: var(--band-muted);
}

.dark-band :focus-visible {
    outline-color: var(--band-ink);
}

.promises {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px 40px;
}

.promises li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 2px solid var(--terra);
    padding-top: 18px;
}

.promises p {
    color: var(--band-muted);
}

/* FAQ */

.faq {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 80px;
    padding-top: 104px;
    padding-bottom: 104px;
}

.faq-head {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-list {
    flex: 2 1 520px;
    min-width: 0;
    border-top: 1px solid var(--line);
}

details {
    border-bottom: 1px solid var(--line);
}

summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 44px;
    padding: 18px 0;
    font-weight: 600;
    font-size: 1.1875rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary svg {
    flex: none;
}

details[open] summary .icon-plus {
    transform: rotate(45deg);
}

details p {
    padding-bottom: 20px;
    color: var(--muted);
    max-width: 44em;
}

/* What's new */

.news-band {
    border-top: 1px solid var(--line);
    padding: 96px 0;
}

.news {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.news-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-card h3 a {
    color: var(--ink);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-card h3 a:hover .news-title {
    text-decoration: underline;
}

.version {
    color: var(--accent-text);
    font-size: 1.375rem;
}

/* Join the test / download */

.join {
    padding-bottom: 96px;
    scroll-margin-top: 16px;
}

.join-box {
    background: var(--terra-soft);
    border-radius: 32px;
    padding: clamp(28px, 6vw, 72px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px 48px;
}

.join-text {
    flex: 1 1 440px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.join-text .eyebrow,
.join-box .muted {
    color: var(--ink);
}

.join-steps {
    padding-left: 1.4em;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.join-action {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 22rem;
}

.download-text {
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.download-text img {
    flex: none;
    width: 96px;
    height: 96px;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 40px 0 48px;
    color: var(--muted);
    font-size: 0.9375rem;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-name {
    font-size: 1.25rem;
    color: var(--ink);
}

.footer-links {
    gap: 0 24px;
}

.trademark {
    flex-basis: 100%;
    font-size: 0.8125rem;
}

/* Changelog */

.page-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 64px;
    padding-bottom: 40px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font:
        600 0.9375rem Figtree,
        system-ui,
        sans-serif;
    cursor: pointer;
}

.pill:hover {
    border-color: var(--terra);
}

.pill[aria-pressed='true'] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.releases {
    padding-bottom: 96px;
}

.release {
    padding: 32px 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-margin-top: 16px;
}

.release h2 {
    font-size: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 16px;
}

.release .version {
    font-size: 2.125rem;
}

.release-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.latest {
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--terra);
    color: var(--on-accent);
    border-radius: 999px;
    padding: 2px 12px;
}

.changes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.changes li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tag {
    flex: none;
    min-width: 6.5em;
    text-align: center;
    margin-top: 2px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.6;
    text-transform: uppercase;
}

.tag-new {
    background: var(--olive-soft);
    color: var(--olive);
}

.tag-better {
    background: var(--terra-soft);
    color: var(--accent-text);
}

.tag-fixed {
    background: var(--amber-soft);
    color: var(--ink);
}

/* Privacy */

.privacy {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px 56px;
    padding-bottom: 96px;
}

.toc {
    flex: 1 1 220px;
    max-width: 300px;
    min-width: 0;
}

.toc h2 {
    padding-bottom: 8px;
}

.toc ol {
    list-style: none;
}

.toc a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    text-decoration: none;
}

.toc a:hover {
    color: var(--accent-text);
}

.privacy-sections {
    flex: 999 1 560px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.privacy-section {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-margin-top: 16px;
}

.privacy-section h2 {
    font-family: Figtree, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.privacy-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    font-weight: 600;
}

.privacy-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

/* Phone width */

@media (max-width: 640px) {
    .hero {
        padding-top: 40px;
    }

    .band,
    .dark-band,
    .news-band {
        padding: 64px 0;
    }

    .features {
        gap: 80px;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .faq {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .float-card {
        position: static;
        flex-basis: 100%;
        margin-top: 24px;
    }

    .hero-phones {
        flex-wrap: wrap;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .download-text {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Windows high contrast and other forced colours */

@media (forced-colors: active) {
    .btn,
    .round,
    .pill,
    .tag,
    .latest,
    .langs a[aria-current='true'] {
        border: 1px solid ButtonText;
    }

    .pill[aria-pressed='true'],
    .langs a[aria-current='true'] {
        forced-color-adjust: none;
        background: Highlight;
        color: HighlightText;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
