/* console.lv — modern hosting design system (2026) */

:root {
    --bg: #f4f7fb;
    --bg-elevated: #ffffff;
    --bg-muted: #e8eef6;
    --text: #0f172a;
    --text-muted: #64748b;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: #dbeafe;
    --accent: #06b6d4;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --border: #e2e8f0;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.06);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --header-h: 72px;
    --sidebar-w: 260px;
    --touch: 48px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

.container { width: min(1140px, calc(100% - 2rem)); margin-inline: auto; }
.container-wide { width: min(1280px, calc(100% - 2rem)); }

/* Brand / logo */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text);
}
.brand-mark-only { gap: 0; }
.brand-icon {
    flex-shrink: 0;
    display: block;
}
.brand-wordmark {
    display: flex;
    align-items: baseline;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1;
}
.brand-name { color: inherit; }
.brand-tld { color: var(--accent); }
.brand-light .brand-name,
.brand-light .brand-tld { color: #fff; }
.brand-light .brand-tld { color: #67e8f9; }
.brand-compact .brand-wordmark { font-size: 1.1rem; }
.brand-compact .brand-icon { width: 34px; height: 34px; }

.header-inner > .brand { margin-right: auto; }
.header-inner > .brand > .brand { padding: 0; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1rem;
}
.nav-main { display: none; align-items: center; gap: 1.25rem; }
.nav-main a:not(.btn) { color: var(--text-muted); font-weight: 500; }
.nav-main a:not(.btn):hover { color: var(--text); }
.nav-main a:not(.btn).is-active {
    color: var(--primary);
    font-weight: 800;
}
.nav-main a:not(.btn).is-active::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 0.25rem;
    border-radius: 999px;
    background: var(--primary);
}
.nav-main a.btn-primary,
.nav-main a.btn-primary:hover { color: #fff; }
.nav-main a.btn-ghost { color: var(--text-muted); }
.nav-main a.btn-ghost:hover { color: var(--text); }
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    min-width: var(--touch);
    min-height: var(--touch);
    justify-content: center;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}
.nav-mobile {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 500;
}
.nav-mobile a.is-active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
}

@media (min-width: 768px) {
    .nav-main { display: flex; }
    .nav-toggle { display: none; }
    .nav-mobile { display: none !important; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--touch);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,0.35); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary { background: var(--bg-elevated); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg-muted); color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-muted); color: var(--text); }
.btn-sm { min-height: 40px; padding: 0.4rem 0.9rem; font-size: 0.875rem; }
.btn-lg { min-height: 52px; padding: 0.85rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
    padding: 4rem 0 5rem;
    background:
        radial-gradient(ellipse 80% 60% at 70% -10%, rgba(37,99,235,0.12), transparent),
        radial-gradient(ellipse 60% 50% at 0% 80%, rgba(6,182,212,0.1), transparent),
        var(--bg);
}
.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
.hero-copy h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0.5rem 0 1rem;
}
.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0; }
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.trust-row strong { color: var(--text); }

.hero-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.hero-card-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: var(--success); box-shadow: 0 0 0 3px rgba(5,150,105,0.2); }
.hero-stat { margin-bottom: 1rem; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); }
.hero-stat-meta { font-size: 0.85rem; color: var(--text-muted); }

@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* Sections */
.section { padding: 4rem 0; }
.section-muted { background: var(--bg-muted); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.section-head p { color: var(--text-muted); margin: 0; }
.section-cta { text-align: center; margin-top: 2rem; font-weight: 600; }

.domains-showcase-section {
    padding-top: 3rem;
    padding-bottom: 1rem;
}
.domains-showcase {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 1.6rem;
    align-items: center;
    padding: clamp(1.5rem, 4vw, 2.6rem);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 12%, rgba(37, 99, 235, 0.18), transparent 28%),
        radial-gradient(circle at 92% 6%, rgba(6, 182, 212, 0.24), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.9));
    box-shadow: 0 22px 70px rgba(37, 99, 235, 0.12), var(--shadow-sm);
}
.domains-showcase::before,
.domains-showcase::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
}
.domains-showcase::before {
    right: -90px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    background: rgba(6, 182, 212, 0.14);
    filter: blur(8px);
}
.domains-showcase::after {
    top: 1.1rem;
    right: 38%;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    background: rgba(255, 255, 255, 0.34);
}
.domains-showcase-copy,
.domains-tld-card {
    position: relative;
    z-index: 1;
}
.domains-showcase-copy h2 {
    max-width: 12ch;
    margin: 0.55rem 0 0.85rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}
.domains-showcase-copy p {
    max-width: 56ch;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.35rem;
}
.domains-showcase-copy .btn {
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}
.domains-tld-card {
    padding: clamp(1.1rem, 3vw, 1.45rem);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}
