:root {
    /* Palette — warm telephony: bakelite, copper, amber, paper.
       Every hex is a choice, not a Tailwind default. */
    --ink: #1C1917;
    --ink-secondary: #5C554D;
    --ink-tertiary: #8A8278;

    --paper: #F7F5F2;
    --surface: #FFFFFF;

    --amber: #C76800;
    --copper: #8B3A0A;
    --amber-glow: #FFF4DB;

    --border: rgba(28, 25, 23, 0.08);
    --border-strong: rgba(28, 25, 23, 0.14);

    --signal-green: #277A42;
    --signal-red: #B91C1C;

    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
    --radius-pill: 9999px;

    --max-width: 760px;
    --max-width-wide: 880px;

    /* Subtle, felt-not-seen. Slightly warm shadow for the warm paper. */
    --shadow-card: 0 1px 3px rgba(28, 25, 23, 0.06), 0 0 0 1px rgba(28, 25, 23, 0.04);
    --shadow-raised: 0 2px 6px rgba(28, 25, 23, 0.08), 0 0 0 1px rgba(28, 25, 23, 0.05);
    --shadow-border: var(--shadow-card); /* legacy alias */

    /* Legacy aliases — keep existing code working through the transition. */
    --text: var(--ink);
    --muted: var(--ink-secondary);
    --bg: var(--paper);
    --bg-pure: var(--surface);
    --accent: var(--amber);
    --accent-hover: var(--copper);
    --accent-soft: var(--amber-glow);
}

* { box-sizing: border-box; }

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px 80px;
}

section {
    margin-top: 96px;
}

h1 {
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin: 0 0 24px;
    text-wrap: balance;
    color: var(--ink);
}

h1 .second {
    display: block;
    font-weight: 400;
    color: var(--ink-secondary);
    letter-spacing: -0.03em;
}

h2 {
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin: 0 0 8px;
    text-wrap: balance;
    color: var(--ink);
}

h3 {
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0 0 6px;
    color: var(--ink);
}

p {
    margin: 0 0 18px;
    line-height: 1.6;
    text-wrap: pretty;
}

p:last-child { margin-bottom: 0; }

.label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 16px;
    display: block;
}

.lede {
    color: var(--ink-secondary);
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 36rem;
    text-wrap: pretty;
}

em {
    font-style: italic;
    color: var(--ink-tertiary);
}

/* === Focus ring — visible, warm, consistent === */
:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
    border-radius: 2px;
}

@media (max-width: 720px) {
    main { padding: 12px 20px 56px; }
    h1 { font-size: 36px; letter-spacing: -0.02em; }
    h2 { font-size: 24px; }
    section { margin-top: 64px; }
}

/* === Header === */
header {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 20px 24px 0;
    display: flex;
    align-items: baseline;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    flex-shrink: 0;
}

.brand svg {
    width: 26px;
    height: auto;
    flex-shrink: 0;
    transition: color 180ms ease;
}

.brand span {
    font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.06em;
}

.brand:hover { color: var(--amber); }

/* stacked variant — logo above text */
.brand-stacked {
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.brand-stacked svg {
    width: 36px;
}

.brand-stacked span {
    font-size: 15px;
    letter-spacing: 0.08em;
}

/* === Navigation === */
.nav {
    display: flex;
    gap: 4px;
}

.nav a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-secondary);
    text-decoration: none;
    letter-spacing: -0.005em;
    transition: color 150ms ease, background 150ms ease;
}

.nav a:hover {
    color: var(--ink);
    background: rgba(28, 25, 23, 0.04);
}

.nav a.active {
    color: var(--amber);
    background: var(--amber-glow);
}

@media (max-width: 720px) {
    header { padding: 20px 20px 0; }
}

@media (max-width: 480px) {
    header {
        gap: 16px;
    }
    .nav a {
        padding: 4px 10px;
        font-size: 13px;
    }
}

