/* ==========================================================================
   OkWallet customer web panel
   Public marketing site + signed-in dashboard. Plain, build-step-free CSS.
   Tokens are deliberately identical to public/css/admin.css so the two
   surfaces read as one product.
   ========================================================================== */

:root {
    --bg: #fbf8f3;
    --surface: #ffffff;
    --surface-sunken: #f5f0e8;
    --ink: #2a241e;
    --ink-soft: #6c6156;
    --muted: #948878;
    --line: #ebe3d7;
    --line-strong: #ddd2c1;

    --accent: #c8862a;
    --accent-ink: #8a5a12;
    --accent-soft: #f8efdf;

    --teal: #3c7a6b;
    --teal-ink: #2c5c50;
    --teal-soft: #e3efeb;

    --danger: #b0463a;
    --danger-soft: #f9e8e5;

    --info: #4a6c8f;
    --info-soft: #e8eef5;

    --radius-lg: 20px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(42, 36, 30, 0.05);
    --shadow: 0 2px 6px rgba(42, 36, 30, 0.05), 0 12px 28px -18px rgba(42, 36, 30, 0.3);
    --shadow-lg: 0 4px 10px rgba(42, 36, 30, 0.06), 0 28px 60px -30px rgba(42, 36, 30, 0.4);

    --shell: 1140px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
}

.wrap {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Brand mark
   -------------------------------------------------------------------------- */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--accent) 0%, #a86a17 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.03em;
    box-shadow: 0 6px 14px -6px rgba(168, 106, 23, 0.8);
    flex-shrink: 0;
}

.brand__name {
    font-weight: 650;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.brand__tag {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease,
        transform 0.06s ease, color 0.15s ease;
}

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

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 18px -12px rgba(168, 106, 23, 0.9);
}

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

.btn--teal {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 8px 18px -12px rgba(44, 92, 80, 0.9);
}

.btn--teal:hover {
    background: #336a5d;
}

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

.btn--ghost:hover {
    border-color: var(--muted);
    background: #fffdfa;
}

.btn--quiet {
    background: transparent;
    color: var(--ink-soft);
}

.btn--quiet:hover {
    color: var(--ink);
    background: var(--surface-sunken);
}

.btn--block {
    width: 100%;
}

.btn--lg {
    padding: 13px 22px;
    font-size: 14.5px;
    border-radius: 12px;
}

.btn--sm {
    padding: 7px 12px;
    font-size: 12px;
}

.btn[disabled],
.btn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inline-form {
    display: inline;
}

/* Tooltip on the not-yet-wired Google button. */
.has-tip {
    position: relative;
    display: inline-flex;
    width: 100%;
}

