/*
 * Blue Chip Casino App Login - Mobile-first stylesheet
 * Breakpoints: 768px (tablet), 1024px (desktop), 1280px (max width)
 */

:root {
    --background: #0b1120;
    --foreground: #ffffff;
    --card: #131b2e;
    --card-foreground: #ffffff;
    --popover: #131b2e;
    --popover-foreground: #ffffff;
    --primary: #4b96ff;
    --primary-foreground: #ffffff;
    --secondary: #1e293b;
    --secondary-foreground: #ffffff;
    --muted: #1e293b;
    --muted-foreground: #94a3b8;
    --accent: #00e5a3;
    --accent-foreground: #0b1120;
    --destructive: #ffd000;
    --destructive-foreground: #0b1120;
    --border: #1d72f2;
    --input: #131b2e;
    --ring: #1d72f2;

    --border-soft: rgba(29, 114, 242, 0.35);
    --glow-blue: 0 0 0 1px rgba(29, 114, 242, 0.55), 0 8px 24px rgba(29, 114, 242, 0.18);
    --glow-gold: 0 0 0 1px rgba(255, 208, 0, 0.55), 0 8px 24px rgba(255, 208, 0, 0.1);

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Rubik", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;

    --header-h: 64px;
    --container: 1200px;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th, h1, h2, h3, h4, a, span {
    overflow-wrap: break-word;
}

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

/* ============================================
   BASE
   ============================================ */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--background);
    background-image:
        radial-gradient(900px 500px at 50% -120px, rgba(29, 114, 242, 0.22), transparent 70%),
        linear-gradient(180deg, var(--background) 0%, #0a0f1d 100%);
    background-attachment: scroll;
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 76px;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--foreground);
    margin: 0 0 var(--space-3);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.2rem;
    margin-top: var(--space-5);
}

h4 {
    font-size: 1rem;
    margin-bottom: var(--space-1);
}

p {
    margin: 0 0 var(--space-4);
    color: var(--muted-foreground);
}

a {
    color: var(--primary);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--accent);
}

ul, ol {
    margin: 0 0 var(--space-4);
    padding-left: 1.25rem;
    color: var(--muted-foreground);
}

li {
    margin-bottom: var(--space-2);
}

time {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-4);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: var(--space-3);
    top: -100px;
    z-index: 200;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: var(--space-3);
    color: var(--accent-foreground);
}

.icon {
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--destructive);
}

.icon-lg {
    width: 2.5rem;
    height: 2.5rem;
}

/* ============================================
   HEADER + BURGER MENU
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(11, 17, 32, 0.96);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}


.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    flex: none;
}

.logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: 150px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-left: auto;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--foreground);
    transition: background-color 0.2s, border-color 0.2s;
}

.menu-toggle:hover {
    background: var(--secondary);
    border-color: var(--border);
}

.menu-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav: closed by default */
.site-nav {
    position: fixed;
    top: var(--header-bottom, var(--header-h));
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
    max-height: none;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.site-nav.is-open,
#landing-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: var(--space-3) var(--space-4) var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.nav-list li {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 var(--space-4);
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.nav-link:hover {
    background: var(--secondary);
    color: var(--accent);
}

.nav-link.active,
.nav-link.is-active,
.nav-link[aria-current="true"],
.nav-link[aria-current="page"] {
    background: rgba(29, 114, 242, 0.18);
    border-left-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(0, 229, 163, 0.25);
}

.btn-primary:hover {
    background: #33f0b9;
    border-color: #33f0b9;
    color: var(--accent-foreground);
    box-shadow: 0 8px 24px rgba(0, 229, 163, 0.45);
}

.btn-primary:active {
    transform: translateY(1px);
    background: #00c68f;
    border-color: #00c68f;
    box-shadow: 0 2px 8px rgba(0, 229, 163, 0.3);
}

.btn-secondary {
    background: #1764d1;
    color: var(--primary-foreground);
    border-color: #1764d1;
    box-shadow: 0 6px 18px rgba(29, 114, 242, 0.3);
}

.btn-secondary:hover {
    background: #1459bb;
    border-color: #1459bb;
    color: var(--primary-foreground);
    box-shadow: 0 8px 24px rgba(29, 114, 242, 0.5);
}

.btn-secondary:active {
    transform: translateY(1px);
    background: #165fd0;
    border-color: #165fd0;
}

.btn-login {
    min-height: 44px;
    padding-inline: 1.1rem;
}

.btn-lg {
    min-height: 52px;
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
    width: 100%;
}

/* Light blink: opacity + box-shadow only */
@keyframes cta-blink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 6px 18px rgba(0, 229, 163, 0.25), 0 0 0 0 rgba(0, 229, 163, 0.45);
    }
    50% {
        opacity: 0.88;
        box-shadow: 0 6px 22px rgba(0, 229, 163, 0.5), 0 0 0 8px rgba(0, 229, 163, 0);
    }
}