/* === Dial pad — the signature object === */
.pad {
    background: #26221E;
    border-radius: 18px;
    padding: 16px;
    box-shadow:
        0 2px 8px rgba(28, 25, 23, 0.12),
        0 8px 24px rgba(28, 25, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pad-display {
    background: #1A1714;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pad-display .display-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pad-display .number {
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    font-size: 20px;
    font-weight: 500;
    color: var(--amber);
    letter-spacing: 0.04em;
    flex: 1;
}

.pad-backspace {
    background: none;
    border: none;
    color: var(--ink-tertiary);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
    transition: color 120ms ease;
    font-family: inherit;
}

.pad-backspace:hover {
    color: var(--amber);
}

.pad-display .rate {
    margin-top: 4px;
    font-size: 12px;
    color: var(--ink-tertiary);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-weight: 500;
}

.pad-display .pad-error {
    margin-top: 4px;
    font-size: 12px;
    color: var(--signal-red);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-weight: 500;
}

.pad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.pad-grid button {
    aspect-ratio: 1;
    background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 80%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 550;
    color: rgba(255, 255, 255, 0.85);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: transform 80ms ease, background 100ms ease, border-color 100ms ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.pad-grid button small {
    font-size: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.pad-grid button:hover {
    background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.04) 80%);
    border-color: rgba(255, 255, 255, 0.16);
}

.pad-grid button:active {
    transform: scale(0.92);
    background: radial-gradient(circle at 50% 40%, rgba(199, 104, 0, 0.2) 0%, rgba(199, 104, 0, 0.06) 80%);
    border-color: var(--amber);
    transition: transform 60ms ease, background 60ms ease;
}

.pad-call {
    margin-top: 12px;
    width: 100%;
    padding: 12px;
    background: var(--signal-green);
    color: white;
    border: 0;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: -0.005em;
    transition: background 120ms ease, transform 100ms ease;
}

.pad-call:hover { background: #1F6636; }
.pad-call:active { transform: scale(0.97); }
.pad-call:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pad-caption {
    text-align: center;
    font-size: 11px;
    color: var(--ink-tertiary);
    margin-top: 10px;
    font-style: italic;
}

/* === Hero grid (base; landing.css overrides for landing page) === */
.hero { margin-top: 32px; }

.hero .eyebrow { margin-bottom: 18px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    align-items: start;
    margin-top: 8px;
}

.hero-text { display: flex; flex-direction: column; }

.subhead {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-secondary);
    max-width: 36rem;
    margin: 0 0 24px;
    text-wrap: pretty;
}

.trust {
    font-size: 13px;
    color: var(--ink-secondary);
    margin: 0;
}

/* Fact strip */
.fact-strip {
    display: flex;
    margin-top: 40px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
    box-shadow: var(--shadow-border);
}

.fact-strip > div {
    flex: 1;
    text-align: center;
    border-right: 1px solid var(--border);
    padding: 0 8px;
}

.fact-strip > div:last-child { border-right: none; }

.fact-strip strong {
    color: var(--text);
    font-weight: 600;
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

@media (max-width: 720px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-aside .pad { max-width: 320px; margin: 0 auto; }
    .waitlist-form { flex-direction: column; }
    .waitlist-form button { width: 100%; }
    .fact-strip { flex-wrap: wrap; padding: 8px 0; }
    .fact-strip > div {
        flex: 1 1 50%;
        padding: 10px 8px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .fact-strip > div:nth-last-child(-n+2) { border-bottom: none; }
    .fact-strip > div:nth-child(odd) { border-right: 1px solid var(--border); }
}

/* === Pricing === */
.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0 18px;
}

.price-card {
    border-radius: var(--radius);
    padding: 20px 18px;
    background: var(--bg-pure);
    position: relative;
    box-shadow: var(--shadow-border);
}

.price-card.popular {
    background: var(--accent-soft);
    border-color: var(--border-strong);
}

.price-card .ribbon {
    position: absolute;
    top: -10px;
    left: 18px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.price-card .amount {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.price-card .price-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

@media (max-width: 720px) {
    .price-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === What it is === */
.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}

.feature-card {
    padding: 22px 22px 24px;
    background: var(--bg-pure);
    border-radius: var(--radius);
    box-shadow: var(--shadow-border);
}

.feature-card .heading {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.feature-card .body {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.55;
    text-wrap: pretty;
}

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

/* === Who it's for === */
.callout {
    margin: 28px 0;
    padding: 22px 24px;
    background: var(--accent-soft);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.35;
    color: var(--text);
}

@media (max-width: 720px) {
    .callout { font-size: 18px; padding: 18px 20px; }
}

/* === What it isn't === */
.isnt-list {
    list-style: none;
    padding: 0;
    margin-top: 16px;
    border-top: 1px solid var(--border);
}

.isnt-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    align-items: baseline;
    margin: 0;
}

.isnt-mark {
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
    font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

.isnt-what { font-weight: 600; }

.isnt-why {
    color: var(--muted);
    font-size: 14.5px;
    display: block;
    margin-top: 2px;
    text-wrap: pretty;
}

.isnt-postscript {
    margin-top: 22px;
    color: var(--muted);
    font-size: 15px;
}

/* === FAQ === */
.faq-list { margin-top: 16px; }

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

.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-q {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.005em;
    margin: 0 0 6px;
}

.faq-a {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
    text-wrap: pretty;
}

.faq-a em {
    font-style: italic;
    color: #888;
}

/* === Final CTA === */
.final-cta {
    margin-top: 96px;
    padding: 36px 32px;
    background: var(--bg-pure);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-border);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 60%);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.final-cta > * { position: relative; }

.final-cta h2 { margin: 0 0 10px; }

.final-cta > p {
    color: var(--muted);
    margin-bottom: 22px;
    max-width: 36rem;
}

@media (max-width: 720px) {
    .final-cta { padding: 28px 22px; margin-top: 64px; }
}

/* === Footer === */
footer {
    margin-top: 80px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand { margin: 0; }

.footer-links { margin: 0; }

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px dotted var(--border-strong);
    margin-left: 12px;
}

.footer-links a:first-child { margin-left: 0; }

.footer-links a:hover { color: var(--text); }

@media (max-width: 720px) {
    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 56px;
    }
}

/* === Waitlist confirmation (htmx swap target) === */
.waitlist-confirm {
    padding: 24px 28px;
    background: var(--accent-soft);
    border-radius: var(--radius);
    max-width: 28rem;
    box-shadow: var(--shadow-border);
}

.waitlist-confirm h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.waitlist-confirm p {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
}

/* === Auth forms (signup / login / reset) === */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 28rem;
    margin: 0 0 12px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-field span {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.005em;
}

.auth-field input {
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    background: var(--bg-pure);
    color: var(--text);
}

.auth-field input:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(199, 104, 0, 0.12);
}

.auth-form button[type="submit"] {
    padding: 12px 22px;
    background: var(--amber);
    color: white;
    border: 0;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: -0.005em;
    transition: background 120ms ease, transform 100ms ease;
}

.auth-form button[type="submit"]:hover { background: var(--copper); }
.auth-form button[type="submit"]:active { transform: scale(0.97); }
.auth-form button[type="submit"]:disabled { opacity: 0.45; cursor: not-allowed; }

/* Button loading state (htmx request in flight) */
.auth-form button .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.auth-form.htmx-request button .btn-text {
    display: none;
}

.auth-form.htmx-request button .spinner {
    display: inline-block;
}

.auth-form.htmx-request button[type="submit"] {
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.auth-error {
    margin: 0;
    padding: 10px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    color: #991b1b;
    font-size: 14px;
}

.auth-hint {
    display: block;
    font-size: 12px;
    color: var(--ink-tertiary);
    margin-top: 2px;
    line-height: 1.4;
}

.auth-field-error {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--signal-red);
}

.auth-field-error[hidden] {
    display: none;
}

.auth-switch {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.auth-switch a {
    color: var(--amber);
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover { text-decoration: underline; }

.auth-sep {
    margin: 0 6px;
    color: var(--border-strong);
}

.auth-confirmation {
    padding: 20px 22px;
    background: var(--accent-soft);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
}

.auth-confirmation h3 { margin: 0 0 8px; font-size: 18px; }
.auth-confirmation p { margin: 0 0 8px; font-size: 15px; line-height: 1.55; }

/* === Auth-only pages (reset_password_page) === */
.auth-page {
    max-width: 32rem;
}

.auth-card {
    padding: 32px 28px;
    margin-top: 48px;
}

.auth-card h1 {
    margin: 0 0 20px;
    font-size: 28px;
    letter-spacing: -0.015em;
}

/* === Dashboard (signed-in home) === */
.dashboard {
    max-width: var(--max-width-wide);
    padding-top: 24px;
    padding-bottom: 64px;
}

/* Welcome */
.dash-welcome {
    margin-bottom: 24px;
}

.dash-title {
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -0.025em;
    margin: 0 0 4px;
    color: var(--ink);
}

.dash-email {
    margin: 0;
    font-size: 14px;
    color: var(--ink-secondary);
}

/* Hero: two-column layout — dial pad left, stats + top-up right */
.dash-hero {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
    margin-top: 0;
    margin-bottom: 36px;
    align-items: start;
}

.dash-pad-col {
    min-width: 0;
}

.dash-pad-col .pad {
    margin: 0;
}

/* Side column: stacked stats + top-up card */
.dash-side-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-tertiary);
}

.stat-value {
    font-size: 24px;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.stat-sub {
    font-size: 13px;
    font-weight: 500;
    color: var(--amber);
}

/* Statistics row — three metrics side-by-side */
.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.stats-metric {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stats-val {
    font-size: 20px;
    font-weight: 650;
    color: var(--ink);
}

.stats-lbl {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-tertiary);
}

/* Top-up card */
.topup-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-card);
}

.topup-desc {
    font-size: 13px;
    color: var(--ink-secondary);
    margin: 0 0 12px;
    line-height: 1.5;
}

/* Voucher 2x2 grid */
.voucher-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
}

/* Section wrapper */
.dash-section {
    margin-top: 0;
    margin-bottom: 32px;
}

.dash-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.dash-section-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0;
    color: var(--ink);
}

