/**
 * Tallycover — Premium landing website
 */

.landing-body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
}

.landing-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 520px at 8% -10%, rgba(13, 148, 136, 0.22), transparent 55%),
        radial-gradient(700px 480px at 95% 8%, rgba(20, 184, 166, 0.14), transparent 50%),
        radial-gradient(640px 420px at 70% 100%, rgba(13, 159, 110, 0.08), transparent 55%),
        var(--mesh-base, linear-gradient(180deg, #eef3fb, #e4ebf6));
}

[data-theme="dark"] .landing-atmosphere {
    background:
        radial-gradient(900px 520px at 8% -10%, rgba(45, 212, 191, 0.2), transparent 55%),
        radial-gradient(700px 480px at 95% 8%, rgba(20, 184, 166, 0.1), transparent 50%),
        radial-gradient(640px 420px at 70% 100%, rgba(52, 211, 153, 0.06), transparent 55%),
        linear-gradient(180deg, #0c1422, #0a101c);
}

/* Nav */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(16px) saturate(1.2);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

.landing-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.95rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--text);
    letter-spacing: -0.03em;
}

.landing-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(145deg, #2dd4bf, #0f766e);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(13, 148, 136, 0.35);
}

.landing-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(13, 148, 136, 0.28);
}

.landing-nav-links {
    gap: 1.6rem;
}

.landing-nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.landing-nav-links a:hover {
    color: var(--text);
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.landing-nav-burger {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-solid);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 0;
}

.landing-nav-drawer {
    display: grid;
    gap: 0.15rem;
    padding: 0.35rem 1.35rem 1.1rem;
    border-top: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
}

.landing-nav-drawer[hidden] {
    display: none !important;
}

.landing-nav-drawer a {
    padding: 0.75rem 0.35rem;
    font-weight: 650;
    font-size: 0.95rem;
    color: var(--text);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.landing-nav-drawer a:last-child {
    border-bottom: none;
    margin-top: 0.35rem;
    text-align: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #2dd4bf, #0f766e);
    color: #fff !important;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 18px rgba(13, 148, 136, 0.28);
}

.landing-nav .theme-toggle {
    border-color: var(--border);
    background: var(--card-solid);
    color: var(--text);
}

.btn-landing-primary {
    background: linear-gradient(135deg, #2dd4bf, #0f766e);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-weight: 650;
    padding: 0.58rem 1.15rem;
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-landing-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(13, 148, 136, 0.38);
    color: #fff !important;
}

.btn-landing-ghost {
    background: transparent;
    color: var(--text) !important;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 650;
    padding: 0.58rem 1rem;
}

.btn-landing-ghost:hover {
    background: var(--card-solid);
}

.btn-landing-outline {
    background: color-mix(in srgb, var(--card-solid) 70%, transparent);
    color: var(--text) !important;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 650;
    padding: 0.75rem 1.3rem;
    backdrop-filter: blur(8px);
}

.btn-landing-outline:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
}

.btn-xl {
    padding: 0.85rem 1.45rem !important;
    font-size: 1rem;
    border-radius: 14px !important;
}

.landing-flash {
    max-width: 1180px;
    margin: 0.85rem auto 0;
    padding: 0 1.35rem;
}

/* Hero — full-bleed composition */
.landing-hero {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 4.5rem 1.35rem 3.5rem;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2.75rem;
    align-items: center;
    min-height: calc(100vh - 78px);
}

.landing-hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    right: 4%;
    top: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.28), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

.landing-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    margin: 0 0 0.85rem;
    letter-spacing: -0.02em;
}

.landing-brand-mark-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 6px 14px rgba(13, 148, 136, 0.25);
}

.landing-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.4vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.98;
    margin: 0 0 1.15rem;
    color: var(--text);
}

.landing-lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 36ch;
    line-height: 1.6;
    margin: 0 0 1.85rem;
}

.landing-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-currency-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.35rem;
}

.hero-currency-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--card-solid) 88%, transparent);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    backdrop-filter: blur(8px);
}

.hero-currency-pill img {
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.hero-currency-pill.more {
    color: var(--text-muted);
    font-weight: 650;
}

.hero-fx-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.72rem !important;
    font-weight: 700 !important;
}

.hero-fx-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.95rem;
}

.hero-fx-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 75%, var(--card-solid));
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.currency-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

/* How to use — premium product walkthrough */
.guide-section {
    position: relative;
    overflow: hidden;
}

