:root {
    color-scheme: light;
    --bg: #f7f8f4;
    --panel: #ffffff;
    --ink: #17211d;
    --muted: #66726d;
    --line: #d9ded8;
    --primary: #0b766f;
    --primary-strong: #075b56;
    --blue: #2847c6;
    --danger: #b3261e;
    --warning: #a35b00;
    --shadow: 0 20px 45px rgba(23, 33, 29, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    background: rgba(179, 38, 30, 0);
    transition: background 180ms ease;
}

body.is-destroying-chat::after {
    background: rgba(179, 38, 30, 0.16);
}

a {
    color: var(--primary-strong);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header,
.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
}

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

.brand-mark {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border: 4px solid var(--primary);
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 4px #fff;
    transform: translateZ(0);
    overflow: visible;
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.brand-mark::before {
    inset: 4px;
    z-index: 1;
    background: var(--primary);
    animation: logo-core-pulse 1.35s ease-in-out infinite;
    transform-origin: center;
}

.brand-mark::after {
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(11, 118, 111, 0.46);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transform-origin: center;
    animation: logo-ring-pulse 1.75s ease-out infinite;
    will-change: opacity, transform;
}

@keyframes logo-core-pulse {
    0%,
    100% {
        opacity: 0.72;
        transform: scale(0.76);
    }

    48% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes logo-ring-pulse {
    0% {
        opacity: 0.72;
        transform: translate(-50%, -50%) scale(0.82);
    }

    70% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.75);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.75);
    }
}

.nav-menu {
    position: relative;
}

.nav-menu summary {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    padding: 0 12px;
    font-size: 0.94rem;
    font-weight: 760;
    list-style: none;
    cursor: pointer;
}

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

.menu-icon {
    position: relative;
    width: 18px;
    height: 12px;
    border-top: 2px solid var(--primary-strong);
    border-bottom: 2px solid var(--primary-strong);
}

.menu-icon::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 18px;
    border-top: 2px solid var(--primary-strong);
}

.nav-menu .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    display: grid;
    min-width: 170px;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    box-shadow: var(--shadow);
    font-size: 0.96rem;
}

.nav-menu:not([open]) .nav-links {
    display: none;
}

.nav-menu .nav-links a {
    border-radius: 6px;
    padding: 10px 12px;
    text-decoration: none;
}

.nav-menu .nav-links a:hover,
.nav-menu .nav-links a:focus {
    background: #edf8f3;
}

.nav-menu .nav-links .nav-cta {
    background: var(--primary);
    color: #fff;
    font-weight: 840;
}

.nav-menu .nav-links .nav-cta:hover,
.nav-menu .nav-links .nav-cta:focus {
    background: var(--primary-strong);
}

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 54px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(360px, 0.9fr);
    align-items: start;
    gap: 32px;
    border-top: 1px solid var(--line);
    padding: 28px 0 40px;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-note {
    display: grid;
    gap: 4px;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
}

.footer-link-group {
    display: grid;
    gap: 8px;
}

.footer-link-group span {
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-link-group a {
    width: fit-content;
}

.hero-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    gap: 64px;
    align-items: center;
    padding: 46px 0 18px;
}

.seo-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
    gap: 56px;
    margin-top: 56px;
    padding: 42px 0 10px;
    border-top: 1px solid var(--line);
}

.seo-section h2 {
    max-width: 520px;
    font-size: 2.35rem;
    line-height: 1.08;
}

.seo-copy {
    display: grid;
    gap: 14px;
}

.seo-copy p {
    margin: 0;
    color: #46524d;
    font-size: 1.04rem;
}

.hero-copy {
    max-width: 640px;
    padding-top: 0;
}

.hero-copy h1 {
    max-width: 620px;
    font-size: 4.25rem;
    line-height: 1.02;
}

.hero-copy .lede {
    max-width: 560px;
    font-size: 1.08rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.hero-points span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(11, 118, 111, 0.18);
    border-radius: 999px;
    background: #edf8f3;
    color: #25443d;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 720;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.lookup-panel {
    display: grid;
    max-width: 480px;
    gap: 10px;
    margin-top: 26px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
}