.has-tip__bubble {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.has-tip:hover .has-tip__bubble,
.has-tip:focus-within .has-tip__bubble {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.field {
    margin-bottom: 16px;
}

.field--last {
    margin-bottom: 0;
}

.field__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.field__hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 11px 13px;
    font: inherit;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input::placeholder,
.textarea::placeholder {
    color: #b6ab9c;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 134, 42, 0.16);
}

.input--invalid {
    border-color: var(--danger);
}

.field__error {
    margin-top: 6px;
    font-size: 12px;
    color: var(--danger);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
}

.input-prefix {
    position: relative;
}

.input-prefix__symbol {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    pointer-events: none;
}

.input-prefix .input {
    padding-left: 46px;
}

/* Radio cards used to pick a settlement method. */

.choice-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.choice {
    display: block;
    position: relative;
    padding: 14px 15px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease,
        box-shadow 0.15s ease;
}

.choice:hover {
    border-color: var(--muted);
}

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

.choice__title {
    font-size: 13.5px;
    font-weight: 650;
}

.choice__text {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
}

.choice:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px rgba(200, 134, 42, 0.14);
}

.choice:has(input:checked) .choice__title {
    color: var(--accent-ink);
}

/* --------------------------------------------------------------------------
   Flash messages
   -------------------------------------------------------------------------- */

.flash {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.flash--ok {
    background: var(--teal-soft);
    border-color: #cbe0d9;
    color: var(--teal-ink);
}

.flash--error {
    background: var(--danger-soft);
    border-color: #eccfc9;
    color: var(--danger);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.card__title {
    font-size: 14.5px;
    font-weight: 640;
    letter-spacing: -0.01em;
}

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

.card__body {
    padding: 18px 20px;
}

.card__foot {
    padding: 13px 20px;
    border-top: 1px solid var(--line);
}

.link {
    color: var(--accent-ink);
    font-size: 12.5px;
    font-weight: 600;
}

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

/* ==========================================================================
   PUBLIC SITE
   ========================================================================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(251, 248, 243, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-nav__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 66px;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 14px;
}

.site-nav__link {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 550;
    color: var(--ink-soft);
    transition: background 0.15s ease, color 0.15s ease;
}

.site-nav__link:hover {
    background: var(--surface-sunken);
    color: var(--ink);
}

.site-nav__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero ---------------------------------------------------------------- */

.hero {
    padding: 72px 0 64px;
    background:
        radial-gradient(900px 460px at 12% -10%, #f7ecd9 0%, transparent 70%),
        radial-gradient(760px 420px at 92% 6%, #e6f0ec 0%, transparent 68%);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 52px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    font-size: 12px;
    font-weight: 620;
    color: var(--accent-ink);
    box-shadow: var(--shadow-sm);
}

.hero__title {
    margin-top: 20px;
    font-size: 50px;
    line-height: 1.06;
    font-weight: 680;
    letter-spacing: -0.035em;
}

.hero__title em {
    font-style: normal;
    color: var(--accent-ink);
}

.hero__lede {
    margin-top: 18px;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 46ch;
}

.hero__cta {
    margin-top: 28px;
}

.stat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid var(--line-strong);
}

.stat-strip__item {
    min-width: 0;
}

.stat-strip__value {
    font-size: 19px;
    font-weight: 680;
    letter-spacing: -0.025em;
    color: var(--teal-ink);
}

.stat-strip__label {
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--muted);
}

/* Decorative hero preview card ---------------------------------------- */

.preview {
    position: relative;
}

.preview__card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 22px;
}

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

.preview__title {
    font-size: 15px;
    font-weight: 650;
}

.preview__field {
    margin-bottom: 12px;
}

.preview__label {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.preview__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.01em;
}

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

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

.preview__method {
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    font-size: 13px;
    font-weight: 620;
    color: var(--ink-soft);
    text-align: center;
}

.preview__method--on {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.preview__note {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--teal-soft);
    border: 1px solid #cbe0d9;
    font-size: 12.5px;
    color: var(--teal-ink);
}

.preview__cta {
    margin-top: 16px;
}

.preview__float {
    position: absolute;
    right: -14px;
    bottom: -22px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.preview__float-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal-soft);
    color: var(--teal-ink);
    font-size: 13px;
    font-weight: 800;
}

.preview__float-text {
    font-size: 12.5px;
    font-weight: 620;
}

.preview__float-text small {
    display: block;
    font-weight: 500;
    color: var(--muted);
    font-size: 11.5px;
}

/* Sections ------------------------------------------------------------ */

.section {
    padding: 76px 0;
}

.section--sunken {
    background: var(--surface-sunken);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section__head {
    max-width: 620px;
    margin: 0 auto 40px;
    text-align: center;
}

.section__title {
    font-size: 32px;
    font-weight: 670;
    letter-spacing: -0.03em;
}

.section__lede {
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
}

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

.feature {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature__icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-ink);
    margin-bottom: 15px;
}

.feature__icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature:nth-child(even) .feature__icon {
    background: var(--teal-soft);
    color: var(--teal-ink);
}

.feature__title {
    font-size: 15.5px;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.feature__text {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink-soft);
}

/* Sign-up ------------------------------------------------------------- */

.signup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 52px;
    align-items: center;
}

.checklist {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--ink-soft);
}

.checklist li::before {
    content: "✓";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal-soft);
    color: var(--teal-ink);
    font-size: 11px;
    font-weight: 800;
    margin-top: 1px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* Footer -------------------------------------------------------------- */

