/* ========================================================================
   Tactics Cricket Cup — Promo Site Styles
   Theme: Cool analytic blueprint. Tactic Navy + Amber Brief on Paper Slate.
   Typography: Manrope (headers), Inter (body), JetBrains Mono (all numerics).
   ======================================================================== */

:root {
    /* Brand palette — Tactics */
    --navy:           #0E2A47;   /* Tactic Navy */
    --navy-deep:      #081C32;
    --navy-soft:      #1A3A5C;
    --amber:          #F5A623;   /* Amber Brief */
    --amber-dark:     #D88C0A;
    --amber-soft:     #FFEFD0;
    --chalk:          #F4F6F8;   /* Chalk White */
    --paper:          #E8ECF0;   /* Paper Slate */
    --paper-deep:     #D8DFE7;
    --line:           #C8D2DE;
    --ink:            #0E2A47;
    --ink-soft:       #4A5A6F;
    --ink-mute:       #8290A4;

    /* Functional tokens */
    --bg-page:        var(--paper);
    --bg-card:        #FFFFFF;
    --bg-elev:        var(--chalk);
    --text-primary:   var(--navy);
    --text-secondary: var(--ink-soft);
    --text-tertiary:  var(--ink-mute);

    /* Radii */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-xl: 22px;

    /* Shadows — clinical, low-contrast */
    --shadow-card:   0 1px 2px rgba(14, 42, 71, 0.08), 0 4px 12px rgba(14, 42, 71, 0.06);
    --shadow-soft:   0 1px 2px rgba(14, 42, 71, 0.05);
    --shadow-amber:  0 6px 18px rgba(245, 166, 35, 0.30);

    /* Type */
    --f-display: 'Manrope', system-ui, -apple-system, sans-serif;
    --f-body:    'Inter', system-ui, -apple-system, sans-serif;
    --f-mono:    'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--f-body);
    color: var(--text-primary);
    background: var(--bg-page);
    margin: 0;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Background blueprint grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 42, 71, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 42, 71, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* ----- Typography utilities ----- */

.mono { font-family: var(--f-mono); font-feature-settings: 'tnum' on, 'ss01' on; letter-spacing: -0.01em; }
.f-display { font-family: var(--f-display); }
.f-body    { font-family: var(--f-body); }

.txt-amber  { color: var(--amber); }
.txt-amber-dark { color: var(--amber-dark); }
.txt-navy   { color: var(--navy); }
.txt-mute   { color: var(--ink-mute); }

.txt-italic-accent {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 600;
    color: var(--amber-dark);
}

.txt-underline-amber {
    background-image: linear-gradient(180deg, transparent 70%, rgba(245, 166, 35, 0.40) 70%);
    background-repeat: no-repeat;
    padding: 0 4px;
}

/* ----- Headings ----- */

h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 0.55em;
    color: var(--navy);
    letter-spacing: -0.015em;
}

h3 { font-weight: 700; }

.h-hero {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.h-section {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 0.4em;
}

.section-eyebrow {
    font-family: var(--f-mono);
    color: var(--amber-dark);
    font-size: 0.78rem;
    text-align: center;
    display: block;
    margin-bottom: 0.6em;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
}

.section-eyebrow::before {
    content: '// ';
    color: var(--amber);
}

/* ----- Layout ----- */

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

section { padding: 90px 0; position: relative; z-index: 1; }

@media (max-width: 768px) { section { padding: 60px 0; } }

/* ----- Header / Nav ----- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(244, 246, 248, 0.85);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
}

.nav-logo img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    box-shadow: var(--shadow-soft);
}

.nav-logo span {
    font-family: var(--f-display);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 0.93rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--amber-dark); }

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--navy);
    cursor: pointer;
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 16px;
        background: var(--bg-card);
        padding: 16px 22px;
        border-radius: var(--r-md);
        border: 1px solid var(--line);
        box-shadow: var(--shadow-card);
        gap: 14px;
    }
}

/* ----- Hero ----- */

.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 70px 0 100px;
    background:
        linear-gradient(180deg, rgba(244,246,248,0.65) 0%, rgba(232,236,240,0.92) 78%, var(--paper) 100%),
        url('images/hero_bg.webp') center 30% / cover no-repeat;
}

