/* Pellō public and authentication surfaces: Deep Slate. */

.public-shell {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 82% -10%, rgba(52, 71, 111, 0.42), transparent 34rem),
        linear-gradient(180deg, var(--pello-page-top) 0%, var(--pello-page-bottom) 100%);
    color: var(--pello-text);
}

.public-shell [hidden] {
    display: none !important;
}

.public-shell a {
    color: var(--pello-text);
    text-underline-offset: 0.2em;
}

.public-header {
    position: relative;
    z-index: 5;
    min-height: 64px;
    padding: max(0.45rem, env(safe-area-inset-top)) 0 0.45rem;
    background: rgba(14, 22, 38, 0.86);
    border: 0;
    border-bottom: 1px solid rgba(167, 180, 197, 0.14);
    box-shadow: none;
    backdrop-filter: blur(16px);
}

.public-header .public-header-inner {
    width: min(100% - 2rem, 1040px);
    min-height: 52px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.public-wordmark {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--pello-text);
    font-size: var(--type-wordmark);
    font-weight: 800;
    letter-spacing: 0.22em;
    text-decoration: none;
}

.public-header nav {
    display: flex;
    align-items: center;
}

.public-header-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0 0.2rem;
    color: var(--pello-muted) !important;
    font-size: var(--type-secondary);
    font-weight: 700;
    text-decoration: none;
}

.public-header-action:hover {
    color: var(--pello-text) !important;
}

.public-main {
    width: min(100% - 2rem, 1040px);
    margin: 0 auto;
    flex: 1;
}

.landing-page {
    padding: clamp(3.75rem, 9vw, 7rem) 0 5rem;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 4.5rem);
}

.landing-hero-copy {
    max-width: 640px;
}

.auth-kicker {
    margin: 0 0 0.65rem;
    color: var(--pello-lime);
    font-size: var(--type-label);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.landing-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--pello-text);
    font-size: var(--type-hero);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-wrap: balance;
}

.landing-lede {
    max-width: 650px;
    margin: 1.5rem 0 0;
    color: var(--pello-muted);
    font-size: var(--type-card-title);
    line-height: 1.65;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.public-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.05rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: var(--type-body);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.public-btn-primary {
    background: var(--pello-lime);
    color: var(--pello-lime-ink) !important;
}

.public-btn-primary:hover {
    background: var(--pello-lime-hover);
    color: #fff !important;
}

.public-btn-quiet {
    background: transparent;
    border-color: rgba(167, 180, 197, 0.34);
    color: var(--pello-text) !important;
}

.public-btn-quiet:hover {
    background: rgba(167, 180, 197, 0.09);
    border-color: rgba(167, 180, 197, 0.55);
}

.public-btn:disabled {
    opacity: 0.64;
    cursor: wait;
}


.landing-section {
    margin-top: clamp(4rem, 10vw, 7rem);
    padding-top: clamp(2rem, 5vw, 3.5rem);
    border-top: 1px solid rgba(167, 180, 197, 0.14);
}


.landing-section h2,
.landing-final h2 {
    margin: 0;
    color: var(--pello-text);
    font-size: var(--type-hero-sub);
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-wrap: balance;
}


.flow-copy h3,
.landing-formats h3 {
    margin: 0;
    color: var(--pello-text);
    font-size: var(--type-card-title);
}

.flow-copy > p,
.landing-formats p {
    margin: 0.45rem 0 0;
    color: var(--pello-muted);
    font-size: var(--type-body);
    line-height: 1.6;
}

.landing-money {
    max-width: 680px;
}

.landing-money > p {
    margin: 1.1rem 0 0;
    color: var(--pello-muted);
    font-size: var(--type-body);
    line-height: 1.7;
}

.landing-formats {
    margin-top: 2.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(167, 180, 197, 0.14);
    border-radius: 16px;
    background: rgba(167, 180, 197, 0.14);
}

.landing-formats article {
    padding: 1.2rem;
    background: rgba(19, 29, 49, 0.94);
}

/* ===== H-2: the hero mockup. Abstract shape language, brand tokens only.
   Greeked bars stand in for copy so the art can never drift out of date. ===== */
.hero-mock {
    position: relative;
    min-height: 300px;
}

.hero-mock-card {
    border-radius: 18px;
    border: 1px solid var(--pello-active-border);
    background: linear-gradient(160deg, var(--pello-active-top), var(--pello-active-bottom));
}

.hero-mock-back {
    position: absolute;
    inset: 2.4rem -1.1rem -0.9rem 2.6rem;
    opacity: 0.45;
    transform: rotate(3.5deg);
    border-color: rgba(52, 71, 111, 0.7);
}

.hero-mock-front {
    position: relative;
    padding: 1.35rem 1.3rem 1.2rem;
    transform: rotate(-2deg);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(132, 204, 22, 0.06);
}

.hero-mock-bar {
    height: 13px;
    border-radius: 999px;
    background: rgba(238, 242, 249, 0.82);
}

.hero-mock-bar-wide { width: 78%; }
.hero-mock-bar-mid { width: 46%; margin-top: 0.55rem; background: rgba(167, 180, 197, 0.42); }
.hero-mock-bar-short { width: 38%; height: 10px; background: rgba(167, 180, 197, 0.42); }

.hero-mock-money {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(167, 180, 197, 0.14);
    border-radius: 12px;
    background: rgba(10, 17, 29, 0.4);
}

.hero-mock-stake {
    color: var(--pello-text);
    font-family: 'Archivo Black', system-ui, sans-serif;
    font-size: var(--type-display);
    line-height: 1;
}

.hero-mock-countdown {
    color: var(--pello-lime);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-variant-numeric: tabular-nums;
    font-size: var(--type-card-title);
    font-weight: 700;
}

.hero-mock-human {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.05rem;
}

.hero-mock-avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    border: 2px solid var(--pello-lime);
    background: var(--pello-quiet);
}

