:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-strong: #fff7ed;
    --ink: #101828;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #d9e2ec;
    --line-strong: #b9c7d5;
    --primary: #b42318;
    --primary-dark: #7a271a;
    --gold: #d69e2e;
    --green: #067647;
    --teal: #0e7490;
    --navy: #182236;
    --focus: #1570ef;
    --shadow: 0 18px 55px rgba(16, 24, 40, 0.13);
    --shadow-soft: 0 12px 28px rgba(16, 24, 40, 0.08);
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 104px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--ink);
    font-family: "IBM Plex Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

body.nav-locked {
    overflow: hidden;
}

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

[hidden] {
    display: none !important;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

input,
select,
textarea {
    width: 100%;
}

textarea {
    resize: vertical;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    transform: translateY(-140%);
    border-radius: 8px;
    background: var(--ink);
    color: #ffffff;
    padding: 10px 14px;
    transition: transform 220ms var(--ease-smooth);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(217, 226, 236, 0.9);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px) saturate(160%);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
}

.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(180, 35, 24, 0.2);
    object-fit: contain;
}

.brand-text {
    display: grid;
    gap: 1px;
}

.brand-text strong {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.1;
}

.brand-text span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    color: var(--ink-soft);
    font-weight: 700;
    padding: 10px 13px;
    transition: background-color 220ms var(--ease-smooth), color 220ms var(--ease-smooth), transform 220ms var(--ease-smooth);
}

.nav-menu a:hover {
    background: #f2f4f7;
    color: var(--primary);
    transform: translateY(-1px);
}

.btn,
.nav-menu a,
.nav-toggle,
.footer-links a {
    touch-action: manipulation;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 220ms var(--ease-smooth), opacity 180ms ease;
}

.hero {
    position: relative;
    min-height: min(570px, calc(100svh - 170px));
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-items: center;
    padding: 52px 0;
    color: var(--ink);
    background: #f7f8fa;
}

.hero-scene {
    position: absolute;
    inset: -60px 0 180px;
    z-index: -1;
    width: min(1080px, 100%);
    margin: 0 auto;
    pointer-events: none;
}

.hero-scene img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
}

.mini-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.17), transparent 48%),
        radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.18), transparent 24%);
    pointer-events: none;
}

.mini-card > * {
    position: relative;
    z-index: 1;
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 64px;
}

.hero-content {
    width: 100%;
    min-width: 0;
    text-align: left;
}

.section-kicker {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-kicker,
.exchange-copy .section-kicker,
.contact-copy .section-kicker {
    color: #94600d;
    font-size: 13px;
}

.hero h1 {
    margin: 0;
    color: var(--ink);
    font-size: 64px;
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: 0;
}

.hero h1 > span {
    color: var(--primary);
}

.hero-copy {
    max-width: 370px;
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-actions .btn {
    min-height: 54px;
}

.btn-hero-secondary {
    color: var(--ink-soft);
    background: transparent;
    box-shadow: none;
}

.btn-hero-secondary:hover {
    color: var(--primary);
    background: #ffffff;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    transition: transform 220ms var(--ease-smooth), box-shadow 220ms var(--ease-smooth), background-color 220ms var(--ease-smooth), border-color 220ms var(--ease-smooth);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn:disabled {
    cursor: progress;
    opacity: 0.72;
    transform: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(180, 35, 24, 0.25);
}

.btn-primary:hover {
    background: #971b13;
    box-shadow: 0 20px 42px rgba(180, 35, 24, 0.34);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

.btn-outline-dark {
    border-color: var(--navy);
    background: #ffffff;
    color: var(--navy);
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(16, 24, 40, 0.14);
}

.btn-wide {
    width: 100%;
}

.hero-preview-band {
    position: relative;
    min-width: 0;
    padding-top: 260px;
}

.exchange-preview {
    width: 100%;
    min-height: 186px;
    padding: 14px 12px 0;
    border-top: 1px solid var(--line);
}

.preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.preview-heading h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 650;
}

.preview-heading > span {
    color: var(--muted);
    font-size: 12px;
}

.preview-stage {
    display: grid;
    min-height: 90px;
    width: min(100%, 320px);
    margin: 0 auto;
    text-align: center;
}

.preview-frame {
    grid-area: 1 / 1;
    min-width: 0;
    animation: preview-appear 240ms ease-out both;
}

.preview-frame h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
}

.preview-card-value,
.preview-review {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 48px;
}

.preview-card-value > img {
    width: 58px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}

.preview-card-value > span {
    color: var(--ink-soft);
    font-size: 14px;
}

.preview-card-value > strong {
    font-size: 23px;
    line-height: 1.2;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.preview-card-value small,
.preview-equation small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}

.preview-equation {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.preview-equation > span:not(:first-child) {
    text-align: center;
}

.preview-equation > strong {
    color: var(--green);
    text-align: center;
}

.preview-operator {
    color: var(--muted);
    font-size: 16px;
}

.preview-payouts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.preview-payouts li {
    display: grid;
    grid-template-rows: 28px auto;
    justify-items: center;
    align-items: center;
    gap: 4px;
    color: var(--ink-soft);
    font-size: 12px;
}

.preview-payouts img {
    object-fit: contain;
}

.preview-review > img {
    flex-shrink: 0;
}

.preview-review strong,
.preview-review span {
    display: block;
    text-align: left;
}

.preview-review strong {
    font-size: 16px;
    font-weight: 600;
}

.preview-review span {
    color: var(--muted);
    font-size: 12px;
}

.preview-controls {
    max-width: 320px;
    margin: 0 auto;
}

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

.preview-chapters button {
    display: grid;
    align-items: center;
    min-width: 44px;
    height: 44px;
    border: 0;
    border-radius: 4px;
    padding: 0;
    background: transparent;
    touch-action: manipulation;
}

.preview-chapters button > span {
    position: relative;
    height: 3px;
    border-radius: 2px;
    overflow: hidden;
    background: var(--line);
}

.preview-chapters button > span > span {
    position: absolute;
    inset: 0;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition-property: none;
}

.preview-chapters [aria-current="step"] > span {
    background: #9bbaab;
}

.preview-chapters button:hover > span {
    background: var(--line-strong);
}

.preview-static-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--primary);
    font-size: 13px;
}

