/*
 * EuroTalks Design System
 * Fixed cinematic dark theme with steel-blue surfaces and warm amber actions.
 */

:root {
    color-scheme: dark;

    --background: #15171c;
    --background-deep: #0f1115;
    --background-soft: #1b1f27;
    --surface: #252b35;
    --surface-raised: #303846;
    --surface-light: #577086;
    --surface-light-strong: #577188;

    --foreground: #f4f2ed;
    --foreground-soft: #8694a6;
    --muted-foreground: #79899b;
    --ink: #15171c;
    --ink-soft: #303743;

    --primary: #f5ad2f;
    --primary-hover: #ffc04e;
    --primary-foreground: #17130b;
    --secondary: #5f7489;
    --secondary-hover: #70879e;
    --secondary-foreground: #ffffff;
    --accent: #f5ad2f;
    --accent-foreground: #17130b;
    --destructive: #b23a48;
    --destructive-foreground: #ffffff;

    --border: #536273;
    --border-subtle: #323a47;
    --focus: #ffc75f;
    --success: #7fc59a;
    --warning: #f5ad2f;

    --font-display: "Manrope", sans-serif;
    --font-body: "Inter", sans-serif;

    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-lg: clamp(1.2rem, calc(0.55vw + 1.08rem), 1.45rem);
    --text-xl: clamp(1.45rem, calc(1vw + 1.15rem), 2rem);
    --text-2xl: clamp(1.85rem, calc(1.7vw + 1.35rem), 3rem);
    --text-3xl: clamp(2.25rem, calc(3.1vw + 1.3rem), 4.75rem);

    --space-2xs: 0.35rem;
    --space-xs: 0.6rem;
    --space-sm: 0.9rem;
    --space-md: 1.25rem;
    --space-lg: 1.75rem;
    --space-xl: 2.5rem;
    --space-2xl: 3.5rem;
    --space-3xl: 5rem;
    --space-section: clamp(4rem, calc(5vw + 2.8rem), 7.5rem);

    --radius-sm: 0.55rem;
    --radius-md: 0.9rem;
    --radius-lg: 1.25rem;
    --radius-pill: 999px;

    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
    --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.38);
    --glow: 0 0 42px rgba(245, 173, 47, 0.12);

    --container: 76rem;
    --container-wide: 90rem;
    --header-height: 4.75rem;
    --transition: 180ms ease;
}

/* ============================================
   RESET & OVERFLOW PREVENTION - Predictable layout
   ============================================ */

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

html {
    min-width: 20rem;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    background: var(--background);
}

body {
    min-width: 20rem;
    margin: 0;
    overflow-x: clip;
    background:
        radial-gradient(circle at 18% 6%, rgba(78, 98, 122, 0.12), transparent 26rem),
        radial-gradient(circle at 85% 30%, rgba(65, 76, 96, 0.08), transparent 30rem),
        var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.68;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    font-style: italic;
}

button,
input,
textarea,
select {
    max-width: 100%;
    box-sizing: border-box;
    font: inherit;
}

button,
summary {
    -webkit-tap-highlight-color: transparent;
}

[class*="grid"] > *,
[class*="flex"] > *,
.card,
.info-card,
.feature-card,
.profile-card,
.media-panel > * {
    min-width: 0;
}

p,
li,
td,
th,
dd,
figcaption {
    overflow-wrap: break-word;
}

a {
    color: inherit;
}

a[href^="http"],
a[href^="mailto:"],
a[href^="tel:"] {
    overflow-wrap: anywhere;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    color: var(--foreground);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.18em;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]):hover {
    color: var(--primary-hover);
}

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

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

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