.dash-section-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--amber);
    text-decoration: none;
    transition: color 150ms ease;
}

.dash-section-link:hover {
    color: var(--copper);
}

/* Table */
.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    /* Clip rounded corners on the table background */
    overflow: hidden;
}

.dash-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-tertiary);
    padding: 12px 12px 10px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.dash-table td {
    padding: 12px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
    background: var(--surface);
}

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

.dash-table tbody tr:hover td {
    background: var(--amber-glow);
}

.dash-table-date {
    color: var(--ink-secondary) !important;
    white-space: nowrap;
}

.dash-table-number {
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    letter-spacing: 0.01em;
    font-size: 13px;
}

.dash-table-rate {
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    font-size: 13px;
}

.dash-table-dur {
    white-space: nowrap;
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    font-size: 13px;
}

.dash-table-cost {
    white-space: nowrap;
    font-weight: 500;
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    font-size: 13px;
}

.dash-table-dest {
    font-size: 13px;
}

/* Empty state */
.dash-empty {
    padding: 32px 24px;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.dash-empty p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-secondary);
}

/* Settings */
.setting-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.setting-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}

.setting-hint {
    font-size: 13px;
    color: var(--ink-secondary);
    line-height: 1.5;
    margin-bottom: 4px;
}

.setting-cid-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.setting-cid {
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.setting-cid--set { color: var(--ink); }
.setting-cid--none { color: var(--ink-tertiary); }

.setting-manage {
    font-size: 13px;
    font-weight: 500;
    color: var(--amber);
    text-decoration: none;
    transition: color 150ms ease;
}

.setting-manage:hover { color: var(--copper); }

/* Footer */
.dash-footer {
    padding-top: 8px;
}

/* Dashboard responsive */
@media (max-width: 860px) {
    .dash-hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .dash-pad-col .pad {
        max-width: 340px;
    }
    .dash-side-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

@media (max-width: 720px) {
    .dashboard {
        padding-top: 16px;
    }
    .dash-title { font-size: 24px; }
    .dash-pad-col .pad { max-width: none; }
    .dash-side-col { grid-template-columns: 1fr; }
    .stat-card { padding: 14px 16px; }
    .stat-label { font-size: 10px; }
    .stat-value { font-size: 20px; }
    .dash-table th:nth-child(5),
    .dash-table td:nth-child(5) { display: none; }
}

@media (max-width: 480px) {
    .dash-table th:nth-child(3),
    .dash-table td:nth-child(3) { display: none; }
}

.dial-pad-placeholder {
    margin: 24px 0;
    padding: 40px 20px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
    text-align: center;
    color: var(--muted);
    background: var(--bg-pure);
}

.dial-pad-placeholder p { margin: 0; }

.logout-btn {
    padding: 10px 18px;
    background: transparent;
    color: var(--ink-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 120ms ease, color 120ms ease, transform 100ms ease;
}

.logout-btn:hover {
    border-color: var(--signal-red);
    color: var(--signal-red);
}
.logout-btn:active { transform: scale(0.97); }

/* === Verify email page === */
.verify-email-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 1rem;
}

.verify-card {
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.verify-card h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.verify-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.verify-footer {
    margin-top: 2rem;
}

/* === Dialer action buttons === */
.dialer .dial-view input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 17px;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    background: var(--bg-pure);
    color: var(--text);
    margin-bottom: 12px;
}

.dialer .dial-view input[type="tel"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

#dial-btn,
.rate-confirm-actions button,
.call-actions button,
.dtmf-pad button {
    padding: 10px 18px;
    background: var(--bg-pure);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 120ms ease, scale 150ms ease-out;
}

#dial-btn:hover,
.rate-confirm-actions button:hover,
.call-actions button:hover,
.dtmf-pad button:hover {
    background: var(--amber-glow);
    border-color: var(--amber);
}

#dial-btn:active,
.rate-confirm-actions button:active,
.call-actions button:active,
.dtmf-pad button:active { transform: scale(0.97); }

#dial-btn:disabled { opacity: 0.45; cursor: not-allowed; }

#hangup-btn { border-color: var(--signal-red); color: var(--signal-red); }
#hangup-btn:hover { background: #fef2f2; }

.dtmf-pad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 14px 0;
    max-width: 240px;
}

.dtmf-pad button {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    aspect-ratio: 1;
}

.call-actions { display: flex; gap: 8px; margin-top: 12px; }

.rate-confirm { margin-top: 12px; }
.rate-confirm-actions { display: flex; gap: 8px; margin-top: 10px; }

#rate-confirm-connect {
    background: var(--signal-green);
    color: white;
    border-color: var(--signal-green);
}
#rate-confirm-connect:hover { background: #1F6636; }

.dialer-status { color: var(--ink-secondary); font-size: 14px; }

#call-timer {
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    font-size: 28px;
    font-weight: 600;
    margin: 8px 0;
    color: var(--ink);
}

