/* ================================================================
suchi modern theme, a thin layer over the local Oat stylesheet.
1) Oat's documented theme variables, remapped.
2) A small component layer: hero panel, cards, code cards, ladder.
Type, buttons, tables, form controls: stock Oat.
================================================================ */
body,
body[data-theme="light"] {
    --background: #fafaf8;
    --foreground: #17181a;
    --card: #ffffff;
    --card-foreground: #17181a;
    --primary: #0575b6; /* generated by brand/generate.py */
    --primary-foreground: #ffffff;
    --secondary: #f1f1ed;
    --secondary-foreground: #17181a;
    --muted: #f1f1ed;
    --muted-foreground: #6a7079;
    --faint: #f6f6f4;
    --faint-foreground: #8a8f97;
    --accent: #edf5fa; /* soft accent tint */
    --danger: #c13a2c;
    --danger-foreground: #ffffff;
    --success: #1e7a54;
    --success-foreground: #ffffff;
    --border: rgba(23, 24, 26, 0.11);
    --input: rgba(23, 24, 26, 0.16);
    --ring: #0575b6;
    /* layer extras */
    --line-strong: rgba(23, 24, 26, 0.17);
    --accent-soft: rgba(5, 117, 182, 0.07);
    --green-soft: rgba(30, 122, 84, 0.1);
    --code-bg: #101216;
    --code-fg: #e8e6de;
    --shadow:
        0 1px 2px rgba(23, 24, 26, 0.04), 0 8px 28px rgba(23, 24, 26, 0.06);
    --shadow-lift:
        0 2px 4px rgba(23, 24, 26, 0.05), 0 16px 44px rgba(23, 24, 26, 0.1);
    color-scheme: light;
}
:root {
    --maxw: 1120px;
    --r: 16px;
    --r-sm: 10px;
}
html {
    scroll-padding-top: 76px;
}
* {
    box-sizing: border-box;
}
body {
    font-family: "Schibsted Grotesk", system-ui, sans-serif;
    background: var(--background);
    font-size: 16.5px;
    line-height: 1.6;
    margin: 0;
}
code,
pre,
.mono {
    font-family: "Spline Sans Mono", ui-monospace, monospace;
}
h1,
h2,
h3,
h4 {
    letter-spacing: -0.015em;
}
.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
}
:focus-visible {
    outline-color: var(--ring);
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- top nav ---------- */
header.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--background) 82%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.top-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    white-space: nowrap;
}
.brand {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.brand svg {
    width: 26px;
    height: 26px;
    flex: none;
}
.brand .latin {
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}
nav.idx {
    margin-left: auto;
    display: flex;
    gap: 6px;
}
nav.idx a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 7px 13px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition:
        color 0.15s,
        background 0.15s;
}
nav.idx a b {
    font-family: "Spline Sans Mono", monospace;
    font-weight: 600;
    font-size: 0.68rem;
    color: var(--primary);
}
nav.idx a:hover {
    color: var(--foreground);
    background: var(--secondary);
}
.top-actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 2px;
}
.top-actions .ghico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: var(--foreground);
    border: 1px solid var(--line-strong);
    background: var(--card);
    transition:
        color 0.15s,
        border-color 0.15s,
        transform 0.12s;
}
.top-actions .ghico:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.top-actions .ghico:active {
    transform: translateY(1px);
}
@media (max-width: 1100px) {
    nav.idx {
        display: none;
    }
}

.toplink {
    font-size: 0.82rem;
    font-weight: 550;
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 8px;
}
.toplink:hover {
    color: var(--foreground);
    background: var(--secondary);
}
@media (max-width: 640px) {
    .toplink {
        padding: 6px 8px;
        font-size: 0.78rem;
    }
}
@media (max-width: 400px) {
    .top-inner {
        gap: 6px;
    }
    .brand {
        gap: 5px;
    }
    .brand svg {
        width: 23px;
        height: 23px;
    }
    .top-actions .ghico {
        width: 34px;
        height: 34px;
    }
    .toplink {
        padding: 6px;
    }
}