.table-wrapper {
    min-width: 0;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

section {
    overflow: clip;
}

details {
    height: fit-content;
}

::selection {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* ============================================
   ACCESSIBILITY - Focus, skip link and screen-reader text
   ============================================ */

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 800;
    transform: translateY(-150%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

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

/* ============================================
   TYPOGRAPHY - Large, direct and easy to scan for 45+
   ============================================ */

h1,
h2,
h3,
h4 {
    margin: 0 0 0.65em;
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.025em;
}

h1 {
    max-width: 18ch;
    font-size: var(--text-3xl);
}

h2 {
    font-size: var(--text-2xl);
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

p,
ul,
ol,
dl,
figure,
blockquote {
    margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

.lead {
    max-width: 62ch;
    color: var(--foreground-soft);
    font-size: var(--text-lg);
    line-height: 1.6;
}

.eyebrow {
    display: inline-block;
    margin-bottom: var(--space-sm);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.prose {
    max-width: 72ch;
}

.prose > * + * {
    margin-top: 1.15em;
}

.prose h2,
.prose h3 {
    margin-top: 1.7em;
}

.prose ul,
.prose ol {
    padding-left: 1.35em;
}

.prose li + li {
    margin-top: 0.55em;
}

/* ============================================
   LAYOUT - Shared containers, sections and flow
   ============================================ */

main {
    min-height: 60vh;
}

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

.container-wide {
    max-width: var(--container-wide);
}

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

.section--compact {
    padding-block: clamp(3rem, calc(3vw + 2rem), 5rem);
}

.section--deep {
    background: var(--background-deep);
}

.section--steel {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 48%),
        var(--background-soft);
}

.section--light {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 45%),
        var(--surface-light);
    color: var(--ink);
}

.section--light :is(h2, h3, h4, p, li) {
    color: var(--ink);
}

.section-heading {
    max-width: 66rem;
    margin: 0 auto clamp(2rem, calc(2vw + 1.5rem), 3.5rem);
}

.section-heading--center {
    text-align: center;
}

.section-heading--left {
    margin-left: 0;
    text-align: left;
}

.section-heading__intro {
    max-width: 65ch;
    margin-inline: auto;
    color: var(--muted-foreground);
    font-size: var(--text-lg);
}

.section-heading--left .section-heading__intro {
    margin-left: 0;
}

.section-heading .is-underlined::after {
    content: "";
    display: block;
    width: min(20rem, 70%);
    height: 0.2rem;
    margin: 0.65rem auto 0;
    border-radius: var(--radius-pill);
    background: var(--primary);
    box-shadow: var(--glow);
}

.section-heading--left .is-underlined::after {
    margin-left: 0;
}

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

/* ============================================
   HEADER & NAVIGATION - Opaque mobile drawer, calm desktop bar
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--background-deep);
}

.site-header__inner {
    display: flex;
    width: min(100% - 2rem, var(--container-wide));
    height: 100%;
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.site-brand {
    display: inline-flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    color: var(--foreground);
    text-decoration: none;
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, calc(1vw + 1.3rem), 2.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.nav-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    padding: 0.7rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--foreground);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.33rem;
}

.nav-toggle:hover {
    background: var(--surface);
}

.nav-toggle span {
    display: block;
    width: 1.7rem;
    height: 0.16rem;
    border-radius: var(--radius-pill);
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.49rem) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.49rem) rotate(-45deg);
}

.primary-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    max-width: 100vw;
    overflow-y: auto;
    padding: var(--space-lg) 1rem var(--space-2xl);
    background: var(--background);
}

.primary-nav.is-open {
    display: block;
}

.primary-nav__list {
    display: flex;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
}

.primary-nav a {
    display: flex;
    min-height: 52px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--foreground-soft);
    font-family: var(--font-display);
    font-weight: 650;
    text-decoration: none;
    align-items: center;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
    background: var(--surface);
    color: var(--primary-hover);
}

/* ============================================
   BUTTONS - High-contrast, large conversion targets
   ============================================ */

.btn {
    display: inline-flex;
    min-height: 52px;
    max-width: 100%;
    padding: 0.8rem 1.35rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
    color: var(--primary-foreground);
}

.btn--primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 15px 38px rgba(245, 173, 47, 0.24);
}

.btn--secondary {
    border-color: var(--secondary);
    background: var(--surface);
    color: var(--foreground);
}

.btn--secondary:hover {
    border-color: var(--primary);
    background: var(--surface-raised);
}

.btn--ghost {
    border-color: var(--border);
    background: transparent;
    color: var(--foreground);
    box-shadow: none;
}

.btn--lg {
    width: 100%;
    min-height: 58px;
    padding: 1rem 1.6rem;
    font-size: clamp(1.05rem, calc(0.4vw + 1rem), 1.28rem);
}

/* ============================================
   HEROES - Full-bleed cinematic scenes with readable overlays
   ============================================ */

.hero {
    position: relative;
    display: grid;
    min-height: clamp(39rem, 82svh, 48rem);
    background: var(--background-deep);
    isolation: isolate;
    align-items: center;
}

.hero__media {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.hero__media img,
.hero__media picture {
    width: 100%;
    height: 100%;
}

.hero__media img {
    object-fit: cover;
    object-position: 68% center;
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 11, 14, 0.95) 0%, rgba(10, 11, 14, 0.83) 45%, rgba(10, 11, 14, 0.18) 78%, rgba(10, 11, 14, 0.1) 100%),
        linear-gradient(0deg, rgba(10, 11, 14, 0.66), transparent 45%);
}

.hero__inner {
    width: min(100% - 2rem, var(--container-wide));
    margin-inline: auto;
    padding-block: var(--space-2xl);
}

.hero__content {
    max-width: 43rem;
}

.hero__content h1 {
    text-shadow: 0 3px 30px rgba(0, 0, 0, 0.72);
}

.hero__content h2 {
    max-width: 30ch;
    font-size: var(--text-xl);
    color: var(--foreground-soft);
}

.hero__content p {
    max-width: 58ch;
    color: var(--foreground-soft);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

.hero__actions {
    display: flex;
    margin-top: var(--space-lg);
    flex-direction: column;
    gap: var(--space-sm);
    align-items: stretch;
}

.page-hero {
    position: relative;
    padding-block: clamp(3.5rem, calc(5vw + 2rem), 7rem);
    border-bottom: 1px solid var(--border-subtle);
    background:
        radial-gradient(circle at 85% 20%, rgba(91, 113, 136, 0.24), transparent 25rem),
        linear-gradient(135deg, var(--background-deep), var(--background-soft));
}

.page-hero__inner {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.page-hero__content {
    max-width: 54rem;
}

.page-hero__intro {
    max-width: 68ch;
    color: var(--foreground-soft);
    font-size: var(--text-lg);
}

/* ============================================
   CARDS - Steel surfaces for benefits and reusable content
   ============================================ */

.card,
.info-card,
.feature-card,
.profile-card,
.recognition-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 50%),
        var(--surface);
    box-shadow: var(--shadow-sm);
}

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

.feature-card {
    display: flex;
    padding: var(--space-lg);
    gap: var(--space-md);
    align-items: flex-start;
}

.feature-card__icon,
.trust-row__icon,
.recognition-card__mark {
    display: inline-flex;
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 3.4rem;
    border: 1px solid rgba(245, 173, 47, 0.6);
    border-radius: 50%;
    color: var(--primary);
    align-items: center;
    justify-content: center;
}

.feature-card__icon .icon,
.trust-row__icon .icon,
.recognition-card__mark .icon {
    width: 2rem;
    height: 2rem;
}

.feature-card__title {
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
}

.feature-card__text {
    margin: 0;
    color: var(--foreground-soft);
    font-size: 1rem;
    line-height: 1.6;
}

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

.profile-card {
    overflow: hidden;
}

.profile-card__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.profile-card__body {
    padding: var(--space-md);
}

.profile-card__meta {
    margin-bottom: 0.55rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 750;
}

.profile-card__text {
    margin-bottom: 0.5rem;
    color: var(--foreground-soft);
    font-size: 1rem;
}

.profile-card__label {
    color: var(--primary-hover);
    font-weight: 700;
}

/* ============================================
   MEDIA PANELS - Storytelling blocks with framed natural photography
   ============================================ */

.media-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    padding: clamp(1.5rem, calc(2vw + 1rem), 2.75rem);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.04), transparent 55%),
        var(--surface);
    box-shadow: var(--shadow-lg);
    align-items: center;
}