/* === Voucher buttons === */
.voucher-btn {
    position: relative;
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    color: var(--ink);
    transition: background 120ms ease, border-color 120ms ease, transform 100ms ease;
}

.voucher-btn:hover { background: var(--amber-glow); border-color: var(--amber); }
.voucher-btn:active { transform: scale(0.97); }
.voucher-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.voucher-btn.popular {
    background: var(--amber-glow);
    border-color: var(--amber);
}

.voucher-btn .ribbon {
    position: absolute;
    top: -8px;
    left: 10px;
    background: var(--amber);
    color: white;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 7px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* === Badges === */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.6;
}

.badge-verified {
    background: #ecfdf5;
    color: var(--signal-green);
}

.badge-pending {
    background: var(--amber-glow);
    color: var(--amber);
}

.badge-default {
    background: rgba(28, 25, 23, 0.06);
    color: var(--ink-secondary);
}

/* === Caller ID page === */
.caller-ids {
    max-width: var(--max-width-wide);
}

.caller-ids header {
    margin-bottom: 24px;
}

.caller-ids header h1 {
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -0.025em;
}

.caller-ids header p {
    color: var(--ink-secondary);
    font-size: 15px;
}

/* Caller ID list */
#caller-id-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#caller-id-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    font-size: 14px;
    flex-wrap: wrap;
}

