/* ==========================================================================
   Turkey War — Modern Gobbler Atoll Marketing Site & Privacy Policy
   Visual System: Deep Ocean Twilight, Frosted Glass, 1px Luminous Hairlines,
   Warm Volcanic Gold & Bioluminescent Lagoon Accents (Zero External Trackers)
   ========================================================================== */

:root {
  --bg-deep: #041522;
  --bg-navy: #071f33;
  --glass-bg: rgba(9, 31, 49, 0.62);
  --glass-bg-strong: rgba(8, 28, 45, 0.80);
  --glass-bg-hover: rgba(13, 42, 66, 0.74);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-hover: rgba(255, 215, 0, 0.34);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.09);

  --lagoon: #1abc9c;
  --lagoon-bright: #34f5c5;
  --gold: #ffd166;
  --gold-bright: #ffe57f;
  --amber: #f59e0b;
  --ember: #fb7185;
  --cream: #f8fafc;
  --text-main: #e6f0f7;
  --text-muted: #9cb8cc;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-ambient: 0 22px 54px rgba(2, 10, 18, 0.48);
  --shadow-soft: 0 12px 32px rgba(2, 10, 18, 0.35);
  --max-width: 1160px;

  --font-display: "SF Pro Display", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 80% 55% at 15% -5%, rgba(26, 188, 156, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 50% at 88% 8%, rgba(245, 158, 11, 0.13), transparent 58%),
    linear-gradient(180deg, var(--bg-navy) 0%, var(--bg-deep) 100%);
  color: var(--text-main);
}

/* Three.js atmospheric background canvas */
#atoll-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

body[data-bg-mode="subtle"] #atoll-bg-canvas {
  opacity: 0.58;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--lagoon-bright);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.container--narrow {
  width: min(100% - 2.25rem, 860px);
  margin-inline: auto;
}

/* ---------- Scroll Reveal (Progressive Enhancement) ---------- */

html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header & Frosted Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 22, 36, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 72px;
  padding-block: 0.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-link:hover {
  color: var(--gold-bright);
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--lagoon-bright);
  line-height: 1.15;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(230, 240, 247, 0.86);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.16s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cream);
}

.nav-cta {
  padding: 0.48rem 1.05rem;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--amber) 100%);
  color: #091826 !important;
  border: 1px solid rgba(255, 235, 150, 0.6);
  border-radius: 999px;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.42);
  filter: brightness(1.04);
}

/* ---------- Eyebrow Pills & Buttons ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pill--gold {
  background: rgba(255, 209, 102, 0.12);
  border-color: rgba(255, 209, 102, 0.32);
  color: var(--gold-bright);
}

.pill--gold::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold);
}

.pill--lagoon {
  background: rgba(26, 188, 156, 0.12);
  border-color: rgba(52, 245, 197, 0.28);
  color: var(--lagoon-bright);
}

.pill--wood {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.30);
  color: var(--gold);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

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

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

.btn--primary {
  background: linear-gradient(135deg, #ffe57f 0%, #f59e0b 100%);
  color: #081724;
  border-color: rgba(255, 238, 168, 0.65);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--primary:hover {
  color: #081724;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn--secondary {
  background: rgba(26, 188, 156, 0.16);
  color: var(--lagoon-bright);
  border-color: rgba(52, 245, 197, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(4, 21, 34, 0.35), var(--glass-highlight);
}

.btn--secondary:hover {
  background: rgba(26, 188, 156, 0.24);
  border-color: rgba(52, 245, 197, 0.65);
  color: #ffffff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--gold-bright);
}

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

.hero {
  padding-block: clamp(3rem, 7vw, 5.25rem) clamp(2.5rem, 5vw, 4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: center;
}

.hero h1 {
  margin: 1rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.85rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--cream);
}

.hero-accent {
  background: linear-gradient(135deg, #fff1a8 0%, #ffd166 45%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 1.65rem;
  font-size: clamp(1.03rem, 1.35vw, 1.14rem);
  color: var(--text-muted);
  max-width: 54ch;
  line-height: 1.7;
}

.hero-lead strong {
  color: var(--cream);
  font-weight: 700;
}

.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 25, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(230, 240, 247, 0.88);
}

.hero-meta-dot {
  color: rgba(255, 209, 102, 0.55);
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: calc(var(--radius-lg) + 10px);
  background: radial-gradient(circle at 50% 45%, rgba(245, 158, 11, 0.22), rgba(26, 188, 156, 0.14) 55%, transparent 75%);
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
}

.hero-frame {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-ambient), var(--glass-highlight);
  overflow: hidden;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  background: rgba(4, 18, 30, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-caption strong {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Sections & Seamless Flow ---------- */

