/* ==========================================================================
   $DICKBUTT — The First Meme on Mars
   Flat-dark minimal, oxide palette. Mobile-first (430px) → desktop (1280px).
   ========================================================================== */

:root {
    /* Surfaces */
    --bg: #0a0705;
    --bg-alt: #0e0a07;
    --panel: rgba(255, 255, 255, 0.035);
    --panel-hi: rgba(255, 255, 255, 0.055);
    --line: rgba(255, 255, 255, 0.09);
    --line-hi: rgba(255, 255, 255, 0.16);
    /* Ink */
    --ink: #f6ede5;
    --ink-dim: #bfaa9a;
    --ink-mute: #8d7a6c;
    /* Accents — Martian oxide */
    --rust: #ff5b2e;
    --rust-deep: #c33d17;
    --dust: #ffb257;
    /* Type */
    --f-display: 'Bagel Fat One', system-ui, sans-serif;
    --f-ui: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
    --f-hand: 'Caveat', cursive;
    /* Metrics */
    --r: 12px;
    --r-sm: 8px;
    --pad: 20px;
    --maxw: 1180px;
    --safe-l: env(safe-area-inset-left, 0px);
    --safe-r: env(safe-area-inset-right, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-ui);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

::selection {
    background: var(--rust);
    color: #fff;
}

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

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--rust);
    color: #fff;
    padding: 10px 16px;
    z-index: 999;
    border-radius: 0 0 var(--r-sm) 0;
}

.skip:focus {
    left: 0;
}

/* ------------------------------------------------------------ atmosphere */

.atmos {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.dust {
    position: absolute;
    inset: -20%;
    opacity: 0.5;
    will-change: transform;
}

.dust-a {
    background: radial-gradient(60% 45% at 18% 8%, rgba(255, 122, 60, 0.16), transparent 70%), radial-gradient(50% 40% at 88% 22%, rgba(255, 178, 87, 0.10), transparent 72%);
    animation: drift-a 46s ease-in-out infinite alternate;
}

.dust-b {
    background: radial-gradient(55% 45% at 75% 78%, rgba(195, 61, 23, 0.14), transparent 72%), radial-gradient(45% 35% at 12% 62%, rgba(255, 91, 46, 0.08), transparent 74%);
    animation: drift-b 62s ease-in-out infinite alternate;
}

@keyframes drift-a {
    from {
        transform: translate3d(-2%, -1%, 0) scale(1);
    }
    to {
        transform: translate3d(3%, 2%, 0) scale(1.08);
    }
}

@keyframes drift-b {
    from {
        transform: translate3d(2%, 1%, 0) scale(1.05);
    }
    to {
        transform: translate3d(-3%, -2%, 0) scale(1);
    }
}

/* ------------------------------------------------------------- structure */

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: max(var(--pad), var(--safe-l));
    padding-right: max(var(--pad), var(--safe-r));
}

.container.narrow {
    max-width: 760px;
}

.section {
    position: relative;
    z-index: 1;
    padding: 72px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-alt::before,
.section-alt::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
}

.section-alt::before {
    top: 0;
}

.section-alt::after {
    bottom: 0;
}

/* ------------------------------------------------------------------ type */

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h2 {
    font-size: clamp(30px, 8vw, 52px);
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
}

p {
    margin: 0 0 14px;
    color: var(--ink-dim);
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 17px;
    color: var(--ink-dim);
    max-width: 62ch;
}

.lead strong {
    color: var(--ink);
}

.tag {
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 14px;
}

.section-head {
    margin-bottom: 36px;
}

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

.center {
    text-align: center;
}

.fineprint {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--ink-mute);
    max-width: 60ch;
    margin: 28px auto 0;
}

.ticks {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.ticks li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 9px;
    color: var(--ink-dim);
}

.ticks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 12px;
    height: 2px;
    background: var(--rust);
}

/* --------------------------------------------------------------- buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--f-ui);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 22px;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--rust);
    color: #fff;
}

.btn-primary:hover {
    background: #ff7145;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-hi);
}

.btn-ghost:hover {
    background: var(--panel-hi);
    border-color: var(--ink-mute);
}

.btn-lg {
    font-size: 16px;
    padding: 16px 26px;
    min-height: 54px;
}

.btn-sm {
    font-size: 14px;
    padding: 10px 16px;
    min-height: 40px;
}

/* ------------------------------------------------------------------- nav */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px max(var(--pad), var(--safe-r)) 12px max(var(--pad), var(--safe-l));
    background: rgba(10, 7, 5, 0.72);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border-bottom: 1px solid var(--line);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: auto;
    min-height: 44px;
    /* comfortable tap target */
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-hi);
    background: radial-gradient(circle at 34% 28%, #d1502a, #7e2a11 78%);
}