#caller-id-list li strong {
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    font-weight: 550;
    font-size: 15px;
    color: var(--ink);
}

#caller-id-list button[type="submit"] {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    color: var(--ink-secondary);
    transition: background 120ms ease, border-color 120ms ease, transform 100ms ease;
}

#caller-id-list button[type="submit"]:hover {
    background: var(--amber-glow);
    border-color: var(--amber);
    color: var(--amber);
}

#caller-id-list button[type="submit"]:active { transform: scale(0.97); }

/* Caller ID add form */
#caller-id-add {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-card);
}

#caller-id-add label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-secondary);
    margin-bottom: 6px;
}

#caller-id-add label code {
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    font-size: 12px;
    background: var(--amber-glow);
    padding: 1px 5px;
    border-radius: 3px;
    color: var(--amber);
}

#caller-id-add input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    background: var(--surface);
    color: var(--ink);
    margin-bottom: 10px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

#caller-id-add input[type="tel"]:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(199, 104, 0, 0.12);
}

#caller-id-add button[type="submit"],
#caller-id-verify button[type="submit"] {
    padding: 10px 18px;
    background: var(--amber);
    color: white;
    border: 0;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 120ms ease, transform 100ms ease;
}

#caller-id-add button[type="submit"]:hover,
#caller-id-verify button[type="submit"]:hover { background: var(--copper); }