.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--alt {
  /* Seamless transparent transition so Three.js atmosphere flows uninterrupted */
  background: radial-gradient(ellipse 90% 60% at 50% 50%, rgba(5, 24, 39, 0.42), transparent 80%);
}

.section-header {
  max-width: 64ch;
  margin-bottom: 2.25rem;
}

.section-header h2 {
  margin: 0.7rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--cream);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.04rem;
}

/* ---------- Bento Feature Grid ---------- */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  grid-column: span 6;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft), var(--glass-highlight);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-ambient), var(--glass-highlight);
}

.card--wide {
  grid-column: span 7;
}

.card--narrow {
  grid-column: span 5;
}

.card--accent-gold {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 209, 102, 0.14), transparent 55%),
    var(--glass-bg);
}

.card--accent-lagoon {
  background:
    radial-gradient(circle at 100% 0%, rgba(52, 245, 197, 0.12), transparent 55%),
    var(--glass-bg);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--gold-bright);
  flex-shrink: 0;
}

.card--accent-lagoon .card-icon {
  color: var(--lagoon-bright);
}

.card-tag {
  display: inline-block;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(52, 245, 197, 0.10);
  color: var(--lagoon-bright);
  border: 1px solid rgba(52, 245, 197, 0.22);
}

.card--accent-gold .card-tag {
  background: rgba(255, 209, 102, 0.12);
  color: var(--gold-bright);
  border-color: rgba(255, 209, 102, 0.26);
}

.card h3 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--cream);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.25rem 0.62rem;
  border-radius: 999px;
  background: rgba(4, 21, 34, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

/* ---------- Showcase Strip ---------- */

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.showcase-img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-ambient), var(--glass-highlight);
  overflow: hidden;
  background: var(--glass-bg);
}

.showcase-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), var(--glass-highlight);
  padding: clamp(1.5rem, 3vw, 2.15rem);
}

.showcase-panel h2 {
  margin: 0.75rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.check-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.check-list li strong {
  color: var(--cream);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(52, 245, 197, 0.15);
  border: 1px solid rgba(52, 245, 197, 0.45);
  box-shadow: inset 0 0 0 4px rgba(52, 245, 197, 0.65);
}

/* ---------- Fair Monetization Callout ---------- */

.fair-box {
  background:
    radial-gradient(ellipse 65% 85% at 0% 0%, rgba(245, 158, 11, 0.18), transparent 60%),
    radial-gradient(ellipse 55% 75% at 100% 100%, rgba(26, 188, 156, 0.15), transparent 60%),
    var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-ambient), var(--glass-highlight);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: center;
}

.fair-box h2 {
  margin: 0.7rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--cream);
}

.fair-box p {
  margin: 0 0 0.95rem;
  color: var(--text-muted);
}

.fair-box p strong {
  color: var(--gold-bright);
}

.fair-stats {
  display: grid;
  gap: 0.85rem;
}

.fair-stat {
  background: rgba(4, 21, 34, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.fair-stat:hover {
  border-color: rgba(255, 209, 102, 0.34);
  transform: translateX(3px);
}

.fair-stat strong {
  display: block;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.fair-stat span {
  font-size: 0.89rem;
  color: var(--text-muted);
}

/* ---------- FAQ Accordion ---------- */

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft), var(--glass-highlight);
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(255, 209, 102, 0.28);
  background: var(--glass-bg-hover);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.faq-item p strong {
  color: var(--cream);
}

/* ---------- Privacy Policy / Legal Document Styles ---------- */

.doc-hero {
  padding-block: clamp(2.5rem, 5vw, 3.75rem) 1.75rem;
}

.doc-hero h1 {
  margin: 0.8rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--cream);
}

.doc-hero > .container--narrow > p {
  color: var(--text-muted);
  max-width: 68ch;
}

.doc-hero strong {
  color: var(--cream);
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin-top: 1.1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.doc-body {
  padding-block: 1.25rem 4.5rem;
}

.doc-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft), var(--glass-highlight);
  padding: clamp(1.5rem, 3.2vw, 2.25rem);
  margin-bottom: 1.35rem;
}