.media-panel__text p {
    color: var(--foreground-soft);
}

.media-panel__media img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}

/* ============================================
   STEPS - Three-step process with amber numerals
   ============================================ */

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

.step-item {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: var(--space-md);
    align-items: start;
}

.step-item__number {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 750;
    line-height: 0.9;
}

.step-item__title {
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
}

.step-item__text {
    margin: 0;
    color: var(--foreground-soft);
    font-size: 1rem;
}

/* ============================================
   SAFETY & TRUST - Verification, privacy and recognition patterns
   ============================================ */

.trust-row {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    list-style: none;
}

.trust-row__item {
    display: flex;
    min-width: 0;
    min-height: 5.5rem;
    padding: var(--space-md);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--surface);
    gap: var(--space-md);
    align-items: center;
}

.trust-row__label {
    color: var(--foreground-soft);
    font-weight: 700;
}

.recognition-card {
    display: flex;
    max-width: 58rem;
    margin-inline: auto;
    padding: clamp(1.5rem, calc(2vw + 1rem), 2.5rem);
    gap: var(--space-lg);
    align-items: flex-start;
}

.recognition-card__headline {
    margin-bottom: 0.4rem;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 750;
}

.recognition-card__category {
    margin-bottom: 0.25rem;
    color: var(--primary-hover);
    font-weight: 750;
}