.site-foot {
    border-top: 1px solid var(--line);
    padding: 30px 0;
    background: var(--surface);
}

.site-foot__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
}

/* ==========================================================================
   SIGNED-IN APP
   ========================================================================== */

.auth-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background:
        radial-gradient(1100px 520px at 50% -8%, #f7ecd9 0%, transparent 70%),
        var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 410px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 34px 30px 30px;
}

.auth-card__head {
    text-align: center;
    margin-bottom: 24px;
}

.auth-card__head .brand {
    margin-bottom: 16px;
}

.auth-card__title {
    font-size: 21px;
    font-weight: 660;
    letter-spacing: -0.02em;
}

.auth-card__sub {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.auth-card__foot {
    margin-top: 20px;
    text-align: center;
    font-size: 12.5px;
    color: var(--muted);
}

.label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 62px;
}

.topbar__nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 18px;
}

.topbar__link {
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 550;
    color: var(--ink-soft);
    transition: background 0.15s ease, color 0.15s ease;
}

.topbar__link:hover {
    background: var(--surface-sunken);
    color: var(--ink);
}

.topbar__link--active {
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-weight: 620;
}

.topbar__who {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar__name {
    font-size: 13px;
    font-weight: 600;
}

.topbar__name small {
    display: block;
    font-weight: 500;
    color: var(--muted);
    font-size: 11.5px;
}

.app-main {
    padding: 26px 0 60px;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.page-title {
    font-size: 25px;
    font-weight: 660;
    letter-spacing: -0.025em;
}

.page-sub {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 12px;
}

.back-link:hover {
    color: var(--accent-ink);
}

/* Stat cards ---------------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 17px 18px;
    box-shadow: var(--shadow-sm);
}

.stat__label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.stat__value {
    margin-top: 9px;
    font-size: 26px;
    font-weight: 660;
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.stat__value small {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin-left: 3px;
    letter-spacing: 0;
}

.stat__note {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.stat--accent .stat__value {
    color: var(--accent-ink);
}

.stat--teal .stat__value {
    color: var(--teal-ink);
}

/* Layout helpers ------------------------------------------------------ */

.grid-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Tables -------------------------------------------------------------- */

.table-wrap {
    overflow-x: auto;
}

.table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 11px 20px;
    background: var(--surface-sunken);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.table td {
    padding: 13px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    vertical-align: middle;
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table tbody tr:hover {
    background: #fdfbf7;
}

.table td.num,
.table th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cell-strong {
    font-weight: 600;
}

.cell-mono {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.cell-muted {
    color: var(--muted);
    font-size: 12.5px;
}

.cell-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.empty {
    padding: 44px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

.empty strong {
    display: block;
    color: var(--ink);
    font-size: 14.5px;
    margin-bottom: 6px;
}

/* Tags ---------------------------------------------------------------- */

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 650;
    white-space: nowrap;
    border: 1px solid transparent;
}

.tag::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.tag--plain::before {
    display: none;
}

.tag--pending {
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-color: #eddcbe;
}

.tag--contacted,
.tag--payment_sent {
    background: var(--info-soft);
    color: var(--info);
    border-color: #d3dfeb;
}

.tag--rate_set,
.tag--usdt_received {
    background: var(--teal-soft);
    color: var(--teal-ink);
    border-color: #cbe0d9;
}

.tag--completed {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

.tag--cancelled {
    background: var(--danger-soft);
    color: var(--danger);
    border-color: #eccfc9;
}

.tag--verified {
    background: var(--teal-soft);
    color: var(--teal-ink);
    border-color: #cbe0d9;
}

.tag--unverified,
.tag--rejected {
    background: var(--surface-sunken);
    color: var(--ink-soft);
    border-color: var(--line-strong);
}

.tag--method {
    background: var(--surface-sunken);
    color: var(--ink-soft);
    border-color: var(--line);
}

/* Avatars ------------------------------------------------------------- */

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid #eedfc4;
}

.avatar--sm {
    width: 28px;
    height: 28px;
    font-size: 11px;
}

.avatar--teal {
    background: var(--teal-soft);
    color: var(--teal-ink);
    border-color: #cbe0d9;
}

/* Order detail -------------------------------------------------------- */

.order-head {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.order-head__amount {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 680;
    letter-spacing: -0.03em;
}

.order-head__amount small {
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0;
}

.order-head__meta {
    margin-top: 5px;
    font-size: 12.5px;
    color: var(--muted);
}

.definitions {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.definitions__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 11px 14px;
    background: var(--surface);
    font-size: 13.5px;
}

.definitions__key {
    color: var(--muted);
    font-size: 12.5px;
}

.definitions__value {
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.payout-preview {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    margin-top: 14px;
    border-radius: var(--radius-sm);
    background: var(--teal-soft);
    border: 1px solid #cbe0d9;
}

.payout-preview__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal-ink);
}

.payout-preview__value {
    font-size: 20px;
    font-weight: 680;
    color: var(--teal-ink);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

/* The customer facing pipeline visual. */

.pipeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pipeline__step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pipeline__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.pipeline__dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 2px solid var(--line-strong);
    color: transparent;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.pipeline__line {
    flex: 1;
    width: 2px;
    min-height: 20px;
    background: var(--line-strong);
    margin: 2px 0;
}

.pipeline__body {
    padding-bottom: 18px;
}

.pipeline__label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
}

.pipeline__note {
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

.pipeline__step--done .pipeline__dot {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}

.pipeline__step--done .pipeline__line {
    background: var(--teal);
}

.pipeline__step--done .pipeline__label {
    color: var(--ink);
}

.pipeline__step--current .pipeline__dot {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 4px rgba(200, 134, 42, 0.16);
}

.pipeline__step--current .pipeline__label {
    color: var(--accent-ink);
    font-weight: 680;
}

.pipeline__step--cancelled .pipeline__dot {
    border-color: #eccfc9;
    background: var(--danger-soft);
}

.pipeline__step--cancelled .pipeline__label {
    color: var(--muted);
    text-decoration: line-through;
}

.pipeline__step:last-child .pipeline__line {
    display: none;
}

.pipeline__step:last-child .pipeline__body {
    padding-bottom: 0;
}

/* Audit trail --------------------------------------------------------- */

.timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 20px;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--line-strong);
}

.timeline__item {
    position: relative;
    padding-bottom: 15px;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__item::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--line-strong);
}

.timeline__item--latest::before {
    border-color: var(--accent);
    background: var(--accent);
}

.timeline__label {
    font-size: 13.5px;
    font-weight: 600;
}

.timeline__meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

/* Referrals ----------------------------------------------------------- */

.code-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--accent);
    background: var(--accent-soft);
}