.doc-card h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.42rem;
  letter-spacing: -0.02em;
  color: var(--gold-bright);
}

.doc-card h3 {
  margin: 1.35rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--cream);
}

.doc-card p {
  margin: 0 0 0.9rem;
  color: var(--text-main);
}

.doc-card ul,
.doc-card ol {
  margin: 0 0 0.95rem;
  padding-left: 1.35rem;
  color: var(--text-main);
}

.doc-card li {
  margin-bottom: 0.5rem;
}

.doc-card--highlight {
  background:
    radial-gradient(ellipse 75% 65% at 100% 0%, rgba(26, 188, 156, 0.14), transparent 60%),
    var(--glass-bg-strong);
  border-color: rgba(52, 245, 197, 0.24);
}

.data-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.91rem;
  background: rgba(4, 19, 31, 0.78);
}

.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
}

.hero-grid > *,
.showcase-grid > *,
.fair-box > *,
.bento-grid > * {
  min-width: 0;
}

.code-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(4, 19, 31, 0.85);
  color: var(--gold-bright);
  padding: 0.14rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
}

.toc-list a {
  display: inline-block;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(9, 31, 49, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.toc-list a:hover {
  border-color: rgba(255, 209, 102, 0.42);
  background: rgba(255, 209, 102, 0.10);
  color: var(--gold-bright);
}

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

.site-footer {
  background: rgba(4, 16, 26, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-inner strong {
  color: var(--cream);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(230, 240, 247, 0.86);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-note {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- 404 Page ---------- */

.error-shell {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding-block: 3.5rem;
  text-align: center;
}

.error-card {
  max-width: 540px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-ambient), var(--glass-highlight);
  padding: 2.5rem 2rem;
}

.error-code {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff1a8 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 0.5rem;
}

/* ---------- Responsive Breakpoints ---------- */

@media (max-width: 920px) {
  .hero-grid,
  .showcase-grid,
  .fair-box {
    grid-template-columns: 1fr;
  }

  .card,
  .card--wide,
  .card--narrow {
    grid-column: span 12;
  }

  .nav-bar {
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 0.7rem 1.05rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .container,
  .container--narrow {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-meta {
    display: flex;
    width: 100%;
  }

  .hero-media::before {
    inset: -6px;
  }

  .nav-links {
    gap: 0.55rem 0.8rem;
  }

  .nav-links a {
    font-size: 0.84rem;
  }
}

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

  html.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .nav-cta,
  .card,
  .fair-stat,
  .faq-chevron {
    transition: none;
  }
}

/* ---------- Beta Join & Contact Pages ---------- */

.beta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: start;
}

.platform-card {
  position: relative;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft), var(--glass-highlight);
  padding: clamp(1.4rem, 3vw, 2rem);
  scroll-margin-top: 6rem;
}

.platform-card.is-current {
  border-color: rgba(255, 209, 102, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.25), var(--shadow-soft);
}

.platform-card .your-device {
  display: none;
  position: absolute;
  top: -0.75rem;
  right: 1.2rem;
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.platform-card.is-current .your-device { display: inline-block; }

.platform-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.4rem;
}

.platform-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.platform-icon {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.3);
  color: var(--gold-bright);
}

.platform-card--android .platform-icon {
  background: rgba(26, 188, 156, 0.14);
  border-color: rgba(52, 245, 197, 0.32);
  color: var(--lagoon-bright);
}

.platform-sub {
  color: var(--text-muted);
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
}

.step-list {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.35rem 3.1rem;
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  background: linear-gradient(135deg, #ffe57f 0%, #f59e0b 100%);
  color: #081724;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.03rem;
  top: 2.35rem;
  bottom: 0.25rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 209, 102, 0.45), rgba(255, 209, 102, 0.06));
}

.platform-card--android .step::before {
  background: linear-gradient(135deg, #34f5c5 0%, #1abc9c 100%);
}

.platform-card--android .step:not(:last-child)::after {
  background: linear-gradient(180deg, rgba(52, 245, 197, 0.45), rgba(52, 245, 197, 0.06));
}

.step--wait::before {
  content: "\23F3";
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px dashed rgba(255, 255, 255, 0.4);
}

.step h3 {
  margin: 0.1rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--cream);
}

.step p {
  margin: 0 0 0.7rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.step .btn {
  padding: 0.7rem 1.15rem;
  font-size: 0.92rem;
}

.step-note {
  display: block;
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.callout {
  margin: 0 0 1.35rem;
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 209, 102, 0.32);
  background: rgba(255, 209, 102, 0.08);
  font-size: 0.93rem;
  color: var(--text-main);
}

.callout strong { color: var(--gold-bright); }

.callout--lagoon {
  border-color: rgba(52, 245, 197, 0.3);
  background: rgba(26, 188, 156, 0.09);
}

.callout--lagoon strong { color: var(--lagoon-bright); }

.trouble {
  margin-top: 0.3rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

.trouble summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--cream);
}

.trouble ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.trouble li { margin-bottom: 0.45rem; }

/* Contact / sign-up form */

.form-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft), var(--glass-highlight);
  padding: clamp(1.4rem, 3.2vw, 2.25rem);
}

