/* ---------------------------------------------------------------
 * 4UGO — site.css
 * Marketing site (multipage). Tracking app and brand pages.
 * ------------------------------------------------------------- */

:root {
    --bg:           #FAFAF8;
    --bg-alt:       #F4F2EE;
    --bg-dark:      #0F0E0C;
    --surface:      #FFFFFF;
    --surface-alt:  #F8F7F4;
    --border:       #E8E5DF;
    --border-soft:  #EFEDE8;
    --text:         #0F0E0C;
    --text-muted:   #5C5A55;
    --text-subtle:  #8E8A82;
    --accent:       #FF5B3F;
    --accent-soft:  #FFE9E3;
    --accent-deep:  #D9412A;
    --dog:          #FF5B3F;
    --cat:          #4F46E5;
    --cat-soft:     #E0E7FF;
    --cat-deep:     #3730A3;
    --ink-dark:     #1A1815;
    --header-bg:    rgba(250, 250, 248, 0.92);
    --topbar-bg:    linear-gradient(90deg, #1A1815, #2A2520);
    --topbar-fg:    rgba(255,255,255,0.92);
    --shadow-sm:    0 1px 3px rgba(15,14,12,0.06), 0 1px 2px rgba(15,14,12,0.04);
    --shadow-md:    0 6px 14px rgba(15,14,12,0.08);
    --shadow-lg:    0 24px 48px rgba(15,14,12,0.12);
    --radius-sm:    8px;
    --radius-md:    12px;
    --radius-lg:    20px;
    --radius-xl:    28px;
    color-scheme: light;
}

/* — Dark theme — */
:root[data-theme="dark"] {
    --bg:           #0F0E0C;
    --bg-alt:       #161513;
    --bg-dark:      #000000;
    --surface:      #1B1916;
    --surface-alt:  #25221E;
    --border:       #34302A;
    --border-soft:  #2A2722;
    --text:         #F5F2ED;
    --text-muted:   #B5B0A8;
    --text-subtle:  #7E7A72;
    --accent:       #FF7359;
    --accent-soft:  #3A1A12;
    --accent-deep:  #FF8A73;
    --dog:          #FF7359;
    --cat:          #8B82F5;
    --cat-soft:     #1F1B4A;
    --cat-deep:     #A39CFF;
    --ink-dark:     #050504;
    --header-bg:    rgba(15, 14, 12, 0.92);
    --topbar-bg:    linear-gradient(90deg, #050504, #161513);
    --topbar-fg:    rgba(245, 242, 237, 0.85);
    --shadow-sm:    0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md:    0 6px 14px rgba(0,0,0,0.45);
    --shadow-lg:    0 24px 48px rgba(0,0,0,0.65);
    color-scheme: dark;
}

/* Auto follow system if no explicit preference (data-theme="auto") */
@media (prefers-color-scheme: dark) {
    :root[data-theme="auto"] {
        --bg:           #0F0E0C;
        --bg-alt:       #161513;
        --bg-dark:      #000000;
        --surface:      #1B1916;
        --surface-alt:  #25221E;
        --border:       #34302A;
        --border-soft:  #2A2722;
        --text:         #F5F2ED;
        --text-muted:   #B5B0A8;
        --text-subtle:  #7E7A72;
        --accent:       #FF7359;
        --accent-soft:  #3A1A12;
        --accent-deep:  #FF8A73;
        --dog:          #FF7359;
        --cat:          #8B82F5;
        --cat-soft:     #1F1B4A;
        --cat-deep:     #A39CFF;
        --ink-dark:     #050504;
        --header-bg:    rgba(15, 14, 12, 0.92);
        --topbar-bg:    linear-gradient(90deg, #050504, #161513);
        --topbar-fg:    rgba(245, 242, 237, 0.85);
        --shadow-sm:    0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
        --shadow-md:    0 6px 14px rgba(0,0,0,0.45);
        --shadow-lg:    0 24px 48px rgba(0,0,0,0.65);
        color-scheme: dark;
    }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image: url('/img/pattern-light.svg');
    background-repeat: repeat;
    background-size: 280px 280px;
    background-attachment: fixed;
}
:root[data-theme="dark"] body {
    background-image: url('/img/pattern-dark.svg');
}
@media (prefers-color-scheme: dark) {
    :root[data-theme="auto"] body {
        background-image: url('/img/pattern-dark.svg');
    }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* — Top bar — */
.topbar {
    background: var(--topbar-bg);
    color: var(--topbar-fg);
    font-size: 13px; letter-spacing: 0.2px;
    padding: 10px 0; text-align: center;
}
.topbar a { color: var(--accent); font-weight: 700; border-bottom: 1px dashed rgba(255,91,63,0.5); }
.topbar a:hover { border-bottom-style: solid; }
.topbar strong { color: #fff; font-weight: 800; }
.topbar .pill {
    display: inline-block; background: var(--accent); color: #fff;
    padding: 2px 8px; border-radius: 999px; margin-right: 8px;
    font-size: 11px; font-weight: 800; letter-spacing: 1px;
}
.topbar .topbar-full { display: inline; }
.topbar .topbar-short { display: none; }
@media (max-width: 720px) {
    .topbar { font-size: 12px; padding: 8px 0; }
    .topbar .topbar-full { display: none; }
    .topbar .topbar-short { display: inline; }
    .topbar .pill { font-size: 10px; padding: 1px 7px; margin-right: 6px; }
}

/* — Header — */
header.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--header-bg);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; gap: 24px;
    position: relative; /* containing block for mega-panel */
}
.nav-left { display: none; }
.desktop-only { display: inline-flex; }
.mobile-only { display: none; }
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 900; letter-spacing: -1px; font-size: 22px;
    line-height: 1;
}
.brand-logo {
    display: block; height: 44px; width: auto;
}
.brand-logo.lg { height: 56px; }
.brand-logo.sm { height: 32px; }
@media (max-width: 720px) {
    .brand-logo { height: 36px; }
}
.brand-logo.invert { filter: invert(1) brightness(2); }

/* Theme-aware logo swap */
.brand-logo.dark-only { display: none; }
:root[data-theme="dark"] .brand-logo.light-only { display: none; }
:root[data-theme="dark"] .brand-logo.dark-only  { display: block; }
@media (prefers-color-scheme: dark) {
    :root[data-theme="auto"] .brand-logo.light-only { display: none; }
    :root[data-theme="auto"] .brand-logo.dark-only  { display: block; }
}

/* Mobile menu close button */
.nav-close {
    width: 44px; height: 44px;
    border: 0; background: var(--surface-alt);
    border-radius: var(--radius-md);
    color: var(--text);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.nav-links-desktop {
    display: flex; gap: 26px; font-size: 14px; font-weight: 500;
    color: var(--text-muted); align-items: center;
}
.nav-links-desktop > a,
.nav-links-desktop .mega-trigger {
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    color: inherit;
    background: none; border: 0; border-bottom: 2px solid transparent;
    font: inherit; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px;
}
.nav-links-desktop > a:hover,
.nav-links-desktop .mega-trigger:hover { color: var(--text); }
.nav-links-desktop > a.active,
.nav-links-desktop .mega-trigger.active { color: var(--text); border-bottom-color: var(--accent); }

.mega-trigger svg { transition: transform 0.2s ease; }
.mega-trigger.is-open svg { transform: rotate(90deg); }

/* Mega overlay sits as <body> sibling of <header>: position fixed,
   escapes the backdrop-filter containing block. */
.mega-overlay {
    position: fixed;
    top: var(--mega-top, 80px);
    left: 0; right: 0;
    z-index: 90;
    padding: 0 24px;
    opacity: 0; pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.2s ease;
    display: flex; justify-content: center;
}
.mega-overlay[aria-hidden="false"] {
    opacity: 1; pointer-events: auto; transform: translateY(0);
}
.mega-overlay .mega-grid {
    width: 100%; max-width: 1180px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

@media (max-width: 920px) {
    .mega-overlay { display: none !important; }
}
.mega-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 12px; padding: 24px;
    max-width: none;
}
.mega-card {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px; border-radius: var(--radius-lg);
    border: 1px solid transparent;
    color: var(--text);
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.mega-card:hover {
    background: var(--surface-alt);
    border-color: var(--border);
    transform: translateY(-2px);
}
.mega-icon {
    width: 40px; height: 40px; border-radius: var(--radius-md);
    background: var(--surface-alt);
    color: var(--accent-deep);
    display: grid; place-items: center;
    margin-bottom: 4px;
}
.mega-icon.dog { color: var(--dog); }
.mega-icon.cat { color: var(--cat-deep); }
.mega-card h4 { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; margin: 0; }
.mega-card p  { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.45; }
@media (max-width: 1100px) {
    .mega-grid { grid-template-columns: repeat(3, 1fr); }
}

.nav-actions { display: flex; gap: 8px; align-items: center; }

/* Theme toggle */
.theme-toggle {
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text);
    transition: background 0.15s ease, transform 0.2s ease;
}
.theme-toggle:hover { transform: translateY(-1px); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root[data-theme="auto"] .theme-toggle .icon-sun  { display: block; }
    :root[data-theme="auto"] .theme-toggle .icon-moon { display: none; }
}

.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 18px; border-radius: 999px;
    font-size: 14px; font-weight: 600; letter-spacing: -0.1px;
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
    cursor: pointer; border: 0;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-accent { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .btn-accent { color: #1a0a06; }
@media (prefers-color-scheme: dark) {
    :root[data-theme="auto"] .btn-accent { color: #1a0a06; }
}
.btn-cat { background: var(--cat); color: #fff; }
.btn-ghost { color: var(--text); }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* Mobile nav */
.nav-toggle {
    display: none; background: none; border: 0;
    width: 40px; height: 40px; border-radius: 10px;
    align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span {
    display: block; width: 18px; height: 2px;
    background: var(--text); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 0; width: 18px; height: 2px;
    background: var(--text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Mobile menu — fullpage overlay (sibling of header, NOT inside backdrop-filter container) */
.mobile-menu {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 200;
    overflow-y: auto;
    opacity: 0; pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.open {
    opacity: 1; pointer-events: auto; transform: translateY(0);
}
.mobile-menu-inner {
    max-width: 1180px; margin: 0 auto;
    padding: 0 24px 40px;
    min-height: 100%;
    display: flex; flex-direction: column;
}
.mobile-menu-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
    position: sticky; top: 0; background: var(--bg);
}
.mobile-menu-top .brand-logo { height: 44px; }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu-links a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 4px;
    font-size: 19px; font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text);
    border-bottom: 1px solid var(--border-soft);
}
.mobile-menu-links a svg { color: var(--text-subtle); }
.mobile-menu-links a.active { color: var(--accent-deep); }
.mobile-menu-links a.active svg { color: var(--accent); }
.mobile-menu-cta {
    display: flex; flex-direction: column; gap: 12px;
    margin-top: auto; padding-top: 32px;
}
.mobile-menu-cta .btn {
    width: 100%; justify-content: center;
    padding: 14px; font-size: 15px;
}

@media (max-width: 920px) {
    .desktop-only { display: none !important; }
    .mobile-only  { display: inline-flex !important; }
    .nav-links-desktop { display: none; }
    .nav-toggle { display: inline-flex; }
    /* Centered logo: 3-col grid on mobile */
    .nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 8px;
    }
    .nav-left { display: flex; justify-content: flex-start; }
    .nav-actions { justify-content: flex-end; }
    .brand { justify-self: center; }
    .brand-logo { height: 44px; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) {
    .brand-logo { height: 40px; }
    .mobile-menu-top .brand-logo { height: 40px; }
}

/* — Breadcrumb — */
.breadcrumb {
    font-size: 13px; color: var(--text-subtle);
    padding: 20px 0 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span.sep { margin: 0 8px; opacity: 0.5; }

/* — Photos / Imagery — */
.hero-grid {
    display: grid; grid-template-columns: 1.15fr 1fr;
    gap: 56px; align-items: center;
}
.hero-photo {
    width: 100%;
    height: clamp(380px, 62vh, 620px);
    object-fit: cover; object-position: center;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    background: var(--surface-alt);
}
.hero-photo.tall { height: clamp(420px, 70vh, 720px); }
@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-photo { height: clamp(280px, 48vh, 420px); }
}

.photo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
}
.photo-strip img {
    width: 100%; aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-md);
}
@media (max-width: 920px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }

.photo-card {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.split-photo {
    width: 100%; aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

/* — Hero — */
.hero {
    padding: 80px 0 64px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute; right: -180px; top: -180px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
    z-index: -1;
}
.hero.cat::after {
    background: radial-gradient(circle, var(--cat-soft) 0%, transparent 70%);
}
.hero-eyebrow {
    display: inline-block;
    background: var(--accent-soft); color: var(--accent-deep);
    padding: 6px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.5px; margin-bottom: 24px;
}
.hero.cat .hero-eyebrow {
    background: var(--cat-soft); color: var(--cat-deep);
}
.hero h1 {
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 900; line-height: 1.05;
    letter-spacing: -2.2px;
    margin: 0 0 24px;
    max-width: 20ch;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--accent), var(--accent-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero.cat h1 em {
    background: linear-gradient(120deg, var(--cat), var(--cat-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    font-size: 18px; color: var(--text-muted);
    max-width: 56ch; margin: 0 0 40px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* — Stats strip — */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; padding: 32px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
}
.stat-num {
    font-size: 28px; font-weight: 900; letter-spacing: -1px;
}
.stat-label {
    font-size: 12px; color: var(--text-subtle);
    text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700;
    margin-top: 4px;
}
@media (max-width: 720px) {
    .stats { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 16px; }
}

/* — Section — */
section.section { padding: 80px 0; }
section.section-tight { padding: 56px 0; }
section.section-alt { background: var(--bg-alt); }
section.section-dark { background: var(--bg-dark); color: rgba(250,250,248,0.85); }
section.section-dark .section-title { color: #fff; }
section.section-dark .section-lead { color: rgba(250,250,248,0.7); }

.section-eyebrow {
    font-size: 12px; color: var(--accent-deep);
    text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;
    margin-bottom: 12px;
}
.section-eyebrow.cat { color: var(--cat-deep); }
.section-title {
    font-size: clamp(28px, 4vw, 44px); font-weight: 900;
    line-height: 1.1; letter-spacing: -1.2px; margin: 0 0 16px;
    max-width: 22ch;
}
.section-lead {
    font-size: 17px; color: var(--text-muted);
    max-width: 60ch; margin: 0 0 48px;
}

/* — Feature grid — */
.feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 44px; height: 44px; border-radius: var(--radius-md);
    background: var(--surface-alt); color: var(--accent-deep);
    display: grid; place-items: center;
    margin-bottom: 16px;
}
.feature-icon.cat { color: var(--cat-deep); }
.feature-icon.ink { background: var(--ink-dark); color: #fff; }
.feature-icon svg { display: block; }
.icon-inline { display: inline-flex; align-items: center; vertical-align: -3px; }
.feature h3 {
    font-size: 18px; font-weight: 800; margin: 0 0 8px;
    letter-spacing: -0.4px;
}
.feature p {
    font-size: 14px; color: var(--text-muted); margin: 0;
}
@media (max-width: 920px) {
    .feature-grid, .feature-grid.cols-2 { grid-template-columns: 1fr; }
}

/* — Brand split (Kateldog/Katelcat) — */
.brand-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.brand-split-card {
    border-radius: var(--radius-xl); padding: 40px;
    color: #fff; position: relative; overflow: hidden;
    min-height: 320px;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-split-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.brand-split-card.dog { background: linear-gradient(135deg, #1A1815 0%, #2A2520 100%); }
.brand-split-card.dog::before {
    content: ''; position: absolute; right: -120px; bottom: -120px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.45;
}
.brand-split-card.cat { background: linear-gradient(135deg, #1E1B3F 0%, #2D2855 100%); }
.brand-split-card.cat::before {
    content: ''; position: absolute; right: -120px; bottom: -120px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, var(--cat) 0%, transparent 70%);
    opacity: 0.55;
}
.brand-split-card .badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.1); padding: 6px 12px;
    border-radius: 999px; font-size: 11px; font-weight: 700;
    letter-spacing: 1px;
}
.brand-split-card h3 {
    font-size: 36px; font-weight: 900; letter-spacing: -1.5px;
    margin: 16px 0 8px; line-height: 1.05; position: relative;
}
.brand-split-card p {
    color: rgba(255,255,255,0.78); font-size: 15px;
    margin: 0 0 20px; position: relative;
}
.brand-split-card .arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; font-size: 14px; position: relative;
}
@media (max-width: 820px) {
    .brand-split { grid-template-columns: 1fr; }
}

/* — Two col split layout — */
.split-2col {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
    align-items: center;
}
.split-2col.reverse > div:first-child { order: 2; }
@media (max-width: 920px) {
    .split-2col { grid-template-columns: 1fr; gap: 32px; }
    .split-2col.reverse > div:first-child { order: 0; }
}
.split-visual {
    background: var(--ink-dark); color: var(--bg);
    border-radius: var(--radius-xl); padding: 40px;
    position: relative; overflow: hidden;
    min-height: 320px;
}
.split-visual.cat { background: linear-gradient(135deg, var(--cat-deep) 0%, var(--cat) 100%); }

/* — Steps (legacy grid) — */
.steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.step {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px; position: relative;
}
.step-num {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: grid; place-items: center;
    font-weight: 800; font-size: 14px; margin-bottom: 12px;
}
.step.cat .step-num { background: var(--cat); }
.step h4 { font-size: 15px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.2px; }
.step p { font-size: 13px; color: var(--text-muted); margin: 0; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* — Timeline (alternated cards along a horizontal line) — */
.timeline {
    --tl-color: var(--accent);
    --tl-dot: 52px;
    margin: 8px 0 0;
}
.timeline-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.timeline-track::before {
    content: '';
    position: absolute; left: 6%; right: 6%; top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--tl-color) 12%, var(--tl-color) 88%, transparent 100%);
    z-index: 0;
}
.timeline-step {
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    text-align: center;
    min-height: 360px;
    position: relative; z-index: 1;
    gap: 14px;
}
.timeline-step .dot {
    width: var(--tl-dot); height: var(--tl-dot); border-radius: 50%;
    background: var(--tl-color); color: #fff;
    display: grid; place-items: center;
    font-weight: 800; font-size: 18px; letter-spacing: -0.5px;
    margin: 0 auto;
    box-shadow: 0 0 0 6px var(--bg), 0 6px 18px color-mix(in srgb, var(--tl-color) 40%, transparent);
    position: relative;
}
.timeline-step .dot::after {
    content: '';
    position: absolute; left: 50%; top: 50%;
    width: calc(var(--tl-dot) + 18px); height: calc(var(--tl-dot) + 18px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed color-mix(in srgb, var(--tl-color) 40%, transparent);
    pointer-events: none;
}
.timeline-step .card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 18px 18px 16px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    position: relative;
}
.timeline-step .card::before {
    content: ''; position: absolute; left: 50%;
    width: 0; height: 0; border: 8px solid transparent;
    transform: translateX(-50%);
}
.timeline-step:nth-child(odd) .card {
    grid-row: 1; align-self: end;
}
.timeline-step:nth-child(odd) .card::before {
    bottom: -16px; border-top-color: var(--surface);
}
.timeline-step:nth-child(odd) .dot { grid-row: 2; }
.timeline-step:nth-child(even) .dot { grid-row: 2; }
.timeline-step:nth-child(even) .card {
    grid-row: 3; align-self: start;
}
.timeline-step:nth-child(even) .card::before {
    top: -16px; border-bottom-color: var(--surface);
}
.timeline-step .card h4 { font-size: 16px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.2px; }
.timeline-step .card p { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }

.timeline.cat { --tl-color: var(--cat); }

@media (max-width: 820px) {
    .timeline-track {
        grid-template-columns: 1fr;
        gap: 0; padding-left: 8px;
    }
    .timeline-track::before {
        left: 28px; right: auto; top: 0; bottom: 0;
        width: 2px; height: auto;
        background: linear-gradient(180deg, transparent 0%, var(--tl-color) 8%, var(--tl-color) 92%, transparent 100%);
    }
    .timeline-step {
        grid-template-rows: auto;
        grid-template-columns: 56px 1fr;
        text-align: left; min-height: 0;
        padding: 12px 0; gap: 12px;
        align-items: start;
    }
    .timeline-step:nth-child(odd) .card,
    .timeline-step:nth-child(even) .card {
        grid-row: 1; grid-column: 2;
        align-self: stretch;
    }
    .timeline-step:nth-child(odd) .card::before,
    .timeline-step:nth-child(even) .card::before {
        left: -8px; top: 22px;
        border: 8px solid transparent;
        border-right-color: var(--surface);
        transform: none;
    }
    .timeline-step .dot { grid-row: 1; grid-column: 1; --tl-dot: 44px; font-size: 16px; }
    .timeline-step .dot::after { display: none; }
}

/* — FAQ — */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-md); overflow: hidden;
}
.faq-item summary {
    cursor: pointer; padding: 20px 24px;
    font-weight: 700; font-size: 16px; letter-spacing: -0.2px;
    list-style: none; display: flex; justify-content: space-between; gap: 16px;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 22px; font-weight: 400;
    color: var(--text-subtle); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent-deep); }
.faq-item .answer {
    padding: 0 24px 20px; color: var(--text-muted); font-size: 15px;
}
.faq-item .answer p { margin: 0 0 10px; }
.faq-item .answer p:last-child { margin: 0; }

.faq-toc {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.faq-toc a {
    background: var(--surface); border: 1px solid var(--border);
    padding: 8px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.faq-toc a:hover { color: var(--text); border-color: var(--text); }
.faq-group h3 {
    font-size: 22px; font-weight: 900; margin: 40px 0 16px;
    letter-spacing: -0.4px;
}

/* — CTA — */
.cta {
    background: #1A1815; color: #FAFAF8;
    border-radius: var(--radius-xl); padding: 64px;
    text-align: center; margin: 64px 0;
    position: relative; overflow: hidden;
}
:root[data-theme="dark"] .cta { background: #050504; }
@media (prefers-color-scheme: dark) {
    :root[data-theme="auto"] .cta { background: #050504; }
}
.cta.cat { background: linear-gradient(135deg, var(--cat-deep), var(--cat)); }
.cta::before {
    content: ''; position: absolute; left: -100px; top: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,91,63,0.4) 0%, transparent 70%);
}
.cta.cat::before { background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%); }
.cta h2 {
    font-size: clamp(28px, 4vw, 44px); font-weight: 900;
    letter-spacing: -1.2px; margin: 0 0 16px; position: relative;
}
.cta p {
    color: rgba(250,250,248,0.7); margin: 0 0 32px;
    font-size: 17px; position: relative;
}
.cta .btn { position: relative; }
@media (max-width: 720px) {
    .cta { padding: 40px 24px; margin: 40px 0; }
}

/* — Share / Network CTA — */
.share-banner {
    border-radius: var(--radius-xl);
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
    align-items: center;
}
.share-banner h3 {
    font-size: clamp(22px, 3vw, 30px); font-weight: 900;
    letter-spacing: -0.6px; margin: 0 0 10px; line-height: 1.15;
}
.share-banner p { color: var(--text-muted); margin: 0; font-size: 15px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.share-buttons .btn { padding: 12px 18px; }
.share-buttons .btn svg { margin-right: 4px; }
.share-fb { background: #1877F2; color: #fff; }
.share-wa { background: #25D366; color: #fff; }
.share-x  { background: #0F0E0C; color: #fff; }
.share-copy { background: var(--surface-alt); color: var(--text); border: 1px solid var(--border); }
.share-copy.copied { background: var(--accent-soft); color: var(--accent-deep); border-color: var(--accent); }
@media (max-width: 820px) {
    .share-banner { grid-template-columns: 1fr; padding: 28px 24px; }
}

/* — Alert / Allerter callout — */
.alert-callout {
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--ink-dark) 0%, #2A2520 100%);
    color: rgba(255,255,255,0.92);
    padding: 40px; position: relative; overflow: hidden;
    display: grid; grid-template-columns: 64px 1fr; gap: 24px;
    align-items: center;
}
.alert-callout::before {
    content: '';
    position: absolute; right: -120px; top: -120px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.45;
}
.alert-callout .icon-wrap {
    width: 64px; height: 64px;
    background: rgba(255,91,63,0.2); color: var(--accent);
    border-radius: 50%;
    display: grid; place-items: center;
    position: relative; z-index: 1;
}
.alert-callout h3 { font-size: 22px; font-weight: 900; letter-spacing: -0.4px; margin: 0 0 6px; color: #fff; position: relative; z-index: 1; }
.alert-callout p { margin: 0; color: rgba(255,255,255,0.78); position: relative; z-index: 1; }
@media (max-width: 720px) {
    .alert-callout { padding: 28px 24px; grid-template-columns: 1fr; text-align: center; }
    .alert-callout .icon-wrap { margin: 0 auto; }
}

/* — Trust strip — */
.trust-strip {
    display: flex; flex-wrap: wrap; gap: 20px 36px;
    align-items: center; justify-content: center;
    padding: 32px 0; opacity: 0.7;
}
.trust-strip span {
    font-size: 13px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: var(--text-subtle);
}

/* — Pricing / plan-style cards — */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
}
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.plan h4 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 8px; }
.plan .price { font-size: 32px; font-weight: 900; letter-spacing: -1px; margin: 0 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; }
.plan li { padding: 6px 0; font-size: 14px; color: var(--text-muted); }
.plan li::before { content: '✓ '; color: var(--accent); font-weight: 800; }
@media (max-width: 820px) { .plan-grid { grid-template-columns: 1fr; } }

/* — Article (privacy/termini) — */
.article { padding: 48px 0 80px; }
.article h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 900; letter-spacing: -1.4px; margin: 0 0 8px; }
.article .muted { color: var(--text-subtle); font-size: 13px; margin-bottom: 32px; }
.article h2 { font-size: 22px; font-weight: 800; margin: 36px 0 12px; letter-spacing: -0.4px; }
.article h3 { font-size: 17px; font-weight: 800; margin: 24px 0 8px; }
.article p, .article li { font-size: 15px; color: var(--text); }
.article ul, .article ol { padding-left: 22px; }
.article a { color: var(--accent-deep); border-bottom: 1px solid var(--accent-soft); }

/* — Check list — */
.check-list { list-style: none; padding: 0; margin: 0; color: var(--text-muted); font-size: 15px; }
.check-list li {
    padding: 6px 0; display: flex; align-items: flex-start; gap: 10px;
}
.check-list li svg { flex: 0 0 auto; color: var(--accent); margin-top: 4px; }
.check-list.cat li svg { color: var(--cat); }

/* — Form — */
.form { display: flex; flex-direction: column; gap: 16px; max-width: 540px; }
.form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form input, .form textarea {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--surface); font-family: inherit; font-size: 15px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }

/* — Footer — */
footer.site-footer {
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
    color: var(--text-subtle); font-size: 13px;
    background: var(--surface-alt);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px;
    margin-bottom: 32px;
}
.footer-grid h5 {
    font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px;
    color: var(--text-subtle); font-weight: 800;
    margin: 0 0 12px;
}
.footer-grid a { display: block; color: var(--text-muted); padding: 4px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 920px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* — Utilities — */
.muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
