/* ============================================================
   SoundThunder — shared stylesheet (index, /download, privacy,
   changelog, contact)
   Design notes:
   - Dark theme: the logo artwork ships on pure black, so nav /
     footer / logo tiles use #000 and the artwork blends invisibly.
   - "Interstate" leads the font stack; Barlow (Google Fonts) is
     the fallback — the closest free relative of Interstate.
   - Brand colour is one solid orange (#ff6a00, straight from the
     logo) — no gradients anywhere: buttons, bars and accents all
     use the flat brand orange. The mascots carry the playfulness.
   ============================================================ */

/* If you have licensed Interstate files, uncomment and drop them
   next to index.html:
@font-face {
  font-family: "Interstate";
  src: url("interstate-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
*/

/* ------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------ */
:root {
  /* color */
  --bg:            #0d0c0b;   /* warm near-black page base            */
  --chrome:        #000000;   /* nav / footer / logo tiles            */
  --panel:         #14120f;   /* raised surfaces                      */
  --panel-2:       #171410;   /* chips, code wells                    */
  --text:          #f4f1ec;   /* warm white                           */
  --muted:         #a8a196;   /* secondary text                       */
  --faint:         #78716a;   /* tertiary text                        */
  --accent:        #ff6a00;   /* SoundThunder orange — the one brand colour */
  --hairline:      rgba(255, 255, 255, 0.08);
  --hairline-2:    rgba(255, 255, 255, 0.17);
  --accent-line:   rgba(255, 106, 0, 0.42);

  /* type */
  --font-display:  "Interstate", "Barlow", "Archivo", "Inter", system-ui, sans-serif;
  --font-mono:     ui-monospace, "Cascadia Mono", "Consolas", "Menlo", monospace;

  /* layout */
  --container:     1140px;
  --nav-h:         72px;
  --radius-s:      0;         /* squared design — no rounded corners  */
  --radius-m:      0;
  --radius-l:      0;
  --ease-out:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------
   2. Base
   ------------------------------------------------------------ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* safety net; nothing should overflow anyway */
}

img { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}
.container--narrow {
  width: min(780px, 100% - 48px);
  margin-inline: auto;
}

[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 0; }

/* Section entering animation (IntersectionObserver adds .is-visible).
   Used on index.html only — the policy page loads static on purpose. */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.6s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   3. Shared components
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 15px/1 var(--font-display);
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease,
              border-color 0.15s ease, color 0.15s ease;
}
.btn-icon { flex: none; }
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover  { filter: brightness(1.08); transform: translateY(-1px); }
.btn--primary:active { filter: brightness(0.96); transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: var(--hairline-2);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; }

.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

.btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: var(--hairline);
  color: var(--muted);
}

.section { padding: clamp(76px, 9vw, 118px) 0; }
main > .section { border-top: 1px solid var(--hairline); }

.section-head { margin-bottom: clamp(42px, 6vw, 58px); max-width: 720px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 58ch;
}

/* ------------------------------------------------------------
   4. Navigation
   ------------------------------------------------------------ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; margin-right: auto; }
.brand-mark { height: 40px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 2px;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: #fff; }

/* ------------------------------------------------------------
   5. Hero (index)
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 75px 0px 100px 0;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-title {
  font-size: clamp(42px, 6.2vw, 76px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.03;
  margin: 0 0 22px;
}
.tdot { color: var(--accent); }
.hero-sub {
  font-size: clamp(16.5px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 54ch;
}
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Mascot on the hero — she replaces the old tile diagram and tells
   the same SoundCloud -> SoundThunder -> Rekordbox story by herself. */
.hero-mascot {
  width: min(100%, 460px);
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

/* Full-bleed backdrop image, mirrored so the bright half of the artwork
   sits behind the mascot on the right and the copy stays on the dark
   half. Static — no parallax. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
  pointer-events: none;
}
/* readability scrims: ease the top edge under the nav and melt the bottom
   edge into the page background */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 12, 11, 0.6) 0%, rgba(13, 12, 11, 0) 24%),
    linear-gradient(90deg, rgba(13, 12, 11, 0.62) 0%, rgba(13, 12, 11, 0.16) 48%, rgba(13, 12, 11, 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(13, 12, 11, 0) 24%);
}

/* ------------------------------------------------------------
   6. Features — one dominant workflow + a plain numbered list
   ------------------------------------------------------------ */