.btn-blink {
    animation: cta-blink 2.6s ease-in-out infinite;
}

.btn-blink:hover,
.btn-blink:focus-visible,
.btn-blink:active {
    animation: none;
    opacity: 1;
}

/* ============================================
   SECTIONS
   ============================================ */

main {
    display: block;
    padding-top: var(--header-h);
}

.section {
    padding-block: var(--space-6);
}

.section-head {
    margin-bottom: var(--space-5);
}

.section-head h2 {
    margin-bottom: var(--space-3);
}

.section-head h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: var(--space-3);
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.section-lead {
    font-size: 1.05rem;
    color: var(--muted-foreground);
    margin-bottom: 0;
}

.section > .container > p,
.section > .container > .table-wrap + .fine-print {
    max-width: 78ch;
}

.next-link {
    margin-top: var(--space-5);
    padding: var(--space-4);
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    color: var(--muted-foreground);
}

.fine-print {
    font-size: 0.875rem;
    margin-top: var(--space-3);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    padding-top: var(--space-5);
    background:
        radial-gradient(600px 360px at 20% 0%, rgba(29, 114, 242, 0.25), transparent 70%),
        radial-gradient(500px 300px at 90% 30%, rgba(0, 229, 163, 0.08), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
}

.hero-content {
    order: 2;
}

.hero-media {
    margin: 0;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--glow-blue);
    padding: var(--space-2);
    overflow: hidden;
}

.hero-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-lg) - 6px);
    object-fit: cover;
}

.hero-media-left {
    order: 1;
    max-width: 360px;
    margin-inline: auto;
}

.hero-media-right {
    order: 3;
    max-width: 360px;
    margin-inline: auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: var(--space-3);
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--destructive);
    background: rgba(255, 208, 0, 0.08);
    border: 1px solid rgba(255, 208, 0, 0.35);
    border-radius: 999px;
}

.lead {
    font-size: 1.1rem;
    color: var(--foreground);
    line-height: 1.6;
}

.hero-content > h3 {
    color: var(--foreground);
}

/* Feature cards */
.feature-list {
    list-style: none;
    margin: var(--space-5) 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
}

.feature-card {
    margin: 0;
    padding: var(--space-4);
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: var(--border);
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

.feature-card .icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: var(--space-2);
    padding: 6px;
    width: 40px;
    height: 40px;
    color: var(--accent);
    background: rgba(0, 229, 163, 0.1);
    border: 1px solid rgba(0, 229, 163, 0.35);
    border-radius: 10px;
}

.feature-card h3 {
    margin: 0 0 var(--space-1);
    font-size: 1.05rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Steps */
.steps-list {
    padding-left: 1.5rem;
}

.steps-list li::marker {
    color: var(--accent);
    font-weight: 700;
}

.steps-list.steps-cards {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0 var(--space-5);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
}

.steps-cards > li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin: 0;
    padding: var(--space-4);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--glow-blue);
}

.steps-cards > li > div {
    flex: 1 1 auto;
    min-width: 0;
}

.steps-cards p {
    margin: 0;
    font-size: 0.95rem;
}

.step-num {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(29, 114, 242, 0.45);
}

.steps-four > li {
    align-items: center;
}

/* Notes */
.note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin: var(--space-4) 0;
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 208, 0, 0.07);
    border: 1px solid rgba(255, 208, 0, 0.5);
    border-radius: var(--radius-sm);
    color: #e2e8f0;
    font-size: 0.95rem;
}

.note .icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.2rem;
    color: var(--destructive);
}

.note > span {
    min-width: 0;
}

/* CTA blocks */
.cta-block,
.cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    margin: var(--space-5) 0;
}

.age-notice,
.badge-notice {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.badge-notice {
    align-items: center;
    color: var(--foreground);
    font-weight: 500;
}

.badge-notice .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--destructive);
}

.badge-18 {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 24px;
    padding: 0 6px;
    border: 2px solid var(--destructive);
    border-radius: 999px;
    color: var(--destructive);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

/* ============================================
   SPLIT LAYOUTS / MEDIA
   ============================================ */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
}

.split-main,
.split-side {
    min-width: 0;
}

.media-card {
    margin: 0;
    padding: var(--space-2);
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.media-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius) - 6px);
    object-fit: cover;
}

.media-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    margin: var(--space-5) 0;
}

.media-pair-phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    max-width: 560px;
    margin-inline: auto;
}

