/* =============================================================
   ignition — design tokens
   ============================================================= */
:root {
    --bg-primary:      #150e08;
    --bg-surface:      #2a1c10;
    --bg-surface-2:    #4a3220;
    --border-subtle:   rgba(255, 122, 41, 0.28);

    --primary-500:     #ff7a29;
    --primary-400:     #ffa552;
    --primary-600:     #ff5a1f;
    --primary-900:     #431604;
    /* Same -500 shade as a bare "r, g, b" triplet, for the translucent
       rgba(var(--primary-rgb), <alpha>) card/border fills used throughout
       (feature cards, the group-item wrapper, highlighted table columns). */
    --primary-rgb:     255, 122, 41;

    /* Secondary — drop shadows, hover outlines/borders, hover text color.
       --secondary-rgb is the -500 shade as a bare "r, g, b" triplet, for
       rgba(var(--secondary-rgb), <alpha>) shadows — see .btn--primary:hover.
       Kept a separate axis from --primary-* so hover/focus states read as
       a distinct accent rather than a lighter/darker copy of the button
       color. Both are admin-overridable independently — see ThemeColor. */
    --secondary-500:   #ffa552;
    --secondary-400:   #ffcb8a;
    --secondary-600:   #e08a2e;
    --secondary-900:   #3d2900;
    --secondary-rgb:   255, 165, 82;

    --text-primary:    #f3e6d3;
    --text-secondary:  #b5a58e;
    --text-muted:      #8a7a65;

    --radius-md:       10px;
    --radius-lg:       16px;
    --radius-xl:       22px;

    --container-max:   80%;
    --container-narrow: 80%;

    --font-display: "Fraunces", Georgia, serif;
    --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;
    --font-mono:    "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

/* =============================================================
   Reset / base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keyboard-focus outline — secondary color, so it reads as a distinct
   "you are here" ring rather than a copy of the primary button color. */
:focus-visible { outline: 2px solid var(--secondary-500); outline-offset: 2px; }

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin: 0 0 0.6em;
    font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); color: var(--text-primary); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); color: var(--text-primary); }
h3 { font-size: 1.15rem; color: var(--text-primary); }
h4 { font-size: 1rem; color: var(--text-primary); }

p { color: var(--text-secondary); margin: 0 0 1em; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}
.container--narrow { max-width: var(--container-narrow); }
.container--narrow > p { max-width: 68ch; }

.breadcrumbs { margin-bottom: 1.5rem; }
.breadcrumbs__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}
.breadcrumbs__item { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumbs__item a { color: var(--text-secondary); }
.breadcrumbs__item a:hover { color: var(--secondary-400); }
.breadcrumbs__item [aria-current="page"] { color: var(--text-muted); }
.breadcrumbs__sep { color: var(--text-muted); }

.section { padding: clamp(2.5rem, 6vw, 4.75rem) 0; }
.section--alt { background: var(--bg-surface); }

/* Small mono label above a heading (PageSection::eyebrow / Page::hero_eyebrow)
   — e.g. "WHY IGNITION CASINO" sitting above "Why Choose Ignition Casino for
   Online Gaming". Shared by every section type and the hero. */
.section__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-500);
    margin: 0 0 0.6rem;
}
.section__heading { margin-bottom: 2.2rem; }
/* .section__intro { max-width: 640px; margin: -1.2rem auto 2.2rem; } */
.section__outro { margin: 2.2rem auto 0; color: var(--text-secondary); }
.section__cta { margin-top: 1.75rem; }

/* PageSection::contentAlign() — applied to the .section__header wrapper
   (eyebrow + heading + intro), .section__outro, .section__cta, and the
   closing-cta panel. Plain text-align, inherited by everything inside, so
   it never needs repeating on the eyebrow/heading/intro individually. Not
   applied to a card grid, table, or bullet list — those keep their own
   layout regardless of this setting (see the section-by-section usage in
   page-section.blade.php / group-item-content.blade.php). */
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* A text section with a custom PageSection::background_color — the
   section itself gets an inline `background-color` + `color` (the
   contrastTextColor() pick) from page-section.blade.php; everything below
   just makes the section's descendants actually pick that color up
   instead of their normal hardcoded ones, and gives the button/eyebrow a
   treatment that stays legible against an arbitrary admin-picked color
   rather than assuming the site's default dark background. */