.guide-section::before {
    content: "";
    position: absolute;
    inset: 8% -20% auto;
    height: 55%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(13, 148, 136, 0.12), transparent 55%),
        radial-gradient(ellipse at 75% 60%, rgba(20, 184, 166, 0.08), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.guide-section .landing-section-inner {
    position: relative;
    z-index: 1;
}

.guide-head h2 {
    font-size: clamp(1.85rem, 3.6vw, 2.65rem);
    line-height: 1.12;
}

.guide-flow {
    display: grid;
    gap: 4.5rem;
    margin-top: 2.75rem;
}

.guide-step {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: center;
}

.guide-step-flip {
    direction: rtl;
}

.guide-step-flip > * {
    direction: ltr;
}

.guide-step-index {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.guide-step-copy h3 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    letter-spacing: -0.035em;
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.guide-step-copy p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 34ch;
}

.guide-ticks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.guide-ticks li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.guide-ticks li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231a6aff' d='M6.5 11.2 3.2 7.9l1.1-1.1 2.2 2.2 5-5 1.1 1.1z'/%3E%3C/svg%3E")
        center / 12px no-repeat,
        color-mix(in srgb, var(--primary) 14%, transparent);
}

.guide-step-stage {
    position: relative;
    display: flex;
    justify-content: center;
}

.guide-glow {
    position: absolute;
    inset: 12% 8%;
    border-radius: 50%;
    filter: blur(42px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}

.guide-glow-a { background: rgba(13, 148, 136, 0.45); }
.guide-glow-b { background: rgba(20, 184, 166, 0.4); }
.guide-glow-c { background: rgba(18, 184, 134, 0.35); }
.guide-glow-d { background: rgba(51, 65, 85, 0.4); }

.guide-screen {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
    background: var(--card-solid);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 28px 60px -28px rgba(15, 23, 42, 0.45);
    overflow: hidden;
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.guide-step-flip .guide-screen {
    transform: perspective(900px) rotateY(4deg) rotateX(2deg);
}

.guide-step:hover .guide-screen {
    transform: perspective(900px) rotateY(0deg) rotateX(0deg) translateY(-6px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 36px 70px -24px rgba(15, 23, 42, 0.5);
}

.guide-screen-chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.95rem;
    background: color-mix(in srgb, var(--bg) 55%, var(--card-solid));
    border-bottom: 1px solid var(--border);
}

.guide-screen-chrome span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.guide-screen-chrome span:nth-child(1) { background: #f87171; }
.guide-screen-chrome span:nth-child(2) { background: #fbbf24; }
.guide-screen-chrome span:nth-child(3) { background: #34d399; }

.guide-screen-chrome em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 650;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.guide-screen-body {
    padding: 1.15rem 1.2rem 1.3rem;
    display: grid;
    gap: 0.75rem;
}

.gs-field {
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 70%, var(--card-solid));
}

.gs-field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.gs-field b {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.gs-field b img {
    border-radius: 2px;
    vertical-align: -1px;
    margin-right: 0.25rem;
}

.gs-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0;
    border: none;
    background: transparent;
}

.gs-split > div {
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 70%, var(--card-solid));
}

.gs-btn {
    margin-top: 0.25rem;
    text-align: center;
    padding: 0.72rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #2dd4bf, #0f766e);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    box-shadow: 0 10px 22px rgba(13, 148, 136, 0.32);
}

.gs-btn-soft {
    background: color-mix(in srgb, var(--primary) 12%, var(--card-solid));
    color: var(--primary);
    box-shadow: none;
    border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
}

.gs-seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    padding: 0.3rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--bg) 80%, var(--card-solid));
    border: 1px solid var(--border);
}

.gs-seg span {
    text-align: center;
    padding: 0.45rem;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--text-muted);
}

.gs-seg span.on {
    background: var(--card-solid);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.gs-amount {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 65%, var(--card-solid));
}

.gs-amount img {
    border-radius: 3px;
}

.gs-amount strong {
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.gs-amount small {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
}

.gs-meta {
    display: flex;
    gap: 0.5rem;
}

.gs-meta span {
    flex: 1;
    text-align: center;
    padding: 0.55rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--text-muted);
}

.gs-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
}

.gs-stats > div {
    padding: 0.55rem 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 70%, var(--card-solid));
}