/* ---------- 00-09 showcase ---------- */
#showcase {
    padding: 0 0 84px;
}
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 44px;
}
@media (max-width: 980px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}
.showcase-lede {
    margin-bottom: 0;
}
.showcase-lede > * {
    display: block;
}
.showcase-lede > * + * {
    margin-top: 0.35em;
}
.showcase-payoff {
    color: var(--foreground);
    font-weight: 700;
}
.mediaframe {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(23, 24, 26, 0.05),
        0 18px 48px rgba(23, 24, 26, 0.09);
}
.mediaframe .bar {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--secondary);
}
.mediaframe .bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}
.mediaframe .bar i:nth-child(1) {
    background: #f26d5f;
}
.mediaframe .bar i:nth-child(2) {
    background: #f2be4c;
}
.mediaframe .bar i:nth-child(3) {
    background: #5fc26d;
}
.mediaframe .bar span {
    margin-left: auto;
    margin-right: auto;
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.7rem;
    color: var(--muted-foreground);
}
.mediaframe video,
.mediaframe img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 640px) {
    .mediaframe video {
        aspect-ratio: 9 / 16;
    }
}
.shots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 22px;
}
@media (max-width: 820px) {
    .shots {
        grid-template-columns: 1fr;
    }
}
.shot figcaption {
    font-size: 0.82rem;
    color: var(--muted-foreground);
    padding: 12px 4px 0;
}
.shot figcaption b {
    color: var(--foreground);
    font-weight: 600;
}
.shot {
    margin: 0;
}
.shot-wide {
    grid-column: 1 / -1;
}
.mobile-shots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 22px);
    align-items: start;
    margin-top: clamp(38px, 5vw, 58px);
}
.mobile-shot {
    min-width: 0;
    max-width: 220px;
    margin: 0;
    justify-self: center;
}
.mobile-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 9.75% / 4.5%;
    box-shadow: 0 2px 14px rgba(23, 24, 26, 0.12);
}
.mobile-shot figcaption {
    padding: 10px 2px 0;
    color: var(--muted-foreground);
    font-size: 0.78rem;
    line-height: 1.4;
}
.mobile-shot figcaption b {
    display: block;
    color: var(--foreground);
    font-size: 0.86rem;
}
@media (max-width: 640px) {
    .mobile-shots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }
}

.showcase-foot {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    font-size: 0.88rem;
    color: var(--muted-foreground);
}
.showcase-foot a {
    color: var(--primary);
    font-weight: 550;
    text-decoration: none;
}
.showcase-foot a:hover {
    text-decoration: underline;
}


/* ---------- mobile ---------- */
html,
body {
    overflow-x: clip;
}
.panel-tabs::-webkit-scrollbar {
    display: none;
}
.panel-tabs .ptab {
    white-space: nowrap;
    flex: none;
}
.filing {
    overflow: hidden;
}
@media (max-width: 640px) {
    html {
        scroll-padding-top: 68px;
    }
    main#top {
        padding-top: 0;
    }
    .top-actions {
        margin-left: auto;
    }
    .wrap {
        padding: 0 18px;
    }
    .hero-grid {
        gap: 34px;
    }
    .hero h1 {
        font-size: clamp(2.1rem, 9vw, 2.7rem);
    }
    .lede {
        font-size: 1rem;
    }
    h2 {
        font-size: clamp(1.5rem, 6.4vw, 1.9rem) !important;
        line-height: 1.12;
    }
    section {
        padding: 24px 0 !important;
    }
    #showcase {
        padding-top: 0 !important;
    }
    .cta-row [role="button"] {
        flex: 1 1 auto;
        text-align: center;
        padding: 13px 16px;
    }
    .pathfrom {
        color: #8a8f97;
    }
    .patharrow {
        color: #8a8f97;
    }
    .typepath {
        font-size: 0.66rem;
    }
    .mediaframe .bar span {
        font-size: 0.62rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .shot figcaption {
        font-size: 0.78rem;
    }
    footer.base .wrap {
        flex-wrap: wrap;
    }
    .footer-links .jd-note {
        flex-basis: 100%;
        margin-left: 0 !important;
    }
    .kicker {
        font-size: 0.66rem;
    }
    .jd-row .count {
        font-size: 0.68rem;
    }
}
@media (max-width: 400px) {
    .hero h1 {
        font-size: 2rem;
    }
    .pills {
        gap: 6px;
    }
    .pill {
        font-size: 0.62rem;
        padding: 4px 9px;
    }
}