/* Blueprint cross-hair decoration */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 42, 71, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 42, 71, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--f-mono);
    color: var(--amber-dark);
    font-size: 0.82rem;
    background: var(--amber-soft);
    border: 1px solid rgba(245, 166, 35, 0.4);
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.6rem, 6.5vw, 4.6rem);
    line-height: 1.0;
    margin: 0 0 22px;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.hero h1 .line-1 { display: block; color: var(--navy); }

.hero h1 .line-2 {
    display: block;
    font-style: italic;
    font-weight: 700;
    color: var(--amber-dark);
}

.hero h1 .line-3 {
    display: block;
    color: var(--navy);
    position: relative;
}

.hero h1 .line-3 .accent {
    background-image: linear-gradient(180deg, transparent 60%, rgba(245, 166, 35, 0.35) 60%, rgba(245, 166, 35, 0.35) 92%, transparent 92%);
}

.hero p.lede {
    font-size: 1.13rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 0 28px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .hero p.lede { margin-left: auto; margin-right: auto; }
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 900px) { .hero-cta-row { justify-content: center; } }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 40px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 18px 14px;
    box-shadow: var(--shadow-soft);
}

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

.hero-stat { text-align: center; padding: 4px 6px; }
.hero-stat + .hero-stat { border-left: 1px dashed var(--line); }
@media (max-width: 540px) { .hero-stat + .hero-stat { border-left: 0; } }

.hero-stat .num {
    font-family: var(--f-mono);
    font-size: 1.7rem;
    color: var(--navy);
    line-height: 1;
    display: block;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-stat .lbl {
    font-family: var(--f-mono);
    font-size: 0.66rem;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 6px;
    display: block;
}

/* Hero artwork: phone screenshot in clinical frame */
.hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-art .blueprint-marks {
    position: absolute;
    inset: -10px;
    pointer-events: none;
}

.hero-art .blueprint-marks::before,
.hero-art .blueprint-marks::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border: 2px solid var(--amber);
    opacity: 0.65;
}
.hero-art .blueprint-marks::before {
    top: 0; left: 0;
    border-right: 0; border-bottom: 0;
}
.hero-art .blueprint-marks::after {
    bottom: 0; right: 0;
    border-left: 0; border-top: 0;
}

.hero-art .device-frame {
    width: 290px;
    max-width: 75vw;
}

/* ----- Buttons ----- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.005em;
}

.btn-primary {
    background: linear-gradient(180deg, var(--amber) 0%, var(--amber-dark) 100%);
    color: var(--navy-deep);
    box-shadow: var(--shadow-amber);
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.btn-secondary:hover { background: var(--navy); color: var(--chalk); }

.btn-block { width: 100%; }

/* ----- Features grid ----- */

.features {
    background: var(--bg-page);
    border-top: 1px solid var(--line);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 28px;
    height: 2px;
    background: var(--amber);
    transition: width 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--amber);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before { width: 60px; }

.feature-tag {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
    display: block;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid var(--line);
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-card h3 {
    font-family: var(--f-display);
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--navy);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    margin: 0;
    line-height: 1.6;
}

/* ----- Stats / numbers strip ----- */

.numbers {
    background: var(--navy);
    color: var(--chalk);
    padding: 60px 0;
    border-top: 1px solid var(--navy-deep);
    border-bottom: 1px solid var(--navy-deep);
}

.numbers .section-eyebrow {
    color: var(--amber);
}

.numbers .h-section { color: var(--chalk); }

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

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

.num-card {
    text-align: center;
    padding: 24px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-md);
    position: relative;
}