.recognition-card__period,
.recognition-card__text {
    color: var(--foreground-soft);
}

/* ============================================
   SUMMARY & CALLOUTS - Citation-friendly visual breaks
   ============================================ */

.tldr-box,
.callout {
    max-width: 72ch;
    margin-block: var(--space-xl);
    padding: clamp(1.25rem, calc(1vw + 1rem), 1.8rem);
    border-radius: var(--radius-md);
}

.tldr-box {
    border: 1px solid var(--border);
    background:
        linear-gradient(135deg, rgba(245, 173, 47, 0.08), transparent 45%),
        var(--surface);
    box-shadow: var(--shadow-sm);
}

.tldr-box__title,
.callout__title {
    margin-bottom: 0.65rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
}

.tldr-box__list {
    margin: 0;
    padding-left: 1.35rem;
}

.tldr-box__list li + li {
    margin-top: 0.55rem;
}

.tldr-box__list li::marker {
    color: var(--primary);
}

.callout {
    border-left: 0.35rem solid var(--primary);
    background: var(--background-soft);
}

.callout--tip {
    border-color: var(--success);
}

.callout--warning {
    border-color: var(--warning);
}

.callout__text {
    margin: 0;
    color: var(--foreground-soft);
}

/* ============================================
   STATS & PULL QUOTES - Supplied evidence only
   ============================================ */

.stat-highlight {
    display: flex;
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    flex-direction: column;
}

.stat-highlight__figure {
    color: var(--primary-hover);
    font-family: var(--font-display);
    font-size: clamp(2.6rem, calc(3vw + 1.6rem), 5rem);
    font-weight: 800;
    line-height: 1;
}

.stat-highlight__label {
    margin-top: 0.65rem;
    color: var(--foreground);
    font-weight: 700;
}

.stat-highlight__source {
    margin-top: 0.45rem;
    color: var(--muted-foreground);
    font-size: var(--text-xs);
}

.pull-quote {
    max-width: 58rem;
    margin: var(--space-2xl) auto;
    padding: var(--space-xl) 0 var(--space-xl) var(--space-lg);
    border-left: 0.25rem solid var(--primary);
}