@media (max-width: 680px) {
    .ledger table,
    .ledger tbody {
        display: block;
    }
    .ledger tr {
        display: block;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 12px 14px;
        margin-bottom: 10px;
        background: var(--card);
    }
    .ledger td {
        display: block;
        border: 0 !important;
        padding: 0;
    }
    .ledger td.v {
        margin-top: 8px;
    }
    .ledger td .arr {
        display: inline-block;
        transform: rotate(90deg);
        margin: 0 6px;
    }
}

.jd-note {
    color: var(--muted-foreground);
    font-size: 0.74rem;
    text-decoration: none;
    margin-left: auto;
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    padding: 100px 0 88px;
    overflow: hidden;
}
@media (max-width: 640px) {
    .hero {
        padding: 56px 0 48px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 6.4fr 5.6fr;
    gap: 60px;
    align-items: center;
    position: relative;
}
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--muted-foreground);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 26px;
    background: var(--card);
}
.kicker b {
    color: var(--primary);
    font-weight: 600;
}
.hero h1 {
    font-weight: 800;
    font-size: clamp(2.6rem, 5.6vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}
.hero h1 em {
    font-style: normal;
    color: var(--primary);
    position: relative;
    white-space: nowrap;
}
.hero h1 em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.04em;
    height: 0.09em;
    background: var(--primary);
    opacity: 0.25;
    border-radius: 99px;
}
.lede {
    font-size: 1.13rem;
    color: var(--muted-foreground);
    max-width: 33em;
    margin: 0 0 12px;
}
.lede strong {
    color: var(--foreground);
    font-weight: 600;
}
.hero-note {
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.76rem;
    color: var(--muted-foreground);
    margin: 0 0 34px;
}
.cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cta-row [role="button"] {
    text-decoration: none;
    border-radius: 12px;
    padding: 13px 18px;
    font-weight: 600;
}
.pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 42px;
}
.pill {
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 13px;
    background: var(--card);
}

/* ---------- hero panel: the self-filing index ---------- */
.panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-lift);
    overflow: hidden;
}
.panel-tabs {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--secondary);
    overflow-x: auto;
}
button.ptab {
    appearance: none;
    cursor: pointer;
    margin: 0;
    box-shadow: none;
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    padding: 6px 9px;
    border-radius: 8px;
    white-space: nowrap;
    border: none;
    color: var(--muted-foreground);
    background: transparent;
    transition:
        color 0.15s,
        background 0.15s;
}
button.ptab:hover {
    color: var(--foreground);
}
button.ptab:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}
button.ptab.on {
    background: var(--card);
    color: var(--foreground);
    box-shadow: var(--shadow);
    cursor: default;
}
button.ptab.on b {
    color: var(--primary);
}
.panel-body {
    padding: 10px 20px 18px;
}
.jd-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    padding: 13px 4px;
    border-bottom: 1px solid var(--border);
}
.jd-row:last-of-type {
    border-bottom: none;
}
.jd-row .code {
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--accent-soft);
    border-radius: 6px;
    padding: 3px 8px;
    min-width: 2.6em;
    text-align: center;
}
.jd-row .name {
    font-weight: 500;
}
.jd-row .count {
    margin-left: auto;
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.74rem;
    color: var(--muted-foreground);
}
.jd-row.hot .count {
    color: var(--success);
    font-weight: 600;
    background: var(--green-soft);
    border-radius: 6px;
    padding: 3px 9px;
}
.filing {
    margin: 8px 0 0;
    padding: 14px 16px;
    background: var(--code-bg);
    color: var(--code-fg);
    border-radius: var(--r-sm);
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.74rem;
}
.filing .lbl {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8f8b7c;
    margin-bottom: 7px;
}
.typepath {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    color: #9ddcb6;
    animation: typing 3.2s steps(46, end) 0.8s forwards;
}
.typepath::after {
    content: "▌";
    color: var(--primary);
    animation: blink 1s step-end infinite;
}
@keyframes typing {
    to {
        width: 100%;
    }
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .typepath {
        width: 100%;
    }
}