.domains-tld-kicker {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.domains-tld-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.domains-tld-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.42rem 0.85rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #eff6ff);
    color: var(--primary);
    font-weight: 800;
    box-shadow: inset 0 -1px 0 rgba(37, 99, 235, 0.08), 0 6px 18px rgba(37, 99, 235, 0.08);
}
.domains-tld-card p {
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
@media (min-width: 820px) {
    .domains-showcase {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    }
}

.page-hero { padding: 3rem 0; text-align: center; }
.page-hero-sm { padding: 2.5rem 0 1rem; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 0.5rem; }
.public-page-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.12), transparent 32%),
        linear-gradient(180deg, #eef5ff, transparent);
}
.public-page-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-muted);
}
.public-page-actions { margin-top: 1.5rem; }
.public-page-section { padding-top: 2rem; }
.public-page-layout {
    display: grid;
    gap: 1rem;
    max-width: 980px;
}
.public-card-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
@media (min-width: 720px) {
    .public-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
    .public-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.public-card,
.public-content-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.public-card {
    display: grid;
    gap: 0.3rem;
    padding: 1.1rem;
}
.public-card span {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.public-card strong {
    color: var(--text);
    overflow-wrap: anywhere;
}
.public-card-success { border-color: #bbf7d0; background: #f0fdf4; }
.public-card-success strong { color: #047857; }
.public-card-warning { border-color: #fed7aa; background: #fff7ed; }
.public-card-warning strong { color: #c2410c; }
.public-card-info { border-color: #bfdbfe; background: #eff6ff; }
.public-card-info strong { color: #1d4ed8; }
.public-card-danger { border-color: #fecaca; background: #fef2f2; }
.public-card-danger strong { color: #991b1b; }
.status-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.08), transparent 30%),
        var(--bg-elevated);
    box-shadow: var(--shadow-sm);
}
.status-overview h2 {
    margin: 0.6rem 0 0.4rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -0.04em;
}
.status-overview p {
    max-width: 640px;
    margin: 0;
    color: var(--text-muted);
}
.status-overview-success {
    border-color: #bbf7d0;
    background:
        radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.12), transparent 32%),
        linear-gradient(135deg, #f0fdf4, var(--bg-elevated) 68%);
}
.status-overview-warning {
    border-color: #fed7aa;
    background:
        radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.14), transparent 32%),
        linear-gradient(135deg, #fff7ed, var(--bg-elevated) 68%);
}
.status-overview-danger {
    border-color: #fecaca;
    background:
        radial-gradient(circle at 85% 20%, rgba(239, 68, 68, 0.14), transparent 32%),
        linear-gradient(135deg, #fef2f2, var(--bg-elevated) 68%);
}
.status-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.status-live-pill span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.status-updated {
    display: grid;
    gap: 0.25rem;
    min-width: max-content;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    text-align: right;
}
.status-updated span {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}
.status-component-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.status-component-card {
    display: grid;
    gap: 0.55rem;
    padding: 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-sm);
}
.status-component-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.status-dot {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 999px;
    background: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}
.status-component-label {
    font-size: 1.05rem;
    font-weight: 800;
}
.status-component-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}
.status-component-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.status-component-success .status-dot { background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14); }
.status-component-success .status-component-label { color: #047857; }
.status-component-info {
    border-color: #bfdbfe;
    background: #eff6ff;
}
.status-component-info .status-dot { background: #3b82f6; }
.status-component-info .status-component-label { color: #1d4ed8; }
.status-component-warning {
    border-color: #fed7aa;
    background: #fff7ed;
}
.status-component-warning .status-dot { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16); }
.status-component-warning .status-component-label { color: #c2410c; }
.status-component-danger {
    border-color: #fecaca;
    background: #fef2f2;
}
.status-component-danger .status-dot { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14); }
.status-component-danger .status-component-label { color: #991b1b; }
.status-events-card h2 {
    margin-bottom: 1rem;
}
.status-event-list {
    display: grid;
    gap: 0.9rem;
}
.status-event {
    position: relative;
    display: grid;
    gap: 0.25rem;
    padding-left: 1.15rem;
}
.status-event::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--primary);
}
.status-event time {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}
.status-event-component {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
}
.status-event p {
    margin: 0;
    color: var(--text-muted);
}
.status-event-success::before { background: #10b981; }
.status-event-warning::before { background: #f59e0b; }
.status-event-danger::before { background: #ef4444; }
@media (max-width: 640px) {
    .status-overview {
        align-items: stretch;
        flex-direction: column;
    }
    .status-updated {
        min-width: 0;
        text-align: left;
    }
}
.public-content-card {
    padding: clamp(1.25rem, 3vw, 1.8rem);
}
.public-content-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}
.public-content-card ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
}
.public-content-card li::marker { color: var(--primary); }
.faq-tools {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.faq-search {
    display: grid;
    gap: 0.4rem;
}
.faq-search span {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 800;
}
.faq-search input {
    min-height: var(--touch);
    padding: 0.7rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    font: inherit;
}
.faq-search input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
    background: #fff;
}
.faq-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.faq-topic {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    padding: 0.45rem 0.8rem;
}
.faq-topic:hover,
.faq-topic.is-active {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
}
.faq-empty {
    margin: 0;
    color: var(--text-muted);
    font-weight: 700;
}
.public-faq-item h2 {
    position: relative;
    padding-left: 2.1rem;
    margin-bottom: 0.55rem;
}
.public-faq-item h2::before {
    content: "?";
    position: absolute;
    left: 0;
    top: 0.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 900;
}
.public-faq-item {
    border-left: 3px solid var(--primary);
}
.public-faq-item ul {
    list-style: none;
    padding-left: 2.1rem;
}
.public-faq-item li {
    position: relative;
}
.public-faq-item li::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.72em;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: var(--primary);
}
.abuse-layout {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}
.abuse-info {
    display: grid;
    gap: 1rem;
}
.abuse-form-card {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
}
.abuse-form-card .muted {
    margin-top: -0.25rem;
    margin-bottom: 1rem;
}
.form-grid-2 {
    display: grid;
    gap: 1rem;
}
@media (min-width: 840px) {
    .abuse-layout { grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); }
    .form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Plans */
.plan-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
.plan-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
    .plan-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .plan-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.plan-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}
.plan-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.plan-card.is-featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}
.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}
.plan-card-head h3 { margin: 0; font-size: 1.25rem; }
.plan-tagline { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.plan-price { display: flex; align-items: baseline; gap: 0.25rem; flex-wrap: wrap; }
.plan-save-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--success);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}
.plan-compare {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 0.15rem;
}
.plan-savings-note {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: var(--success);
    font-weight: 700;
}
.plan-amount { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-unit { color: var(--text-muted); font-size: 0.95rem; }
.plan-total { margin: 0; font-size: 0.875rem; color: var(--text-muted); }
.plan-features { list-style: none; padding: 0; margin: 0.5rem 0; flex: 1; }
.plan-features li {
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
    font-size: 0.9rem;
}
.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}
.plan-advanced { margin-top: auto; padding-top: 0.25rem; }
.plan-advanced-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
    border: none;
    border-top: 1px dashed var(--border);
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}
.plan-advanced-toggle:hover { color: var(--primary); }
.plan-advanced-chevron {
    transition: transform 0.2s;
    font-size: 0.7rem;
}
.plan-advanced-toggle[aria-expanded="true"] .plan-advanced-chevron { transform: rotate(180deg); }
.plan-advanced-panel[hidden] { display: none !important; }
.plan-advanced-panel { padding: 0.5rem 0 0.25rem; }
.checkout-plans .plan-card-selectable { display: flex; flex-direction: column; }
.checkout-plans .plan-card-hitarea {
    display: flex;
    flex-direction: column;
    flex: 1;
    cursor: pointer;
    min-height: 0;
}
.plan-spec-list { margin: 0; }
.plan-spec-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.3rem 0;
    font-size: 0.78rem;
    border-bottom: 1px solid var(--border);
}
.plan-spec-row:last-child { border-bottom: none; }
.plan-spec-row dt { margin: 0; color: var(--text-muted); font-weight: 500; }
.plan-spec-row dd { margin: 0; text-align: right; font-weight: 600; }