.section--tinted h2,
.section--tinted p,
.section--tinted .section__outro { color: inherit; }
.section--tinted .section__eyebrow { color: inherit; opacity: 0.72; }
.section--tinted .btn--ghost {
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(0, 0, 0, 0.3);
    color: inherit;
}
.section--tinted .btn--ghost:hover { border-color: rgba(0, 0, 0, 0.5); color: inherit; }

/* Text section with a side image (PageSection::side_image) — text on the
   left, image on the right, matching the hero's own side-image layout. */
.section--split { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.section--split__content { flex: 1 1 420px; }
.section--split__side { flex: 1 1 320px; display: flex; justify-content: center; }
.section--split__image {
    max-width: 480px;
    width: 100%;
    border-radius: var(--radius-lg);
}

/* Closing-cta renders as a light, rounded panel sitting inside the dark
   section (not full-bleed) — matches the Figma "Why X Is Worth Choosing"
   card. Text flips to dark since it now sits on the cream background. */
.section--closing__panel {
    background: var(--text-primary);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 6vw, 3.5rem);
    max-width: 1000px;
    margin: 0 auto;
}
.section--closing__panel h2,
.section--closing__panel p,
.section--closing__panel .section__outro { color: #2a1c10; }
.section--closing__lead { color: #2a1c10; font-weight: 600; }

.section--closing__panel .section__eyebrow { color: var(--primary-500); }

/* =============================================================
   Group sections — a vertical stack of otherwise-independent section
   "items" (see the `group` case in page-section.blade.php and
   group-item-content.blade.php). Each item flows as plain content — no
   card/box around it — so a group reads as several ordinary sections
   sharing one wrapper, not a list of bundled cards. */
.section-group {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 1.5rem;
}
.section-group__item > *:last-child { margin-bottom: 0; }
.section-group__banner {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    overflow: hidden;
}

/* =============================================================
   Buttons
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.65em 1.4em;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--lg { padding: 0.35em 0.8em; font-size: 1.05rem; }
.btn--primary {
    background: linear-gradient(180deg, var(--primary-400) 0%, var(--primary-600) 100%);
    color: #2a1c10;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(var(--secondary-rgb), 0.35); }
.btn--ghost {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.5);
    color: var(--text-primary);
}
.btn--ghost:hover { border-color: var(--secondary-500); color: var(--secondary-400); }

/* =============================================================
   Header / navbar
   ============================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(21, 14, 8, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
}
.site-header::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(180deg, var(--primary-400) 0%, var(--primary-600) 100%);
}
.site-header__inner {
    max-width: 90%;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; }
.brand__text { color: var(--text-primary); }
.brand__logo { height: 64px; width: auto; display: block; }

.nav-burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-burger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; }

/* .site-nav__auth is a sibling, not a child, of .site-nav (see navbar.
   blade.php) — this margin-left:auto is what pushes the [nav links ...
   buttons] group over to the right edge on desktop, since they no longer
   share one flex item to be positioned as a pair via justify-content on
   .site-header__inner. At the mobile breakpoint below, .site-nav becomes
   an absolutely-positioned dropdown and drops out of this flex flow
   entirely, so .site-nav__auth gets its own margin-left:auto there
   instead — see the two rules together, one always the effective one. */
.site-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.site-nav__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.6rem;
    column-gap: 1.15rem;
    margin: 0;
    padding: 0;
}
.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.15s ease;
}
.site-nav__list a:hover { color: var(--secondary-400); }
.site-nav__list a.is-active { color: var(--primary-500); font-weight: 700; }
.site-nav__auth { display: flex; gap: 0.75rem; }