/* ---------- sections ---------- */
section {
    padding: 44px 0;
}
.area-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.area-head .code {
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 6px 14px;
}
.area-head h2 {
    font-weight: 800;
    font-size: clamp(1.7rem, 3.2vw, 2.35rem);
    line-height: 1.1;
    margin: 0;
}
.area-sub {
    color: var(--muted-foreground);
    max-width: 46em;
    margin: 0 0 44px;
    font-size: 1.02rem;
}
.area-sub strong {
    color: var(--foreground);
    font-weight: 600;
}

/* ledger */
.ledger {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.ledger table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.ledger td {
    padding: 18px 26px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.ledger tr:last-child td {
    border-bottom: none;
}
.ledger tr {
    transition: background 0.15s;
}
.ledger tr:hover {
    background: var(--faint);
}
.ledger .k {
    font-weight: 600;
    letter-spacing: -0.01em;
}
.ledger .d {
    color: var(--muted-foreground);
    font-size: 0.88rem;
}
.ledger .v {
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.82rem;
    text-align: right;
    white-space: nowrap;
}
.ledger .v .bad {
    color: var(--muted-foreground);
    text-decoration: line-through;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 1.5px;
}
.ledger .v .arr {
    color: var(--muted-foreground);
    padding: 0 6px;
}
.ledger .v .good {
    color: var(--success);
    font-weight: 600;
    background: var(--green-soft);
    border-radius: 8px;
    padding: 4px 10px;
}
@media (max-width: 680px) {
    .ledger td.v {
        text-align: left;
        display: block;
        padding-top: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .ledger .d,
    .ledger .v .bad,
    .ledger .v .good {
        display: inline-block;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* feature pillars */
.pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pillar {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 26px 28px;
    display: grid;
    grid-template-columns: minmax(240px, 5fr) 7fr;
    gap: 12px 36px;
    align-items: start;
    transition:
        box-shadow 0.18s,
        border-color 0.18s;
}
.pillar:hover {
    box-shadow: var(--shadow-lift);
    border-color: color-mix(in srgb, var(--primary) 25%, var(--border));
}
@media (max-width: 820px) {
    .pillar {
        grid-template-columns: 1fr;
    }
}
.pillar .num {
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: var(--accent-soft);
    border-radius: 6px;
    padding: 4px 9px;
    display: inline-block;
    margin-bottom: 10px;
}
.pillar h3 {
    font-weight: 700;
    font-size: 1.28rem;
    letter-spacing: -0.025em;
    margin: 0 0 8px;
}
.pillar .blurb {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    margin: 0;
}
.pillar .blurb code {
    font-size: 0.85em;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 1px 5px;
}
.pillar .feats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
}
.pillar .feats span {
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--foreground);
    background: var(--faint);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 12px;
    white-space: nowrap;
}
/* code cards */
.codecard {
    min-width: 0;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.term-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondary);
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 10px 16px;
    text-transform: uppercase;
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
}
.term-head button {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 13px;
    border-radius: 999px;
}
.codecard pre {
    overflow-x: auto;
    background: var(--code-bg);
    color: var(--code-fg);
    font-size: 0.82rem;
    line-height: 1.7;
    padding: 22px 24px;
    overflow-x: auto;
    margin: 0;
    border: none;
    border-radius: 0;
}
.codecard .cm {
    color: #77808c;
}
.codecard .hl {
    color: #f0b95e;
}
.codecard .gr {
    color: #8fd6ac;
}
.migrate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}
@media (max-width: 880px) {
    .migrate-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 640px) {
    .migrate-grid > *,
    .codecard,
    .codecard pre {
        min-width: 0;
        max-width: 100%;
    }
    .codecard pre {
        width: 100%;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}
.migrate-notes {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    margin-top: 22px;
    overflow: hidden;
}
.mobile-compat-note {
    margin: 14px 4px 0;
    color: var(--muted-foreground);
    font-size: 0.82rem;
}
.mn {
    padding: 15px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 14px;
    align-items: baseline;
}
.mn:last-child {
    border-bottom: none;
}
.mn .tick {
    font-family: "Spline Sans Mono", monospace;
    color: var(--success);
    font-weight: 600;
    font-size: 0.8rem;
    background: var(--green-soft);
    border-radius: 6px;
    padding: 2px 7px;
}
.mn p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin: 0;
}
.mn p b {
    color: var(--foreground);
    font-weight: 600;
}

/* privacy */
.privacy-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 26px;
    align-items: start;
}
@media (max-width: 880px) {
    .privacy-grid {
        grid-template-columns: 1fr;
    }
}
.vow {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 26px;
}
.vow h3 {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 0 14px;
}
.vow ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.vow li {
    font-size: 0.91rem;
    color: var(--muted-foreground);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
    align-items: baseline;
}
.vow li:last-child {
    border-bottom: none;
}
.vow li::before {
    content: "×";
    font-family: "Spline Sans Mono", monospace;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--primary);
    background: var(--accent-soft);
    border-radius: 6px;
    padding: 1px 8px;
    flex: none;
}
.vow li code {
    font-size: 0.85em;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 1px 5px;
}
.ladder {
    counter-reset: rung;
    display: flex;
    flex-direction: column;
    padding-left: 6px;
}
.rung {
    counter-increment: rung;
    border-left: 1px solid var(--line-strong);
    padding: 2px 0 26px 28px;
    position: relative;
}
.rung:last-child {
    padding-bottom: 2px;
    border-left-color: transparent;
}
.rung::before {
    content: counter(rung);
    position: absolute;
    left: -15px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--line-strong);
    color: var(--primary);
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.76rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}
.rung h4 {
    font-weight: 700;
    font-size: 0.98rem;
    margin: 0 0 4px;
}
.rung p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    max-width: 40em;
    margin: 0;
}
.rung p code {
    font-size: 0.84em;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 1px 6px;
}