.media-phone {
    background: radial-gradient(circle at 50% 50%, rgba(0, 229, 163, 0.14), transparent 70%), var(--card);
}

.trust-block {
    margin-top: var(--space-4);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    background: var(--card);
    border: 1px solid var(--destructive);
    border-radius: var(--radius);
    box-shadow: var(--glow-gold);
}

.trust-block .icon-lg {
    margin-inline: auto;
    margin-bottom: var(--space-2);
    color: var(--destructive);
}

.trust-block h3 {
    margin-top: 0;
    color: var(--destructive);
}

.trust-block p {
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   TABLES
   ============================================ */

.table-wrap {
    max-width: 100%;
    margin: var(--space-5) 0 var(--space-3);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--glow-blue);
}

.table-wrap:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

.table-wrap:has(.data-table:not(:has(th:nth-child(3)))) .data-table {
    min-width: 0;
}

.data-table caption {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--foreground);
    border-bottom: 1px solid var(--border-soft);
    caption-side: top;
}

.data-table th,
.data-table td {
    padding: var(--space-3) var(--space-4);
    vertical-align: top;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.data-table thead th {
    background: rgba(29, 114, 242, 0.25);
    color: var(--foreground);
    font-family: var(--font-head);
    font-weight: 600;
    white-space: nowrap;
}

.data-table tbody th {
    color: var(--foreground);
    font-weight: 600;
}

.data-table td {
    color: #cbd5e1;
}

.data-table tbody tr:nth-child(even) {
    background: rgba(30, 41, 59, 0.55);
}

.data-table tbody tr:hover {
    background: rgba(29, 114, 242, 0.12);
}

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

/* ============================================
   FAQ + NOTICES
   ============================================ */

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
}

.faq-list {
    display: grid;
    gap: var(--space-3);
    align-content: start;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.faq-item[open] {
    box-shadow: var(--glow-blue);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-height: 48px;
    padding: var(--space-3) var(--space-4);
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary::after {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    margin-right: 4px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(-135deg);
}

.faq-item summary:hover {
    background: rgba(29, 114, 242, 0.1);
}

.faq-item summary h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.faq-item > p {
    margin: 0;
    padding: 0 var(--space-4) var(--space-4);
    font-size: 0.95rem;
}

.notice-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    align-content: start;
}

.notice-card {
    padding: var(--space-5) var(--space-4);
    background: var(--card);
    border: 1px solid var(--destructive);
    border-radius: var(--radius);
    box-shadow: var(--glow-gold);
}

.notice-card .icon-lg {
    margin-bottom: var(--space-2);
    color: var(--destructive);
}

.notice-card h3 {
    margin-top: 0;
    color: var(--destructive);
}

.notice-card p {
    font-size: 0.95rem;
}

.notice-card p:last-child {
    margin-bottom: 0;
}

.notice-responsible {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(0, 229, 163, 0.5), 0 8px 24px rgba(0, 229, 163, 0.1);
}

.notice-responsible .icon-lg,
.notice-responsible h3 {
    color: var(--accent);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    margin-top: var(--space-6);
    padding-block: var(--space-6);
    background: #070c18;
    border-top: 1px solid var(--border);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-5);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
}

.footer-col h3 {
    margin: 0 0 var(--space-3);
    font-size: 1rem;
    color: var(--foreground);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: var(--space-1);
}

.footer-col a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted-foreground);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.muted-item {
    display: block;
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.muted-item .icon {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -2px;
    color: var(--accent);
}

.age-box,
.rg-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.age-box p,
.rg-box p {
    margin: 0;
    font-size: 0.9rem;
}

.badge-18-svg {
    flex: none;
    width: 56px;
    height: 56px;
    color: var(--destructive);
}

.rg-box .icon {
    margin-top: 0.15rem;
    color: var(--accent);
}

.rg-box a {
    display: inline;
    min-height: 0;
}

.footer-legal {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-soft);
}

.footer-legal p {
    font-size: 0.85rem;
}

.footer-legal strong {
    color: var(--foreground);
}

.copyright {
    margin-bottom: 0;
    text-align: center;
}

/* ============================================
   MOBILE STICKY CTA BAR
   ============================================ */

.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 17, 32, 0.96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.45);
}

.mobile-cta-bar .btn {
    flex: 1 1 auto;
    width: auto;
    min-height: 48px;
}

.mobile-cta-age {
    flex: none;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--destructive);
    border-radius: 999px;
    color: var(--destructive);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ============================================
   SMALL PHONES
   ============================================ */

@media (max-width: 359px) {
    .logo {
        max-width: 120px;
    }

    .btn-login {
        padding-inline: 0.8rem;
    }

    .header-actions {
        gap: var(--space-2);
    }
}