.period-tabs, .period-tab { /* pricing tabs */ }
.period-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.period-tab {
    min-height: var(--touch);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-elevated);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}
.period-tab small { color: var(--success); font-size: 0.75rem; }
.period-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.period-tab.active small { color: rgba(255,255,255,0.85); }

/* Steps */
.steps {
    display: grid;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
}
@media (min-width: 640px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.steps li {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    height: 100%;
}
.step-num {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
    border-radius: 10px;
    margin-bottom: 0.75rem;
}
.steps h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

.cta-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #1e40af);
    color: #fff;
    padding: 2.5rem;
    border-radius: calc(var(--radius) + 4px);
}
.cta-banner h2 { margin: 0 0 0.5rem; }
.cta-banner p { margin: 0; opacity: 0.9; }
.cta-banner .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }

/* Auth */
.auth-section {
    min-height: calc(100vh - var(--header-h) - 120px);
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}
.auth-card {
    width: min(420px, 100%);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.auth-card h1 { margin: 0 0 0.5rem; font-size: 1.75rem; }
.auth-sub { color: var(--text-muted); margin: 0 0 1.5rem; }
.auth-foot { text-align: center; margin-top: 1.5rem; color: var(--text-muted); }
.auth-demo { text-align: center; color: var(--text-muted); }
.security-note {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 0.84rem;
    line-height: 1.45;
}
.security-note strong {
    color: #1d4ed8;
    overflow-wrap: anywhere;
}

/* Forms */
.form-stack { display: flex; flex-direction: column; gap: 1rem; }
.form-stack label { display: flex; flex-direction: column; gap: 0.35rem; }
.form-stack label span { font-weight: 600; font-size: 0.9rem; }
.form-stack input[type="text"],
.form-stack input[type="email"],
.form-stack input[type="password"],
.form-stack input[type="tel"],
.form-stack select,
.form-stack textarea {
    min-height: var(--touch);
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg);
}
.form-stack textarea {
    resize: vertical;
    line-height: 1.55;
}
.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
}
.form-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: flex-end; }
.form-stack small { color: var(--text-muted); font-size: 0.8rem; }

