/* Shared styles for inner pages (privacy, contact, future pages). The header
   and footer come from site-shell.css; Home uses style.css instead. */
:root {
  --bg: #050b1f;
  --text: #eaf6ff;
  --text-dim: #9fb6d9;
  --cyan: #27d3ff;
  --panel-line: rgba(39, 211, 255, 0.55);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--cyan); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.grad {
  background: linear-gradient(90deg, #35e0ff, #2f8bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- privacy (prose) ---------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 20px 64px;
  line-height: 1.75;
  font-size: 16px;
  color: #d3e3f8;
}

.prose h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--text);
}

.prose .updated { margin: 0 0 24px; color: var(--text-dim); font-size: 14px; }
.prose h2 { font-family: 'Space Grotesk', sans-serif; font-size: 21px; margin: 34px 0 8px; color: var(--text); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- stories (articles use .prose; the index uses cards) ---------- */
.prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose pre {
  margin: 0 0 14px;
  padding: 12px 14px;
  overflow-x: auto;
  border: 1px solid rgba(39, 211, 255, 0.25);
  border-radius: 10px;
  background: rgba(3, 10, 32, 0.6);
  font-size: 13.5px;
  line-height: 1.5;
}
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(39, 211, 255, 0.2); }
.prose th { color: var(--text); font-weight: 600; }

.story-crumb { margin: 0 0 12px; font-size: 14px; }
.prose .story-crumb a, .prose .story-nav a { text-decoration: none; }
.prose .story-crumb a:hover, .prose .story-nav a:hover { text-decoration: underline; }
.story-sources { font-size: 14.5px; }
.story-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(39, 211, 255, 0.2);
  font-size: 15px;
}

