:root {
    color-scheme: light;

    --bg: #fff7fa;
    --surface: #ffffff;
    --surface-muted: #ffe9f1;
    --border: #f6dee7;
    --border-strong: #fcd4e3;
    --text: #3e2b36;
    --text-muted: #6e5563;
    --primary: #be4571;
    --primary-hover: #993558;
    --on-primary: #ffffff;
    --link: #993558;
    --accent-soft: #ffe9f1;
    --success: #2f6a4f;
    --success-soft: #e3f3ea;
    --warning: #8a5a16;
    --warning-soft: #fcedda;
    --pill-fill: #f9c0d4;
    --pill-stroke: #d57c9d;
    --focus: #993558;
    --shadow: 0 1px 2px rgb(62 43 54 / 5%), 0 8px 24px rgb(226 106 149 / 10%);
    --shadow-lifted: 0 2px 6px rgb(62 43 54 / 7%), 0 16px 40px rgb(226 106 149 / 16%);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --measure: 68ch;
    --wrap: 1120px;
    --gutter: 16px;
}

*,
*::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(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1.125rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
    font-weight: 750;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

p,
ul,
ol {
    margin: 0 0 1em;
}

a {
    color: var(--link);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

a:hover {
    text-decoration-thickness: 2px;
}

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

main:focus {
    outline: none;
}

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

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    background: var(--surface-muted);
    padding: 0.1em 0.35em;
    border-radius: 6px;
}

mark.pending {
    background: var(--warning-soft);
    color: var(--warning);
    border: 1px dashed currentColor;
    border-radius: 6px;
    padding: 0 0.35em;
    font-weight: 600;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

@media (min-width: 720px) {
    :root {
        --gutter: 32px;
    }
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 10;
    background: var(--primary);
    color: var(--on-primary);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

/* Header */

.site-header {
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 68px;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}

.logo {
    width: 36px;
    height: 36px;
    flex: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: var(--accent-soft);
}

.site-nav .lang-switch {
    border: 1.5px solid var(--border-strong);
    margin-left: 4px;
}

@media (max-width: 520px) {
    .header-inner {
        padding-block: 8px;
    }

    .site-nav a {
        padding: 8px 10px;
        font-size: 0.95rem;
    }
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 2px solid transparent;
    line-height: 1.2;
}

.button-primary {
    background: var(--primary);
    color: var(--on-primary);
    box-shadow: var(--shadow);
}

.button-primary:hover {
    background: var(--primary-hover);
}

.button-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
}

.button-secondary:hover {
    border-color: var(--primary);
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 18px 8px 14px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    color: var(--text);
    text-decoration: none;
    line-height: 1.2;
}

.store-badge svg {
    width: 26px;
    height: 26px;
    flex: none;
}

.store-badge small {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.store-badge strong {
    font-size: 1.05rem;
}

.store-badge[aria-disabled="true"] {
    border-style: dashed;
}

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

/* Home */

.hero {
    padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px);
}

.hero-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.eyebrow {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--link);
    background: var(--accent-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.lead {
    font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
    color: var(--text-muted);
    max-width: 36ch;
    margin-bottom: 32px;
}

.hero .actions + .actions {
    margin-top: 16px;
}

.preview-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lifted);
    padding: 24px;
    max-width: 400px;
    width: 100%;
    justify-self: center;
}

.preview-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.2;
}

.preview-date {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

.preview-group {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 18px 0 10px;
}

.dose {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    border: 1px solid var(--border);
    margin-bottom: 10px;
}

.dose-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex: none;
    display: grid;
    place-items: center;
}

.tone-blush {
    --fill: #f9c0d4;
    --stroke: #d57c9d;
}

.tone-butter {
    --fill: #fbe8a6;
    --stroke: #c9a945;
}

.tone-sky {
    --fill: #b8d9f5;
    --stroke: #6c9ec7;
}

.dose-icon {
    background: color-mix(in srgb, var(--fill) 35%, transparent);
}

.dose-icon span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid var(--stroke);
    background: var(--fill);
}

.dose-body {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.dose-body strong {
    display: block;
}

.dose-body small {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dose-action {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--on-primary);
}

.dose-action.done {
    background: var(--success-soft);
    color: var(--success);
}

.band {
    padding-block: clamp(56px, 8vw, 104px);
}

.band-muted {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.section-intro {
    max-width: 44rem;
    margin-bottom: 40px;
}

.section-intro p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.showcase {
    display: grid;
    gap: 32px;
    align-items: center;
    padding-block: 40px;
}

@media (min-width: 900px) {
    .showcase {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        padding-block: 56px;
    }

    .showcase-reverse .showcase-text {
        order: 2;
    }
}

.showcase-text h3 {
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
    font-weight: 750;
}

.showcase-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.kicker {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--link);
    margin-bottom: 10px;
}

.mock-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lifted);
    padding: 24px;
}