@keyframes preview-appear {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-benefits {
    background: #ffffff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    text-align: left;
    padding: 22px 0;
}

.hero-proof > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
}

.hero-proof > div + div {
    border-left: 1px solid var(--line);
}

.hero-proof p {
    margin: 0;
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof strong {
    color: var(--ink);
    font-size: 15px;
    white-space: normal;
}

.hero-proof span {
    color: var(--muted);
    font-size: 12px;
    white-space: normal;
}

.ui-icon {
    flex-shrink: 0;
    object-fit: contain;
}

.icon-light {
    filter: brightness(0) invert(1);
}

.btn .ui-icon {
    margin-left: 10px;
}

.card-brand-mark {
    object-fit: contain;
    border-radius: 4px;
    background: #ffffff;
    padding: 4px;
}

.popular-strip {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    padding: 46px 0 56px;
}

.strip-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.strip-heading h2 {
    max-width: 620px;
    margin: 0;
    color: var(--ink);
    font-size: 26px;
    line-height: 1.18;
}

.marquee-window {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 18px;
    padding: 4px 0;
    animation: marquee 68s linear infinite;
    will-change: transform;
}

.mini-card {
    position: relative;
    overflow: hidden;
    flex: 0 0 168px;
    min-height: 108px;
    display: grid;
    align-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    padding: 15px;
    background: linear-gradient(135deg, var(--card-shade), var(--card-accent));
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.mini-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mini-card-mark,
.mini-card-top span:last-child {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 7px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.mini-card strong {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.08;
}

.mini-card small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2,
.about-layout h2,
.contact-copy h2 {
    margin: 0;
    color: var(--ink);
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: 0;
}

.section-heading p:last-child,
.contact-copy p,
.exchange-copy p {
    color: var(--muted);
    font-size: 16px;
}

.exchange-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #f6f8fb, #ffffff);
}

.exchange-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1fr);
    gap: 44px;
    align-items: start;
}

.exchange-copy {
    position: sticky;
    top: 98px;
    padding: 20px 20px 20px 0;
    min-width: 0;
}

.exchange-copy h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 23px;
    line-height: 1.18;
}

.cash-example {
    margin: 28px 0 30px;
}

.cash-example-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.sample-gift-card,
.sample-cash {
    min-width: 0;
    min-height: 182px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
}

.sample-gift-card {
    padding: 20px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(122, 39, 26, 0.12);
}

.sample-gift-card > img {
    margin-bottom: 8px;
}

.sample-gift-card span,
.sample-cash span {
    font-size: 13px;
    line-height: 1.4;
}