#caller-id-add button[type="submit"]:active,
#caller-id-verify button[type="submit"]:active { transform: scale(0.97); }

#caller-id-verify {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-card);
}

#caller-id-verify p {
    font-size: 14px;
    color: var(--ink-secondary);
    margin-bottom: 12px;
}

#caller-id-verify label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-secondary);
    margin-bottom: 6px;
}

#caller-id-verify input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 20px;
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    background: var(--surface);
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: 0.3em;
    text-align: center;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

#caller-id-verify input[type="text"]:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(199, 104, 0, 0.12);
}

.form-error {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--signal-red);
}

.prefix-form {
    margin: 16px 0;
}

.prefix-form input {
    padding: 8px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
    background: var(--surface);
    color: var(--ink);
    width: 80px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.prefix-form input:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(199, 104, 0, 0.12);
}

.prefix-form button[type="submit"] {
    padding: 8px 16px;
    background: var(--amber);
    color: white;
    border: 0;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    margin-left: 6px;
    transition: background 120ms ease, transform 100ms ease;
}

.prefix-form button[type="submit"]:hover { background: var(--copper); }
.prefix-form button[type="submit"]:active { transform: scale(0.97); }

/* === Call history page === */

/* Filter bar */
.calls-filters {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.calls-filter-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calls-filter-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.calls-filter-field input[type="date"],
.calls-filter-field input[type="text"] {
    padding: 8px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    background: var(--paper);
    color: var(--ink);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.calls-filter-field input:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(199, 104, 0, 0.12);
}

.calls-filter-search {
    flex: 1;
    min-width: 180px;
}

.calls-filter-apply {
    padding: 8px 18px;
    background: var(--amber);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 120ms ease, transform 100ms ease;
}

.calls-filter-apply:hover { background: var(--copper); }
.calls-filter-apply:active { transform: scale(0.97); }

.calls-filter-clear {
    padding: 8px 18px;
    background: var(--surface);
    color: var(--ink-secondary);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 120ms ease, color 120ms ease;
}

.calls-filter-clear:hover {
    background: var(--amber-glow);
    color: var(--amber);
}

/* Results bar (between filters and table) */
.calls-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calls-results-summary {
    font-size: 13px;
    color: var(--ink-secondary);
}

.calls-per-page {
    display: flex;
    align-items: center;
    gap: 6px;
}

.calls-per-page label {
    font-size: 13px;
    color: var(--ink-secondary);
}

.calls-per-page select {
    padding: 4px 8px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
    color: var(--ink);
    background: var(--surface);
    cursor: pointer;
}

.calls-per-page select:focus {
    outline: none;
    border-color: var(--amber);
}

/* Sortable column headers */
.calls-sortable {
    cursor: pointer;
    user-select: none;
    transition: color 120ms ease;
}

.calls-sortable:hover { color: var(--amber); }

.calls-sortable .sort-arrow {
    margin-left: 2px;
    color: var(--border-strong);
    font-size: 10px;
}

.calls-sortable.calls-sort-active { color: var(--ink); }

.calls-sortable.calls-sort-active .sort-arrow { color: var(--amber); }

/* Pagination */
.calls-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
}

.calls-page-btn {
    padding: 6px 12px;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, transform 100ms ease;
}