.logo-mark img {
    width: 76%;
    height: 76%;
    object-fit: contain;
}

.logo-text {
    font-family: var(--f-display);
    font-size: 17px;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.nav-links {
    display: none;
}

@media (min-width: 900px) {
    .nav {
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .nav-links {
        display: flex;
        gap: 26px;
        list-style: none;
        margin: 0 auto 0 0;
        padding: 0;
    }
    .nav-links a {
        font-size: 14.5px;
        font-weight: 500;
        color: var(--ink-dim);
        text-decoration: none;
        transition: color .16s ease;
    }
    .nav-links a:hover {
        color: var(--ink);
    }
    .logo {
        margin-right: 40px;
    }
}

/* ------------------------------------------------------------------ hero */

/* Full-bleed cinematic banner, stacked above the headline at every width.
   The banner art is its own composition — overlaying type on it would sit on
   top of either the flying character (upper left) or the geoglyph (centre
   right), so the copy lives underneath instead. */

.hero {
    position: relative;
    z-index: 1;
    padding-bottom: 34px;
}

.hero-media {
    position: relative;
    /* The plate is 3:1. Narrow screens crop to ~1.9:1 rather than letterboxing it
     into a ~140px sliver — that keeps ~63% of the width, the least that fits
     both the rocket and the whole geoglyph without clipping either. */
    aspect-ratio: 1.9 / 1;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 41% 50%;
}

/* Fades the bright limb into the page so the banner has no hard bottom edge. */

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 7, 5, 0) 52%, rgba(10, 7, 5, 0.5) 80%, rgba(10, 7, 5, 0.88) 93%, var(--bg) 100%);
}

.hero-inner {
    position: relative;
    padding-top: 26px;
}

@media (min-width: 700px) {
    .hero-media {
        aspect-ratio: 2.5 / 1;
    }
    .hero-bg {
        object-position: 40% 50%;
    }
}

@media (min-width: 1000px) {
    /* Near-native 3:1, trimmed slightly so the headline and primary CTA still
     clear the fold on a 1280x800 laptop. */
    .hero-media {
        aspect-ratio: 3.6 / 1;
    }
    .hero-bg {
        object-position: 50% 45%;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--f-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    background: rgba(10, 7, 5, 0.5);
    border: 1px solid var(--line-hi);
    border-radius: 100px;
    padding: 7px 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}

.pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.title {
    font-family: var(--f-display);
    font-size: clamp(46px, 15.5vw, 118px);
    line-height: 0.92;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.title .line {
    display: block;
}

.title .accent {
    color: var(--rust);
}

.subtitle {
    font-size: 16.5px;
    color: #e2d3c6;
    max-width: 56ch;
    margin-bottom: 26px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.subtitle strong {
    color: var(--dust);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.cta-row .btn {
    flex: 1 1 auto;
    min-width: 160px;
}

/* Contract address row */

.ca-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 7, 5, 0.62);
    border: 1px solid var(--line-hi);
    border-radius: var(--r-sm);
    padding: 8px 8px 8px 12px;
    margin-bottom: 26px;
    max-width: 560px;
}

.ca-label {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
    flex: 0 0 auto;
}

.ca-code {
    font-family: var(--f-mono);
    font-size: 12.5px;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
}

.ca-btn {
    flex: 0 0 auto;
    font-family: var(--f-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    background: var(--panel-hi);
    border: 1px solid var(--line-hi);
    border-radius: 6px;
    padding: 8px 13px;
    min-height: 40px;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}

.ca-btn:hover {
    background: var(--rust);
    border-color: var(--rust);
    color: #fff;
}

.ca-btn.copied,
.btn.copied {
    background: #2f9e5e;
    border-color: #2f9e5e;
    color: #fff;
}

/* Hero stats */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    max-width: 560px;
}

.stat {
    background: rgba(10, 7, 5, 0.66);
    padding: 14px 12px;
    backdrop-filter: blur(8px);
}

.stat dt {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 6px;
}

.stat dd {
    margin: 0;
    font-size: clamp(19px, 5.4vw, 26px);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.stat-hi dd {
    color: var(--rust);
}

@media (min-width: 900px) {
    .hero {
        padding-bottom: 56px;
    }
    .hero-inner {
        padding-top: 24px;
    }
    .eyebrow {
        margin-bottom: 14px;
    }
    /* Two lines instead of three, at a size tuned for a banner-plus-copy hero
     rather than the full-screen overlay this started as. */
    .title {
        font-size: clamp(54px, 6.4vw, 88px);
        margin-bottom: 12px;
    }
    .title .line {
        display: inline;
    }
    .title .accent {
        display: block;
    }
    .subtitle {
        margin-bottom: 18px;
    }
    .cta-row .btn {
        flex: 0 0 auto;
    }
    .stats {
        max-width: 620px;
    }
}

/* --------------------------------------------------------------- marquee */

.marquee {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt);
    padding: 13px 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: scroll 44s linear infinite;
}

.marquee-track span {
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    white-space: nowrap;
    color: var(--ink-dim);
}

.marquee-track i {
    color: var(--rust);
    font-style: normal;
}

@keyframes scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* ---------------------------------------------------------------- panels */

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

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* -------------------------------------------------------- signal / cite */

.cite {
    margin: 0;
}

.cite-media {
    position: relative;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: #120c08;
}

.cite-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .5s ease;
}

.cite-media:hover img {
    transform: scale(1.02);
}

.cite-open {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: #fff;
    background: rgba(10, 7, 5, 0.78);
    border: 1px solid var(--line-hi);
    border-radius: 6px;
    padding: 8px 12px;
    backdrop-filter: blur(6px);
}

.cite-cap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    font-size: 13.5px;
    color: var(--ink-mute);
    padding: 12px 2px 0;
}