.mock-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 18px 0 10px;
}

.mock-label:first-child {
    margin-top: 0;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    line-height: 1.3;
}

.chip-on {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

.chip-time {
    background: var(--accent-soft);
    border-color: transparent;
    font-variant-numeric: tabular-nums;
}

.chip-add {
    border-style: dashed;
    color: var(--link);
}

.mock-summary {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
}

.mock-summary span + span {
    color: var(--text-muted);
    font-weight: 600;
}

.preview-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.preview-row {
    display: grid;
    grid-template-columns: 6.2em 1fr;
    gap: 10px;
    padding: 12px 14px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.preview-row:last-child {
    border-bottom: 0;
}

.preview-day {
    font-weight: 700;
}

.preview-times {
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
}

mark.night {
    background: #e8e0f7;
    color: #4a3a78;
    font-weight: 700;
    border-radius: 6px;
    padding: 0 0.3em;
}

.levels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.level {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.45;
}

.level strong {
    display: block;
    color: var(--text);
    font-size: 1.1rem;
}

.level-4 {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.level-meter {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    flex: none;
    height: 28px;
}

.level-meter i {
    width: 6px;
    border-radius: 3px;
    background: var(--border-strong);
}

.level-meter i:nth-child(1) { height: 25%; }
.level-meter i:nth-child(2) { height: 50%; }
.level-meter i:nth-child(3) { height: 75%; }
.level-meter i:nth-child(4) { height: 100%; }

.level-1 .level-meter i:nth-child(-n + 1),
.level-2 .level-meter i:nth-child(-n + 2),
.level-3 .level-meter i:nth-child(-n + 3),
.level-4 .level-meter i:nth-child(-n + 4) {
    background: var(--primary);
}

.profile-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.profile-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: var(--fill);
    color: #3e2b36;
    flex: none;
}

.avatar svg {
    width: 22px;
    height: 22px;
    fill: #3e2b36;
}

.tone-mint {
    --fill: #bce5ce;
    --stroke: #6fae8d;
}

.profile-name {
    font-weight: 700;
    flex: 1;
}

.profile-count {
    font-size: 0.9rem;
    color: var(--success);
    font-weight: 600;
}

.profile-count.pending-count {
    color: var(--link);
}

.mock-notification {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 85%);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lifted);
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.mock-notification strong {
    display: block;
    color: var(--text);
}

.mock-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    flex: none;
}

.mock-app-icon .logo {
    width: 30px;
    height: 30px;
}

.extras {
    display: grid;
    gap: 16px;
    margin-top: 40px;
}

@media (min-width: 800px) {
    .extras {
        grid-template-columns: repeat(3, 1fr);
    }
}

.extra {
    border-top: 2px solid var(--border-strong);
    padding-top: 16px;
}

.extra h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.extra p {
    color: var(--text-muted);
    margin: 0;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--link);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.free-panel {
    display: grid;
    gap: 40px;
    background: var(--text);
    color: var(--bg);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 5vw, 64px);
}

@media (min-width: 900px) {
    .free-panel {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.free-panel h2 {
    font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
}

.free-panel p {
    opacity: 0.88;
    font-size: 1.15rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.check-list li {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: rgb(255 255 255 / 8%);
}

.check-list svg {
    width: 24px;
    height: 24px;
    flex: none;
    color: var(--pill-fill);
}

.plus-teaser {
    display: grid;
    gap: 24px;
    align-items: center;
    background: var(--accent-soft);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 5vw, 56px);
}

@media (min-width: 900px) {
    .plus-teaser {
        grid-template-columns: 1.4fr 1fr;
    }
}

.plus-teaser p {
    color: var(--text-muted);
}

.faq {
    max-width: 52rem;
}

.faq details {
    border-bottom: 1px solid var(--border-strong);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 40px 20px 0;
    font-weight: 700;
    font-size: 1.15rem;
    position: relative;
}

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

.faq summary::after {
    content: "+";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--link);
}

.faq details[open] summary::after {
    content: "−";
}

.faq details > div {
    padding-bottom: 20px;
    color: var(--text-muted);
}

/* Prose pages */

.page-head {
    padding-block: clamp(36px, 6vw, 72px) 24px;
}

.page-head h1 {
    font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
}

.page-head .lead {
    max-width: 44rem;
    margin-bottom: 12px;
}

.meta {
    color: var(--text-muted);
    font-size: 1rem;
}

.prose {
    max-width: var(--measure);
    padding-bottom: 80px;
}

.prose-section {
    padding-top: 12px;
    margin-bottom: 36px;
    scroll-margin-top: 90px;
}

.prose-section h2 {
    font-size: 1.6rem;
}

.prose-section h3 {
    margin-top: 1.4em;
}

.prose li {
    margin-bottom: 0.5em;
}

.callout {
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin: 0 0 32px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
}

.callout > :last-child {
    margin-bottom: 0;
}

.callout-warning {
    background: var(--warning-soft);
    border-color: transparent;
}

.callout-warning strong:first-child {
    color: var(--warning);
}

.toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 40px;
}