.num-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 32px; height: 2px;
    background: var(--amber);
}

.num-card .big {
    font-family: var(--f-mono);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--amber);
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
}

.num-card .lbl {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: var(--chalk);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 10px;
    display: block;
    opacity: 0.8;
}

/* ----- Tactical loop list ----- */

.loop {
    background: var(--bg-page);
}

.loop-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 44px;
}

@media (max-width: 960px) { .loop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .loop-grid { grid-template-columns: repeat(2, 1fr); } }

.loop-step {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 20px 16px;
    text-align: left;
    position: relative;
}

.loop-step .step-num {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: var(--amber-dark);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: block;
}

.loop-step h4 {
    font-family: var(--f-display);
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 6px;
    font-weight: 700;
}

.loop-step p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ----- Screenshot carousel (device frames) ----- */

.preview {
    background:
        linear-gradient(180deg, var(--bg-page) 0%, var(--paper-deep) 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.swiper-wrap {
    margin-top: 44px;
    padding: 12px 0 50px;
}

.device-frame {
    width: 230px;
    max-width: 70vw;
    aspect-ratio: 9 / 19.5;
    background: linear-gradient(160deg, #1a3a5c, var(--navy-deep));
    border-radius: 30px;
    padding: 8px;
    box-shadow:
        0 0 0 1.5px var(--navy-deep),
        0 0 0 3px rgba(245, 166, 35, 0.20),
        0 18px 36px rgba(14, 42, 71, 0.30),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    margin: 0 auto;
    position: relative;
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    border-radius: 999px;
    background: #04101e;
    z-index: 3;
}

.device-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.preview .swiper { padding: 16px 0 28px; }

.preview .swiper-pagination-bullet {
    background: var(--ink-mute);
    opacity: 0.5;
}

.preview .swiper-pagination-bullet-active {
    background: var(--amber);
    opacity: 1;
}

.preview .swiper-button-next,
.preview .swiper-button-prev {
    color: var(--amber-dark);
}

.slide-caption {
    text-align: center;
    margin-top: 16px;
    color: var(--text-secondary);
    font-family: var(--f-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.slide-caption .dim {
    color: var(--ink-mute);
}

/* ----- Compliance band ----- */

.compliance {
    background: var(--chalk);
    padding: 50px 0;
    border-top: 1px solid var(--line);
}

.comp-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}

@media (max-width: 860px) { .comp-row { grid-template-columns: 1fr; } }

.comp-pill {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--amber);
    border-radius: 8px;
    padding: 18px 18px;
}

.comp-pill .ttl {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: var(--amber-dark);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
    display: block;
    font-weight: 600;
}

.comp-pill p {
    margin: 0;
    color: var(--navy);
    font-size: 0.93rem;
    line-height: 1.55;
}

/* ----- CTA section ----- */

.cta {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(14,42,71,0.92), rgba(8,28,50,0.96)),
        url('images/cta_bg.webp') center / cover no-repeat;
    text-align: center;
    padding: 100px 0;
    color: var(--chalk);
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; }

.cta .section-eyebrow { color: var(--amber); }

.cta h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 18px;
    color: var(--chalk);
}

.cta p {
    color: rgba(244, 246, 248, 0.80);
    max-width: 580px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
}

.store-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--chalk);
    color: var(--navy);
    padding: 14px 22px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.15s, box-shadow 0.2s;
    min-width: 210px;
}

.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-amber); }

.store-btn .small { font-family: var(--f-mono); font-size: 0.66rem; color: var(--ink-mute); display: block; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; }
.store-btn .big   { font-size: 1.05rem; line-height: 1.2; margin-top: 3px; display: block; font-family: var(--f-display); font-weight: 700; }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--navy); }

/* ----- Footer ----- */