.cite-cap strong {
    color: var(--ink-dim);
    font-weight: 600;
}

.cite-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--f-mono);
    font-size: 12.5px;
    color: var(--rust);
    text-decoration: none;
}

.cite-link:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------- mission / lore */

.two-col {
    display: grid;
    gap: 34px;
}

.photo-panel {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.photo-panel img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Sits bottom-right, over the clear regolith rather than the character. */

.scrawl {
    position: absolute;
    right: 18px;
    bottom: 12px;
    font-family: var(--f-hand);
    font-size: 25px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
    transform: rotate(-3deg);
}

@media (min-width: 900px) {
    .two-col {
        grid-template-columns: 1fr 1.08fr;
        gap: 56px;
        align-items: center;
    }
}

/* ------------------------------------------------------------------ fees */

.section-fees {
    position: relative;
    overflow: hidden;
    padding-top: 84px;
}

.fees-globe {
    position: absolute;
    top: -90px;
    right: -160px;
    width: 460px;
    max-width: 78vw;
    opacity: 0.5;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 74%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 74%);
}

.section-fees .container {
    position: relative;
    z-index: 1;
}

.mega {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.mega-num {
    font-family: var(--f-display);
    font-size: clamp(64px, 20vw, 132px);
    line-height: 0.85;
    color: var(--rust);
    font-variant-numeric: tabular-nums;
}

.mega-cap {
    font-family: var(--f-mono);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.meter {
    margin: 30px 0 36px;
    max-width: 620px;
}

.meter-bar {
    height: 10px;
    background: var(--panel-hi);
    border: 1px solid var(--line);
    border-radius: 100px;
    overflow: hidden;
}

.meter-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--rust-deep), var(--rust) 55%, var(--dust));
    border-radius: 100px;
    transition: width 1.4s cubic-bezier(.2, .8, .2, 1);
}

.meter.in .meter-fill {
    width: 100%;
}

.meter-legend {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--ink-dim);
    margin-top: 10px;
}

.meter-legend b {
    color: var(--ink);
    font-weight: 600;
}

.cards-3,
.cards-4 {
    display: grid;
    gap: 14px;
}

.card {
    padding: 24px 22px;
}

.card-kicker {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 10px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 14.5px;
}

.card p strong {
    color: var(--ink);
    font-weight: 600;
}

.card-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 6px;
    font-family: var(--f-mono);
    font-size: 12.5px;
    color: var(--dust);
    text-decoration: none;
}

a.card-link:hover {
    text-decoration: underline;
}