.sample-gift-card strong,
.sample-cash strong {
    font-size: 36px;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.sample-cash {
    padding: 12px 0 12px 8px;
    color: var(--green);
}

.sample-cash > img {
    margin-bottom: 10px;
}

.cash-flow-arrow {
    opacity: 0.55;
}

.cash-example figcaption {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    font-size: 12px;
    color: var(--muted);
}

.cash-example figcaption span {
    color: var(--ink-soft);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.fee-table caption {
    text-align: left;
    color: var(--ink);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

.fee-table th,
.fee-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-weight: 400;
}

.fee-table thead th {
    font-size: 12px;
    color: var(--muted);
    padding-top: 0;
}

.fee-table th:last-child,
.fee-table td {
    text-align: right;
}

.fee-table td {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.exchange-copy .quote-condition {
    font-size: 12px;
    margin: 14px 0 26px;
}

.payout-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.payout-options li {
    display: grid;
    justify-items: center;
    min-width: 0;
    gap: 8px;
    text-align: center;
}

.payout-brand-icon {
    display: grid;
    place-items: center;
    width: 100%;
    height: 52px;
}

.payout-brand-icon img {
    object-fit: contain;
    width: 30px;
    height: 30px;
}

.payout-brand-icon .paypal-wordmark {
    width: 80px;
    height: 52px;
}

.payout-options strong {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
}

.exchange-form,
.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    padding: 32px;
}

.exchange-form.is-submitted {
    padding: clamp(32px, 4.5vw, 56px);
}

.form-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.exchange-form.is-submitted .form-header {
    display: none;
    align-items: center;
    justify-content: center;
    justify-items: center;
    width: min(100%, 620px);
    margin: 0 auto 30px;
    text-align: center;
}

.exchange-form.is-submitted .form-header > div {
    display: grid;
    justify-items: center;
    width: 100%;
}

.exchange-form.is-submitted .form-header .section-kicker,
.exchange-form.is-submitted .form-header h3,
.exchange-form.is-submitted .form-required-note,
.exchange-form.is-submitted .status-pill {
    justify-self: center;
    text-align: center;
}

.form-header h3 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.15;
}

.form-required-note {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.status-pill {
    flex: 0 0 auto;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #f0fdf4;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 10px;
}

.exchange-success-panel {
    scroll-margin-top: 104px;
    display: grid;
    justify-items: center;
    gap: 22px;
    border: 1px solid #abefc6;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(240, 253, 244, 0.95), rgba(255, 255, 255, 0.98)),
        #ffffff;
    box-shadow: 0 18px 40px rgba(6, 118, 71, 0.12);
    margin: 0 auto 24px;
    padding: clamp(30px, 4vw, 48px);
    text-align: center;
}

.success-check {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: var(--green);
    box-shadow: 0 14px 24px rgba(6, 118, 71, 0.22);
}

.success-check::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 23px;
    width: 27px;
    height: 15px;
    border-left: 5px solid #ffffff;
    border-bottom: 5px solid #ffffff;
    transform: rotate(-45deg);
}

.success-content {
    display: grid;
    justify-items: center;
    min-width: 0;
    width: 100%;
}

.success-label {
    display: block;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.success-content h4 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.14;
}

.success-content p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.45;
}

.success-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(100%, 620px);
    margin: 26px 0 28px;
}