.workflow {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.workflow-copy h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.workflow-copy p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.workflow-copy p + p { margin-top: 12px; }
.workflow-copy em { font-style: normal; color: #e8e2da; }
.workflow-copy code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: #e8e2da;
  background: var(--panel-2);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 1px 6px;
}
.workflow-note { color: var(--faint); font-size: 14px; }

/* the artifact image: what the output looks like (user-swappable capture) */
.workflow-media {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 0;
  overflow: hidden;
}
.workflow-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.workflow-media--screenshot img {
  aspect-ratio: auto;
  object-fit: contain;
}

/* the mascot variant: no frame, no crop — she floats next to the copy */
.workflow-media--mascot {
  background: none;
  border: 0;
  align-self: center;
}
.workflow-media--mascot img {
  width: min(100%, 400px);
  margin-inline: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5));
}

/* remaining features: text entries with hairline rules, no cards */
.feature-list {
  list-style: none;
  margin: clamp(40px, 6vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(32px, 5vw, 64px);
}
.feature-item {
  display: flex;
  gap: 16px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--hairline);
}
.feature-num {
  flex: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.feature-item h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.feature-item p {
  color: var(--muted);
  font-size: 14.8px;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   7. How it works (index)
   ------------------------------------------------------------ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 56px);
}
.step { position: relative; }
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline-2);
  border-radius: 0;
  background: var(--panel);
  color: var(--accent);
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 18px 0 10px;
}
.step p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.step em { font-style: normal; color: #e8e2da; }
/* small connector between steps (desktop only) 
.step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 12px;
  right: calc(clamp(30px, 4vw, 56px) / -2);
  transform: translateX(50%);
  color: var(--accent);
  opacity: 0.75;
  font-size: 18px;
}*/

.xml-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--panel-2);
  border: 1px solid var(--hairline);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: #d9d2c7;
}
.xml-path code { overflow-wrap: anywhere; }
.copy-btn {
  margin-left: auto;
  font: 700 11px/1 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent-line);
  padding: 6px 10px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.copy-btn:hover { background: rgba(255, 106, 0, 0.12); }
.copy-btn.is-copied { border-color: var(--accent); }

.fyi {
  margin-top: clamp(40px, 6vw, 64px);
  padding: 22px 26px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 0;
}
.fyi h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--faint);
  margin-bottom: 12px;
}
.fyi ul { list-style: none; margin: 0; padding: 0; }
.fyi li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.fyi li + li { margin-top: 9px; }
.fyi li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ------------------------------------------------------------
   8. Screenshots (index)
   ------------------------------------------------------------ */
/* Two-column gallery with a heading and description for each capture. */
.shot-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px 64px;
  padding-bottom: 100px;
  align-items: start;
}
.shot {
  min-width: 0;
  margin: 0;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--panel);
  border: 1px solid var(--hairline);
  transition: border-color 0.25s ease;
}
.shot:hover img { border-color: var(--hairline-2); }
.shot:nth-child(odd) { position: relative; top: 100px; }
.shot figure { margin: 0; }
.shot figcaption { padding-top: 18px; }
.shot h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}
.shot p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 56ch;
}

/* ------------------------------------------------------------
   9. Download (index)
   ------------------------------------------------------------ */
/* mascot sits to the right of the two platform cards */
.dl-zone {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.dl-mascot {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.5));
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.dl-card {
  padding: 30px 30px 26px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 0;
}
.dl-card--win { border-color: var(--accent-line); }
.dl-card--mac { background: none; border: 0; }
.dl-head {
  display: flex;
  align-items: center;
  gap: 13px;
}
.dl-icon { width: 25px; height: 25px; fill: #fff; flex: none; }
.dl-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.dl-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--hairline-2);
  border-radius: 0;
  padding: 5px 11px;
  white-space: nowrap;
}
.dl-badge--accent {
  color: var(--accent);
  border-color: var(--accent-line);
}
.dl-card .btn { margin-top: 20px; }
.dl-meta {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--faint);
}
.dl-foot {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}
.dl-foot a {
  color: var(--accent);
  text-decoration: none;
}
.dl-foot a:hover { color: #ff8a33; text-decoration: underline; }

/* ------------------------------------------------------------
   10. Download page (/download -> download.html) — one section,
       one click starts the installer download
   ------------------------------------------------------------ */
.dlpage {
  padding: calc(var(--nav-h) + clamp(36px, 6vh, 72px)) 0 clamp(56px, 8vh, 96px);
}
.dlpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.dlpage-panel {
  max-width: 560px;
  margin-top: clamp(28px, 4vh, 44px);
  padding: clamp(26px, 4vw, 38px) clamp(22px, 4vw, 38px);
  background: var(--panel);
  border: 1px solid var(--accent-line);
}
.dlpage-btn {
  width: 100%;
  padding: 18px 26px;
  font-size: 16.5px;
  line-height: 1.4;
}
.dlpage-btn-icon { flex: none; }
.dlpage-btn-size { white-space: nowrap; }
.dlpage-mascot {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.55));
}
.dl-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.dl-fine {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--faint);
}
.dl-fine a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dl-fine a:hover { color: var(--text); }
.dl-fine code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: #e8e2da;
  background: var(--panel-2);
  border: 1px solid var(--hairline);
  padding: 1px 6px;
}