/* Portal layout */
.portal-body { background: var(--bg); }
.portal-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}
.portal-topbar-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}
.portal-user { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.portal-shell {
    display: grid;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 56px);
}
@media (min-width: 900px) {
    .portal-shell { grid-template-columns: var(--sidebar-w) 1fr; }
}
.portal-sidebar {
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
    padding: 1rem;
}
@media (min-width: 900px) {
    .portal-sidebar {
        border-bottom: none;
        border-right: 1px solid var(--border);
        padding: 1.5rem 1rem;
        position: sticky;
        top: 56px;
        height: calc(100vh - 56px);
    }
}
.sidebar-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.25rem; }
@media (max-width: 899px) {
    .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    min-height: 44px;
}
.sidebar-nav a:hover { background: var(--bg-muted); color: var(--text); }
.sidebar-nav a.active { background: var(--primary-soft); color: var(--primary); }
.sidebar-label { min-width: 0; }
.sidebar-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.sidebar-nav a.sidebar-cta {
    margin-top: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.sidebar-nav a.sidebar-cta:hover,
.sidebar-nav a.sidebar-cta.active {
    background: linear-gradient(135deg, var(--primary-hover), #1e40af);
    color: #fff;
    transform: translateY(-1px);
}
.sidebar-nav a.sidebar-cta .sidebar-icon { opacity: 1; }
@media (max-width: 899px) {
    .sidebar-nav a.sidebar-cta { margin-top: 0; }
}
.sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.15rem;
    width: 1.15rem;
    opacity: 0.7;
    text-align: center;
}

.portal-main { padding: 1.5rem 1rem 3rem; }
@media (min-width: 900px) { .portal-main { padding: 2rem; } }

.page-head { margin-bottom: 1.5rem; }
.page-head-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
.page-head h1 { margin: 0 0 0.35rem; font-size: 1.75rem; letter-spacing: -0.02em; }
.page-head p { margin: 0; color: var(--text-muted); }
@media (max-width: 640px) {
    .page-head-actions { align-items: flex-start; flex-direction: column; }
}

/* Alerts & flash */
.flash {
    padding: 0.85rem 1rem;
    text-align: center;
    font-weight: 500;
}
.flash-success { background: #d1fae5; color: #065f46; }
.flash-error { background: #fee2e2; color: #991b1b; }
.flash-info { background: #e0f2fe; color: #075985; }
.flash ul { margin: 0; padding-left: 1.25rem; text-align: left; display: inline-block; }

.alert {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}
.alert p { margin: 0.25rem 0 0; font-size: 0.9rem; }
.alert-success {
    background: #d1fae5;
    color: #064e3b;
    border: 1px solid #86efac;
    box-shadow: var(--shadow-sm);
}
.alert-warning { background: #fef3c7; border: 1px solid #fcd34d; }
.alert-info { background: var(--primary-soft); border: 1px solid #93c5fd; }

.badge { font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; }
.badge-demo { background: #fef3c7; color: #92400e; }
.badge-live { background: #d1fae5; color: #065f46; }

/* Panels & dashboard */
.panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.panel-head h2 { margin: 0; font-size: 1.1rem; }
.order-status-panel {
    margin-bottom: 1.35rem;
    padding: 1.5rem;
}
.order-status-list {
    display: grid;
    gap: 0.85rem;
}
.order-status-list .order-status-item {
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), transparent 45%), #fff;
}
.order-status-main {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
}
.order-status-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
}
.order-status-title strong {
    line-height: 1.35;
}
.order-status-error {
    color: var(--danger);
    font-size: 0.85rem;
    font-weight: 600;
}
.order-status-meta {
    align-items: flex-end;
    min-width: max-content;
}
.dash-grid {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 900px) {
    .dash-grid { grid-template-columns: 1fr 1fr; }
}

.service-cards { display: flex; flex-direction: column; gap: 1rem; }
.service-cards-full { display: grid; gap: 1rem; }
@media (min-width: 700px) {
    .service-cards-full { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

.service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.15rem;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 38%),
        var(--bg-elevated);
    box-shadow: var(--shadow-sm);
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}
.service-card-suspended {
    border-color: #f97316;
    background:
        linear-gradient(135deg, rgba(220, 38, 38, 0.14), rgba(249, 115, 22, 0.08) 42%, #fff 78%),
        var(--bg-elevated);
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.14);
}
.service-card-suspended::before {
    width: 6px;
    background: linear-gradient(180deg, var(--danger), #f97316);
}
.service-card-suspended .plan-chip {
    background: #fee2e2;
    color: #991b1b;
}
.service-card-suspended .progress span {
    background: linear-gradient(90deg, var(--danger), #f97316);
}
.suspended-warning {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.9rem;
    padding: 0.85rem 1rem;
    border: 1px solid #f97316;
    border-radius: var(--radius-sm);
    background: #fff7ed;
    color: #7c2d12;
}
.suspended-warning strong {
    color: #991b1b;
    font-size: 0.95rem;
}
.suspended-warning span {
    font-size: 0.86rem;
    line-height: 1.45;
}
.service-card header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.9rem;
}
.service-card-title {
    min-width: 0;
}
.service-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}
.plan-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
}
.service-meta { font-size: 0.875rem; color: var(--text-muted); margin: 0.5rem 0; }
.service-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.inline-form { display: inline; }
.cpanel-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
}
.cpanel-shortcut {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--text-muted);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}
.cpanel-shortcut:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}
.dns-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-top: 0.9rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #f8fafc;
}
.dns-status-card strong,
.dns-status-card span {
    display: block;
}
.dns-status-card strong {
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
}
.dns-status-card span {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}
.dns-status-managed {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.dns-status-managed strong { color: #047857; }
.dns-status-external {
    border-color: #bfdbfe;
    background: #eff6ff;
}
.dns-status-external strong { color: #1d4ed8; }
.dns-status-unknown {
    border-color: #fed7aa;
    background: #fff7ed;
}
.dns-status-unknown strong { color: #c2410c; }
@media (max-width: 520px) {
    .dns-status-card {
        align-items: stretch;
        flex-direction: column;
    }
}
.domain-attach {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
}
.domain-attach summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}
.domain-attach small {
    display: block;
    margin-top: 0.45rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.domain-attach-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}
.domain-attach-form input {
    flex: 1 1 180px;
    min-height: 40px;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
}
.domain-attach-form-inline {
    align-items: center;
    margin-top: 0.75rem;
}
.domain-attach-form-inline input {
    max-width: 260px;
}
.domain-attach-form.is-loading {
    opacity: 0.92;
}
.domain-attach-form.is-loading input {
    background: #f8fafc;
}
.domain-submit-spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(37, 99, 235, 0.22);
    border-top-color: var(--primary);
    border-radius: 999px;
    animation: domain-submit-spin 0.75s linear infinite;
}
.domain-attach-form.is-loading .domain-submit-spinner {
    display: inline-block;
}
.domain-submit-note {
    flex-basis: 100%;
    margin: 0.1rem 0 0;
    font-size: 0.84rem;
    line-height: 1.45;
}
.domain-submit-note.is-loading {
    color: var(--primary);
}
.domain-submit-note.is-success {
    color: var(--success);
}
.domain-submit-note.is-error {
    color: var(--danger);
    font-weight: 600;
}
@keyframes domain-submit-spin {
    to { transform: rotate(360deg); }
}
@media (max-width: 620px) {
    .order-status-list .order-status-item {
        align-items: stretch;
        flex-direction: column;
    }
    .order-status-meta {
        align-items: flex-start;
        min-width: 0;
    }
    .domain-attach-form-inline input {
        max-width: none;
    }
}

.progress {
    height: 8px;
    background: var(--bg-muted);
    border-radius: 999px;
    overflow: hidden;
    margin: 0.35rem 0;
}
.progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 999px;
}
.disk-bar small { color: var(--text-muted); font-size: 0.8rem; }

.status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.status-active, .status-paid { background: #d1fae5; color: #065f46; }
.status-awaiting_payment, .status-provisioning, .status-pending_domain { background: #dbeafe; color: #1e40af; }
.status-failed, .status-not_paid, .status-suspended {
    background: #fee2e2;
    color: #991b1b;
}
.status-suspended {
    border: 1px solid #fca5a5;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.invoice-list { list-style: none; padding: 0; margin: 0; }
.invoice-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.invoice-list li:last-child { border-bottom: none; }
.invoice-list-meta { text-align: right; display: flex; flex-direction: column; gap: 0.25rem; }
.muted { color: var(--text-muted); }

.dashboard-invoices .invoice-list {
    display: grid;
    gap: 0.75rem;
}
.dashboard-invoices .invoice-list li {
    align-items: center;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.dashboard-invoices .invoice-summary {
    min-width: 0;
}
.dashboard-invoices .invoice-number {
    display: inline-block;
    margin-bottom: 0.15rem;
}
.dashboard-invoices .invoice-description {
    display: block;
    color: var(--text-muted);
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.dashboard-invoices .invoice-list-meta {
    align-items: flex-end;
    gap: 0.4rem;
    flex: 0 0 auto;
}
.dashboard-invoices .invoice-amount {
    color: var(--text);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.dashboard-invoices .invoice-pdf-btn {
    min-height: 32px;
    padding: 0.25rem 0.7rem;
    font-size: 0.8rem;
}

@media (max-width: 520px) {
    .dashboard-invoices .invoice-list li {
        align-items: stretch;
        flex-direction: column;
    }
    .dashboard-invoices .invoice-list-meta {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        width: 100%;
    }
}

.support-list-panel { display: grid; gap: 0.85rem; }
.support-ticket-list {
    display: grid;
    gap: 0.85rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.support-ticket-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-sm);
}
.support-ticket-main {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
    color: var(--text);
}
.support-ticket-main:hover { color: var(--primary); }
.support-ticket-subject {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}
.support-ticket-topic,
.support-ticket-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.support-ticket-meta {
    display: grid;
    gap: 0.45rem;
    justify-items: end;
    flex: 0 0 auto;
}
.support-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.support-status-open { background: #dbeafe; color: #1d4ed8; }
.support-status-waiting_customer { background: #fef3c7; color: #92400e; }
.support-status-resolved { background: #d1fae5; color: #065f46; }
@media (max-width: 640px) {
    .support-ticket-card {
        align-items: stretch;
        flex-direction: column;
    }
    .support-ticket-meta {
        justify-items: start;
    }
}
.support-form-panel {
    max-width: 760px;
    padding: 1.5rem;
}
.support-form-intro {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    background: #eff6ff;
    color: #1e3a8a;
}
.support-form-intro span {
    color: #1e40af;
    font-size: 0.9rem;
}
.support-thread {
    display: grid;
    gap: 1.1rem;
    margin-bottom: 1.25rem;
}
.support-message {
    max-width: 78ch;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.support-message-admin {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.support-message-customer {
    margin-left: auto;
    background: #f8fafc;
}
.support-message-head {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}
.support-message-body {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.support-reply-panel h2 {
    margin-top: 0;
    letter-spacing: -0.02em;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.quick-action {
    padding: 0.75rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text);
}
.quick-action:hover { border-color: var(--primary); color: var(--primary); }

.empty-state { text-align: center; padding: 2rem 1rem; }
.empty-state-lg { padding: 4rem 1rem; }

/* Invoice table — card reflow on mobile */
.invoice-table-wrap { overflow-x: auto; }
.invoice-page-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.invoice-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.invoice-table th,
.invoice-table td {
    padding: 1rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.invoice-table th {
    background: #f8fafc;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.invoice-table tbody tr {
    background: var(--bg-elevated);
    transition: background 0.15s;
}
.invoice-table tbody tr:hover { background: #f8fafc; }
.invoice-table tbody tr:last-child td { border-bottom: none; }
.invoice-table .invoice-number {
    color: var(--text);
    font-weight: 800;
}
.invoice-table .invoice-date,
.invoice-table .invoice-description {
    color: var(--text-muted);
}
.invoice-table .invoice-description {
    display: block;
    max-width: 56ch;
    line-height: 1.4;
}
.invoice-table .invoice-amount {
    color: var(--text);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.invoice-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}
.invoice-actions .btn {
    min-height: 38px;
}
.invoice-pay-action { margin: 0; }

@media (max-width: 700px) {
    .invoice-table thead { display: none; }
    .invoice-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 0.5rem;
        background: var(--bg-elevated);
    }
    .invoice-table td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        border: none;
        padding: 0.5rem 0.75rem;
    }
    .invoice-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
    }
    .invoice-table .invoice-description {
        max-width: none;
        text-align: right;
    }
    .invoice-actions {
        justify-content: flex-end;
    }
}

.period-fieldset { border: none; padding: 0; margin: 0; }
.period-fieldset legend { font-weight: 600; margin-bottom: 0.75rem; }
.period-options { display: flex; flex-direction: column; gap: 0.5rem; }
.period-option { cursor: pointer; }
.period-option input { position: absolute; opacity: 0; }
.period-option-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
}
.period-option input:checked + .period-option-body {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.summary-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.summary-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

/* Timeline */
.timeline { max-width: 560px; margin-bottom: 2rem; }
.timeline-step {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
}
.timeline-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-step.done::before { background: var(--success); }
.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-elevated);
    flex-shrink: 0;
    margin-top: 2px;
}
.timeline-step.done .timeline-dot { background: var(--success); border-color: var(--success); }
.timeline-step.active .timeline-dot { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.timeline-step p { margin: 0.25rem 0 0; color: var(--text-muted); font-size: 0.9rem; }
.success-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Cloudflare setup */
.dns-auto-panel { margin-bottom: 1rem; }
.dns-auto-panel h2 { margin-top: 0; }
.dns-auto-list {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
}
.dns-auto-list li { margin: 0.35rem 0; }
.dns-download-panel {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    border-color: #bfdbfe;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 42%),
        var(--bg-elevated);
}
.dns-download-panel h2 {
    margin-top: 0;
}
.dns-download-panel p {
    margin-bottom: 0.45rem;
}
.dns-download-form {
    display: grid;
    gap: 0.75rem;
}
.dns-download-form label {
    display: grid;
    gap: 0.35rem;
}
.dns-download-form label span {
    font-size: 0.85rem;
    font-weight: 700;
}
.dns-download-form input {
    min-height: 42px;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
}
.dns-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
@media (min-width: 800px) {
    .dns-download-panel {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }
}
.setup-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) {
    .setup-grid { grid-template-columns: repeat(2, 1fr); }
}
.panel-highlight { border-color: var(--primary); background: var(--primary-soft); }
.panel-warn { border-color: #fcd34d; background: #fffbeb; }
.dns-record {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.dns-record div { display: flex; gap: 1rem; align-items: center; }
.dns-record span { min-width: 60px; color: var(--text-muted); font-weight: 600; }
.dns-record code {
    background: var(--bg-elevated);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
}
.dns-record-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.copy-target { cursor: pointer; }

.payment-panel { margin: 1.5rem 0; }
.payment-dl { display: grid; gap: 0.65rem; margin: 0; }
.payment-dl div { display: grid; grid-template-columns: 140px 1fr; gap: 0.75rem; font-size: 0.9rem; }
.payment-dl dt { color: var(--text-muted); font-weight: 600; margin: 0; }
.payment-dl dd { margin: 0; }
.invoice-pay-details summary { cursor: pointer; font-weight: 600; color: var(--primary); }
.invoice-pay-details .payment-panel { margin-top: 0.75rem; }
.invoice-pay-action { margin-bottom: 0.5rem; }

/* Footer */
.site-footer {
    background: var(--text);
    color: #94a3b8;
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}
.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
    .footer-grid { grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(140px, 1fr)); }
}
.site-footer h3 { color: #fff; font-size: 0.9rem; margin: 0 0 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.footer-tagline { margin: 0.75rem 0; }
.footer-meta { font-size: 0.85rem; margin: 0; }
.footer-company {
    margin-top: 0.75rem !important;
    font-size: 0.82rem;
}

.hero-visual-art { display: flex; align-items: center; justify-content: center; }
.hero-illustration { width: 100%; max-width: 420px; height: auto; }
.hero-card-live { box-shadow: var(--shadow); }

/* Checkout funnel */
.checkout-body { background: var(--bg-muted); min-height: 100vh; }
.checkout-header { background: var(--bg-elevated); border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.checkout-header-inner { display: flex; align-items: center; justify-content: space-between; }
.checkout-main { padding: 2rem 0 4rem; }
.checkout-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-sm);
}
.checkout-form { width: 100%; }
.checkout-card h1 { margin: 0 0 0.5rem; font-size: 1.75rem; }
.checkout-lead { color: var(--text-muted); margin: 0 0 1.5rem; }
.checkout-foot { text-align: center; margin-top: 1.5rem; color: var(--text-muted); font-size: 0.9rem; }
.checkout-summary-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--primary-soft);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}
.checkout-plan-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-soft), #eef6ff);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}
.checkout-plan-summary-copy {
    display: grid;
    gap: 0.2rem;
}
.checkout-plan-summary-copy strong {
    font-size: 1rem;
}
.checkout-plan-summary-copy small {
    color: var(--text-muted);
    max-width: 42rem;
}
.checkout-plan-summary-kicker {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.checkout-plan-summary-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.checkout-plan-summary-action strong {
    white-space: nowrap;
}
.checkout-summary-lines {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.checkout-summary-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.checkout-summary-lines strong { color: var(--text); }
.checkout-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.checkout-action-row .btn {
    flex: 1 1 240px;
}
.checkout-action-row-single .btn {
    flex: 1 1 100%;
}
@media (max-width: 640px) {
    .checkout-plan-summary {
        align-items: flex-start;
        flex-direction: column;
    }
    .checkout-plan-summary-action {
        width: 100%;
        justify-content: space-between;
    }
}
.checkout-steps { background: var(--bg-elevated); border-bottom: 1px solid var(--border); padding: 1rem 0; }
.checkout-steps-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    width: 100%;
}
.checkout-steps li { font-size: 0.8rem; color: var(--text-muted); }
.checkout-steps li > span,
.checkout-steps li > a > span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.checkout-steps li span span {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    flex-shrink: 0;
    font-size: 0.75rem;
}
.checkout-steps li.done > a:hover { opacity: 0.85; }
.checkout-steps li.active { color: var(--text); font-weight: 600; }
.checkout-steps li.active span span { background: var(--primary); color: #fff; border-color: var(--primary); }
.checkout-steps li.done { color: var(--success); }
.checkout-steps li.done span span { background: var(--success); color: #fff; border-color: var(--success); }
.checkout-steps a { color: inherit; text-decoration: none; }
.plan-card-selectable { cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }

/* Checkout: "popular" = soft highlight + badge only (not same as selected) */
.checkout-plans .plan-card.is-featured:not(:has(input:checked)) {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.07) 0%, var(--bg-elevated) 45%);
}
.checkout-plans .plan-card.is-featured .plan-badge {
    background: linear-gradient(135deg, #6366f1, var(--primary));
}

/* Checkout: selected = strong ring + checkmark */
.checkout-plans .plan-card-selectable:has(input:checked),
.checkout-plans .plan-card-selectable.is-selected:has(input:checked) {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: 0 0 0 4px var(--primary-soft);
    background: var(--bg-elevated);
    transform: none;
}
.checkout-plans .plan-card-selectable:has(input:checked)::after {
    content: "✓";
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}
.checkout-plans .plan-card-selectable:hover:not(:has(input:checked)) {
    border-color: #cbd5e1;
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

/* Period pills: compact selected state (distinct from plan cards) */
.checkout-form .period-option-body {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
}
.checkout-form .period-option-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}
.period-save-badge {
    display: inline-flex;
    align-items: center;
    background: #d1fae5;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}
.checkout-form .period-option input:checked + .period-option-body .period-save-badge {
    background: var(--success);
    color: #fff;
}
.period-save-hint {
    display: block;
    color: var(--success);
    font-weight: 700;
    font-size: 0.78rem;
}
.period-save-hint-muted { color: var(--text-muted); font-weight: 500; }
.checkout-form .period-option input:checked + .period-option-body {
    border-color: var(--primary);
    background: var(--bg-elevated);
    box-shadow: inset 0 0 0 1px var(--primary);
}
.checkout-form .period-option input:checked + .period-option-body strong::before {
    content: "● ";
    color: var(--primary);
    font-size: 0.65rem;
    vertical-align: middle;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Checkout selectable cards (domain, account type, payment) */
.checkout-choice-option {
    display: block;
    cursor: pointer;
    margin: 0;
}
.checkout-choice-inner {
    display: block;
    position: relative;
    padding: 1rem 3rem 1rem 1.1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.checkout-choice-option:hover .checkout-choice-inner {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
}
.checkout-choice-option:has(input:checked) .checkout-choice-inner {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
    background: var(--bg-elevated);
}
.checkout-choice-option:has(input:checked) .checkout-choice-inner::after {
    content: "✓";
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.5rem;
    text-align: center;
}
.checkout-choice-copy { display: flex; flex-direction: column; gap: 0.3rem; }
.checkout-choice-copy strong { font-size: 0.98rem; }
.checkout-choice-copy small { color: var(--text-muted); line-height: 1.45; }
.checkout-choice-option-featured .checkout-choice-inner {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08)), var(--bg-elevated);
}
.checkout-choice-option-with-panel {
    position: relative;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08)), var(--bg-elevated);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.checkout-choice-option-with-panel:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
}
.checkout-choice-option-with-panel .checkout-choice-inner,
.checkout-choice-option-with-panel:hover .checkout-choice-inner,
.checkout-choice-option-with-panel:has(input:checked) .checkout-choice-inner {
    display: block;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.checkout-choice-option-with-panel:has(input:checked) {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
    background: var(--bg-elevated);
}
.checkout-choice-option-with-panel .checkout-choice-inner {
    cursor: pointer;
}

.account-type-fieldset,
.domain-mode-fieldset { border: none; padding: 0; margin: 0 0 1rem; }
.account-type-fieldset legend,
.domain-mode-fieldset legend { font-weight: 600; margin-bottom: 0.75rem; }
.account-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}
@media (max-width: 480px) {
    .account-type-options { grid-template-columns: 1fr; }
}

.hidden { display: none !important; }
.payment-options { display: grid; gap: 0.65rem; margin-bottom: 1.5rem; }
.domain-mode-options { display: grid; gap: 0.65rem; }
.domain-mode-details {
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}
.domain-mode-panel { margin: 0; }
.domain-mode-panel[hidden] { display: none !important; }
.domain-mode-details[hidden] { display: none !important; }
.domain-mode-panel-info { padding: 0; background: transparent; border: none; }
.domain-later-note { margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.domain-check-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.domain-check-panel {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(6, 182, 212, 0.06)), var(--bg-elevated);
}
.domain-check-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}
.domain-check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
}
.domain-check-row input {
    flex: 1 1 220px;
    min-width: 0;
    min-height: 58px;
    border: 2px solid #cbd5e1;
    background: #fff;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.domain-check-row input::placeholder {
    color: #64748b;
    font-weight: 600;
    opacity: 0.9;
}
.domain-check-row input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px var(--primary-soft), 0 14px 34px rgba(37, 99, 235, 0.16);
}
.domain-check-row .btn {
    flex: 0 0 auto;
    min-height: 58px;
    padding-inline: 1.45rem;
    box-shadow: var(--shadow-sm);
}
.domain-register-inline-panel {
    display: grid;
    gap: 0.75rem;
    padding: 0 1.1rem 1.1rem;
}
.domain-register-inline-label {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}
.domain-register-inline-help {
    display: block;
    margin-top: -0.25rem;
}
.domain-check-form.is-loading {
    opacity: 0.9;
}
.domain-check-result {
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}
.domain-check-result-loading {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}
.domain-check-result-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #047857;
}
.domain-check-result-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}
.domain-check-result-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}
.domain-check-result-options {
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
}
.domain-option-summary {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
}
.domain-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}
.domain-option-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-sm);
    transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.domain-option-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.domain-option-select,
