/* timer.cool skin guide pages — shared editorial stylesheet.
   Brand tokens mirror src/style.css so the guides read as the same product. */

:root {
  --page: #08080a;
  --text: rgba(246, 239, 227, 0.9);
  --text-70: rgba(246, 239, 227, 0.68);
  --text-45: rgba(246, 239, 227, 0.45);
  --text-32: rgba(246, 239, 227, 0.32);
  --accent: #e9bd7c;
  --on-accent: #17130c;
  --line: rgba(255, 255, 255, 0.085);
  --card: rgba(255, 255, 255, 0.028);
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main.wrap,
.foot .wrap { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- breadcrumb, under the shared header ---------- */
.crumbs {
  padding-top: 28px;
  font-size: 12.5px; color: var(--text-45);
  display: flex; gap: 8px; align-items: center;
}
.crumbs a { color: var(--text-70); }
.crumbs [aria-current] { color: var(--text-70); }

/* ---------- hero ---------- */
.hero { padding: 18px 0 8px; }
.kicker {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 5.4vw, 44px); line-height: 1.14;
  letter-spacing: -0.01em; margin-bottom: 14px;
}
.claim {
  font-family: var(--serif); font-size: clamp(17px, 2.6vw, 20px);
  color: var(--text-70); font-style: italic; margin-bottom: 22px;
}
.lede { color: var(--text-70); margin-bottom: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.btn {
  display: inline-block; padding: 10px 20px;
  border-radius: 999px; font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}
.btn:hover { background: rgba(255, 255, 255, 0.11); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.btn-primary:hover { background: #f3cd92; }
.chips {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: var(--text-45); margin-bottom: 34px;
}
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }

figure { margin: 0 0 10px; }
figure img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 10px;
}
figcaption {
  font-size: 12.5px; color: var(--text-45); padding: 9px 2px 0;
}
figure img + img { margin-top: 8px; }
.fig-narrow { max-width: 420px; margin: 18px auto 10px; }

/* ---------- sections ---------- */
section { padding: 34px 0 6px; }
h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 3.4vw, 28px); line-height: 1.25;
  margin-bottom: 14px; letter-spacing: -0.005em;
}
h3 { font-size: 16.5px; font-weight: 650; margin: 26px 0 10px; }
p + p { margin-top: 12px; }
.section-lede { color: var(--text-70); margin-bottom: 16px; }

main p { max-width: 68ch; }
main li { max-width: 68ch; }

/* tables */
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0 8px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text-45); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
td:first-child { color: var(--text-70); white-space: nowrap; }
td code, p code, li code {
  font-family: var(--mono); font-size: 12.5px;
  background: rgba(255, 255, 255, 0.06); border-radius: 5px; padding: 1.5px 6px;
  color: var(--accent);
}
.recipe-link {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--accent); overflow-wrap: anywhere;
}
.copy-link {
  margin-left: 8px; padding: 2px 8px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--text-70);
  font: inherit; font-size: 12px; line-height: 1.4;
  cursor: pointer; vertical-align: middle;
}
.copy-link:hover { color: var(--text); border-color: var(--accent); }
td:first-child code { white-space: nowrap; }

/* lists */
main ul, main ol { padding-left: 22px; margin: 12px 0; }
main li { margin: 6px 0; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
}
.card h3 { margin: 0 0 6px; font-size: 15px; }
.card p { font-size: 13.5px; color: var(--text-70); }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary {
  cursor: pointer; padding: 11px 0; font-weight: 600; font-size: 15px;
  list-style: none; position: relative; padding-right: 28px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%); color: var(--text-45); font-size: 18px; font-weight: 400;
}
details[open] summary::after { content: "−"; }
details p { padding: 2px 0 14px; color: var(--text-70); }

/* about / trust block */
.about {
  margin: 34px 0 10px; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; background: var(--card);
}
.about h2 { font-size: 18px; margin-bottom: 8px; }
.about p { font-size: 13.5px; color: var(--text-70); }
.about p + p { margin-top: 8px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 26px 0 40px; }
.foot-inner { display: flex; flex-direction: column; gap: 14px; }
.foot-brand { font-family: var(--serif); font-size: 16px; }
.foot-brand span { color: var(--accent); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.foot nav a { color: var(--text-70); }
.foot .fine { font-size: 12px; color: var(--text-45); }

@media (max-width: 640px) {
  .crumbs { font-size: 11.5px; }
  th, td { padding: 8px 8px; }
  /* copy-paste links are long unbroken strings; let them wrap instead of
     pushing the table past the viewport */
  td:first-child { white-space: normal; }
  td code { overflow-wrap: anywhere; }
}