.form-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.42rem;
  letter-spacing: -0.02em;
  color: var(--gold-bright);
}

.form-card > p {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
}

.tw-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.tw-form .field { display: grid; gap: 0.4rem; min-width: 0; }
.tw-form .field--full { grid-column: 1 / -1; }

.tw-form label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cream);
}

.tw-form .optional {
  font-weight: 500;
  color: var(--text-muted);
}

.tw-form input,
.tw-form select,
.tw-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 19, 31, 0.78);
  color: var(--text-main);
  font: inherit;
  font-size: 1rem; /* 16px keeps iOS from zooming in on focus */
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tw-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffd166' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.tw-form textarea { min-height: 8.5rem; resize: vertical; }

.tw-form input::placeholder,
.tw-form textarea::placeholder { color: rgba(156, 184, 204, 0.6); }

.tw-form input:focus,
.tw-form select:focus,
.tw-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.2);
}

.tw-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
}

.form-actions .btn { min-height: 3rem; border: none; font: inherit; font-weight: 700; }
.form-actions .btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

.form-fineprint {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin: 0;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.2em;
  font-size: 0.95rem;
}

.form-status:empty { display: none; }
.form-status--ok { color: var(--lagoon-bright); }
.form-status--err { color: var(--ember); }
.form-status--info { color: var(--text-muted); }

.form-unconfigured-note { display: none; }
.is-unconfigured .form-unconfigured-note {
  display: block;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(251, 113, 133, 0.5);
  color: var(--ember);
  font-size: 0.88rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.contact-aside { display: grid; gap: 1rem; }

.contact-aside .fair-stat a { font-weight: 700; }

.beta-signup { margin-top: 2.5rem; }

@media (max-width: 920px) {
  .beta-grid,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .tw-form { grid-template-columns: 1fr; }
  .step { padding-left: 2.75rem; }
  .step .btn { width: 100%; }
}

/* ---------- Privacy Consent Banner, Switches & Toast ---------- */

.consent-banner {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(100% - 1.5rem, 640px);
  animation: consent-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.consent-banner.is-leaving { animation: consent-out 0.3s ease forwards; }

@keyframes consent-in { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes consent-out { to { opacity: 0; transform: translate(-50%, 24px); } }

.consent-card {
  background: rgba(7, 26, 42, 0.94);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 209, 102, 0.32);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), var(--glass-highlight);
  padding: 1.25rem 1.35rem 1.1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.consent-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-bright);
}

.consent-card p { margin: 0 0 0.6rem; font-size: 0.92rem; color: var(--text-main); }
.consent-settings-intro { color: var(--text-muted) !important; }

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.consent-actions .btn { padding: 0.65rem 1.1rem; font-size: 0.9rem; min-height: 2.75rem; font-family: var(--font-display); }
.consent-actions [hidden] { display: none; }
.consent-spacer { flex: 1; }

.consent-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.consent-row-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(26, 188, 156, 0.14);
  border: 1px solid rgba(52, 245, 197, 0.3);
  color: var(--lagoon-bright);
}

.consent-row-text label { font-weight: 700; color: var(--cream); cursor: pointer; }
.consent-row-text p { margin: 0.15rem 0 0; font-size: 0.88rem; color: var(--text-muted); }

.tw-switch { position: relative; display: inline-block; width: 3.1rem; height: 1.8rem; flex: none; }
.tw-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.tw-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.tw-switch-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.2rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--cream);
  transform: translateY(-50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}