.site-nav__dropdown { position: relative; }
.site-nav__dropdown-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 0.35rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--text-secondary);
    font: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.15s ease;
}
.site-nav__dropdown-toggle:hover { color: var(--secondary-400); }
.site-nav__dropdown-toggle[aria-expanded="true"] { color: var(--primary-400); }
.site-nav__dropdown-toggle.is-active { color: var(--primary-500); font-weight: 700; }
.site-nav__dropdown-caret { transition: transform 0.15s ease; }
.site-nav__dropdown-toggle[aria-expanded="true"] .site-nav__dropdown-caret { transform: rotate(180deg); }
.site-nav__dropdown-menu { list-style: none; margin: 0; padding: 0; }
.site-nav__dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.75rem;
}
.site-nav__dropdown-menu a.is-active { color: var(--primary-500); font-weight: 700; background: var(--primary-900); }

@media (min-width: 1025px) {
    .site-nav__dropdown-menu {
        position: absolute;
        top: calc(100% + 0.9rem);
        right: 0;
        min-width: 170px;
        background: var(--bg-surface);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 0.4rem;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.15s ease, visibility 0.15s ease;
    }
    .site-nav__dropdown-toggle[aria-expanded="true"] + .site-nav__dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
    .site-nav__dropdown-menu a {
        border-radius: 8px;
        white-space: nowrap;
    }
    .site-nav__dropdown-menu a:hover { background: var(--bg-surface-2); }
}

@media (max-width: 1024px) {
    .site-header__inner { gap: 0.75rem; }
    .nav-burger { display: flex; }

    /* Logo shrinks to leave room for the burger on its left and the
       buttons on the right, all in one row. */
    .brand { font-size: 1.3rem; }
    .brand__logo { height: 36px; }

    /* Only the link list collapses into the dropdown panel — .site-nav__
       auth is a sibling of .site-nav (see navbar.blade.php), not nested
       inside it, so Login/Register stay visible in the header row at
       every width instead of being hidden behind the burger toggle. */
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        align-items: stretch;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-subtle);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .site-nav__list { flex-direction: column; gap: 0.9rem; padding: 1rem 1.25rem; margin: 0; }
    .nav-toggle:checked ~ .site-nav {
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Pushed to the right edge, smaller to fit a narrow header row
       alongside the burger + shrunk logo. */
    .site-nav__auth { margin-left: auto; gap: 0.5rem; flex-shrink: 0; }
    .site-nav__auth .btn {
        padding: 0.4em 0.85em;
        font-size: 0.82rem;
    }

    .site-nav__dropdown-menu {
        max-height: 0;
        overflow: hidden;
        padding-left: 1rem;
        margin-top: 0.6rem;
        transition: max-height 0.2s ease;
    }
    .site-nav__dropdown-menu li + li { margin-top: 0.7rem; }
    .site-nav__dropdown-toggle[aria-expanded="true"] + .site-nav__dropdown-menu {
        max-height: 300px;
    }
}

@media (max-width: 425px) {
    .site-header__inner {
        max-width: 100%;
    }
    
    .container {
        max-width: 100%;
    }
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
    position: relative;
    padding: clamp(4rem, 12vw, 8rem) 0;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(21,14,8,0.9) 0%, rgba(21,14,8,0.55) 60%, rgba(21,14,8,0.85) 100%);
}
/* align-items: stretch (the default — no override here) so .hero__side
   stretches to match .hero__content's rendered height instead of just
   being vertically centered at its own natural size; that's what lets
   .hero__side-image below fill "height: 100%" of a real, definite height
   rather than 100% of an auto-sized box (which CSS just ignores). */
.hero__inner { position: relative; z-index: 1; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero__content { flex: 1 1 480px; max-width: 640px; }
.hero__title { color: var(--text-primary); }
.hero__lead { font-size: 1.05rem; color: var(--text-secondary); max-width: 640px; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* The optional side-by-side image (hero_side_image) — additive to the
   full-bleed background image/overlay above, not a replacement for it.
   Sized off the column's height (matching .hero__content) rather than a
   fixed width, so it reads as a full co-equal column instead of a small
   graphic floating in a lot of empty space. */
.hero__side { flex: 1 1 380px; display: flex; justify-content: center; }
.hero__side-image {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 26px rgba(var(--primary-rgb), 0.28));
}
/* Once .hero__inner wraps to a single column, each item is the only thing
   on its own line, so there's no sibling height left to stretch to match
   — .hero__side's height collapses back to auto, which makes the image's
   height:100% above resolve to nothing per spec. Fall back to the old
   width-capped sizing here instead. Also flip .hero__side above
   .hero__content — image-first reads better once stacked than the text
   arriving before you've seen the art. */
@media (max-width: 760px) {
    .hero__content { order: 2; }
    .hero__side { order: 1; }
    .hero__side-image { height: auto; width: 100%; max-width: 480px; }
}

.hero__figure { margin: 0; }
.hero__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 0.6rem 1.25rem;
    text-align: center;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--text-muted);
    background: linear-gradient(0deg, rgba(21, 14, 8, 0.85) 0%, rgba(21, 14, 8, 0) 100%);
}