.calls-page-btn:hover {
    background: var(--amber-glow);
    border-color: var(--amber);
}

.calls-page-btn:active { transform: scale(0.97); }

.calls-page-btn.active {
    background: var(--amber);
    color: white;
    border-color: var(--amber);
    font-weight: 500;
}

.calls-page-btn:disabled {
    color: var(--border-strong);
    cursor: default;
    pointer-events: none;
}

.calls-page-gap {
    padding: 6px 4px;
    color: var(--border-strong);
    font-size: 13px;
}

/* Empty state */
.calls-empty {
    padding: 32px 24px;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.calls-empty p {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--ink-secondary);
}

.calls-empty-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--amber);
    text-decoration: none;
    transition: color 150ms ease;
}

.calls-empty-link:hover { color: var(--copper); }

/* htmx loading state for calls table */
#calls-content {
    transition: opacity 200ms ease;
}

#calls-content.htmx-request {
    opacity: 0.5;
    pointer-events: none;
}

/* Inline spinner shown during htmx swaps */
.calls-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-top-color: var(--amber);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

.htmx-request .calls-spinner { display: inline-block; }

/* Responsive: match dash-table breakpoints */
@media (max-width: 720px) {
    .calls-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .calls-filter-search {
        min-width: 0;
    }
    .dash-table th:nth-child(5),
    .dash-table td:nth-child(5) {
        display: none;
    }
}

@media (max-width: 480px) {
    .dash-table th:nth-child(3),
    .dash-table td:nth-child(3) {
        display: none;
    }
}

/* Static pages: About, Reviews, Rates empty */
.static-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}
.static-page section {
    margin-top: 64px;
}
.static-page section:first-of-type {
    margin-top: 0;
}
.static-section {
    margin-bottom: 0;
}
.static-section h1 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.static-section h2 {
    font-size: 1.4rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--ink);
}
.static-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--ink);
}
.section-subtitle {
    color: var(--ink-tertiary);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

/* Founder row on About page */
.founder-row {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.founder-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--paper);
    flex-shrink: 0;
    overflow: hidden;
    /* Subtle ring + depth — makes it read as a photograph, not a UI element */
    box-shadow:
        0 0 0 1px var(--border),
        0 2px 8px rgba(28, 25, 23, 0.06);
}
.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.founder-role {
    color: var(--ink-tertiary);
    font-size: 0.9rem;
    margin: 0 0 12px;
}
.founder-story {
    color: var(--ink-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 10px;
}
.founder-story:last-of-type {
    margin-bottom: 8px;
}
.linkedin-link {
    font-size: 0.85rem;
    color: var(--amber);
    text-decoration: none;
    font-weight: 500;
    transition: color 150ms ease;
}
.linkedin-link:hover {
    color: var(--copper);
}

/* Never-do box on About page */
.never-box {
    background: var(--amber-glow);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-top: 20px;
}
.never-box h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}
.never-box ul {
    margin: 0;
    padding-left: 20px;
    color: var(--ink-secondary);
    font-size: 0.9rem;
    line-height: 1.9;
}