.story-list { list-style: none; margin: 0; padding: 0; }
.story-list li { padding: 14px 0; border-bottom: 1px solid rgba(39, 211, 255, 0.16); }
.story-list li:first-child { padding-top: 0; }
.story-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.story-list h3 { margin: 0 0 4px; font-family: 'Space Grotesk', sans-serif; font-size: 19px; line-height: 1.3; }
.story-list h3 a { color: var(--text); text-decoration: none; }
.story-list h3 a:hover { color: var(--cyan); }
.story-list p { margin: 0; max-width: 80ch; color: #d3e3f8; font-size: 15px; line-height: 1.55; }
.story-list .meta { display: block; margin-top: 4px; color: var(--text-dim); font-size: 13px; }

/* ---------- time (/time) ---------- */
.t-tile, .t-card {
  border: 1.5px solid rgba(39, 211, 255, 0.4);
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(3, 10, 32, 0.55);
}
.t-est { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t-tile h3, .t-card h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 19px; line-height: 1.3; }
.t-big {
  margin: 6px 0 4px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(39, 211, 255, 0.6);
}
.t-trad { margin: 0; color: var(--text-dim); font-size: 13px; }

.t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.t-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.t-date { margin: 6px 0 0; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.t-timer { margin: 0; }
.t-num {
  display: block;
  color: var(--cyan);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(39, 211, 255, 0.45);
}
.t-timer small { color: var(--text-dim); font-size: 12px; }
.t-tag {
  align-self: flex-start;
  margin: 2px 0 0;
  padding: 2px 9px;
  border: 1px solid rgba(255, 210, 122, 0.7);
  border-radius: 999px;
  color: #ffd27a;
  font-size: 12px;
}
.t-origin { margin: 6px 0 0; color: #d3e3f8; font-size: 13px; line-height: 1.45; }
.t-origin b { color: var(--text); font-weight: 600; }
.t-ageline { margin: 0; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.45; }
.t-ageline.t-solar { color: var(--text-dim); font-weight: 400; font-size: 13px; }
.t-note { margin: 4px 0 0; color: var(--text-dim); font-size: 12.5px; line-height: 1.45; }

/* the site's own age: one highlighted card above the calendar grid */
.t-site {
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1.5px solid var(--cyan);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(26, 92, 255, 0.28), rgba(3, 10, 32, 0.6));
  box-shadow: 0 0 18px rgba(39, 211, 255, 0.3), inset 0 0 14px rgba(39, 211, 255, 0.1);
}
.t-site h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 19px; line-height: 1.3; }
.t-site .t-big { font-variant-numeric: tabular-nums; }

/* share panels */
.t-share-open { margin-top: 16px; text-align: center; }
.t-share-open .btn-outline, .t-share-btns .btn-outline { margin: 0; cursor: pointer; font-family: inherit; }
.t-share { margin-top: 14px; }
.t-check { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 15px; cursor: pointer; }
.t-check input { width: 18px; height: 18px; accent-color: var(--cyan); }
.t-share-hint { margin: 10px 0 8px; color: var(--text-dim); font-size: 13px; }
.t-share-preview { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.t-preview {
  flex: 1 1 280px;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(39, 211, 255, 0.3);
  border-radius: 10px;
  background: rgba(3, 10, 32, 0.6);
  color: #d3e3f8;
  font: 13.5px/1.6 'Inter', system-ui, sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.t-canvas { flex: none; width: 168px; height: 210px; border: 1px solid rgba(39, 211, 255, 0.3); border-radius: 10px; }
.t-share-btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.t-share-status { color: #7ff0d0; font-size: 14px; }

.t-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.t-form label { display: flex; flex-direction: column; gap: 6px; color: var(--text-dim); font-size: 13px; }
.t-opt { opacity: 0.8; }
.t-form .t-name { flex-basis: 100%; }
.t-form .t-name input { width: 100%; max-width: 340px; }
.t-form input {
  height: 46px;
  padding: 0 12px;
  border: 1.5px solid rgba(39, 211, 255, 0.45);
  border-radius: 10px;
  background: rgba(3, 10, 32, 0.7);
  color: var(--text);
  font: inherit;
  color-scheme: dark;
}
.t-form input:focus { border-color: var(--cyan); box-shadow: 0 0 14px rgba(39, 211, 255, 0.35); }
.t-form .btn-outline { margin: 0; height: 46px; cursor: pointer; font-family: inherit; }
.t-clear {
  height: 46px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--text-dim);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.t-clear:hover { color: var(--cyan); }
.t-privacy { margin: 10px 0 0; color: var(--text-dim); font-size: 13px; }
#dobError { margin-top: 12px; }

.t-sub { margin: 24px 0 10px; font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.t-age, .t-extras, .t-rows { list-style: none; margin: 0; padding: 0; }
.t-age { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.t-extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.t-age li, .t-extras li {
  padding: 12px 8px;
  border: 1px solid rgba(39, 211, 255, 0.3);
  border-radius: 12px;
  background: rgba(3, 10, 32, 0.55);
  text-align: center;
  min-width: 0;
}
.t-age strong, .t-extras strong {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 28px);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(39, 211, 255, 0.5);
  overflow-wrap: anywhere;
}
.t-extras strong { font-size: clamp(16px, 2vw, 21px); }
.t-age span, .t-extras span { color: var(--text-dim); font-size: 12.5px; }

.t-rows li {
  display: grid;
  grid-template-columns: minmax(120px, 0.6fr) 1.4fr;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(39, 211, 255, 0.16);
  font-size: 15px;
}
.t-rows li:last-child { border-bottom: 0; }
.t-k { color: var(--text-dim); }
.t-k small { display: block; font-size: 12.5px; opacity: 0.8; }
.t-v { color: var(--text); overflow-wrap: anywhere; }
.t-v em { color: var(--cyan); font-style: normal; font-size: 13.5px; margin-left: 6px; }
.t-v small { display: block; color: var(--text-dim); font-size: 13px; }
.t-v small.t-warn { color: #ffd27a; }

@media (max-width: 820px) {
  .t-est { grid-template-columns: 1fr; }
  .t-age { grid-template-columns: repeat(3, 1fr); }
  .t-extras { grid-template-columns: 1fr 1fr; }
  .t-rows li { grid-template-columns: 1fr; }
  .t-form label { flex: 1 1 140px; }
  .t-form input { width: 100%; }
}

/* ---------- rewards (/rewards) ---------- */
.rw-disclosure { border-color: rgba(255, 210, 122, 0.7); box-shadow: 0 0 16px rgba(255, 210, 122, 0.12); }
.rw-disclosure p { margin: 0; color: #e6ecf7; font-size: 15px; line-height: 1.6; }
.rw-disclosure strong { color: #ffd27a; }

/* 1 column on phones, 2 on tablets, 3 on desktops */
.rw-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .rw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rw-grid { grid-template-columns: repeat(3, 1fr); } }

.rw-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 18px 20px;
  border: 1.5px solid rgba(39, 211, 255, 0.4);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(9, 24, 62, 0.9), rgba(4, 12, 36, 0.94));
}
.rw-tag {
  padding: 2px 9px;
  border: 1px solid rgba(39, 211, 255, 0.5);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rw-title { margin: 2px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.rw-blurb { margin: 0; color: #d3e3f8; font-size: 14.5px; line-height: 1.5; }
.rw-note { margin: 0; color: var(--text-dim); font-size: 12.5px; line-height: 1.45; }
.rw-card .rw-btn { margin-top: auto; padding-top: 9px; padding-bottom: 9px; font-size: 14px; }

/* ---------- contact ---------- */
.c-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 20px 64px;
  background: url("assets/hero-1920.webp") center 70% / cover no-repeat, var(--bg);
}

.c-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 31, 0.92) 0%, rgba(5, 11, 31, 0.55) 55%, rgba(5, 11, 31, 0.15) 100%),
    linear-gradient(180deg, rgba(5, 11, 31, 0) 60%, var(--bg) 100%);
}

.c-hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.c-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.05;
  margin: 0 0 14px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.c-hero p {
  margin: 0;
  max-width: 460px;
  font-size: clamp(16px, 2.3vw, 21px);
  line-height: 1.45;
  color: #e4f0ff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.plane {
  position: absolute;
  right: 2%;
  top: -10px;
  width: min(42vw, 400px);
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(39, 211, 255, 0.9)) drop-shadow(0 0 26px rgba(39, 211, 255, 0.5));
  pointer-events: none;
}

.c-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  margin-top: -8px;
}

.card {
  position: relative;
  z-index: 1;
  border: 1.5px solid var(--panel-line);
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(9, 24, 62, 0.9), rgba(4, 12, 36, 0.94));
  box-shadow: 0 0 22px rgba(39, 211, 255, 0.16), inset 0 0 22px rgba(39, 211, 255, 0.05);
}

.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.card-head h2, .promo h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 24px; }
.card-head p { margin: 2px 0 0; font-size: 14px; color: var(--text-dim); }
.card-ico { color: var(--cyan); display: inline-flex; flex: none; filter: drop-shadow(0 0 6px rgba(39, 211, 255, 0.6)); }