.hero-mock-action {
    height: 44px;
    margin-top: 1.05rem;
    border-radius: 12px;
    background: var(--pello-lime);
}

/* ===== H-3: the flow rail. A sequence with a fork at the end. ===== */
.flow-rail {
    margin: 2.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    counter-reset: flow-step;
}

.flow-node {
    position: relative;
    min-width: 0;
    padding: 1.35rem 1.25rem;
    background: rgba(19, 29, 49, 0.82);
    border: 1px solid rgba(167, 180, 197, 0.14);
    border-radius: 16px;
    counter-increment: flow-step;
}

.flow-node::before {
    content: counter(flow-step);
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    color: rgba(167, 180, 197, 0.55);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: var(--type-label);
    font-weight: 700;
}

.flow-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(132, 204, 22, 0.32);
    background: rgba(132, 204, 22, 0.09);
    color: var(--pello-lime);
    margin-bottom: 0.9rem;
}

.flow-glyph svg { width: 30px; height: 30px; }

.flow-copy h3 { margin: 0; }

.flow-outcomes {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.flow-outcome {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    font-size: var(--type-secondary);
    line-height: 1.4;
}

.flow-outcome svg { width: 18px; height: 18px; flex: 0 0 18px; }
.flow-outcome strong { font-weight: 800; }

.flow-outcome-done {
    background: rgba(132, 204, 22, 0.1);
    border: 1px solid rgba(132, 204, 22, 0.3);
    color: var(--pello-text);
}
.flow-outcome-done svg { color: var(--pello-lime); }

.flow-outcome-missed {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.28);
    color: var(--pello-text);
}
.flow-outcome-missed svg { color: var(--pello-danger); }

/* ===== H-4: one mark per challenge type. ===== */
.format-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(132, 204, 22, 0.28);
    background: rgba(132, 204, 22, 0.08);
    color: var(--pello-lime);
}

.format-glyph svg { width: 26px; height: 26px; }

@media (max-width: 720px) {
    .flow-rail {
        grid-template-columns: 1fr;
    }

    .hero-mock {
        max-width: 420px;
    }
}

.landing-final {
    margin-top: clamp(4rem, 11vw, 8rem);
    padding: clamp(2rem, 7vw, 4rem);
    border: 1px solid var(--pello-active-border);
    border-radius: 20px;
    background: linear-gradient(135deg, var(--pello-active-top), var(--pello-active-bottom));
    text-align: center;
}