/* Secondary banner-backed section */
.section--banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: clamp(3rem, 8vw, 6rem) 0;
}
.section--banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(21, 14, 8, 0.78);
}
.section--banner__content { position: relative; z-index: 1; }
.section--banner__content h2,
.section--banner__content p { color: var(--text-primary); }
.section--banner__content p { color: #e4dcd5; }

/* =============================================================
   Card grids (feature-grid / feature-grid-compact)
   ============================================================= */
.card-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
/* PageSection::cardLayout() below is orthogonal to this — a numbered grid
   can also be a horizontal or vertical arrangement. counter-reset lives
   here rather than only on --numbered so it's harmless either way. */
.card-grid--numbered { counter-reset: card; }
@media (min-width: 640px) {
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* PageSection::cardLayout() — how the cards in a feature-grid/
   feature-grid-compact section sit relative to each other.
   card-grid--layout-grid needs no rule of its own: it's the .card-grid
   base behavior above (wraps into the --N column rules). */
.card-grid--layout-horizontal {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 0.4rem;
}
.card-grid--layout-horizontal .feature-card {
    flex: 0 0 clamp(220px, 26vw, 300px);
    scroll-snap-align: start;
}
.card-grid--layout-vertical {
    display: flex;
    flex-direction: column;
}

.feature-card {
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature-card:hover { border-color: var(--secondary-500); transform: translateY(-3px); }
.feature-card h3 { color: var(--text-primary); font-size: 1.05rem; }
.feature-card p { margin: 0; font-size: 0.95rem; }
.feature-card--icon { padding-top: 1.25rem; }
.card-grid--numbered .feature-card {
    counter-increment: card;
}
.card-grid--numbered .feature-card::before {
    content: counter(card, decimal-leading-zero);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary-500);
    margin-bottom: 0.6rem;
}
.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary-400) 0%, var(--primary-600) 100%);
    color: #2a1c10;
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
}
.feature-card--compact { padding: 1.5rem; }
.feature-card--compact p { font-size: 0.9rem; }
.section--alt .feature-card { background: rgba(var(--primary-rgb), 0.1); }
.feature-card__link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--primary-400);
    font-weight: 600;
    font-size: 0.9rem;
}
.feature-card__link:hover { color: var(--secondary-500); }
.feature-card__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.75rem; }
.feature-card__links .feature-card__link { margin-top: 0; }

/* Card banner image (feature-grid only — SectionItem::image) — sits
   edge-to-edge above the card's own padding. A distinct light "img card"
   skin rather than the dark translucent-orange card, matching the Figma
   game-showcase pattern (photo on top, cream panel with dark text below). */
.feature-card--media {
    padding: 0;
    overflow: hidden;
    /* background: var(--text-secondary); */
}
.feature-card--media:hover { border-color: transparent; }
.feature-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.feature-card--media h3,
.feature-card--media h4,
.feature-card--media p,
.feature-card--media .feature-card__icon { margin-left: 1.5rem; margin-right: 1.5rem; }
.feature-card--media h3 { margin-top: 1.25rem; color: #2a1c10; }
/* .feature-card--media p { color: #4a3220; } */
.feature-card--media p:last-child { margin-bottom: 1.5rem; }

.feature-card--media h4 { margin-top: 1.5rem; }

/* =============================================================
   Bullet card — rendered as a numbered step list (Figma's "steps"
   pattern), using a CSS counter rather than a real ordered list so the
   same label/text content still works unchanged for a plain FAQ-style
   bullet too.
   ============================================================= */
.bullet-card {
    list-style: none;
    counter-reset: step;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.bullet-card li {
    counter-increment: step;
    position: relative;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.4);
    padding: 1rem 1.25rem 1rem 3.4rem;
    color: var(--text-secondary);
    font-size: 0.96rem;
}
.bullet-card li::before {
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary-400) 0%, var(--primary-600) 100%);
    color: #2a1c10;
    font-size: 0.8rem;
    font-weight: 700;
}
.bullet-card li strong { color: var(--text-primary); }