.lookup-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.lookup-words {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 8px;
}

.lookup-words input {
    min-width: 0;
    text-transform: lowercase;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--primary-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.04;
}

h1 {
    font-size: clamp(2.55rem, 7vw, 5.8rem);
}

h2 {
    font-size: 1.35rem;
}

.lede {
    max-width: 680px;
    margin: 18px 0 0;
    color: #394640;
    font-size: 1.13rem;
}

.panel {
    width: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.create-form,
.stack-form,
.reply-form {
    display: grid;
    gap: 14px;
}

.create-form {
    align-self: start;
}

.form-intro {
    display: grid;
    gap: 8px;
    padding-bottom: 2px;
}

.form-intro h2 {
    font-size: 1.55rem;
}

.form-intro p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

label,
legend {
    color: #26332e;
    font-size: 0.92rem;
    font-weight: 760;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.muted {
    color: var(--muted);
    font-weight: 560;
}

input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    border: 1px solid #cdd4ce;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 12px 13px;
    outline: none;
}

textarea {
    min-height: 128px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 118, 111, 0.14);
}

.segmented {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.segmented label {
    min-width: 0;
}

.segmented input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segmented span {
    display: grid;
    min-height: 44px;
    place-items: center;
    border: 1px solid #cdd4ce;
    border-radius: 8px;
    background: #f9faf7;
    color: #2e3935;
    font-size: 0.92rem;
    text-align: center;
}

.segmented input:checked + span {
    border-color: var(--primary);
    background: #e7f5ef;
    color: var(--primary-strong);
    font-weight: 820;
}

.primary-action,
.secondary-action,
.danger-action,
.icon-button,
.secondary-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 8px;
    padding: 0 16px;
    font-weight: 820;
    text-decoration: none;
    white-space: nowrap;
}

.primary-action {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff;
}

.primary-action:hover {
    border-color: var(--primary-strong);
    background: var(--primary-strong);
}

.secondary-action,
.secondary-link {
    border: 1px solid #cbd3cd;
    background: #fff;
    color: #24302b;
}

.danger-action {
    border: 1px solid rgba(179, 38, 30, 0.24);
    background: #fff3f1;
    color: var(--danger);
}

.compact {
    min-height: 40px;
    padding: 0 14px;
}

.button-icon {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.82rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 54px;
}

.info-grid > div {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.info-grid h2 {
    max-width: 300px;
    font-size: 1.2rem;
    line-height: 1.15;
}

.info-grid p,
.legal-copy p {
    color: #46524d;
}

.narrow-stack {
    display: grid;
    width: min(760px, 100%);
    gap: 14px;
    margin: 36px auto 0;
}

.dashboard {
    margin-top: 24px;
}

.dashboard-notice {
    width: min(720px, 100%);
    margin-bottom: 18px;
}

.dashboard-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 24px;
    align-items: start;
}

.thread-panel {
    min-height: 430px;
}

.token-panel {
    position: sticky;
    top: 18px;
}

.token-panel h1 {
    font-size: 3.15rem;
    line-height: 1.06;
    overflow-wrap: anywhere;
}

.token-panel .lede {
    margin-top: 10px;
    font-size: 1rem;
}

.intent-card {
    display: grid;
    gap: 6px;
    margin: 14px 0 16px;
    border: 1px solid rgba(11, 118, 111, 0.22);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    background: #edf8f3;
    padding: 12px 14px;
}

.intent-card span {
    color: var(--primary-strong);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.intent-card strong {
    color: #14211c;
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.protected-note {
    margin-top: 14px;
    border: 1px solid rgba(40, 71, 198, 0.18);
    border-radius: 8px;
    background: #f2f5ff;
    color: #263777;
    padding: 10px 12px;
    font-size: 0.94rem;
}

.token-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 0.94rem;
}

.token-banner span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 0 12px;
}

.token-code {
    color: var(--ink);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-weight: 820;
    overflow-wrap: anywhere;
}

.link-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: 12px;
}