.landing-final .public-btn {
    margin-top: 1.5rem;
}

.landing-final p {
    margin: 1rem 0 0;
    color: var(--pello-muted);
    font-size: var(--type-body);
}

.landing-final .landing-disclosure {
    max-width: 36rem;
    margin: 1.5rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(167, 180, 197, 0.14);
    font-size: var(--type-micro);
}

.auth-page {
    width: min(100% - 2rem, 470px);
    padding: clamp(2rem, 7vw, 4rem) 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.auth-card {
    width: 100%;
    padding: clamp(1.25rem, 5vw, 2rem);
    background: rgba(19, 29, 49, 0.94);
    border: 1px solid rgba(167, 180, 197, 0.18);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(3, 8, 20, 0.24);
}

.auth-card h1 {
    margin: 0;
    color: var(--pello-text);
    font-size: var(--type-title);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.auth-intro {
    margin: 0.75rem 0 0;
    color: var(--pello-muted);
    font-size: var(--type-body);
    line-height: 1.55;
}

.auth-form {
    margin-top: 1.5rem;
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form label,
.auth-label-row label {
    display: block;
    margin: 0 0 0.4rem;
    color: var(--pello-text);
    font-size: var(--type-secondary);
    font-weight: 700;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.auth-label-row a,
.auth-switch a,
.auth-check-row a {
    color: var(--pello-lime);
    font-size: var(--type-label);
    font-weight: 700;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 0.72rem 0.8rem;
    background: #0d1728;
    border: 1px solid #3d4d68;
    border-radius: 11px;
    color: var(--pello-text);
    box-shadow: none;
    font: inherit;
}

.auth-form input::placeholder {
    color: #8b9ab5;
}

.auth-form input:hover {
    border-color: #596a86;
}

.auth-form input:focus {
    border-color: var(--pello-lime);
}

.auth-field-hint {
    margin: -0.15rem 0 0.45rem;
    color: var(--pello-muted);
    font-size: var(--type-label);
}

.field-status {
    min-height: 1.15rem;
    padding-top: 0.25rem;
    color: var(--pello-muted);
    font-size: var(--type-label);
    font-weight: 700;
}

.field-status.available {
    color: #a3e635;
}

.field-status.taken {
    color: #fca5a5;
}

.auth-check-row {
    min-height: 44px;
    padding: 0.45rem 0;
    display: flex !important;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--pello-muted) !important;
    font-size: var(--type-secondary) !important;
    font-weight: 400 !important;
    line-height: 1.5;
    cursor: pointer;
}

.auth-check-row input {
    width: 21px;
    height: 21px;
    min-height: 21px;
    flex: 0 0 21px;
    margin: 0.05rem 0 0;
    accent-color: var(--pello-lime);
}

.auth-submit {
    width: 100%;
    margin-top: 0.25rem;
}

.auth-alert {
    margin-top: 1.25rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: var(--type-secondary);
    line-height: 1.5;
}

.auth-alert-error {
    background: rgba(127, 29, 29, 0.28);
    border-color: rgba(248, 113, 113, 0.5);
    color: #fecaca;
}

.auth-alert-success {
    margin-bottom: 1rem;
    background: rgba(20, 83, 45, 0.32);
    border-color: rgba(74, 222, 128, 0.42);
    color: #dcfce7;
}

.auth-switch {
    margin: 1.2rem 0 0;
    color: var(--pello-muted);
    font-size: var(--type-secondary);
    text-align: center;
}

.public-document {
    background: rgba(19, 29, 49, 0.94) !important;
    border: 1px solid rgba(167, 180, 197, 0.16);
    box-shadow: 0 18px 48px rgba(3, 8, 20, 0.24) !important;
}

.public-document h1,
.public-document h2,
.public-document h3 {
    color: var(--pello-text) !important;
}

.public-document p,
.public-document li,
.public-document figcaption {
    color: var(--pello-muted) !important;
}

.public-document a {
    color: var(--pello-lime) !important;
}

.public-footer {
    width: min(100% - 2rem, 1040px);
    margin: auto auto 0;
    padding: 1.6rem 0 max(1.6rem, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(167, 180, 197, 0.14);
    color: var(--pello-muted);
    font-size: var(--type-label);
    line-height: 1.5;
    text-align: center;
}

.public-footer p {
    margin: 0.3rem 0;
}

.public-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.public-footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--pello-muted);
}

@media (max-width: 720px) {
    .landing-page {
        padding-top: 3rem;
    }

    .landing-hero {
        grid-template-columns: 1fr;
    }

    .hero-mock {
        margin-top: 0.5rem;
    }
}

@media (max-width: 460px) {
    .landing-actions,
    .landing-actions .public-btn,
    .landing-formats {
        width: 100%;
    }

    .landing-formats {
        grid-template-columns: 1fr;
    }

    .auth-page {
        width: min(100% - 1rem, 470px);
        padding-top: 1rem;
    }

    .auth-card {
        border-radius: 16px;
    }

    .public-document {
        padding: 1.25rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-shell *,
    .public-shell *::before,
    .public-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ================================================================
   EARLY-RELEASE WAITING ROOM (V5.8.0)
   Direction B, the Board, with the line strip borrowed from A.
   Honest tabular numbers in Plex Mono, no performance, plus a
   proportional strip of ticks standing for the whole line at any
   scale. Dark, because a waiting room is not one of the three
   sanctioned light "paper" moments (payment, receipt, Ref invite).
   Every size names a --type-* role; see tests/test_type_tokens.py.
   ================================================================ */

.wr-page {
    width: min(100% - 2rem, 30rem);
    padding: clamp(1.5rem, 5vw, 2.75rem) 0 4rem;
}

.wr-card {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.wr-flash {
    margin: 0;
    padding: 0.75rem 0.9375rem;
    border-radius: 10px;
    background: rgba(132, 204, 22, 0.12);
    border: 1px solid rgba(132, 204, 22, 0.35);
    color: var(--pello-text);
    font-size: var(--type-secondary);
}

.wr-h1 {
    margin: 0;
    font-size: var(--type-title);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
    text-wrap: balance;
}

.wr-sub {
    margin: 0 0 0.375rem;
    font-size: var(--type-secondary);
    line-height: 1.5;
    color: var(--pello-muted);
}

/* ---------------------------------------------------- the board */

.wr-board {
    background: var(--pello-quiet);
    border: 1px solid var(--pello-active-border);
    border-radius: 14px;
    overflow: hidden;
}

.wr-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.8125rem 1rem;
    border-bottom: 1px solid rgba(52, 71, 111, 0.5);
}

.wr-k {
    font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
    font-size: var(--type-micro);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pello-muted);
}

.wr-v {
    font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
    font-variant-numeric: tabular-nums;
    font-size: var(--type-numeral);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--pello-text);
}

.wr-v-lit { color: var(--pello-lime); }
.wr-v-you { color: var(--pello-you); }

.wr-was {
    font-size: var(--type-secondary);
    color: var(--pello-muted);
    font-weight: 400;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

/* ------------------------------------- the strip borrowed from A */

.wr-strip-wrap {
    padding: 0.875rem 1rem 0.9375rem;
}

.wr-strip {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 22px;
    margin-bottom: 0.5625rem;
}

.wr-tick {
    flex: 1;
    height: 9px;
    border-radius: 2px;
    background: #263450;
}

.wr-tick-in {
    background: var(--pello-lime);
    opacity: 0.55;
}

.wr-tick-you {
    background: var(--pello-you);
    height: 22px;
    border-radius: 3px;
}

@media (prefers-reduced-motion: no-preference) {
    .wr-tick-you { animation: wr-glow 2.8s ease-in-out infinite; }
    .wr-live-dot { animation: wr-blink 2s ease-in-out infinite; }
}

@keyframes wr-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.32); }
    50%      { box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.10); }
}