.pull-quote blockquote {
    margin: 0;
}

.pull-quote blockquote p {
    margin: 0;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.45;
}

.pull-quote figcaption {
    margin-top: var(--space-md);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   FAQ ACCORDIONS - Native, keyboard-accessible disclosures
   ============================================ */

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

.faq-item {
    align-self: start;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--background-deep);
    box-shadow: var(--shadow-sm);
}

.faq-item__question {
    position: relative;
    display: flex;
    min-height: 58px;
    padding: 1rem 3.25rem 1rem 1rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
    align-items: center;
}

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

.faq-item__question::after {
    content: "";
    position: absolute;
    right: 1.15rem;
    width: 0.7rem;
    height: 0.7rem;
    border-right: 2px solid var(--muted-foreground);
    border-bottom: 2px solid var(--muted-foreground);
    transform: rotate(45deg) translateY(-0.2rem);
    transition: transform var(--transition);
}

.faq-item[open] .faq-item__question::after {
    transform: rotate(225deg) translate(-0.15rem, -0.15rem);
}

.faq-item[open] .faq-item__question {
    color: var(--primary-hover);
}

.faq-item__answer {
    padding: 0 1rem 1.25rem;
    color: var(--foreground-soft);
    font-size: 1rem;
}

.faq-item__answer > *:last-child {
    margin-bottom: 0;
}

/* ============================================
   COMPARISON TABLES - Clear facts with optional recommended column
   ============================================ */

.comparison-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    color: var(--foreground-soft);
    font-size: 1rem;
}

.comparison-table caption {
    padding: var(--space-md);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 750;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
    vertical-align: top;
}

.comparison-table thead th {
    background: var(--background-deep);
    color: var(--foreground);
    font-family: var(--font-display);
}

.comparison-table .is-highlighted {
    background: rgba(245, 173, 47, 0.1);
    color: var(--foreground);
}

.comparison-table tbody tr:last-child > * {
    border-bottom: 0;
}

/* ============================================
   SOCIAL PROOF - Use only with supplied testimonials or evidence
   ============================================ */

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

.testimonial-card {
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.testimonial-card blockquote {
    margin: 0 0 var(--space-md);
    color: var(--foreground);
    font-size: var(--text-lg);
}

.testimonial-card figcaption {
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   CTA BANDS - Warm action against deep cinematic background
   ============================================ */

.cta-band {
    position: relative;
    padding-block: clamp(4rem, calc(5vw + 2rem), 7rem);
    text-align: center;
}

.cta-band--deep {
    background:
        radial-gradient(circle at 50% 50%, rgba(77, 92, 111, 0.16), transparent 28rem),
        var(--background-deep);
}

.cta-band--steel {
    background: var(--background-soft);
}

.cta-band__inner {
    display: flex;
    max-width: 60rem;
    flex-direction: column;
    align-items: center;
}

.cta-band__title {
    max-width: 24ch;
}

.cta-band__text {
    max-width: 62ch;
    color: var(--foreground-soft);
    font-size: var(--text-lg);
}

.cta-band .btn {
    margin-top: var(--space-lg);
}

.cta-band__note {
    margin-top: var(--space-sm);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   BREADCRUMBS - Small orientation aid on informational pages
   ============================================ */

.breadcrumbs {
    margin-bottom: var(--space-lg);
}

.breadcrumbs__list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumbs__item {
    color: var(--muted-foreground);
    font-size: var(--text-xs);
}

.breadcrumbs__item:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--border);
}

.breadcrumbs a {
    min-height: 44px;
    color: var(--foreground-soft);
    text-underline-offset: 0.18em;
}

/* ============================================
   FORMS - Future-ready accessible controls
   ============================================ */

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-field label {
    color: var(--foreground);
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--background-deep);
    color: var(--foreground);
}

textarea {
    min-height: 9rem;
    resize: vertical;
}