.gs-stats small {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.gs-stats b {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: -0.03em;
}

.gs-stats .pos { color: #12b886; }
.gs-stats .neg { color: #e03131; }

.gs-bal {
    background: linear-gradient(145deg, #0d9488, #0f766e) !important;
    border-color: transparent !important;
}

.gs-bal small,
.gs-bal b {
    color: #fff !important;
}

.gs-charts {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.75rem;
    align-items: end;
    min-height: 110px;
}

.gs-donut {
    width: 88px;
    height: 88px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(#0d9488 0 42%, #12b886 42% 68%, #fd7e14 68% 100%);
    mask: radial-gradient(circle at center, transparent 52%, #000 53%);
    -webkit-mask: radial-gradient(circle at center, transparent 52%, #000 53%);
    animation: guideDonutSpin 12s linear infinite;
}

.gs-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 96px;
    padding: 0.35rem 0.25rem;
}

.gs-bars i {
    flex: 1;
    display: block;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, #2dd4bf, #0d9488);
    animation: guideBarPulse 2.8s ease-in-out infinite;
}

.gs-bars i:nth-child(1) { height: 42%; animation-delay: 0s; }
.gs-bars i:nth-child(2) { height: 68%; animation-delay: 0.15s; }
.gs-bars i:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.gs-bars i:nth-child(4) { height: 88%; animation-delay: 0.45s; }
.gs-bars i:nth-child(5) { height: 62%; animation-delay: 0.6s; }

@keyframes guideDonutSpin {
    to { transform: rotate(360deg); }
}

@keyframes guideBarPulse {
    0%, 100% { filter: brightness(1); transform: scaleY(1); }
    50% { filter: brightness(1.12); transform: scaleY(1.06); }
}

.gs-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 70%, var(--card-solid));
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.gs-rows {
    display: grid;
    gap: 0.45rem;
}

.gs-rows > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 55%, var(--card-solid));
    font-size: 0.88rem;
    font-weight: 650;
}

.gs-rows em {
    font-style: normal;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gs-rows .pos { color: #12b886; }
.gs-rows .neg { color: #e03131; }

.guide-rail {
    display: none;
}

/* FAQ */
.landing-faq-wrap {
    max-width: 820px;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: var(--card-solid);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.35rem 1.15rem;
    box-shadow: var(--shadow);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 650;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
    padding: 0.95rem 0;
    position: relative;
    padding-right: 1.75rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.currency-tile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.05rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--card-solid);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.currency-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.currency-tile img {
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
    flex-shrink: 0;
}

.currency-tile strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.98rem;
    letter-spacing: -0.02em;
}

.currency-tile small {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.marquee-track img {
    border-radius: 2px;
}

/* Device mock */
.landing-hero-stage {
    position: relative;
    min-height: 420px;
}

.hero-device {
    background: var(--card-solid);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow:
        0 30px 60px rgba(8, 17, 31, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    overflow: hidden;
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(0);
    animation: deviceFloat 6s ease-in-out infinite;
}

@keyframes deviceFloat {
    0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(-10px); }
}

.hero-device-chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(180deg, color-mix(in srgb, var(--card-solid) 90%, #94a3b8), var(--card-solid));
    border-bottom: 1px solid var(--border);
}

.hero-device-chrome span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #94a3b8;
}

.hero-device-chrome span:nth-child(1) { background: #fb7185; }
.hero-device-chrome span:nth-child(2) { background: #fbbf24; }
.hero-device-chrome span:nth-child(3) { background: #34d399; }

.hero-device-chrome em {
    margin-left: 0.65rem;
    font-style: normal;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-device-screen {
    padding: 1.15rem;
}

.hero-mini-hero {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.9rem;
}

.hero-mini-hero strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.hero-mini-hero span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 650;
}

.hero-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.hero-stat {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.7rem 0.65rem;
    background: color-mix(in srgb, var(--bg) 80%, var(--card-solid));
}

.hero-stat small {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 650;
    margin-bottom: 0.15rem;
}

.hero-stat b {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.hero-stat b.pos { color: var(--success); }
.hero-stat b.neg { color: var(--danger); }

.hero-stat-dark {
    background: linear-gradient(145deg, #0f172a, #1e3a5f);
    border-color: transparent;
}

.hero-stat-dark small { color: #9fb2cc; }
.hero-stat-dark b { color: #34d399; }

.hero-viz {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0.85rem;
    align-items: center;
}

.hero-donut {
    width: 118px;
    height: 118px;
    margin: 0 auto 0.55rem;
    border-radius: 50%;
    background: conic-gradient(#0d9488 0 48%, #12b886 48% 72%, #fd7e14 72% 100%);
    -webkit-mask: radial-gradient(circle at center, transparent 52%, #000 53%);
    mask: radial-gradient(circle at center, transparent 52%, #000 53%);
    animation: donutSpin 12s linear infinite;
}

@keyframes donutSpin {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(12deg); }
}

.hero-donut-legend {
    display: grid;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 650;
}

.hero-donut-legend span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-donut-legend i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.hero-spark {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.75rem;
    background: var(--card-solid);
}

.hero-spark-head {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 100px;
}

.hero-bars i {
    flex: 1;
    display: block;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, #5eead4, #0d9488);
    animation: barGrow 1.4s ease both;
}

.hero-bars i:nth-child(1) { height: 38%; animation-delay: 0.05s; }
.hero-bars i:nth-child(2) { height: 62%; animation-delay: 0.12s; }
.hero-bars i:nth-child(3) { height: 48%; animation-delay: 0.18s; }
.hero-bars i:nth-child(4) { height: 84%; animation-delay: 0.24s; }
.hero-bars i:nth-child(5) { height: 56%; animation-delay: 0.3s; }
.hero-bars i:nth-child(6) { height: 70%; animation-delay: 0.36s; }

@keyframes barGrow {
    from { transform: scaleY(0.2); opacity: 0.3; transform-origin: bottom; }
    to { transform: scaleY(1); opacity: 1; transform-origin: bottom; }
}

.hero-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: var(--card-solid);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--text);
    animation: floatChip 4.5s ease-in-out infinite;
}

.hero-float-a {
    left: -8px;
    bottom: 18%;
}

.hero-float-b {
    right: -6px;
    top: 22%;
    animation-delay: 0.8s;
}

@keyframes floatChip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Marquee */
.landing-marquee {
    overflow: hidden;
    border-block: 1px solid var(--border);
    background: color-mix(in srgb, var(--card-solid) 55%, transparent);
    padding: 0.85rem 0;
}

.marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee 28s linear infinite;
    font-family: var(--font-display);
    font-weight: 650;
    font-size: 0.92rem;
    color: var(--text-muted);
    letter-spacing: -0.02em;
}

.marquee-track span::after {
    content: "·";
    margin-left: 2.5rem;
    opacity: 0.4;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Sections */
.landing-section {
    padding: 5rem 1.35rem;
}

.landing-section-alt {
    background: color-mix(in srgb, var(--card-solid) 65%, transparent);
    border-block: 1px solid var(--border);
}

.landing-section-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 0.55rem;
}

.section-kicker.light {
    color: rgba(255, 255, 255, 0.75);
}

.section-head h2,
.landing-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin: 0 0 0.55rem;
}

.landing-section-lead {
    color: var(--text-muted);
    max-width: 44ch;
    margin: 0 auto;
    line-height: 1.55;
}

/* Why / keyword pillars */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.why-card {
    padding: 1.55rem 1.4rem 1.6rem;
    border-radius: 22px;
    border: 1px solid var(--border);
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--primary) 7%, transparent), transparent 55%),
        var(--card-solid);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.why-tag {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    margin: 0 0 0.55rem;
    line-height: 1.25;
}

.why-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

@media (max-width: 991.98px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* Bento */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.bento-item {
    background: var(--card-solid);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.45rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.bento-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: center;
    background:
        radial-gradient(400px 180px at 100% 0%, rgba(13, 148, 136, 0.12), transparent 60%),
        var(--card-solid);
}

.bento-dark {
    background: linear-gradient(145deg, #0f172a, #16325c);
    border-color: transparent;
    color: #e8eef8;
}

.bento-dark p {
    color: #9fb2cc !important;
}

.bento-dark .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #93c5fd;
}

.bento-copy h3,
.bento-item h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    margin: 0 0 0.45rem;
}

.bento-copy p,
.bento-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.bento-visual-stats {
    display: grid;
    gap: 0.55rem;
}

.bento-visual-stats div {
    border-radius: 14px;
    padding: 0.85rem 1rem;
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    border: 1px solid var(--border);
}

.bento-visual-stats small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 650;
}

.bento-visual-stats strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.95rem;
}

/* Steps */
.landing-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.landing-step {
    text-align: left;
    padding: 1.75rem 1.4rem;
    border-radius: 20px;
    background: var(--card-solid);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.step-num {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.landing-step h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}

.landing-step p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* CTA band */
.landing-cta-band {
    padding: 1.35rem;
}

.landing-cta-band-inner {
    max-width: 1180px;
    margin: 0 auto;
    border-radius: 28px;
    padding: 2.75rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #fff;
    background:
        radial-gradient(500px 220px at 90% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
        linear-gradient(125deg, #0f766e 0%, #0d9488 48%, #14b8a6 100%);
    box-shadow: 0 24px 50px rgba(13, 148, 136, 0.3);
}

.landing-cta-band-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.035em;
    margin: 0 0 0.4rem;
}

.landing-cta-band-inner p {
    margin: 0;
    opacity: 0.9;
    max-width: 40ch;
}

/* Contact Us */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 1.75rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary);
    font-size: 1.15rem;
}

.contact-info-item h3 {
    margin: 0 0 0.2rem;
    font-family: var(--font-display);
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.contact-info-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.contact-info-item a {
    color: var(--primary);
    font-weight: 650;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-form {
    position: relative;
    background: var(--card-solid);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.35rem 1.35rem 1.45rem;
    box-shadow: var(--shadow);
}

.contact-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.contact-form-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 991.98px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .contact-form {
        padding: 1rem 0.9rem 1.1rem;
        border-radius: 16px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-actions .btn {
        width: 100%;
    }
}

.btn-on-blue {
    background: #fff;
    color: #0f766e !important;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(8, 17, 31, 0.15);
}

.btn-on-blue:hover {
    background: #f8fafc;
    color: #0f766e !important;
    transform: translateY(-1px);
}

.btn-on-blue-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    font-weight: 650;
    backdrop-filter: blur(6px);
}

.btn-on-blue-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

/* Footer */
.landing-footer {
    padding: 1.75rem 1.35rem 2.25rem;
}

.landing-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.landing-footer-tagline {
    margin: 0;
    flex: 1;
    min-width: 12rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

.landing-footer-links {
    display: flex;
    gap: 1.1rem;
}

.landing-footer-links a {
    color: var(--text-muted);
    font-weight: 650;
    font-size: 0.9rem;
}

.landing-footer-links a:hover {
    color: var(--primary);
}

/* Reveal motion */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Auth pages polish */
.auth-page .auth-simple {
    min-height: calc(100vh - 72px);
}

.auth-body {
    min-height: 100vh;
}

.auth-simple {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 1rem;
    background:
        radial-gradient(700px 360px at 15% 0%, rgba(13, 148, 136, 0.14), transparent 55%),
        transparent;
}

.auth-page .auth-simple {
    background: transparent;
}

.auth-back {
    align-self: center;
    width: 100%;
    max-width: 440px;
    color: var(--text-muted);
    font-weight: 650;
    font-size: 0.9rem;
}

.auth-back:hover {
    color: var(--primary);
}

.auth-simple .auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--card-solid);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-hover);
    padding: 1.75rem 1.6rem;
}

.auth-simple .brand-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, #2dd4bf, #0f766e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.35);
}

.auth-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    margin: 0;
}

.auth-subtitle {
    color: var(--text-muted);
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
}

.auth-submit {
    padding: 0.8rem 1rem;
    border-radius: 12px;
}

.auth-switch {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 700;
}

/* Compact signup — fit viewport without scrolling when possible */
.auth-simple-compact {
    min-height: calc(100vh - 64px);
    padding: 0.75rem 1rem 1.25rem;
    justify-content: center;
}

.auth-card-signup {
    max-width: 520px !important;
    padding: 1.15rem 1.25rem 1.1rem !important;
    border-radius: 18px !important;
}

.auth-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    margin-bottom: 0.85rem;
}

.auth-card-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(13, 148, 136, 0.28);
}

.auth-card-signup .auth-title {
    font-size: 1.35rem;
    line-height: 1.15;
}

.auth-card-signup .auth-subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
}

.auth-form-compact .form-label {
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

.auth-form-compact .form-control,
.auth-form-compact .currency-select-btn {
    min-height: 40px;
    padding: 0.45rem 0.7rem;
    font-size: 0.92rem;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.75rem;
    margin-bottom: 0.65rem;
}

.auth-currency-row {
    margin-bottom: 0.75rem;
}

.auth-card-signup .auth-submit {
    padding: 0.65rem 1rem;
    margin-bottom: 0.65rem;
}

.auth-card-signup .auth-switch {
    font-size: 0.84rem;
}

@media (max-width: 575.98px) {
    .auth-form-grid {
        grid-template-columns: 1fr;
    }

    .auth-simple-compact {
        padding: 0.5rem 0.75rem 1rem;
        justify-content: flex-start;
    }

    .auth-card-signup {
        padding: 1rem 0.95rem 0.95rem !important;
    }
}

@media (max-width: 991.98px) {
    .landing-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 2.5rem;
        gap: 2rem;
    }

    .landing-hero-content {
        text-align: left;
    }

    .hero-currency-pills {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .hero-device {
        transform: none;
        animation: none;
        max-width: 100%;
    }

    .hero-float-a { left: 8px; }
    .hero-float-b { right: 8px; }

    .bento,
    .landing-steps {
        grid-template-columns: 1fr;
    }

    .guide-flow {
        gap: 3.25rem;
    }

    .guide-step,
    .guide-step-flip {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        direction: ltr;
    }

    .guide-screen,
    .guide-step-flip .guide-screen {
        transform: none;
        max-width: 100%;
    }

    .guide-step:hover .guide-screen {
        transform: translateY(-4px);
    }

    .guide-step-copy p {
        max-width: none;
    }

    .guide-step-stage {
        order: -1;
    }

    .bento-wide {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .landing-cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .landing-nav-inner {
        padding: 0.8rem 1rem;
    }

    .landing-section {
        padding: 3.25rem 0;
    }

    .landing-section-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .guide-flow {
        gap: 2.75rem;
        margin-top: 2rem;
    }

    .guide-head h2 {
        font-size: 1.7rem;
    }

    .gs-split {
        grid-template-columns: 1fr;
    }

    .gs-stats {
        grid-template-columns: 1fr;
    }

    .gs-charts {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .gs-bars {
        width: 100%;
    }

    .auth-simple {
        padding: 1.25rem 0.85rem 2rem;
        justify-content: flex-start;
    }

    .auth-simple .auth-card {
        padding: 1.4rem 1.15rem;
        border-radius: 18px;
    }

    .auth-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .landing-logo span:last-child {
        font-size: 0.98rem;
    }

    .hero-currency-pills .hero-currency-pill:nth-child(n+5) {
        display: none;
    }

    .hero-currency-pills .hero-currency-pill.more {
        display: inline-flex;
    }

    .hero-stat-row,
    .hero-viz,
    .bento,
    .landing-steps {
        grid-template-columns: 1fr;
    }

    .hero-float {
        display: none;
    }

    .landing-cta-band-inner {
        padding: 1.75rem 1.25rem;
    }

    .landing-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .marquee-track span {
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-device,
    .hero-float,
    .hero-donut,
    .hero-bars i,
    .marquee-track,
    .landing-hero-glow,
    .gs-donut,
    .gs-bars i,
    .guide-screen,
    .reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------- 404 / not found ---------- */
.error-page {
    min-height: calc(100vh - 5rem);
    display: grid;
    place-items: center;
    padding: 2.5rem 1.25rem 3.5rem;
}

.error-page-card {
    width: min(100%, 520px);
    text-align: center;
    background: color-mix(in srgb, var(--card-solid, #fff) 92%, transparent);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 2.25rem 1.75rem 1.85rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.error-page-code {
    position: absolute;
    inset: -0.4rem 0 auto;
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 7.5rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    color: color-mix(in srgb, var(--primary) 14%, transparent);
    pointer-events: none;
    user-select: none;
}

.error-page-icon {
    width: 4rem;
    height: 4rem;
    margin: 1.5rem auto 1rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #2dd4bf, #0f766e);
    color: #fff;
    font-size: 1.65rem;
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.35);
    position: relative;
    z-index: 1;
}

.error-page-card h1 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 1.9rem);
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
    position: relative;
    z-index: 1;
}

.error-page-lead {
    margin: 0 auto 1.5rem;
    max-width: 36ch;
    color: var(--text-muted);
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.error-page-hint {
    margin: 1.25rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Thank you (contact form) */
.thanks-page {
    min-height: calc(100vh - 5.5rem);
    display: grid;
    place-items: center;
    padding: 2.5rem 1.25rem 3.5rem;
}

.thanks-page-card {
    width: min(100%, 520px);
    text-align: center;
    padding: 2.4rem 1.75rem 2rem;
    border-radius: 28px;
    background: color-mix(in srgb, var(--card-solid) 92%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
    box-shadow: var(--shadow);
}

.thanks-page-icon {
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #2dd4bf, #0f766e);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.35);
}

.thanks-page-card h1 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 1.95rem);
    letter-spacing: -0.03em;
    margin: 0 0 0.7rem;
}

.thanks-page-lead {
    margin: 0 auto 1.6rem;
    max-width: 36ch;
    color: var(--text-muted);
    line-height: 1.55;
}

.thanks-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (max-width: 520px) {
    .thanks-page-actions .btn {
        width: 100%;
    }
}