/* ------------------------------------------------------------
   10. Privacy policy page
   ------------------------------------------------------------ */
.page-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.page-updated {
  margin-top: 12px;
  font-size: 14px;
  color: var(--faint);
}
.toc {
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.toc a {
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: none;
}
.toc a:hover { color: var(--accent); }

.prose h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}
.prose h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 26px 0 8px;
}
.prose p,
.prose li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { color: #ff8a33; }
.prose strong { color: var(--text); }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: #e8e2da;
  background: var(--panel-2);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 1px 6px;
}
.prose .prose-note {
  font-size: 13px;
  color: var(--faint);
}

/* contact page */
.contact-mail { margin-top: 26px; }
.contact-mail a {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.contact-mail a:hover { color: #ff8a33; }

/* ------------------------------------------------------------
   11. Footer
   ------------------------------------------------------------ */
.site-foot {
  background: var(--chrome);
  border-top: 1px solid var(--hairline);
  padding: 30px 0 26px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.foot-mark { height: 26px; width: auto; display: block; }
.foot-copy { font-size: 13.5px; color: var(--muted); }
.foot-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.foot-links a {
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.foot-links a:hover { color: #fff; }
.foot-legal {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--faint);
  max-width: 860px;
}

/* ------------------------------------------------------------
   12. Responsive
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-side { order: 2; }
  .hero-mascot { width: min(100%, 380px); margin-inline: auto; }

  .workflow { grid-template-columns: 1fr; gap: 36px; }
  .workflow-media--mascot { order: -1; }

  .steps { grid-template-columns: 1fr; }
 /* .step:not(:last-child)::after { display: none; }*/


  .dl-zone { grid-template-columns: 1fr; }
  .dl-mascot { width: min(100%, 260px); }

  .dlpage-grid { grid-template-columns: 1fr; gap: 40px; }
  .dlpage-mascot { order: -1; width: min(100%, 340px); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
}

@media (max-width: 760px) {
  .dl-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .dlpage-panel { max-width: none; }
}

@media (max-width: 620px) {
  .container, .container--narrow { width: calc(100% - 40px); }
  .shot-grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 0; }
  .shot:nth-child(odd) { top: 0; }
  .brand-mark { height: 32px; }
  .copy-btn { margin-left: 0; }
}

/* ------------------------------------------------------------
   13. Reduced motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
/* Optional support after the native installer download starts. */
.coffee-button { border-color: var(--accent-line); color: var(--accent); }
.coffee-dialog-open { overflow: hidden; }
.coffee-dialog {
  width: min(800px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--accent-line);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.65);
}
.coffee-dialog::backdrop { background: rgba(0, 0, 0, 0.8); }
.coffee-dialog-layout { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.coffee-dialog-info { position: relative; min-width: 0; padding-top: 28px; align-self: start; }
.coffee-dialog-head { padding: 0 28px; }
.coffee-dialog h2 { margin: 0 0 16px; font-size: clamp(24px, 5vw, 30px); }
.coffee-dialog p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.coffee-close {
  position: absolute;
  right: 22px;
  top: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  line-height: 1em;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--hairline-2);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 28px;
  cursor: pointer;
}
.coffee-close:hover { border-color: var(--accent); }
.coffee-frame { display: block; width: 100%; height: 560px; border: 0; background: #fff; }
.coffee-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 22px 28px 28px; }
.coffee-dialog-actions p { flex-basis: 100%; font-size: 12px; }
.coffee-dialog-image {
  display: block;
  width: min(180px, calc(100% - 56px));
  height: auto;
  margin: 0 auto 28px;
  object-fit: contain;
}


@media (max-width: 680px) {
  .coffee-dialog-layout { grid-template-columns: minmax(0, 1fr); }
  .coffee-dialog-info { padding-top: 64px; }
  .coffee-frame { height: 480px; }
}
/* Direct answers remain visible and readable without JavaScript. */
.seo-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.seo-faq article { padding-top: 24px; border-top: 1px solid var(--hairline); }
.seo-faq h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.3; }
.seo-faq p { color: var(--muted); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.faq-sources { margin-top: 32px; color: var(--muted); font-size: 13px; }
.faq-sources a { color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 760px) {
  .seo-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