.site-footer {
    background: var(--navy-deep);
    border-top: 2px solid var(--amber);
    padding: 50px 0 30px;
    color: rgba(244, 246, 248, 0.62);
    font-family: var(--f-body);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .b-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .b-row img { width: 38px; height: 38px; border-radius: 9px; }
.footer-brand .b-row span { color: var(--chalk); font-family: var(--f-display); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }

.footer-tagline {
    margin: 0;
    color: rgba(244, 246, 248, 0.65);
    max-width: 360px;
    line-height: 1.55;
}

.footer-col h4 {
    font-family: var(--f-mono);
    color: var(--amber);
    font-size: 0.75rem;
    margin: 0 0 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(244, 246, 248, 0.70); text-decoration: none; }
.footer-col a:hover { color: var(--amber); }

.footer-compliance {
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.10);
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 22px;
    color: rgba(244, 246, 248, 0.70);
    font-size: 0.85rem;
    line-height: 1.55;
}

.footer-compliance p { margin: 0 0 8px; }
.footer-compliance p:last-child { margin: 0; }
.footer-compliance strong { color: var(--amber); font-family: var(--f-mono); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    text-align: center;
    color: rgba(244, 246, 248, 0.52);
    font-size: 0.85rem;
    font-family: var(--f-mono);
}

/* ----- Content pages (privacy / terms / contact) ----- */

.page-hero {
    padding: 70px 0 40px;
    background:
        linear-gradient(180deg, var(--bg-page) 0%, var(--paper-deep) 100%);
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 12px;
}

.page-hero .meta {
    color: var(--ink-mute);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-family: var(--f-mono);
}

.content-area { padding: 60px 0 90px; background: var(--bg-page); }

.content-card {
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 42px 38px;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 600px) { .content-card { padding: 28px 22px; } }

.content-card h2 {
    font-family: var(--f-display);
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 36px 0 14px;
    line-height: 1.3;
    border-left: 3px solid var(--amber);
    padding-left: 12px;
}

.content-card h2:first-child { margin-top: 0; }

.content-card h3 {
    font-family: var(--f-display);
    color: var(--navy);
    font-size: 1.05rem;
    margin: 22px 0 10px;
    font-weight: 700;
}

.content-card p {
    color: var(--text-secondary);
    margin: 0 0 14px;
    text-align: left;
    line-height: 1.65;
}

.content-card ul, .content-card ol { color: var(--text-secondary); padding-left: 22px; margin: 0 0 14px; }
.content-card li { margin-bottom: 6px; line-height: 1.55; }

.content-card a {
    color: var(--amber-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content-card a:hover { color: var(--navy); }

.content-card strong { color: var(--navy); }

/* ----- Contact form ----- */

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.contact-form label {
    display: block;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-family: var(--f-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="file"],
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--chalk);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    font-family: var(--f-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.20);
}

.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--ink-mute); }

.field-row { display: flex; flex-direction: column; }

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
}

@media (max-width: 600px) { .contact-info { grid-template-columns: 1fr; } }

.contact-info-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--amber);
    border-radius: 8px;
    padding: 16px 18px;
}

.contact-info-card h4 {
    font-family: var(--f-mono);
    color: var(--amber-dark);
    font-size: 0.78rem;
    margin: 0 0 6px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
}

.contact-info-card p { margin: 0; font-size: 0.95rem; color: var(--navy); }

/* ----- Privacy acceptance bar (Flutter integration) ----- */

.privacy-accept-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 24px 24px;
    background: linear-gradient(180deg, rgba(232,236,240,0) 0%, rgba(232,236,240,0.97) 40%, var(--paper) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-accept-btn.hidden { display: none; }

.accept-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 420px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, var(--amber) 0%, var(--amber-dark) 100%);
    color: var(--navy-deep);
    font-family: var(--f-body);
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: 0.005em;
    box-shadow: var(--shadow-amber), 0 6px 16px rgba(14, 42, 71, 0.22);
    transition: transform 0.15s ease, filter 0.2s ease;
    line-height: 1;
}

.accept-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.accept-btn:active { transform: translateY(0); }