::placeholder {
    color: #aeb6c1;
    opacity: 1;
}

/* ============================================
   FOOTER - Complete crawlable content navigation
   ============================================ */

.site-footer {
    padding-block: var(--space-2xl);
    border-top: 1px solid var(--border-subtle);
    background: var(--background-soft);
}

.site-footer__inner {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
    text-align: center;
}

.site-footer__brand {
    margin-bottom: var(--space-md);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 750;
}

.footer-nav__list,
.footer-legal {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem var(--space-md);
}

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

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.footer-legal {
    margin-top: var(--space-sm);
}

.footer-legal li {
    display: inline-flex;
    min-height: 44px;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
    align-items: center;
}

.site-footer__note,
.site-footer__copy {
    max-width: 70ch;
    margin: var(--space-md) auto 0;
    color: var(--muted-foreground);
    font-size: var(--text-xs);
    line-height: 1.6;
}

/* ============================================
   SCROLL ENHANCEMENT - Visible by default; JS scopes reveal motion
   ============================================ */

[data-reveal] {
    opacity: 1;
    transform: none;
}

.js-reveal [data-reveal].reveal-pending {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 520ms ease, transform 520ms ease;
}

.js-reveal [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* ============================================
   TABLET - Wider grids and split storytelling
   ============================================ */

@media (min-width: 768px) {
    :root {
        --header-height: 5.25rem;
    }

    .container,
    .container-wide,
    .hero__inner,
    .page-hero__inner,
    .site-footer__inner {
        width: min(100% - 3rem, var(--container));
    }

    .container-wide,
    .hero__inner {
        max-width: var(--container-wide);
    }

    .nav-toggle {
        display: none;
    }

    .primary-nav {
        position: static;
        z-index: auto;
        display: block;
        max-width: none;
        overflow: visible;
        padding: 0;
        background: transparent;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 0.15rem;
    }

    .primary-nav a {
        min-height: 48px;
        padding-inline: 0.75rem;
        background: transparent;
        font-size: 0.96rem;
    }

    .primary-nav a:hover,
    .primary-nav a:focus-visible,
    .primary-nav a.is-active {
        background: transparent;
    }

    .primary-nav a.is-active {
        color: var(--primary-hover);
    }

    .btn--lg {
        width: auto;
        min-width: 19rem;
    }

    .hero__actions {
        flex-direction: row;
        align-items: center;
    }

    .feature-grid,
    .profile-grid,
    .trust-row,
    .social-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid > :last-child:nth-child(odd),
    .social-proof-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .media-panel {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    .media-panel--reverse .media-panel__text {
        grid-column: 2;
        grid-row: 1;
    }

    .media-panel--reverse .media-panel__media {
        grid-column: 1;
        grid-row: 1;
    }

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

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

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

/* ============================================
   DESKTOP - Reference-matched wide rhythm and three-card density
   ============================================ */

@media (min-width: 1024px) {
    .site-header__inner {
        width: min(100% - 4rem, var(--container));
    }

    .primary-nav a {
        padding-inline: 1rem;
        font-size: 1rem;
    }

    .hero {
        min-height: min(50rem, calc(100vh - var(--header-height)));
    }

    .hero__inner {
        width: min(100% - 4rem, var(--container-wide));
    }

    .hero__media img {
        object-position: center;
    }

    .hero__content {
        max-width: 50rem;
    }

    .feature-grid,
    .profile-grid,
    .trust-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-grid > :last-child:nth-child(odd),
    .social-proof-grid > :last-child:nth-child(odd) {
        grid-column: auto;
    }

    .feature-card {
        min-height: 16rem;
        padding: var(--space-xl);
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .media-panel--overlap {
        position: relative;
        margin-top: -5rem;
        z-index: 2;
    }

    .social-proof-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================
   LARGE DESKTOP - Cap widths, never stretch copy beyond readability
   ============================================ */

@media (min-width: 1280px) {
    .container {
        width: min(100% - 5rem, var(--container));
    }

    .container-wide,
    .hero__inner {
        width: min(100% - 5rem, var(--container-wide));
    }

    .hero__content {
        padding-left: clamp(1rem, 3vw, 4rem);
    }
}

/* ============================================
   DATING-AFTER-45 - Editorial guide with media-panel hero
   ============================================ */

.page-hero .media-panel {
    padding: clamp(1rem, calc(1.5vw + 0.5rem), 2rem);
    border: none;
    background: transparent;
    box-shadow: none;
    gap: var(--space-lg);
}

.page-hero .media-panel__media img {
    aspect-ratio: 19 / 18;
    object-fit: cover;
}

@media (max-width: 767px) {
    .page-hero .media-panel {
        gap: var(--space-md);
    }

    .page-hero .media-panel__media {
        order: -1;
    }
}

/* ============================================
   HOMEPAGE - Reference-matched conversion flow
   ============================================ */

.hero__note {
    color: #c3cad3;
    font-size: var(--text-sm);
    font-weight: 650;
}

.section-note {
    max-width: 72ch;
    margin: var(--space-xl) auto 0;
    color: var(--foreground-soft);
    text-align: center;
}

.section-note--center {
    text-align: center;
}

.section-actions {
    display: flex;
    margin-top: var(--space-xl);
    justify-content: center;
}

.safety-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
}

.safety-panel__text {
    max-width: 44rem;
}

.safety-panel__text > p {
    color: var(--ink);
}

.safety-panel__list {
    margin-bottom: var(--space-md);
    padding-left: 1.35rem;
}

.safety-panel__list li + li {
    margin-top: 0.55rem;
}

.safety-panel__list li::marker {
    color: #7a4b00;
}

.safety-panel__media img {
    width: 100%;
    border: 1px solid rgba(21, 23, 28, 0.26);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

@media (max-width: 767px) {
    .hero {
        min-height: 42rem;
        align-items: end;
    }

    .hero__media img {
        object-position: 64% center;
    }

    .hero::after {
        background:
            linear-gradient(90deg, rgba(10, 11, 14, 0.96) 0%, rgba(10, 11, 14, 0.78) 58%, rgba(10, 11, 14, 0.18) 100%),
            linear-gradient(0deg, rgba(10, 11, 14, 0.9) 0%, transparent 62%);
    }

    .hero__inner {
        padding-block: var(--space-xl) var(--space-2xl);
    }

    .hero__content h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero__content h2 {
        color: #d4d9df;
        font-size: 1.15rem;
    }

    .hero__content p {
        color: #d4d9df;
        font-size: 1rem;
        line-height: 1.58;
    }

    .feature-card {
        align-items: center;
    }

    .recognition-card {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .safety-panel {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }
}

@media (min-width: 1024px) {
    .hero__content h1 {
        font-size: clamp(3.4rem, 4.4vw, 5rem);
    }

    .hero__content h2 {
        font-size: 1.45rem;
    }
}

/* ============================================
   FAQ PAGE - Topic-grouped answers and free/paid breakdown
   ============================================ */

.page-hero__content h2 {
    margin-top: -0.2rem;
    color: var(--primary-hover);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: -0.015em;
}

.page-hero__content .page-hero__intro + .page-hero__intro {
    margin-top: var(--space-md);
}

.section .media-panel {
    align-items: start;
}

.faq-page-split .prose h3:first-child {
    margin-top: 0;
}

.faq-page-split .callout {
    margin-block: 0;
}

@media (min-width: 1024px) {
    .faq-page-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--space-xl);
        align-items: start;
    }
}

/* ============================================
   MOTION PREFERENCES - No hidden content or movement
   ============================================ */

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js-reveal [data-reveal].reveal-pending,
    .js-reveal [data-reveal].is-revealed {
        opacity: 1;
        transform: none;
    }
}