/* h4 variant (accordion-list bullets) - same look as the <strong> label
   above, but reset from a block-level heading to inline so "Label: text"
   still reads as one flowing line instead of a separate heading block. */
.bullet-card__label {
    display: inline;
    margin: 0;
    color: var(--text-primary);
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
}

/* =============================================================
   Table figure wrapper
   ============================================================= */
.table-figure { margin: 0; }
.table-figure__caption {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
}

/* =============================================================
   Data table (wide, many-column lookup tables). First column shrinks
   to fit its own content; remaining columns share the rest of the
   width and wrap their text. Scrolls horizontally as a fallback on
   narrow viewports once columns hit their minimum width.
   ============================================================= */
.data-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}
.data-table {
    display: grid;
    grid-template-columns: minmax(130px, max-content) repeat(calc(var(--cols) - 1), minmax(160px, 1fr));
}
.data-table__row { display: contents; }
.data-table__row:nth-child(even):not(.data-table__row--head) .data-table__cell { background: var(--bg-surface-2); }
.data-table__row:nth-child(odd):not(.data-table__row--head) .data-table__cell { background: var(--bg-surface); }
.data-table__row--head .data-table__cell {
    background: var(--bg-surface-2);
    color: var(--primary-400);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: sticky;
    top: 0;
}
.data-table__cell {
    padding: 0.85rem 1.1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
}
.data-table__cell:last-child { border-right: none; }
.data-table__row:last-child .data-table__cell { border-bottom: none; }
.data-table__cell--label { color: var(--text-primary); font-weight: 600; }

/* Admin-picked "featured" column (PageSection::highlighted_column) — the
   tinted column every comparison table in the Figma export uses to call
   out the site's own platform against everyone else's. */
.data-table__cell--highlight {
    background: rgba(var(--primary-rgb), 0.18) !important;
    color: var(--text-primary);
}
.data-table__row--head .data-table__cell--highlight { color: var(--primary-400); }

/* =============================================================
   FAQ accordion
   ============================================================= */
.faq-list {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
}
/* Flat list, no card/box — each question is just a row separated by a
   thin rule, edge-to-edge with the section's own container. */
.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}
.faq-item__question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 0;
    cursor: pointer;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question-text {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    transition: color 0.15s ease;
}
.faq-item:hover .faq-item__question-text { color: var(--secondary-400); }
/* Open question turns orange — the one item whose answer is showing reads
   as the "active" row against the rest of the plain-cream list. */
.faq-item[open] .faq-item__question-text { color: var(--primary-500); }

/* Circular "+" that rotates into an "×" when open, drawn with two
   pseudo-element bars rather than an SVG so no icon markup is needed. */
.faq-item__icon {
    position: relative;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 1px solid var(--primary-500);
    border-radius: 50%;
    transition: transform 0.2s ease;
}
.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--primary-500);
    transform: translate(-50%, -50%);
}
.faq-item__icon::before { width: 10px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 10px; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer { padding: 0 0 1.25rem; }
.faq-item__answer p { margin: 0; font-size: 0.95rem; }

/* =============================================================
   Accordion list (long per-item content — intro + optional bullets —
   collapsed by default past the first item, instead of a cramped grid)
   ============================================================= */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}
.accordion-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
}
.accordion-item__question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
}
.accordion-item__question::-webkit-details-marker { display: none; }
.accordion-item__question h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.02rem;
}
.accordion-item__icon { flex-shrink: 0; color: var(--primary-500); transition: transform 0.2s ease; }
.accordion-item[open] .accordion-item__icon { transform: rotate(180deg); }
.accordion-item__answer { padding: 0 1.4rem 1.4rem; }
.accordion-item__answer p { font-size: 0.95rem; }
.accordion-item__answer .bullet-card,
.accordion-item__answer .card-grid,
.accordion-item__answer .data-table-wrap { margin-top: 1rem; }
.accordion-item__answer .feature-card { padding: 1.25rem; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 0 0;
}