/* form */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { position: relative; }

.field .f-ico {
  position: absolute;
  left: 14px;
  top: 15px;
  color: var(--cyan);
  opacity: 0.9;
  pointer-events: none;
  display: inline-flex;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 14px 14px 46px;
  border: 1.5px solid rgba(39, 211, 255, 0.5);
  border-radius: 10px;
  background: rgba(3, 10, 32, 0.75);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  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='%2327d3ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.field select:invalid, .field select option[value=""] { color: var(--text-dim); }
.field select option { color: #0b1a3a; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 14px rgba(39, 211, 255, 0.35); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn-send {
  width: 100%;
  padding: 15px 20px;
  border: 1.5px solid var(--cyan);
  border-radius: 10px;
  background: linear-gradient(180deg, #1a5cff, #0a2f9e);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(39, 211, 255, 0.45), inset 0 0 14px rgba(150, 230, 255, 0.2);
}

.btn-send:hover:not(:disabled) { filter: brightness(1.12); }
.btn-send:disabled { opacity: 0.7; cursor: wait; }

.form-note { margin: 2px 0 0; text-align: center; font-size: 13px; color: var(--text-dim); line-height: 1.6; }

.status { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.status.ok { border: 1.5px solid rgba(62, 217, 179, 0.7); background: rgba(62, 217, 179, 0.12); color: #c9fff0; }
.status.err { border: 1.5px solid rgba(255, 110, 110, 0.7); background: rgba(255, 93, 93, 0.12); color: #ffd6d6; }
.status a { color: inherit; }

/* mail cards */
.mail-list { display: flex; flex-direction: column; gap: 14px; }

.mail-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1.5px solid rgba(39, 211, 255, 0.4);
  border-radius: 12px;
  background: rgba(3, 10, 32, 0.6);
  text-decoration: none;
  color: var(--text);
}

.mail-card:hover { border-color: var(--cyan); box-shadow: 0 0 16px rgba(39, 211, 255, 0.3); }
.mail-card strong { display: block; font-size: 15px; }
.mail-card span { color: var(--cyan); overflow-wrap: anywhere; }

/* bottom cards */
.c-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* With the sponsor promo hidden (see sponsor-config.js) the remaining card takes the full row. */
.c-cards:has(> [hidden]), .ms-mid:has(> [hidden]) { grid-template-columns: 1fr; }
.promo-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.promo-title { display: flex; align-items: center; gap: 12px; }
.promo p { margin: 0; max-width: 340px; font-size: 15px; color: #cfe3ff; line-height: 1.5; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 11px 24px;
  border: 1.5px solid var(--cyan);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(39, 211, 255, 0.3), inset 0 0 10px rgba(39, 211, 255, 0.1);
  background: rgba(3, 10, 32, 0.5);
}

.btn-outline:hover { background: rgba(39, 211, 255, 0.14); }

/* ---------- faq + about ---------- */
.hero-art {
  position: absolute;
  right: 2%;
  top: 0;
  width: min(44vw, 430px);
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(39, 211, 255, 0.9)) drop-shadow(0 0 26px rgba(39, 211, 255, 0.45));
  pointer-events: none;
}

.c-hero .btn-outline { margin-top: 18px; }
.c-hero h1 { max-width: 640px; }
.c-hero { min-height: 250px; }

.faq-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 290px;
  grid-template-areas: "cats list search" "cats list stuck";
  grid-template-rows: auto 1fr;
  gap: 20px;
  margin-top: -8px;
  align-items: start;
}

.cat-card { grid-area: cats; }
.faq-panel { grid-area: list; }
.faq-search-card { grid-area: search; padding: 14px; }
.stuck-card { grid-area: stuck; }

.cat-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: 'Space Grotesk', sans-serif; font-size: 22px; }
.cat-list { display: flex; flex-direction: column; gap: 10px; }

.cat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(39, 211, 255, 0.4);
  border-radius: 10px;
  background: rgba(3, 10, 32, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.cat-btn svg { flex: none; color: var(--cyan); }
.cat-btn:hover { border-color: var(--cyan); }
.cat-btn.is-active { border-color: var(--cyan); background: linear-gradient(180deg, rgba(27, 107, 255, 0.55), rgba(10, 47, 158, 0.55)); box-shadow: 0 0 16px rgba(39, 211, 255, 0.4); }

.faq-search { position: relative; }
.faq-search svg { position: absolute; left: 14px; top: 13px; color: var(--cyan); pointer-events: none; }
.faq-search input {
  width: 100%;
  padding: 12px 12px 12px 44px;
  border: 1.5px solid rgba(39, 211, 255, 0.5);
  border-radius: 10px;
  background: rgba(3, 10, 32, 0.75);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.faq-search input::placeholder { color: var(--text-dim); }
.faq-search input:focus { border-color: var(--cyan); box-shadow: 0 0 14px rgba(39, 211, 255, 0.35); }

.stuck-card h2 { margin: 12px 0 6px; font-family: 'Space Grotesk', sans-serif; font-size: 22px; }
.stuck-card p { margin: 0 0 14px; color: #cfe3ff; font-size: 14px; line-height: 1.5; }
.stuck-card .btn-outline { width: 100%; justify-content: center; margin-top: 0; }

.faq-cat > .card-head { margin-bottom: 16px; }
.faq-items { display: flex; flex-direction: column; gap: 12px; }

details.qa {
  border: 1.5px solid rgba(39, 211, 255, 0.45);
  border-radius: 10px;
  background: rgba(3, 10, 32, 0.6);
}

details.qa[open] { border-color: var(--cyan); box-shadow: 0 0 14px rgba(39, 211, 255, 0.25); }

details.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  font-weight: 600;
  font-size: 15.5px;
  position: relative;
}

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

details.qa summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: 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='%2327d3ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.15s ease;
}

details.qa[open] summary::after { transform: rotate(180deg); }
details.qa .ans { padding: 0 16px 16px; color: #d3e3f8; font-size: 15px; line-height: 1.65; }
details.qa .ans p { margin: 0 0 10px; }
details.qa .ans p:last-child { margin-bottom: 0; }
details.qa .ans a { overflow-wrap: anywhere; }

.faq-empty { margin: 0; padding: 14px 4px; color: var(--text-dim); }

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(4, 12, 36, 0.97) 40%, rgba(4, 12, 36, 0.5) 100%), url("assets/hero-960.webp") right center / cover no-repeat;
}

.banner h2 { margin: 0 0 4px; font-family: 'Space Grotesk', sans-serif; font-size: 28px; }
.banner p { margin: 0; color: #cfe3ff; }
.banner .btn-outline { margin: 0; }

.ad-section { min-height: 100px; text-align: center; }
.ad-label { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }

/* explanatory text cards (Leaderboard, Milestones) */
.explain h3 { margin: 18px 0 6px; font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.explain p, .explain ul { margin: 0 0 10px; max-width: 80ch; color: #d3e3f8; line-height: 1.65; font-size: 15px; }
.explain ul { padding-left: 22px; }
.explain li { margin-bottom: 4px; }
.explain > :last-child { margin-bottom: 0; }

/* about */
.a-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; margin-top: -8px; }
.a-idea p { margin: 0; color: #d3e3f8; line-height: 1.7; font-size: 16px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { border: 1.5px solid rgba(39, 211, 255, 0.35); border-radius: 12px; padding: 14px 12px; text-align: center; background: rgba(3, 10, 32, 0.55); }
.tile .card-ico { margin-bottom: 8px; }
.tile strong { display: block; font-size: 15px; margin-bottom: 4px; }
.tile span { display: block; font-size: 13px; color: var(--text-dim); line-height: 1.4; }

.a-steps { list-style: none; margin: 0; padding: 4px 0; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; }
.a-step { display: flex; align-items: center; gap: 16px; }
.a-step h3 { margin: 0 0 4px; font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.a-step p { margin: 0; font-size: 14px; color: #cfe3ff; line-height: 1.4; }
.a-step-ico { flex: none; width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--cyan); color: var(--cyan); display: inline-flex; align-items: center; justify-content: center; background: rgba(3, 10, 32, 0.6); box-shadow: 0 0 20px rgba(39, 211, 255, 0.45), inset 0 0 16px rgba(39, 211, 255, 0.15); }
.a-arrow { width: 56px; height: 0; border-top: 2px dotted rgba(39, 211, 255, 0.75); position: relative; }
.a-arrow::after { content: ""; position: absolute; right: -2px; top: -6px; border-left: 8px solid rgba(39, 211, 255, 0.85); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

.fair { display: flex; align-items: flex-start; gap: 16px; }
.fair h2 { margin: 0 0 6px; font-family: 'Space Grotesk', sans-serif; font-size: 24px; }
.fair p { margin: 0 0 6px; color: #d3e3f8; line-height: 1.6; max-width: 620px; }

/* sponsor */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.opt {
  border: 1.5px solid rgba(39, 211, 255, 0.4);
  border-radius: 14px;
  padding: 18px;
  background: rgba(3, 10, 32, 0.55);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.opt h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 21px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.opt .sub { margin: 0; color: var(--text-dim); font-size: 14px; }
.opt p.body { margin: 0; color: #d3e3f8; line-height: 1.6; font-size: 15px; }
.opt .btn-outline { align-self: flex-start; margin-top: auto; }

.body { margin: 0; color: #d3e3f8; line-height: 1.6; font-size: 15px; }
.opt-sub-head { margin: 4px 0 2px; font-family: 'Space Grotesk', sans-serif; font-size: 17px; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 122, 0.7);
  color: #ffd27a;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge.ok { border-color: rgba(62, 217, 179, 0.7); color: #7ff0d0; }

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { position: relative; padding-left: 28px; color: #d3e3f8; font-size: 15px; line-height: 1.45; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(39, 211, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327d3ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.note { margin: 14px 0 0; text-align: center; color: var(--text-dim); font-size: 14px; }

.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mock-wrap figure { margin: 0; }
.mock-wrap figcaption { margin-top: 10px; text-align: center; color: var(--text-dim); font-size: 14px; }

.mock {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1.5px solid rgba(39, 211, 255, 0.4);
  border-radius: 12px;
  background: rgba(3, 10, 32, 0.6);
}

.mock .lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.mock .t { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; }
.sk { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.sk.w1 { width: 92%; } .sk.w2 { width: 70%; } .sk.w3 { width: 55%; }
.sk.bar { height: 12px; border: 1.5px solid rgba(39, 211, 255, 0.6); background: rgba(3, 10, 32, 0.8); position: relative; overflow: hidden; }
.sk.bar::after { content: ""; position: absolute; inset: 0 55% 0 0; background: linear-gradient(90deg, #12b8ff, #37e6ff); border-radius: 999px; }

.logo-slot {
  flex: none;
  width: 110px;
  height: 92px;
  border: 2px dashed rgba(39, 211, 255, 0.8);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.logo-slot svg { color: var(--cyan); }
.small-print { margin: 14px 0 0; text-align: center; color: var(--text-dim); font-size: 13px; }

.talk .mail-big {
  display: block;
  margin: 12px 0;
  padding: 13px 14px;
  border: 1.5px solid rgba(39, 211, 255, 0.5);
  border-radius: 10px;
  background: rgba(3, 10, 32, 0.7);
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
}

.talk .btn-outline { width: 100%; justify-content: center; margin-top: 0; }

@media (max-width: 820px) {
  .opt-grid, .mock-grid { grid-template-columns: 1fr; }
  .mock { flex-wrap: wrap; }
}

/* milestones (gauge styles copied from style.css so Home stays untouched) */
.ms-top { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; margin-top: -8px; }
.ms-mid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: start; }

.ms-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ms-tgt { text-align: right; }
.ms-tgt .lbl { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 2px; }
.ms-tgt .num, .count-big {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #eaffff;
  text-shadow: 0 0 10px rgba(39, 211, 255, 0.9), 0 0 24px rgba(39, 211, 255, 0.5);
}
.ms-tgt .num { font-size: clamp(22px, 3.6vw, 32px); }
.count-big { font-size: clamp(26px, 5vw, 42px); line-height: 1.15; margin: 4px 0 14px; overflow-wrap: anywhere; }

.ms-body { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.gauge { height: 16px; border-radius: 999px; border: 1.5px solid rgba(39, 211, 255, 0.7); background: rgba(3, 10, 32, 0.8); overflow: hidden; }
.gauge-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #12b8ff, #37e6ff); box-shadow: 0 0 14px rgba(39, 211, 255, 0.9); border-radius: 999px; transition: width 0.25s ease; }
.ms-labels { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 14px; font-variant-numeric: tabular-nums; }
#msNote { font-weight: 600; text-align: center; }
.ms-pct {
  min-width: 96px;
  text-align: center;
  padding: 10px 18px;
  border: 2px solid var(--cyan);
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 16px rgba(39, 211, 255, 0.45), inset 0 0 12px rgba(39, 211, 255, 0.12);
}

.mini-stats { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; gap: 26px; flex-wrap: wrap; }
.mini-stats strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-variant-numeric: tabular-nums; }
.mini-stats span { font-size: 13px; color: var(--text-dim); }
.mini-stats small { font-size: 11px; opacity: 0.8; }

.j-list { list-style: none; margin: 0; padding: 0; }
.j-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.j-row:last-child { border-bottom: 0; }

.j-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(159, 182, 217, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}

.j-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.j-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.j-num .j-date { color: #7ff0d0; margin-top: 2px; }
.j-num small { display: block; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 12px; color: var(--text-dim); }

.j-chip {
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(159, 182, 217, 0.45);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
}

.j-row.is-reached .j-mark { border-color: #3ed9b3; color: #3ed9b3; background: rgba(62, 217, 179, 0.12); }
.j-row.is-reached .j-chip { border-color: rgba(62, 217, 179, 0.7); color: #7ff0d0; background: rgba(62, 217, 179, 0.1); }
.j-row.is-progress .j-mark { border-color: var(--cyan); box-shadow: 0 0 12px rgba(39, 211, 255, 0.6); }
.j-row.is-progress .j-chip { border-color: var(--cyan); color: var(--cyan); }

.j-sponsor {
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 12px;
  border: 1.5px dashed rgba(39, 211, 255, 0.55);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

.j-sponsor .sp-tag { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; padding: 2px 5px; }
.j-sponsor .sp-logo { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; }
.j-sponsor a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.j-sponsor a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .ms-top, .ms-mid { grid-template-columns: 1fr; }
  .ms-top { margin-top: 0; }
  .ms-body { grid-template-columns: 1fr; }
  .ms-pct { justify-self: start; }
  .ms-tgt { text-align: left; }
}

/* leaderboard */
.lb-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lb-stats .card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.lb-stats strong { display: block; font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; font-size: clamp(20px, 3vw, 30px); font-variant-numeric: tabular-nums; text-shadow: 0 0 10px rgba(39, 211, 255, 0.6); overflow-wrap: anywhere; }
.lb-stats span:not(.card-ico) { color: var(--text-dim); font-size: 15px; }
.lb-stats small { font-size: 11px; opacity: 0.8; }

.lb-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: start; }
.lb-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.lb-head, .lb-row {
  display: grid;
  grid-template-columns: 52px 36px minmax(0, 1fr) 110px minmax(0, 1.1fr) 58px;
  align-items: center;
  column-gap: 12px;
}

.lb-head { padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: var(--cyan); font-size: 14px; }
.lb-head span:nth-child(1) { grid-column: 1; }
.lb-head span:nth-child(2) { grid-column: 2 / 4; }
.lb-head span:nth-child(3) { grid-column: 4; }
.lb-head span:nth-child(4) { grid-column: 5 / 7; }

.lb-list { list-style: none; margin: 0; padding: 0; }
.lb-row { padding: 11px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 15px; }

.lb-rank {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.lb-rank.r1 { background: rgba(255, 196, 60, 0.22); border: 1.5px solid #ffc43c; color: #ffe08a; }
.lb-rank.r2 { background: rgba(190, 205, 225, 0.18); border: 1.5px solid #c6d2e4; color: #e6edf7; }
.lb-rank.r3 { background: rgba(205, 127, 50, 0.22); border: 1.5px solid #cd7f32; color: #f0b47a; }

.lb-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-clicks { font-variant-numeric: tabular-nums; font-weight: 600; }
.lb-bar { height: 10px; border-radius: 999px; border: 1.5px solid rgba(39, 211, 255, 0.55); background: rgba(3, 10, 32, 0.8); overflow: hidden; }
.lb-bar i { display: block; height: 100%; background: linear-gradient(90deg, #12b8ff, #37e6ff); border-radius: 999px; }
.lb-pct { text-align: right; color: var(--text-dim); font-variant-numeric: tabular-nums; }

.lb-more { text-align: center; margin-top: 16px; }
.lb-more .btn-outline { margin: 0; cursor: pointer; font-family: inherit; }
.tc-empty { color: var(--text-dim); font-size: 14px; padding: 12px 4px; }

.flag { width: 28px; height: 21px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); display: block; }

.you-body { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.you-flagimg { width: 76px; height: 57px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2); display: block; }
.you-name { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; }
.you-rank { color: var(--text-dim); margin-top: 2px; }
.you-rank strong, .you-clicks strong { color: var(--text); font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; font-variant-numeric: tabular-nums; }
.you-clicks { color: var(--text-dim); margin-top: 2px; }
.you-btn { width: 100%; justify-content: center; margin-top: 0; }

.live-list { list-style: none; margin: 0; padding: 0; }
.live-row { display: grid; grid-template-columns: 8px 28px 1fr auto; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }
.live-row.enter { animation: liveIn 0.45s ease-out; }
@keyframes liveIn { 0% { opacity: 0; transform: translateY(-10px); background: rgba(39, 211, 255, 0.18); } 100% { opacity: 1; transform: none; background: transparent; } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.live-time { font-size: 12px; color: var(--text-dim); white-space: nowrap; }

.sp-card { display: flex; align-items: center; gap: 16px; border-style: dashed; }
.sp-card .card-ico { flex: none; }
.sp-body { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--text-dim); min-width: 0; }
.sp-body .sp-tag { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; padding: 2px 5px; }
.sp-body .sp-logo { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; }
.sp-body a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.sp-body a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .lb-grid { grid-template-columns: 1fr; }
  .lb-stats { grid-template-columns: 1fr; margin-top: 0 !important; }
}

@media (max-width: 600px) {
  .lb-head { display: none; }
  .lb-row {
    grid-template-columns: 34px 30px minmax(0, 1fr) auto;
    grid-template-areas: "rank flag name clicks" "rank flag bar pct";
    row-gap: 6px;
    column-gap: 10px;
  }
  .lb-row .lb-rank { grid-area: rank; }
  .lb-row .flag { grid-area: flag; }
  .lb-row .lb-name { grid-area: name; }
  .lb-row .lb-clicks { grid-area: clicks; text-align: right; }
  .lb-row .lb-bar { grid-area: bar; }
  .lb-row .lb-pct { grid-area: pct; font-size: 13px; }
}

/* embed generator (/embed-this) */
.eg-feats { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 12px 28px; flex-wrap: wrap; }
.eg-feats li { display: flex; align-items: center; gap: 12px; }
.eg-feats strong { display: block; font-size: 15px; }
.eg-feats span:not(.card-ico) { font-size: 13px; color: #cfe3ff; }

.eg-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: -8px; align-items: start; }
.eg-grid > .card { min-width: 0; }

.eg-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.eg-size {
  padding: 12px 8px;
  border: 1.5px solid rgba(39, 211, 255, 0.4);
  border-radius: 12px;
  background: rgba(3, 10, 32, 0.6);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  line-height: 1.35;
}
.eg-size span { display: block; font-weight: 400; font-size: 13px; color: var(--text-dim); }
.eg-size:hover { border-color: var(--cyan); }
.eg-size.is-active { border-color: var(--cyan); background: linear-gradient(180deg, rgba(27, 107, 255, 0.5), rgba(10, 47, 158, 0.5)); box-shadow: 0 0 16px rgba(39, 211, 255, 0.4); }
.eg-size.is-active span { color: #d7ecff; }

.eg-prevhead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.eg-checker {
  padding: 18px;
  border: 1.5px dashed rgba(39, 211, 255, 0.5);
  border-radius: 12px;
  overflow-x: auto;
  display: flex;
  justify-content: center;
  background-color: #0a1330;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}
.eg-checker iframe { display: block; flex: none; max-width: none; }
.eg-cap { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--text-dim); }

.eg-tabs { display: inline-flex; gap: 8px; margin-bottom: 14px; }
.eg-tab {
  padding: 9px 20px;
  border: 1.5px solid rgba(39, 211, 255, 0.4);
  border-radius: 10px;
  background: rgba(3, 10, 32, 0.6);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.eg-tab.is-active { border-color: var(--cyan); background: linear-gradient(180deg, rgba(27, 107, 255, 0.5), rgba(10, 47, 158, 0.5)); box-shadow: 0 0 14px rgba(39, 211, 255, 0.35); }

.eg-code { position: relative; }
.eg-code pre {
  margin: 0;
  padding: 58px 16px 18px;
  min-height: 190px;
  border: 1.5px solid rgba(39, 211, 255, 0.4);
  border-radius: 12px;
  background: rgba(3, 10, 32, 0.8);
  color: #9be7ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.eg-copy {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 8px 16px;
  border: 1.5px solid var(--cyan);
  border-radius: 10px;
  background: rgba(3, 10, 32, 0.9);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(39, 211, 255, 0.3);
}
.eg-copy:hover { background: rgba(39, 211, 255, 0.15); }
.eg-note { margin: 12px 0 0; font-size: 14px; color: var(--text-dim); line-height: 1.55; }

.eg-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.eg-tile { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1.5px solid rgba(39, 211, 255, 0.35); border-radius: 12px; background: rgba(3, 10, 32, 0.55); }
.eg-tile-ico { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--cyan); color: var(--cyan); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 14px rgba(39, 211, 255, 0.4); }
.eg-tile strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 17px; margin-bottom: 3px; }
.eg-tile span:not(.eg-tile-ico) { font-size: 14px; color: #cfe3ff; line-height: 1.45; }

.eg-how { margin: 0; padding-left: 22px; color: #d3e3f8; line-height: 1.65; font-size: 15px; }
.eg-how li { margin-bottom: 10px; }
.eg-how a { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .eg-grid { grid-template-columns: 1fr; margin-top: 0; }
  .eg-why { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .eg-size { font-size: 15px; padding: 10px 4px; }
  .eg-size span { font-size: 12px; }
  .eg-code pre { padding-top: 62px; font-size: 13px; }
}

@media (max-width: 1000px) {
  .faq-grid { grid-template-columns: 230px minmax(0, 1fr); grid-template-areas: "cats search" "cats list" "stuck list"; grid-template-rows: auto auto 1fr; }
}

@media (max-width: 820px) {
  .faq-grid { grid-template-columns: 1fr; grid-template-areas: "search" "cats" "list" "stuck"; grid-template-rows: none; margin-top: 0; }
  .cat-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .cat-btn { width: auto; padding: 9px 12px; font-size: 14px; }
  .cat-card h2 { display: none; }
  .a-grid { grid-template-columns: 1fr; margin-top: 0; }
  .tiles { grid-template-columns: 1fr; }
  .a-steps { grid-template-columns: 1fr; gap: 18px; }
  .a-arrow { display: none; }
  .hero-art { opacity: 0.3; width: 70vw; right: -6%; }
  .banner h2 { font-size: 24px; }
}

@media (max-width: 820px) {
  .c-grid, .c-cards { grid-template-columns: 1fr; }
  .plane { opacity: 0.35; width: 70vw; right: -6%; }
}

@media (max-width: 420px) {
  .mail-card { gap: 12px; padding: 14px 12px; }
  .mail-card span { font-size: 13.5px; }
}

@media (max-width: 768px) {
  .c-hero { background-image: url("assets/hero-960.webp"), none; padding: 40px 16px 48px; }
  .c-main { padding: 0 14px 8px; }
  .card { padding: 16px; }
  .prose { padding: 32px 16px 48px; font-size: 15.5px; }
}