/* Trust grid on About page */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}
.trust-item {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px 22px 22px;
    box-shadow: var(--shadow-card);
}
.trust-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.trust-item p {
    color: var(--ink-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}
.contact-line {
    text-align: center;
    font-size: 0.9rem;
    color: var(--ink-tertiary);
    margin-top: 48px;
}

/* Trustpilot placeholder on Reviews page */
.trustpilot-placeholder {
    margin: 24px 0;
}
.trustpilot-fallback {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    background: #fafafa;
}
.trustpilot-fallback p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.cta-link {
    display: inline-block;
    background: #00b67a;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
}
.cta-link:hover {
    opacity: 0.9;
}
.review-cta {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

/* === Country Rates Pages (programmatic SEO) === */
.country-rates {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}
.country-rates h1 {
    font-size: 1.75rem;
    margin-bottom: 6px;
}
.country-rates .rate-summary {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 24px;
}
.country-rates .rate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 32px;
}
.country-rates .rate-table th {
    text-align: left;
    padding: 8px;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    color: #555;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.country-rates .rate-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
}
.country-rates .rate-table td.rate {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-family: "JetBrains Mono", monospace;
}
.country-rates .country-intro {
    margin-bottom: 32px;
    line-height: 1.7;
    color: #555;
    font-size: 0.95rem;
}
.country-rates .country-intro strong {
    color: var(--ink);
}
.country-rates .related-countries {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.country-rates .related-countries h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.country-rates .related-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.country-rates .related-country {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: var(--ink);
    font-size: 0.85rem;
    transition: background 120ms ease;
}
.country-rates .related-country:hover {
    background: var(--amber-glow);
}
.country-rates .related-country .rate-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    color: var(--ink-tertiary);
}
.country-rates .cta-section {
    margin-top: 40px;
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
}
.country-rates .cta-section h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.country-rates .cta-section p {
    color: var(--ink-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.country-rates .country-breadcrumb {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 16px;
}
.country-rates .country-breadcrumb a {
    color: #888;
    text-decoration: none;
}
.country-rates .country-breadcrumb a:hover {
    color: #333;
}

/* === Rates Hub Page === */
.rates-hub {
    max-width: 840px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}
.rates-hub h1 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.rates-hub .updated {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 24px;
}
.rates-hub .rates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.rates-hub .rates-table th {
    text-align: left;
    padding: 8px;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    color: #555;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.rates-hub .rates-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
}
.rates-hub .rates-table td.rate {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-family: "JetBrains Mono", monospace;
}
.rates-hub .rates-table tr.hidden {
    display: none;
}
.rates-hub .rates-table a {
    color: inherit;
    text-decoration: none;
}
.rates-hub .rates-table a:hover {
    text-decoration: underline;
}
.rates-hub .rates-footer {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 16px;
}

/* === How-to-call pages (Priority 4) === */
.how-to-call {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}
.how-to-call h1 {
    font-size: 1.75rem;
    margin-bottom: 6px;
}
.how-to-call .subtitle {
    font-size: 0.9rem;
    color: var(--ink-secondary);
    margin-bottom: 24px;
}
.how-to-call .breadcrumb {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 16px;
}
.how-to-call .breadcrumb a {
    color: #888;
    text-decoration: none;
}
.how-to-call .breadcrumb a:hover {
    color: #333;
}
.dialing-box {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-card);
}
.dialing-box h2 {
    font-size: 1.1rem;
    margin: 0 0 12px 0;
}
.dialing-box ol {
    margin: 0;
    padding-left: 20px;
}
.dialing-box li {
    margin-bottom: 8px;
    color: var(--ink-secondary);
    font-size: 0.9rem;
}
.dialing-box li strong {
    color: var(--ink);
}
.dialing-box .example {
    margin-top: 12px;
    padding: 10px 14px;
    background: #eef;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #444;
}
.how-to-call .related-links {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.how-to-call .related-links h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.how-to-call .related-links a {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--ink);
}

/* === How-to-call hub page === */
.howtocall-hub {
    max-width: 840px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}
.howtocall-hub h1 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.howtocall-hub .updated {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 24px;
}
.howtocall-hub .search {
    width: 100%;
    max-width: 320px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    font-family: inherit;
}
.howtocall-hub .search:focus {
    outline: none;
    border-color: #999;
}
.howtocall-hub table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.howtocall-hub th {
    text-align: left;
    padding: 8px;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    color: #555;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.howtocall-hub td {
    padding: 8px;
    border-bottom: 1px solid #eee;
}
.howtocall-hub td a {
    color: inherit;
    text-decoration: none;
}
.howtocall-hub td a:hover {
    text-decoration: underline;
}
.howtocall-hub tr.hidden {
    display: none;
}
.howtocall-hub .footer {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 16px;
}

/* === Breadcrumb utility (shared by SEO static pages) === */
.country-breadcrumb {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 16px;
}
.country-breadcrumb a {
    color: #888;
    text-decoration: none;
}
.country-breadcrumb a:hover {
    color: #333;
}

@media (max-width: 520px) {
    .founder-row {
        flex-direction: column;
        align-items: center;
    }
    .founder-row > div:last-child {
        text-align: center;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .country-rates .related-list {
        grid-template-columns: 1fr;
    }
}