/* footer */
footer.base {
    border-top: 1px solid var(--border);
    padding: 44px 0 56px;
    background: var(--card);
}
.foot-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}
.foot-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
}
.foot-brand .dev {
    font-family: ui-serif, Georgia, serif;
    color: var(--primary);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 14px;
    font-size: 0.82rem;
}
.footer-links > a {
    color: var(--muted-foreground);
    text-decoration: none;
}
.footer-links > a:hover {
    color: var(--foreground);
    text-decoration: underline;
}
.foot-note {
    font-family: "Spline Sans Mono", monospace;
    font-size: 0.7rem;
    color: var(--muted-foreground);
    margin-top: 22px;
    letter-spacing: 0.05em;
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .rise {
        animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
    }
    .d1 {
        animation-delay: 0.06s;
    }
    .d2 {
        animation-delay: 0.14s;
    }
    .d3 {
        animation-delay: 0.22s;
    }
    .d4 {
        animation-delay: 0.3s;
    }
    .d5 {
        animation-delay: 0.42s;
    }
    @keyframes rise {
        from {
            opacity: 0;
            transform: translateY(14px);
        }
    }
    button.ptab {
        animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
    }
    button.ptab:nth-child(1) {
        animation-delay: 0.5s;
    }
    button.ptab:nth-child(2) {
        animation-delay: 0.58s;
    }
    button.ptab:nth-child(3) {
        animation-delay: 0.66s;
    }
    button.ptab:nth-child(4) {
        animation-delay: 0.74s;
    }
    .swap {
        animation: rise 0.28s ease backwards;
    }
}