/* ============================================
   TABLET 768px
   ============================================ */

@media (min-width: 768px) {
    :root {
        --header-h: 72px;
    }

    body {
        font-size: 1.0625rem;
        padding-bottom: 0;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .container {
        padding-inline: var(--space-5);
    }

    .section {
        padding-block: var(--space-7);
    }

    .logo {
        height: 42px;
        max-width: 190px;
    }

    /* Desktop-style inline nav at tablet width */
    .menu-toggle {
        display: none;
    }

    .site-nav,
    #landing-nav {
        position: static;
        order: 2;
        flex: 1 1 auto;
        min-width: 0;
        max-height: none;
        height: auto;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
        transition: none;
    }

    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        padding: 0;
    }

    .nav-link {
        min-height: 44px;
        padding: 0 0.7rem;
        font-size: 0.9rem;
        border-left: 0;
        border-bottom: 2px solid transparent;
        border-radius: 0;
    }

    .nav-link:hover {
        background: transparent;
    }

    .nav-link.active,
    .nav-link.is-active,
    .nav-link[aria-current="true"],
    .nav-link[aria-current="page"] {
        background: transparent;
        border-bottom-color: var(--accent);
    }

    .header-actions {
        order: 3;
        margin-left: 0;
    }

    .brand {
        order: 1;
    }

    .mobile-cta-bar {
        display: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }

    .hero-content {
        grid-column: 1 / -1;
        grid-row: 2;
        order: 0;
    }

    .hero-media-left {
        grid-column: 1;
        grid-row: 1;
        order: 0;
        max-width: none;
        width: 100%;
    }

    .hero-media-right {
        grid-column: 2;
        grid-row: 1;
        order: 0;
        max-width: none;
        width: 100%;
    }

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

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

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

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

    .cta-block,
    .cta-row {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .cta-block .btn-lg,
    .cta-row .btn-lg {
        width: auto;
        min-width: 280px;
    }

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

    .footer-about {
        grid-column: 1 / -1;
    }

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

    .data-table {
        min-width: 0;
    }

    .table-wrap:has(.data-table th:nth-child(4)) .data-table {
        min-width: 600px;
    }
}

/* ============================================
   DESKTOP 1024px
   ============================================ */

@media (min-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.1rem;
    }

    .section {
        padding-block: var(--space-8);
    }

    .nav-link {
        padding: 0 0.9rem;
        font-size: 0.95rem;
    }

    /* Hero: framed art left + right, copy in the center */
    .hero {
        padding-top: var(--space-7);
    }

    .hero-grid {
        grid-template-columns: minmax(0, 280px) minmax(0, 1fr) minmax(0, 280px);
        gap: var(--space-6);
        align-items: start;
    }

    .hero-media-left {
        grid-column: 1;
        grid-row: 1;
        position: sticky;
        top: calc(var(--header-h) + var(--space-5));
    }

    .hero-content {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-media-right {
        grid-column: 3;
        grid-row: 1;
        position: sticky;
        top: calc(var(--header-h) + var(--space-5));
    }

    .hero-content h1 {
        text-align: center;
    }

    .hero-content .eyebrow {
        display: block;
        width: fit-content;
        margin-inline: auto;
        margin-bottom: var(--space-4);
    }

    .hero-content .lead {
        text-align: center;
    }

    .hero-content .cta-block {
        justify-content: center;
        flex-direction: column;
    }

    .hero-content .cta-block .btn-lg {
        width: 100%;
    }

    .split {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: var(--space-6);
        align-items: start;
    }

    .split-reverse {
        grid-template-columns: 340px minmax(0, 1fr);
    }

    .split-reverse .split-main {
        grid-column: 2;
        grid-row: 1;
    }

    .split-reverse .split-side {
        grid-column: 1;
        grid-row: 1;
    }

    .split-side {
        position: sticky;
        top: calc(var(--header-h) + var(--space-5));
    }

    .steps-list.steps-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .steps-cards > li {
        flex-direction: column;
        gap: var(--space-2);
    }

    .steps-list.steps-four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .steps-four > li {
        align-items: flex-start;
    }

    .media-pair-phones {
        max-width: 640px;
    }

    .faq-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: var(--space-6);
        align-items: start;
    }

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

    .footer-grid {
        grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
        gap: var(--space-6);
    }

    .footer-about {
        grid-column: auto;
    }
}

/* ============================================
   WIDE 1280px
   ============================================ */

@media (min-width: 1280px) {
    .hero-grid {
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 300px);
    }

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

    .split-reverse {
        grid-template-columns: 380px minmax(0, 1fr);
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn-blink {
        animation: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}