.toc ol {
    margin: 0;
    padding-left: 1.4em;
    columns: 2 16rem;
    column-gap: 32px;
}

.toc li {
    margin-bottom: 6px;
    break-inside: avoid;
}

.table-scroll {
    overflow-x: auto;
    margin-bottom: 1.5em;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 1rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
}

th,
td {
    text-align: left;
    vertical-align: top;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--surface-muted);
    font-weight: 700;
}

tr:last-child td {
    border-bottom: 0;
}

.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.steps > li {
    counter-increment: step;
    position: relative;
    padding-left: 56px;
    margin-bottom: 24px;
    min-height: 40px;
}

.steps > li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 800;
    display: grid;
    place-items: center;
}

.platform-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

@media (min-width: 900px) {
    .platform-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.platform {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 36px);
}

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

.platform h2 svg {
    width: 30px;
    height: 30px;
}

.card-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 800px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.card p {
    color: var(--text-muted);
    margin: 0;
}

.status-chip {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--warning-soft);
    color: var(--warning);
    margin-bottom: 12px;
}

.device-list details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.device-list summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 700;
    min-height: 44px;
}

.device-list details > div {
    padding: 0 20px 8px;
}

.redirect-stub {
    padding-block: 64px;
    text-align: center;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding-block: 40px 48px;
    font-size: 1rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
}

.footer-links a {
    display: inline-block;
    padding-block: 8px;
}

.disclaimer,
.fine-print {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: var(--measure);
}

.fine-print {
    margin: 0;
}

/* Icons */

.logo circle {
    fill: var(--pill-fill);
    stroke: var(--pill-stroke);
    stroke-width: 3.5;
}

.logo line {
    stroke: var(--pill-stroke);
    stroke-width: 3.5;
    stroke-linecap: round;
}

.feature-icon svg,
.check-list svg,
.card-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-badge svg,
.platform h2 svg {
    fill: currentColor;
}

.h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.page-head .status-chip {
    margin-bottom: 16px;
}

.showcase-text h2 {
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
}

.one-subscription {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius-xl);
    background: var(--primary);
    color: var(--on-primary);
    text-align: center;
}

.one-subscription-title {
    font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    text-wrap: balance;
}

.one-subscription p:last-child {
    margin: 0 auto;
    max-width: 40rem;
    font-size: 1.15rem;
}

.band-tight {
    padding-block: 56px 16px;
}

@media (min-width: 800px) {
    .card-grid-two {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hourly preview */

.cycle-number {
    display: inline-block;
    min-width: 1.3em;
    text-align: center;
    color: var(--link);
    background: var(--accent-soft);
    border-radius: 12px;
    padding: 0 0.15em;
    font-variant-numeric: tabular-nums;
}

.cycle-number.is-swapping {
    animation: number-swap 0.45s ease-out;
}

@keyframes number-swap {
    from {
        opacity: 0;
        transform: translateY(0.35em);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cycle-number.is-swapping {
        animation: none;
    }
}

button.chip {
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    min-height: 40px;
    min-width: 56px;
}

button.chip.chip-on {
    color: var(--on-primary);
}

.interval-choices {
    margin-bottom: 18px;
}

/* Support topics */

.topic {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    scroll-margin-top: 90px;
}

.topic > summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 56px 20px 24px;
    position: relative;
}

.topic > summary::-webkit-details-marker {
    display: none;
}

.topic > summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--link);
}

.topic[open] > summary::after {
    content: "−";
}

.topic > summary h2 {
    font-size: 1.4rem;
    margin: 0;
}

.topic-body {
    padding: 0 24px 12px;
}

.topic-body .device-list details {
    background: var(--bg);
}

/* Notification signup */

.notify-box {
    background: var(--accent-soft);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 40px);
    margin-block: 48px;
}

.notify-box h2 {
    margin-top: 0;
}

.notify-box > :last-child {
    margin-bottom: 0;
}

.notify-box .button {
    margin-block: 4px 8px;
}