.domain-option-static {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    height: 100%;
    padding: 0.9rem;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
}
.domain-option-select {
    border: none;
    background: transparent;
    cursor: pointer;
}
.domain-option-select:hover {
    color: inherit;
}
.domain-option-copy {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}
.domain-option-copy strong {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: normal;
}
.domain-option-meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
}
.domain-option-status {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.domain-option-price {
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.domain-option-price.is-loading {
    color: var(--primary);
}
.domain-option-price.is-loading::after {
    content: "";
    display: inline-block;
    width: 0.55em;
    height: 0.55em;
    margin-left: 0.35rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: domain-price-spin 0.8s linear infinite;
}
@keyframes domain-price-spin {
    to { transform: rotate(360deg); }
}
.domain-option-card.is-available {
    border-color: #bbf7d0;
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.16), transparent 34%),
        #f0fdf4;
}
.domain-option-card.is-available .domain-option-status,
.domain-option-card.is-available .domain-option-price {
    color: #047857;
}
.domain-option-card.is-unavailable {
    border-color: #fecaca;
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.1), transparent 34%),
        #fef2f2;
}
.domain-option-card.is-unavailable .domain-option-copy strong {
    color: #7f1d1d;
}
.domain-option-card.is-unavailable .domain-option-status {
    color: #b91c1c;
}
.domain-option-card.is-unavailable .domain-option-price {
    color: #991b1b;
    font-size: 0.82rem;
    font-weight: 800;
}
.domain-option-card.is-selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow-sm);
}
.domain-option-card.is-selected::after {
    content: "✓";
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
}
.domain-option-action {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}
.domain-option-card.is-selected .domain-option-action {
    background: var(--success);
}
.domain-selected-note {
    margin: 0.75rem 0 0;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 800;
}
@media (max-width: 560px) {
    .domain-option-select,
    .domain-option-static {
        grid-template-columns: 1fr;
    }
    .domain-option-action {
        width: 100%;
    }
}
.domain-register-note {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}
.domain-check-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.subdomain-input-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
}
.subdomain-input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.subdomain-input-wrap input {
    flex: 1;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
}
.subdomain-input-wrap input:focus { box-shadow: none; }
.subdomain-suffix {
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    background: var(--bg-muted);
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
    border-left: 1px solid var(--border);
}
.checkout-setup-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.period-options-inline { flex-direction: row; flex-wrap: wrap; }
.checkout-form .period-options-inline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .checkout-form .period-options-inline { grid-template-columns: repeat(4, 1fr); }
}
.checkout-plans {
    margin: 1.5rem 0;
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 640px) {
    .checkout-plans { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .checkout-plans { grid-template-columns: repeat(3, 1fr); }
}
.checkout-plans .plan-card-selectable { height: auto; align-self: start; }
.checkout-plans .plan-advanced { margin-top: 0.35rem; }
.checkout-form .period-option { min-width: 0; }
.checkout-form .period-option-body { width: 100%; }
.muted-link { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; }
.muted-link:hover { color: var(--primary); }