.icon-button {
    border: 1px solid #cdd4ce;
    background: #f9faf7;
    color: var(--ink);
}

.qr-box {
    display: grid;
    width: 224px;
    min-height: 224px;
    margin-top: 18px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
}

.qr-box svg {
    display: block;
    width: 190px;
    height: 190px;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.message-list {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 230px;
    max-height: min(52vh, 560px);
    margin-top: 16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-color: var(--primary) #edf2ef;
    scrollbar-width: thin;
}

.connection-strip {
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    margin: 14px 0 2px;
    border: 1px solid rgba(11, 118, 111, 0.2);
    border-radius: 8px;
    background: linear-gradient(180deg, #f5fbf8, #edf8f3);
    padding: 10px 12px;
}

.connection-strip strong {
    color: var(--primary-strong);
    font-size: 0.82rem;
    font-weight: 860;
    letter-spacing: 0;
    text-transform: uppercase;
}

.connection-device {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 28px;
    border: 2px solid var(--primary-strong);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 118, 111, 0.08);
}

.connection-device::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 5px;
    width: 4px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-strong);
}

.connection-device::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 6px;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
}

.connection-line {
    position: relative;
    display: block;
    height: 16px;
    overflow: hidden;
    border: 1px solid rgba(11, 118, 111, 0.14);
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fffc, #dff3eb);
}

.connection-line::before,
.connection-line::after {
    content: "";
    position: absolute;
    display: block;
    border-radius: 999px;
}

.connection-line::before {
    top: 7px;
    right: 8px;
    left: 8px;
    height: 2px;
    background: rgba(11, 118, 111, 0.18);
}

.connection-line::after {
    top: 4px;
    left: 8px;
    width: 7px;
    height: 7px;
    background: rgba(11, 118, 111, 0.42);
    box-shadow: 0 0 0 4px rgba(11, 118, 111, 0.08);
}

.connection-dash {
    position: absolute;
    top: 5px;
    left: -28px;
    width: 26px;
    height: 5px;
    border-radius: 999px;
    background: rgba(11, 118, 111, 0.48);
    box-shadow: 0 0 8px rgba(11, 118, 111, 0.18);
    will-change: left, right, opacity;
    -webkit-animation: connection-dash-right 2.4s linear infinite;
    animation: connection-dash-right 2.4s linear infinite;
}