.success-summary span {
    display: grid;
    grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
    align-items: center;
    align-content: center;
    justify-items: stretch;
    gap: 5px;
    min-width: 0;
    min-height: 74px;
    border: 1px solid rgba(171, 239, 198, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    padding: 16px 18px;
    text-align: left;
}

.success-summary b {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.success-summary strong {
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: normal;
    text-align: right;
    white-space: normal;
    word-break: keep-all;
}

.exchange-success-panel .btn-wide {
    width: min(100%, 620px);
    justify-self: center;
}

.success-actions {
    display: grid;
    gap: 10px;
    width: min(100%, 620px);
}

.success-actions .btn-wide {
    width: 100%;
}

.exchange-form.is-submitted [data-exchange-fields] {
    display: none;
}

.exchange-form.is-submitted .field input:disabled,
.exchange-form.is-submitted .field select:disabled,
.exchange-form.is-submitted .field textarea:disabled {
    border-color: var(--line);
    background: #f8fafc;
    color: var(--ink-soft);
    cursor: default;
    opacity: 1;
}

.form-grid {
    display: grid;
    align-items: start;
    gap: 16px;
}

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

.card-credential-grid.is-payment-card {
    grid-template-columns: 1fr;
}

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.field span {
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.required-mark {
    color: var(--primary);
}

.field input,
.field select,
.field textarea {
    min-height: 52px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    padding: 12px 13px;
    transition: border-color 220ms var(--ease-smooth), box-shadow 220ms var(--ease-smooth), background-color 220ms var(--ease-smooth);
}

.field input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.field input[type="number"]::-webkit-inner-spin-button,
.field input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.field textarea {
    min-height: 118px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #98a2b3;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--focus);
    box-shadow: 0 0 0 4px rgba(21, 112, 239, 0.13);
    outline: 0;
}

.field small {
    color: var(--muted);
    font-size: 12px;
}

.field small.field-error {
    color: #b42318;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: #b42318;
}

.prepaid-card-fields {
    margin: 0 0 16px;
}

.prepaid-details-grid {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.prepaid-details-grid .field,
.prepaid-details-grid input {
    min-width: 0;
}

.prepaid-details-grid input {
    width: 100%;
}

.prepaid-card-fields .field {
    margin-bottom: 0;
}

.offer-preview {
    display: grid;
    gap: 7px;
    border: 1px solid #c7d7fe;
    border-radius: 8px;
    background:
        linear-gradient(135deg, #ffffff, #eff6ff),
        #ffffff;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.07);
    color: var(--ink);
    padding: 16px;
    margin: 4px 0 18px;
    transition: border-color 220ms var(--ease-smooth), background-color 220ms var(--ease-smooth), box-shadow 220ms var(--ease-smooth);
}

.offer-preview.is-ready {
    border-color: #bbf7d0;
    background:
        linear-gradient(135deg, #ffffff, #f0fdf4),
        #ffffff;
}

.offer-preview-label {
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.offer-preview.is-ready .offer-preview-label {
    color: var(--green);
}

.offer-preview strong {
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.offer-preview span:last-child {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.form-footnote {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.steps-section,
.about-section,
.contact-section {
    padding: 72px 0;
}

.steps-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #f3f7f5;
}

.exchange-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.exchange-timeline li {
    position: relative;
    min-width: 0;
    display: grid;
    justify-items: center;
    align-content: start;
    text-align: center;
}

.exchange-timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 31px;
    left: calc(50% + 48px);
    width: calc(100% - 72px);
    border-top: 1px solid #b9d3c4;
}

.timeline-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid #c7dbcf;
    border-radius: 50%;
    background: #ffffff;
}

.exchange-timeline h3 {
    margin: 22px 0 8px;
    font-size: 16px;
    line-height: 1.4;
}

.exchange-timeline p {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
}

.about-section {
    background: #ffffff;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.about-intro {
    min-width: 0;
}

.about-identity {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.about-identity > img {
    flex-shrink: 0;
}

.about-intro > p:not(.section-kicker) {
    max-width: 450px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.category-icons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.category-icons > span {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.category-icons strong {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
}

.service-links {
    display: grid;
}

.service-links a {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 20px;
    gap: 18px;
    align-items: center;
    min-height: 96px;
    border-bottom: 1px solid var(--line);
    padding: 20px 8px;
    transition: background-color 180ms ease;
}

.service-links a:first-child {
    border-top: 1px solid var(--line);
}

.service-links a:hover {
    background: #f3f7f5;
}

.service-links strong,
.service-links small {
    display: block;
}

.service-links strong {
    font-size: 15px;
    font-weight: 600;
}

.service-links small {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}

.contact-section {
    background: #f6f8fb;
    border-top: 1px solid var(--line);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.contact-copy {
    padding-top: 12px;
}

.contact-copy h2 {
    margin-bottom: 16px;
}

.contact-details {
    display: grid;
    margin-top: 32px;
}

.contact-detail {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
}

.contact-detail .ui-icon {
    margin-top: 4px;
    opacity: 0.7;
}

.contact-detail span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
}

.contact-detail a,
.contact-detail address {
    display: block;
    width: fit-content;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.contact-detail a {
    min-height: 44px;
    display: flex;
    align-items: center;
}

.contact-detail a:hover {
    color: var(--primary);
}

.contact-form .btn-secondary {
    border-color: var(--navy);
    background: var(--navy);
    color: #ffffff;
}

.contact-form-intro {
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
    padding-bottom: 20px;
}

.contact-form-intro h3 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.15;
}

.contact-form-intro p:last-child {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.legal-body {
    background: #f7f9fc;
}

.legal-hero {
    padding: 74px 0 60px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(24, 34, 54, 0.94)),
        #0f172a;
    color: #ffffff;
}

.legal-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 700;
}

.legal-breadcrumb a {
    color: #ffffff;
    transition: color 220ms var(--ease-smooth);
}

.legal-breadcrumb a:hover {
    color: #fcd34d;
}

.legal-hero .section-kicker {
    color: #fcd34d;
}

.legal-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: 44px;
    line-height: 1.04;
}

.legal-hero p:not(.section-kicker) {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.legal-meta span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 800;
    padding: 8px 13px;
}

.legal-content-section {
    padding: 70px 0 92px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
}

.legal-nav,
.legal-support-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: 12px;
}

.legal-nav {
    display: grid;
    gap: 7px;
}

.legal-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 800;
    padding: 10px 12px;
    transition: background-color 220ms var(--ease-smooth), color 220ms var(--ease-smooth), transform 220ms var(--ease-smooth);
}

.legal-nav a:hover,
.legal-nav a.is-active {
    background: #fff7ed;
    color: var(--primary-dark);
    transform: translateX(2px);
}

.legal-support-card {
    padding: 18px;
}

.legal-support-card span {
    display: block;
    color: #92400e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.legal-support-card strong {
    display: block;
    margin-top: 9px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.legal-support-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.legal-article {
    display: grid;
    gap: 18px;
}

.legal-section,
.faq-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: 30px;
}

.legal-section-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: #92400e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.legal-section h2 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.16;
}

.legal-section p,
.faq-item p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
}

.legal-section p + p {
    margin-top: 12px;
}

.legal-section ul {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--ink-soft);
}

.legal-section li::marker {
    color: var(--green);
}

.legal-note {
    border-left: 4px solid var(--green);
    border-radius: 6px;
    background: #f0fdf4;
    color: #14532d !important;
    font-weight: 800;
    margin-top: 18px !important;
    padding: 13px 14px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

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

.faq-item summary {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--ink);
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    list-style: none;
    padding: 18px 22px;
}

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

.faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff7ed;
    color: var(--primary-dark);
    font-size: 20px;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    border-top: 1px solid var(--line);
    padding: 18px 22px 22px;
}

.site-footer {
    background: #0f172a;
    color: #ffffff;
    padding: 44px 0 24px;
}

.footer-layout {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 32px;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text span {
    color: #ffffff;
}

.site-footer p {
    max-width: 520px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.footer-link-groups {
    display: grid;
    gap: 14px;
    justify-items: end;
    max-width: 700px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    padding: 9px 12px;
    transition: background-color 220ms var(--ease-smooth), color 220ms var(--ease-smooth);
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-policy-links a {
    min-height: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    padding: 8px 11px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 30px;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}



.reveal-ready {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms var(--ease-smooth), transform 520ms var(--ease-smooth);
}

.reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 980px) {
    .hero h1 {
        font-size: 54px;
    }

    .hero-layout {
        gap: 32px;
    }

    .hero-actions {
        gap: 8px;
    }

    .hero-actions .btn {
        padding-inline: 12px;
        font-size: 14px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .exchange-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .exchange-copy {
        position: static;
        max-width: 580px;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        order: 2;
    }

    .about-layout,
    .contact-layout {
        gap: 36px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }

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

}

@media (max-width: 760px) {
    .hero-preview-band {
        padding-top: 252px;
    }

    .exchange-preview {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        padding-inline: 8px;
    }

    .preview-equation {
        gap: 8px;
    }

    .nav-shell {
        min-height: 76px;
    }

    .brand {
        min-height: 48px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        inset: 76px 16px auto 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: var(--shadow);
        padding: 10px;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu a {
        justify-content: center;
    }

    .hero {
        min-height: 0;
        align-items: start;
        padding: 28px 0 24px;
    }

    .hero-layout {
        display: block;
    }

    .hero-scene {
        inset: 0 0 210px;
        transform: translateY(24px);
    }

    .hero-scene img {
        object-position: center bottom;
    }

    .hero-content {
        max-width: 440px;
        margin: 0 auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-copy {
        max-width: 300px;
        margin: 16px auto 0;
        font-size: 15px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        margin-top: 22px;
        gap: 8px;
    }

    .hero-actions .btn {
        min-height: 50px;
        padding: 12px 8px;
        white-space: nowrap;
    }

    .hero-actions .btn .ui-icon {
        width: 18px;
        height: 18px;
        margin-left: 8px;
    }

    .section-heading h2,
    .about-layout h2,
    .contact-copy h2 {
        font-size: 30px;
    }

    .hero-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        padding: 16px 0;
        text-align: center;
    }

    .hero-proof > div {
        flex-direction: column;
        justify-content: start;
        gap: 6px;
        padding: 0 2px;
    }

    .hero-proof .ui-icon {
        width: 20px;
        height: 20px;
    }

    .hero-proof strong {
        font-size: 13px;
    }

    .hero-proof span {
        font-size: 12px;
    }

    .btn {
        width: 100%;
    }

    .strip-heading {
        display: grid;
        align-items: start;
    }

    .strip-heading h2 {
        font-size: 24px;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .exchange-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .exchange-timeline li > div {
        min-width: 0;
        width: 100%;
    }

    .exchange-timeline li:nth-child(even)::after {
        content: none;
    }

    .exchange-timeline h3 {
        min-height: 2.8em;
        margin: 18px 0 6px;
        font-size: 15px;
        display: grid;
        place-items: center;
    }

    .exchange-section,
    .steps-section,
    .about-section,
    .contact-section {
        padding: 48px 0;
    }

    .exchange-form,
    .contact-form {
        padding: 20px;
    }

    .exchange-form.is-submitted {
        padding: 20px;
    }

    .exchange-success-panel {
        gap: 16px;
        padding: 24px 18px;
    }

    .success-check {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .success-check::before {
        top: 17px;
        left: 15px;
    }

    .success-content h4 {
        font-size: 22px;
    }

    .success-summary {
        grid-template-columns: 1fr;
    }

    .success-summary span {
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: 88px;
        padding: 16px;
        text-align: center;
    }

    .success-summary strong {
        text-align: center;
    }

    .form-header {
        display: grid;
    }

    .footer-layout {
        display: grid;
    }

    .footer-link-groups {
        justify-items: start;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .container,
    .nav-shell {
        width: min(100% - 24px, 1120px);
    }

    .brand-text span {
        display: none;
    }

    .section-heading h2,
    .about-layout h2,
    .contact-copy h2 {
        font-size: 28px;
    }

    .hero-proof strong {
        font-size: 13px;
    }

    .hero-proof span {
        font-size: 12px;
    }

    .mini-card {
        flex-basis: 140px;
    }

    .cash-example-flow {
        gap: 12px;
    }

    .sample-gift-card {
        padding: 16px;
    }

    .sample-gift-card strong,
    .sample-cash strong {
        font-size: 30px;
    }

    .legal-hero {
        padding: 56px 0 46px;
    }

    .legal-hero h1 {
        font-size: 30px;
    }

    .legal-hero p:not(.section-kicker) {
        font-size: 16px;
    }

    .legal-meta {
        display: grid;
    }

    .legal-content-section {
        padding: 46px 0 64px;
    }

    .legal-nav {
        grid-template-columns: 1fr;
    }

    .legal-section {
        padding: 22px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .faq-item summary {
        align-items: flex-start;
        font-size: 16px;
        padding: 16px 18px;
    }

    .faq-item p {
        padding: 16px 18px 20px;
    }

}

@media (max-width: 760px) and (max-height: 700px) {
    .hero {
        padding: 20px 0;
    }

    .hero-preview-band {
        padding-top: 150px;
    }

    .hero-scene {
        top: 64px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-copy {
        margin-top: 12px;
    }

    .hero-actions {
        margin-top: 16px;
    }

    .hero-actions .btn {
        min-height: 46px;
    }
}

@media (min-width: 761px) and (max-height: 700px) {
    .hero-preview-band {
        padding-top: 150px;
    }

    .hero-content {
        align-self: start;
    }

    .hero-scene {
        inset: -25px 0 186px;
        width: min(880px, calc(100% - 200px));
    }

    .hero {
        min-height: calc(100svh - 140px);
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-copy {
        margin-top: 14px;
        font-size: 15px;
    }

    .hero-actions {
        margin-top: 20px;
    }

    .hero-actions .btn {
        min-height: 46px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .preview-frame {
        animation: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-ready {
        opacity: 1;
        transform: none;
    }
}