/* Brand/tagline/badges column + one column per FooterLinkGroup. */
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}
@media (max-width: 760px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand-col { grid-column: 1 / -1; }
}

.site-footer__brand-col { max-width: 320px; }
.site-footer__brand-col .brand { font-size: 1.3rem; }
.site-footer__brand-col .brand__logo { height: 40px; }
.site-footer__tagline {
    margin: 0.9rem 0 1.1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4em 0.75em;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.site-footer__col-heading {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.1rem;
}
.site-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.site-footer__col a { color: var(--text-secondary); font-size: 0.88rem; }
.site-footer__col a:hover { color: var(--secondary-400); }

.site-footer__notice {
    border-top: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
}
.site-footer__notice p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.site-footer__notice a { color: var(--text-secondary); text-decoration: underline; }
.site-footer__notice a:hover { color: var(--secondary-400); }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
    padding: 1.25rem 0;
}
.site-footer__bottom p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.site-footer__bottom a { color: var(--text-secondary); text-decoration: underline; }
.site-footer__bottom a:hover { color: var(--secondary-400); }

.scroll-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--primary-500);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.15s ease;
}
.scroll-to-top:hover { background: var(--primary-600); }
.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =============================================================
   Cookie / notification consent banner
   ============================================================= */
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 95;
    width: calc(100% - 2rem);
    max-width: 26rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 130%);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.cookie-consent.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.cookie-consent__panel {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.cookie-consent__title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}
.cookie-consent__text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}
.cookie-consent__actions { display: flex; gap: 0.75rem; }
.cookie-consent__actions .btn { flex: 1; }

/* =============================================================
   Foreground push-notification toast
   ============================================================= */
.fcm-toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 28rem;
    max-width: calc(100vw - 2rem);
}
.fcm-toast {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--primary-500);
    border-radius: var(--radius-md);
    padding: 0.85rem 2.1rem 0.85rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: fcm-toast-in 0.2s ease;
}
.fcm-toast__close {
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    border-radius: var(--radius-md);
}
.fcm-toast__close:hover {
    color: var(--text-primary);
    background: var(--bg-surface-2);
}

/* Legal pages (Privacy Policy, Terms and Conditions, etc.) — see
   legal-page.blade.php and LegalPage::parsedContent(), which splits the
   admin's single rich-text field into an intro + one entry per <h2> at
   render time, so each becomes its own rounded box below. */
.legal-page__header {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface) 65%, var(--bg-primary) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1.5rem;
}
.legal-page__header h1 { margin-bottom: 0.75rem; }
.legal-page__header p { max-width: 640px; margin-left: auto; margin-right: auto; }

.legal-page__updated {
    display: inline-flex;
    padding: 0.4em 0.9em;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 1.5rem;
}

.legal-page__section {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}
.legal-page__section:last-child { margin-bottom: 0; }
/* Scoped smaller than the sitewide section-heading h2 — that size reads
   right for a whole page section, but is too large for a heading nested
   one level down, inside a card of its own, the way these are. */
.legal-page__section h2 { font-size: 24px; margin-bottom: 0.75rem; }

/* The document's own closing "Contact Us"-style section, when it has one
   (see the str_contains() check in legal-page.blade.php) — a tinted
   gradient over the dark surface, not a solid fill, so body text stays
   readable regardless of the admin's theme color pick. */
.legal-page__section--contact {
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.18), rgba(var(--secondary-rgb), 0.05));
    border-color: var(--primary-500);
}
.fcm-toast__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.fcm-toast__image {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.fcm-toast__content {
    flex: 1;
    min-width: 0;
}
.fcm-toast__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}
.fcm-toast__icon {
    width: 1rem;
    height: 1rem;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
}
.fcm-toast__title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    margin: 0;
}
.fcm-toast__body {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: justify;
}
@keyframes fcm-toast-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