.code-box__code {
    font-size: 24px;
    font-weight: 720;
    letter-spacing: 0.08em;
    color: var(--accent-ink);
    font-variant-numeric: tabular-nums;
}

.code-box .btn {
    margin-left: auto;
}

/* Pagination ---------------------------------------------------------- */

.pagination-wrap {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
}

.pagination {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination a,
.pagination span {
    display: inline-grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
}

.pagination a:hover {
    border-color: var(--line-strong);
    color: var(--ink);
}

.pagination .active span,
.pagination [aria-current="page"] span {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pagination .disabled span {
    opacity: 0.4;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
    .hero__grid,
    .signup-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .hero__title {
        font-size: 40px;
    }

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

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

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

@media (max-width: 700px) {
    .wrap {
        padding: 0 16px;
    }

    .site-nav__links {
        display: none;
    }

    .hero {
        padding: 48px 0 40px;
    }

    .hero__title {
        font-size: 33px;
    }

    .section {
        padding: 52px 0;
    }

    .section__title {
        font-size: 26px;
    }

    .feature-grid,
    .stats,
    .choice-row,
    .field-row,
    .preview__methods {
        grid-template-columns: minmax(0, 1fr);
    }

    .topbar__inner {
        height: auto;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .topbar__nav {
        margin-left: 0;
        order: 3;
        width: 100%;
        overflow-x: auto;
    }

    .topbar__name {
        display: none;
    }

    .preview__float {
        right: 8px;
    }
}