.connection-dash:nth-child(2) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.connection-dash:nth-child(3) {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.connection-dash:nth-child(4) {
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s;
}

.connection-dash:nth-child(5) {
    -webkit-animation-delay: 1.6s;
    animation-delay: 1.6s;
}

.connection-dash:nth-child(6) {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

@-webkit-keyframes connection-dash-right {
    0% {
        left: -28px;
        opacity: 0;
    }

    12%,
    84% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes connection-dash-right {
    0% {
        left: -28px;
        opacity: 0;
    }

    12%,
    84% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.message {
    width: fit-content;
    max-width: min(680px, 88%);
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8faf8;
}

.message.from-owner {
    justify-self: end;
    border-color: #c9d5ff;
    background: #f2f5ff;
}

.message.from-public {
    justify-self: start;
}

.message.is-new {
    animation: message-arrive 180ms ease-out;
}

@keyframes message-arrive {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message p {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.message time {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.78rem;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.reply-form {
    margin-top: 16px;
    border-top: 0;
}

.reply-form.is-sending textarea {
    opacity: 0.88;
}

.reply-status {
    margin: 10px 0 0;
    color: var(--danger);
    font-size: 0.92rem;
}

.form-status {
    margin: 10px 0 0;
    color: var(--danger);
    font-size: 0.92rem;
}

.ad-slot {
    margin-top: 16px;
    border: 1px solid rgba(11, 118, 111, 0.16);
    border-radius: 8px;
    background: #fbfdfb;
    padding: 10px;
}

.ad-slot-label {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 840;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ad-content {
    overflow: hidden;
}

.ad-slot .ad-content {
    display: grid;
    min-height: 78px;
    place-items: center;
}

.ad-placeholder {
    display: grid;
    width: 100%;
    min-height: 78px;
    place-items: center;
    gap: 2px;
    border: 1px dashed rgba(11, 118, 111, 0.28);
    border-radius: 6px;
    background: linear-gradient(180deg, #f8fffc, #edf8f3);
    color: #46635d;
    padding: 14px;
    text-align: center;
}

.ad-placeholder strong {
    color: var(--primary-strong);
}

.ad-placeholder span {
    color: var(--muted);
    font-size: 0.9rem;
}

.ad-modal[hidden] {
    display: none;
}

body.has-ad-modal {
    overflow: hidden;
}

.ad-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 18px;
    opacity: 0;
    -webkit-transition: opacity 180ms ease;
    transition: opacity 180ms ease;
}

.ad-modal.is-visible {
    opacity: 1;
}

.ad-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 33, 29, 0.42);
    cursor: pointer;
}

.ad-modal-panel {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(86vh, 720px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(23, 33, 29, 0.22);
    padding: 20px;
    opacity: 0;
    -webkit-transform: translateY(12px) scale(0.98);
    transform: translateY(12px) scale(0.98);
    -webkit-transition: opacity 180ms ease, -webkit-transform 180ms ease;
    transition: opacity 180ms ease, transform 180ms ease;
}

.ad-modal.is-visible .ad-modal-panel {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
}

.ad-modal-panel .ad-content {
    display: grid;
    min-height: 240px;
    place-items: center;
}

.ad-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 38px;
    height: 38px;
    min-height: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    padding: 0;
    box-shadow: 0 8px 18px rgba(23, 33, 29, 0.08);
    font-weight: 760;
    line-height: 1;
}

.ad-modal-close span {
    display: block;
    margin-top: -2px;
    font-size: 1.45rem;
    line-height: 1;
}

.ad-modal-close:hover,
.ad-modal-close:focus {
    border-color: rgba(11, 118, 111, 0.32);
    background: #edf8f3;
    color: var(--primary-strong);
}

.empty-state {
    align-self: center;
    margin: 0;
    color: var(--muted);
    text-align: center;
    justify-self: center;
}

.waiting-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    border: 1px solid rgba(11, 118, 111, 0.2);
    border-radius: 8px;
    background: #edf8f3;
    padding: 12px 14px;
}

.waiting-card p {
    margin: 0;
    color: #25443d;
}

.waiting-pulse {
    position: relative;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--primary);
}

.waiting-pulse::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(11, 118, 111, 0.35);
    border-radius: 999px;
    animation: waiting-pulse 1.45s ease-out infinite;
}

@keyframes waiting-pulse {
    0% {
        opacity: 0.8;
        transform: scale(0.65);
    }

    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

.flash {
    margin: 0 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
}

.flash-success {
    border-color: rgba(11, 118, 111, 0.24);
    background: #edf8f3;
    color: var(--primary-strong);
}

.flash-error {
    border-color: rgba(179, 38, 30, 0.24);
    background: #fff3f1;
    color: var(--danger);
}

.retry-timer {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    margin: 18px 0 0;
    border: 1px solid rgba(163, 91, 0, 0.24);
    border-radius: 8px;
    background: #fff8ed;
    color: #6f4200;
    padding: 8px 12px;
    font-size: 0.96rem;
}

.bot-field {
    display: none !important;
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.is-hidden {
    display: none !important;
}

.legal-copy {
    width: min(760px, 100%);
    margin-top: 40px;
}

.legal-copy h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.legal-copy h2 {
    margin-top: 34px;
    font-size: 1.28rem;
    line-height: 1.2;
}

.legal-copy p,
.legal-copy li {
    color: #46524d;
}

.legal-copy p {
    margin: 14px 0 0;
}

.legal-copy ul {
    display: grid;
    gap: 9px;
    margin: 14px 0 0;
    padding-left: 22px;
}

.legal-copy .lede {
    color: #394640;
}

.guide-page {
    display: grid;
    gap: 46px;
    margin-top: 36px;
}

.guide-hero {
    display: grid;
    max-width: 850px;
    gap: 18px;
}

.guide-hero h1 {
    max-width: 760px;
    font-size: clamp(2.35rem, 6vw, 4.6rem);
    line-height: 0.98;
}

.guide-hero .lede {
    max-width: 720px;
}

.guide-hero .primary-action {
    width: fit-content;
    margin-top: 4px;
}

.guide-body {
    display: grid;
    max-width: 760px;
    gap: 14px;
}

.guide-body h2 {
    margin-top: 12px;
    font-size: 1.45rem;
    line-height: 1.15;
}

.guide-body h2:first-child {
    margin-top: 0;
}

.guide-body p,
.guide-grid p,
.guide-checklist li,
.guide-note p {
    color: #46524d;
}

.guide-body p {
    margin: 0;
    font-size: 1.04rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.guide-grid > div,
.guide-checklist,
.guide-note {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.guide-grid h2,
.guide-checklist h2,
.guide-note h2 {
    font-size: 1.18rem;
    line-height: 1.18;
}

.guide-grid p,
.guide-note p {
    margin: 10px 0 0;
}

.guide-checklist {
    max-width: 820px;
}

.guide-checklist ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 22px;
}

.guide-note {
    max-width: 760px;
}

.guide-note p {
    color: #26342f;
    font-size: 1.14rem;
    font-weight: 720;
}

.guide-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
}

.guide-links a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.62);
    font-weight: 760;
    text-decoration: none;
}

.how-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 52px;
    align-items: center;
    margin-top: 40px;
}

.how-hero h1 {
    max-width: 720px;
    font-size: 3.25rem;
    line-height: 1.07;
}

.how-hero .lede {
    max-width: 660px;
}

.how-share-card {
    border: 1px solid rgba(11, 118, 111, 0.18);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 22px;
}

.how-share-card span {
    color: var(--primary-strong);
    font-size: 0.74rem;
    font-weight: 860;
    letter-spacing: 0;
    text-transform: uppercase;
}

.how-share-card p {
    margin: 12px 0 0;
    color: #46524d;
}

.how-share-card strong {
    display: block;
    margin-top: 12px;
    border: 1px solid rgba(11, 118, 111, 0.16);
    border-radius: 8px;
    background: #edf8f3;
    color: var(--primary-strong);
    padding: 14px;
    font-size: 2rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 52px;
}

.how-message-card,
.how-split,
.how-use-cases,
.how-final {
    margin-top: 52px;
}

.how-message-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    border-top: 1px solid var(--line);
    padding-top: 34px;
}

.how-message-card h2,
.how-final h2 {
    max-width: 520px;
    font-size: 2rem;
    line-height: 1.1;
}

.how-copy-box {
    border: 1px solid rgba(11, 118, 111, 0.18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(23, 33, 29, 0.07);
    padding: 18px;
}

.how-copy-box p {
    margin: 0 0 10px;
    color: #46524d;
}

.how-copy-box p:last-child {
    margin-bottom: 0;
}

.how-copy-box strong {
    display: inline-flex;
    margin: 4px 0 14px;
    border-radius: 999px;
    background: #edf8f3;
    color: var(--primary-strong);
    padding: 9px 14px;
    font-size: 1.2rem;
    line-height: 1.2;
}

.how-steps article {
    border-top: 2px solid var(--line);
    padding-top: 18px;
}

.how-step-number {
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 860;
}

.how-steps h2 {
    font-size: 1.28rem;
}

.how-steps p {
    margin: 10px 0 0;
    color: #46524d;
}

.how-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.how-do-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.how-do-card h2 {
    font-size: 1.28rem;
}

.how-do-card ul {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #46524d;
}

.how-examples {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
    gap: 42px;
    margin-top: 54px;
    border-top: 1px solid var(--line);
    padding-top: 34px;
}

.how-examples h2 {
    max-width: 420px;
    font-size: 2rem;
    line-height: 1.1;
}

.how-lines {
    display: grid;
    gap: 12px;
}

.how-lines p {
    margin: 0;
    border-left: 4px solid rgba(11, 118, 111, 0.34);
    background: #fff;
    color: #46524d;
    padding: 12px 14px;
}

.how-use-cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.how-use-cases div {
    border-top: 2px solid var(--line);
    padding-top: 16px;
}

.how-use-cases h2 {
    font-size: 1.18rem;
    line-height: 1.2;
}

.how-use-cases p {
    margin: 10px 0 0;
    color: #46524d;
}

.how-final {
    border-top: 1px solid var(--line);
    padding-top: 34px;
}

.how-final .primary-action {
    margin-top: 18px;
}

.about-hero {
    width: min(860px, 100%);
    margin-top: 40px;
}

.about-hero h1 {
    max-width: 760px;
    font-size: 3rem;
    line-height: 1.08;
}

.about-hero .lede {
    max-width: 760px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 42px;
    margin-top: 40px;
}

.about-grid > div {
    border-top: 2px solid var(--line);
    padding-top: 18px;
}

.about-grid h2 {
    font-size: 1.28rem;
    line-height: 1.2;
}

.about-grid p {
    margin: 10px 0 0;
    color: #46524d;
}

.about-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 48px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
}

.about-strip div {
    display: grid;
    gap: 6px;
}

.about-strip strong {
    color: var(--ink);
    font-size: 1.02rem;
}

.about-strip span {
    color: var(--muted);
}

.faq-hero {
    width: min(860px, 100%);
    margin-top: 40px;
}

.faq-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.faq-item {
    border-top: 2px solid var(--line);
    padding-top: 16px;
}

.faq-item h2 {
    font-size: 1.18rem;
    line-height: 1.2;
}

.faq-item p {
    margin: 10px 0 0;
    color: #46524d;
}

@media (max-width: 860px) {
    .hero-workspace,
    .dashboard-main,
    .info-grid,
    .seo-section,
    .how-hero,
    .how-message-card,
    .how-steps,
    .how-split,
    .how-examples,
    .how-use-cases,
    .about-grid,
    .about-strip,
    .faq-list,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .hero-workspace {
        gap: 28px;
        padding-top: 18px;
    }

    .hero-copy h1 {
        max-width: 620px;
        font-size: 3.15rem;
    }

    .seo-section {
        gap: 18px;
        margin-top: 42px;
    }

    .seo-section h2 {
        font-size: 2rem;
    }

    .how-hero {
        gap: 28px;
        margin-top: 24px;
    }

    .how-hero h1 {
        font-size: 2.55rem;
    }

    .how-examples {
        gap: 18px;
    }

    .segmented {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .token-panel {
        position: static;
    }
}

@media (max-width: 560px) {
    .site-header {
        align-items: center;
        flex-direction: row;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .page-shell,
    .site-header,
    .site-footer {
        width: min(100% - 24px, 1120px);
    }

    .panel {
        padding: 18px;
    }

    .hero-copy h1 {
        font-size: 2.45rem;
        line-height: 1.06;
    }

    .hero-copy .lede {
        font-size: 1rem;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .how-hero h1 {
        font-size: 2.18rem;
    }

    .how-share-card strong {
        font-size: 1.55rem;
    }

    .how-examples h2 {
        font-size: 1.55rem;
    }

    .how-message-card h2,
    .how-final h2 {
        font-size: 1.55rem;
    }

    .how-copy-box strong {
        font-size: 1.05rem;
    }

    .guide-page {
        gap: 34px;
        margin-top: 24px;
    }

    .guide-hero h1 {
        font-size: 2.25rem;
    }

    .guide-links {
        display: grid;
    }

    .lookup-row {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .link-row {
        grid-template-columns: 1fr;
    }

    .lookup-words {
        grid-template-columns: 1fr;
    }

    .seo-section h2 {
        font-size: 1.75rem;
    }

    .token-panel h1 {
        font-size: 2.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-mark::before,
    .brand-mark::after {
        animation: none;
    }

    .brand-mark::after {
        opacity: 0;
    }

    .ad-modal,
    .ad-modal-panel {
        transition: none;
    }
}