@keyframes wr-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

.wr-legend {
    display: flex;
    justify-content: space-between;
    font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
    font-size: var(--type-micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pello-muted);
}

.wr-legend-you { color: var(--pello-you); }

.wr-status {
    margin: 0;
    font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
    font-size: var(--type-micro);
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: var(--pello-muted);
    padding: 0.6875rem 1rem;
    background: rgba(132, 204, 22, 0.06);
    border-top: 1px solid rgba(52, 71, 111, 0.5);
}

.wr-status b { color: var(--pello-lime); font-weight: 600; }

/* --------------------------------------------------- the ticker */

.wr-ticker {
    background: var(--pello-quiet);
    border: 1px solid var(--pello-active-border);
    border-radius: 12px;
    padding: 0.8125rem 0.9375rem;
}

.wr-ticker-h {
    display: flex;
    align-items: center;
    gap: 0.4375rem;
    margin: 0 0 0.625rem;
    font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
    font-size: var(--type-micro);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pello-muted);
}

.wr-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pello-lime);
    flex: none;
}

.wr-item {
    margin: 0;
    padding: 0.5625rem 0;
    border-top: 1px solid rgba(52, 71, 111, 0.5);
    font-size: var(--type-secondary);
    line-height: 1.45;
    color: var(--pello-text);
}