.fees-cta {
    margin-top: 30px;
    padding: 26px 22px;
    background: linear-gradient(135deg, rgba(255, 91, 46, 0.13), rgba(255, 178, 87, 0.05));
    border: 1px solid rgba(255, 91, 46, 0.3);
    border-radius: var(--r);
    display: grid;
    gap: 18px;
}

.fees-cta h3 {
    margin-bottom: 6px;
}

.fees-cta p {
    font-size: 14.5px;
    margin: 0;
}

.fees-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fees-btns .btn {
    flex: 1 1 auto;
    min-width: 150px;
}

@media (min-width: 760px) {
    .cards-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .fees-cta {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 30px;
    }
    .fees-btns .btn {
        flex: 0 0 auto;
    }
}

@media (min-width: 1000px) {
    .cards-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .fees-globe {
        width: 620px;
        top: -140px;
        right: -180px;
        opacity: 0.55;
    }
}

/* ------------------------------------------------------------ tokenomics */

.token {
    padding: 22px;
}

.token-num {
    font-family: var(--f-mono);
    font-size: clamp(19px, 4.6vw, 23px);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 8px;
}

.token-cap {
    font-size: 14px;
    color: var(--ink-mute);
    line-height: 1.5;
}

.ca-box {
    margin-top: 14px;
    padding: 20px;
}

.ca-box-label {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 12px;
}

.ca-box-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ca-box-row code {
    font-family: var(--f-mono);
    font-size: 13px;
    color: var(--ink);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 14px;
    flex: 1 1 240px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.ca-box-row .btn {
    flex: 0 0 auto;
}

/* ----------------------------------------------------------------- steps */

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

.step {
    padding: 24px 22px;
}

.step-num {
    display: block;
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--rust);
    margin-bottom: 12px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    font-size: 14.5px;
    margin: 0;
}

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

@media (min-width: 1080px) {
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ------------------------------------------------------------ flightplan */

.plan {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.plan-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 6px;
}

.plan-phase {
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rust);
}

.plan-item p {
    font-size: 14.5px;
    margin: 0;
}

@media (min-width: 860px) {
    .plan-item {
        grid-template-columns: 160px 1fr;
        gap: 24px;
        align-items: start;
        padding: 28px 0;
    }
    .plan-phase {
        grid-row: 1 / span 2;
        padding-top: 4px;
    }
    .plan-item h3 {
        grid-column: 2;
    }
    .plan-item p {
        grid-column: 2;
    }
}

/* ------------------------------------------------------------------- faq */

.faq {
    display: grid;
    gap: 10px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 56px;
}

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

.faq-item summary::after {
    content: '+';
    font-family: var(--f-mono);
    font-size: 20px;
    color: var(--rust);
    flex: 0 0 auto;
    transition: transform .22s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin: 0;
    padding: 0 20px 20px;
    font-size: 14.5px;
    color: var(--ink-dim);
}

/* ---------------------------------------------------------------- footer */

.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    padding: 46px 0 calc(38px + var(--safe-b));
    background: var(--bg-alt);
}

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

.footer .logo {
    margin-right: 0;
}

.footer .logo-text {
    font-size: 20px;
}

.footer .logo-mark {
    width: 40px;
    height: 40px;
}

.socials {
    display: flex;
    gap: 8px;
}

.social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    font-family: var(--f-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink-dim);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    text-decoration: none;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.social:hover {
    background: var(--rust);
    border-color: var(--rust);
    color: #fff;
}

.footer-tag {
    font-family: var(--f-hand);
    font-size: 22px;
    color: var(--ink-dim);
    margin-bottom: 24px;
}

.footer-legal {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: grid;
    gap: 12px;
    max-width: 78ch;
}

.footer-legal p {
    font-size: 12px;
    line-height: 1.65;
    color: var(--ink-mute);
    margin: 0;
}

.footer-legal strong {
    color: var(--ink-dim);
}

/* ------------------------------------------------------------- desktop up */

@media (min-width: 900px) {
    .section {
        padding: 104px 0;
    }
    .section-fees {
        padding-top: 116px;
    }
    .section-head {
        margin-bottom: 48px;
    }
    .cards-3,
    .cards-4,
    .steps,
    .faq {
        gap: 16px;
    }
}

/* -------------------------------------------------- reduced motion / a11y */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .dust,
    .marquee-track,
    .pulse {
        animation: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .meter-fill {
        transition: none;
        width: 100%;
    }
    .cite-media img {
        transition: none;
    }
}