.tw-switch input:checked + .tw-switch-track { background: rgba(26, 188, 156, 0.55); border-color: var(--lagoon-bright); }
.tw-switch input:checked + .tw-switch-track::after { transform: translate(1.3rem, -50%); background: #fff; }
.tw-switch input:focus-visible + .tw-switch-track { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.tw-toast {
  position: fixed;
  z-index: 300;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: fit-content;
  top: max(5.25rem, calc(env(safe-area-inset-top) + 4.5rem));
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: min(100% - 2rem, 460px);
  padding: 0.75rem 1.1rem;
  border-radius: 18px;
  background: rgba(7, 26, 42, 0.96);
  border: 1px solid rgba(52, 245, 197, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.tw-toast.is-visible { opacity: 1; transform: none; }
.tw-toast-icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lagoon);
  color: #04121d;
  font-weight: 900;
}

.settings-list { margin-top: 0.5rem; }
.settings-list .consent-row:first-child { border-top: none; }

.settings-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.25rem 0 0; }
.btn--danger {
  background: rgba(251, 113, 133, 0.08);
  color: #fda4af;
  border-color: rgba(251, 113, 133, 0.45);
}
.btn--danger:hover { background: rgba(251, 113, 133, 0.16); color: #fff; border-color: rgba(251, 113, 133, 0.75); }

.form-blocked {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 209, 102, 0.45);
  background: rgba(255, 209, 102, 0.06);
  text-align: center;
}
.form-blocked p { margin: 0 0 0.75rem; color: var(--text-main); }

@media (max-width: 520px) {
  .consent-row { grid-template-columns: minmax(0, 1fr) auto; }
  .consent-row-icon { display: none; }
  .consent-actions .btn { flex: 1 1 auto; width: auto; }
  .consent-spacer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner, .consent-banner.is-leaving { animation: none; }
  .tw-toast, .tw-switch-track, .tw-switch-track::after { transition: none; }
}

.captcha-box { min-height: 0; }
.captcha-box:empty { display: none; }


/* ---------- Studio cats (easter eggs) ---------- */

.site-footer { position: relative; }
.footer-cat {
  position: absolute;
  left: 0;
  top: 0;
  width: 160px;
  height: auto;
  transform: translateY(-78%);
  pointer-events: auto;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-cat:hover { transform: translateY(-82%) rotate(-1.5deg); }
@media (max-width: 520px) { .footer-cat { width: 118px; } }

.cat-polaroid {
  float: right;
  width: 190px;
  margin: 0.25rem 0 1rem 1.25rem;
  padding: 0.5rem 0.5rem 0.4rem;
  background: #f8f4ea;
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  transform: rotate(3deg);
  transition: transform 0.3s ease;
}
.cat-polaroid:hover { transform: rotate(0deg) scale(1.04); }
.cat-polaroid img { display: block; width: 100%; height: auto; border-radius: 3px; }
.cat-polaroid figcaption { margin-top: 0.35rem; font-size: 0.74rem; line-height: 1.3; text-align: center; color: #41474d; font-family: "Marker Felt", "Comic Sans MS", var(--font-body); }
@media (max-width: 520px) { .cat-polaroid { width: 140px; margin-left: 0.85rem; } }

.suspect {
  width: 132px;
  height: 132px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(255, 209, 102, 0.12), 0 14px 30px rgba(0, 0, 0, 0.45);
}
.suspect img { width: 100%; height: 100%; object-fit: cover; display: block; }
.suspect-caption { margin: -0.25rem 0 1.25rem; font-size: 0.85rem; color: var(--text-muted); font-style: italic; }

@media (prefers-reduced-motion: reduce) { .footer-cat, .cat-polaroid { transition: none; } }

.studio-supra {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: saturate(0.9);
  transition: filter 0.3s ease;
}
.studio-supra:hover { filter: saturate(1.1); }

.pit-stop {
  margin: 0 0 7rem 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: italic;
}
.pit-stop img { width: 96px; height: auto; border-radius: 8px; opacity: 0.8; border: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 520px) { .pit-stop { margin-left: 1.5rem; } }

.social-links { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.social-links a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted); font-size: 0.85rem; text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-links a:hover, .social-links a:focus-visible { color: var(--gold, #ffd34d); border-color: currentColor; transform: translateY(-2px); }