.wr-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.wr-when {
    display: block;
    margin-bottom: 2px;
    font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
    font-size: var(--type-micro);
    color: var(--pello-muted);
}

.wr-empty {
    margin: 0;
    font-size: var(--type-secondary);
    line-height: 1.45;
    color: var(--pello-muted);
}

/* ------------------------------------- Ref card and email notice */

.wr-ref,
.wr-verify {
    background: var(--pello-active-top);
    border: 1px solid var(--pello-active-border);
    border-radius: 12px;
    padding: 0.875rem 0.9375rem;
}

.wr-verify {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.38);
}

.wr-block-title {
    margin: 0 0 0.3125rem;
    font-size: var(--type-body);
    font-weight: 650;
    line-height: 1.3;
    color: var(--pello-text);
}

.wr-block-text {
    margin: 0 0 0.6875rem;
    font-size: var(--type-secondary);
    line-height: 1.45;
    color: var(--pello-muted);
}

.wr-block-note {
    margin: 0.625rem 0 0;
    font-size: var(--type-micro);
    line-height: 1.5;
    color: var(--pello-muted);
}

.wr-share {
    margin: 0 0 0.6875rem;
    overflow-wrap: anywhere;
}

.wr-share code,
.wr-block-note code {
    font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
    font-size: var(--type-micro);
    color: var(--pello-text);
    overflow-wrap: anywhere;
}

.wr-btn {
    display: block;
    width: 100%;
    min-height: var(--pello-control);
    margin-top: 0.5rem;
    background: var(--pello-lime);
    color: var(--pello-lime-ink);
    border: 0;
    border-radius: 9px;
    padding: 0.6875rem;
    font-family: inherit;
    font-size: var(--type-body);
    font-weight: 650;
    cursor: pointer;
}

.wr-btn:first-of-type { margin-top: 0; }

.wr-btn:hover { background: var(--pello-lime-hover); }

.wr-btn-quiet {
    background: transparent;
    color: var(--pello-text);
    border: 1px solid var(--pello-active-border);
}

.wr-btn-quiet:hover {
    background: rgba(132, 204, 22, 0.1);
    border-color: var(--pello-lime);
}

.wr-btn:focus-visible {
    outline: 3px solid var(--pello-you);
    outline-offset: 2px;
}

.wr-btn[disabled] { opacity: 0.6; cursor: default; }

.wr-form { margin-top: 0.75rem; }

.wr-label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: var(--type-label);
    color: var(--pello-muted);
}

.wr-input {
    width: 100%;
    min-height: var(--pello-control);
    margin-bottom: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: 9px;
    border: 1px solid var(--pello-active-border);
    background: var(--pello-page-bottom);
    color: var(--pello-text);
    font-family: inherit;
    /* --type-body is 16px, which is also the floor iOS needs to stop zooming
       the whole page when the field takes focus. */
    font-size: var(--type-body);
}

.wr-input:focus {
    outline: 2px solid var(--pello-lime);
    outline-offset: 1px;
}

.wr-foot {
    margin: 0.375rem 0 0;
    font-size: var(--type-micro);
    line-height: 1.5;
    color: var(--pello-muted);
    text-align: center;
}
