/* TimeZoney — shared stylesheet. Loaded by every page. */
:root {
  color-scheme: light dark;
  --bg: #eef3ef;
  --surface: #ffffff;
  --surface-2: #f2f6f3;
  --text: #10231c;
  --muted: #56665f;
  --line: #cfdbd4;
  --accent: #0c8066;
  --accent-strong: #075f4c;
  --accent-soft: #d8f1e8;
  --ink: #102b24;
  --ink-2: #173a31;
  --gold: #f1b743;
  --gold-soft: #fff1cf;
  --warm: #c95835;
  --warm-soft: #fbe5dc;
  --shadow: 0 26px 70px rgba(17, 53, 42, .14);
  --shadow-soft: 0 10px 30px rgba(17, 53, 42, .08);
  --radius: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #091510;
    --surface: #11231c;
    --surface-2: #182e25;
    --text: #eff8f3;
    --muted: #acc0b5;
    --line: #2b4439;
    --accent: #58d0ad;
    --accent-strong: #8ae5c8;
    --accent-soft: #163f33;
    --ink: #071b15;
    --ink-2: #0d2c23;
    --gold: #f4c766;
    --gold-soft: #433515;
    --warm: #f09a78;
    --warm-soft: #43291f;
    --shadow: 0 28px 70px rgba(0, 0, 0, .4);
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, .28);
  }
}
* { box-sizing: border-box; }
a, button, input, select, textarea, label, summary { touch-action: manipulation; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 2%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 25rem),
    radial-gradient(circle at 92% 24%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Manrope, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
.page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 64px;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 42px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(7, 82, 68, .2);
}
.brand-name {
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 700;
}
.brand-name b { color: var(--accent); font-weight: 700; }
.brand-tagline {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .025em;
}
.site-header .site-nav { margin: 0 0 0 auto; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 11px 4px 11px 11px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  font-size: .8rem;
  font-weight: 700;
}
.nav-toggle span[aria-hidden="true"] { font-size: 1.25rem; line-height: 1; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 42px auto;
  padding: 5px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-soft);
}
.site-nav a {
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] {
  color: var(--accent-strong);
  background: var(--accent-soft);
  outline: none;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: center;
  gap: clamp(30px, 6vw, 78px);
  margin-bottom: 34px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--accent-strong);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--gold);
}
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 700;
}
h1 em {
  color: var(--accent);
  font-style: normal;
}
.lead {
  max-width: 670px;
  margin: 20px 0 0;
  font-size: clamp(1rem, 2vw, 1.17rem);
  line-height: 1.67;
  color: var(--muted);
}
.hero-card {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  padding: 25px;
  border-radius: 30px 8px 30px 30px;
  background: var(--ink);
  color: #f3fff9;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-card::before, .hero-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}
.hero-card::before { width: 240px; height: 240px; right: -72px; top: -106px; }
.hero-card::after { width: 150px; height: 150px; right: -28px; top: -62px; }
.hero-label {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-time {
  margin: 20px 0 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.07em;
}
.hero-caption { margin: 0; color: rgba(255,255,255,.7); font-size: .8rem; }
.route-line { display: flex; align-items: center; gap: 9px; margin: 24px 0 20px; }
.route-line span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.route-line i { flex: 1; height: 1px; background: rgba(255,255,255,.3); }
.route-line strong { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.detected {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.74);
  font-size: .78rem;
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(241,183,67,.18);
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 24px;
  align-items: start;
}
.panel, .result {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) 8px var(--radius) var(--radius);
  padding: clamp(22px, 4vw, 36px);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--gold) 0 24%, var(--accent) 24% 100%);
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 1.08rem;
  letter-spacing: -.01em;
}
.step {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px 3px 9px 9px;
  background: var(--ink);
  color: #f4fff9;
  font-family: "IBM Plex Mono", monospace;
  font-size: .74rem;
  box-shadow: 4px 4px 0 var(--gold-soft);
}
.fields { display: grid; gap: 18px; }
.field { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label, .field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
}
input, select, textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px 4px 12px 12px;
  background: var(--surface-2);
  color: var(--text);
  padding: 0 14px;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
input:focus, select:focus, textarea:focus, button:focus-visible {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search-wrap { position: relative; }
.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  color: var(--muted);
  pointer-events: none;
}
.search-wrap input { padding-left: 42px; }
.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.5;
}
.quick-label { margin: 2px 0 9px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.quick-times { display: flex; flex-wrap: wrap; gap: 8px; }
.time-chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: .78rem;
}
.time-chip:hover, .time-chip[aria-pressed="true"] {
  color: var(--accent-strong);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.divider { height: 1px; background: var(--line); margin: 26px 0; }
.local-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}
.local-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.local-icon svg { width: 20px; }
.local-copy { min-width: 0; }
.local-copy strong { display: block; font-size: .9rem; }
.local-copy span { display: block; margin-top: 2px; color: var(--muted); font-size: .76rem; }
.source-select { margin-top: 14px; }
.result {
  position: sticky;
  top: 24px;
  overflow: hidden;
  border-radius: 8px var(--radius) var(--radius) var(--radius);
}
.result-top {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 38px);
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.result-top::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  right: -100px;
  bottom: -120px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 34px rgba(88,208,173,.09), 0 0 0 72px rgba(88,208,173,.06);
}
.result-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(255,255,255,.1);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.result-time {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(2.9rem, 8vw, 5rem);
  line-height: .95;
  letter-spacing: -.07em;
  white-space: nowrap;
}
.result-date { margin: 14px 0 0; font-size: .94rem; line-height: 1.5; }
.conversion-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.24);
  font-size: .82rem;
  line-height: 1.5;
}
.conversion-arrow svg { flex: 0 0 auto; width: 28px; height: 28px; }
.result-body { padding: clamp(22px, 4vw, 32px); }
.fact-list { display: grid; gap: 0; margin: 0; }
.fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.fact:first-child { padding-top: 0; }
.fact dt { color: var(--muted); font-size: .8rem; }
.fact dd { margin: 0; text-align: right; font-size: .82rem; font-weight: 700; }
.copy-panel { margin-top: 24px; }
.copy-title { margin: 0 0 11px; font-size: .84rem; font-weight: 700; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 11px 4px 11px 11px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.copy-btn:hover { transform: translateY(-1px); }
.copy-btn svg { width: 17px; height: 17px; }
.copy-btn {
  width: 100%;
  margin-top: 9px;
  border: 0;
  background: var(--text);
  color: var(--surface);
  font-size: .8rem;
}
.copy-btn:hover { opacity: .9; }
.dst-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 12px 13px;
  border-radius: 10px;
  background: var(--warm-soft);
  color: color-mix(in srgb, var(--warm) 70%, var(--text));
  font-size: .75rem;
  line-height: 1.55;
}
.dst-note svg { flex: 0 0 auto; width: 17px; margin-top: 1px; }
.audience-builder {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
.add-btn, .remove-target {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}
.add-btn {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 10px;
  white-space: nowrap;
}
.target-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.target-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.target-card strong { display: block; font-size: .84rem; }
.target-card span { display: block; margin-top: 3px; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.target-card time { grid-column: 1 / -1; font-family: "IBM Plex Mono", monospace; color: var(--accent-strong); font-size: .84rem; }
.remove-target { width: 32px; height: 32px; border-radius: 50%; }
.content-section {
  margin-top: 64px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 18px;
}
.content-section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 42px;
  margin-top: 24px;
}
.article-copy { max-width: 760px; }
.article-copy h3 { margin: 30px 0 8px; font-size: 1.08rem; }
.article-copy p, .article-copy li { color: var(--muted); font-size: .94rem; line-height: 1.75; }
.article-copy ol { padding-left: 20px; }
.article-copy strong { color: var(--text); }
.guide-note {
  align-self: start;
  padding: 22px;
  border-radius: 10px 22px 22px 22px;
  background: var(--accent-soft);
}
.guide-note h3 { margin: 0 0 12px; font-size: 1rem; }
.guide-note p { margin: 0; color: var(--accent-strong); font-size: .82rem; line-height: 1.65; }
.topic-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0 44px;
}
.topic-link {
  display: flex;
  flex-direction: column;
  min-height: 148px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 8px 20px 20px 20px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
.topic-link:hover, .topic-link:focus-visible { border-color: var(--accent); outline: none; }
.topic-link strong { font-size: .96rem; line-height: 1.35; }
.topic-link span { margin-top: 8px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.topic-link b { margin-top: auto; padding-top: 14px; color: var(--accent-strong); font-size: .75rem; }
.seo-article {
  display: grid;
  grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: 38px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 18px;
}
.seo-article:first-of-type { border-top: 0; padding-top: 0; }
.article-heading h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.article-heading p { margin: 10px 0 0; color: var(--accent-strong); font-size: .76rem; font-weight: 700; }
.seo-body { max-width: 780px; }
.seo-body h4 { margin: 24px 0 7px; font-size: 1rem; }
.seo-body h4:first-child { margin-top: 0; }
.seo-body p, .seo-body li { color: var(--muted); font-size: .92rem; line-height: 1.75; }
.seo-body ul, .seo-body ol { padding-left: 20px; }
.seo-body strong { color: var(--text); }
.faq-list { display: grid; gap: 10px; max-width: 840px; margin-top: 24px; }
details { border-bottom: 1px solid var(--line); padding: 0 0 12px; }
summary { cursor: pointer; padding: 10px 0; font-weight: 700; }
details p { margin: 6px 0 8px; color: var(--muted); line-height: 1.65; }
.policy-page {
  max-width: 820px;
  margin: 12px auto 0;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius) 8px var(--radius) var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 8px 18px 18px 18px;
  background: var(--surface-2);
}
.contact-list strong { display: block; margin-bottom: 4px; color: var(--text); }
.contact-list span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px 22px 22px 22px;
  background: var(--surface-2);
}
.contact-form .split { align-items: start; }
.contact-submit {
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px 4px 10px 10px;
  background: var(--ink);
  color: #f4fff9;
  font-weight: 700;
}
.contact-submit:hover { opacity: .92; }
.contact-note, .contact-status {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.6;
}
.contact-note a { font-weight: 700; }
.contact-status { color: var(--accent-strong); font-weight: 700; }
.contact-status:empty { display: none; }
.cookie-layer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}
.cookie-layer[hidden] { display: none; }
.cookie-banner {
  pointer-events: auto;
  width: min(430px, 100%);
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 12px 26px 26px 26px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(5, 27, 20, .34);
}
.cookie-banner strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.cookie-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 19px; }
.cookie-actions a { color: var(--accent-strong); font-size: .8rem; font-weight: 700; }
.cookie-actions button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px 3px 9px 9px;
  background: var(--ink);
  color: #f4fff9;
  font-size: .8rem;
  font-weight: 700;
}
.policy-page h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.5rem); }
.policy-page .effective { margin: 12px 0 30px; color: var(--muted); font-size: .82rem; }
.policy-page h2 { margin: 28px 0 9px; font-size: 1.08rem; letter-spacing: -.015em; }
.policy-page p, .policy-page li { color: var(--muted); font-size: .9rem; line-height: 1.75; }
.policy-page ul { padding-left: 20px; }
.policy-page a { color: var(--accent-strong); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  color: var(--accent-strong);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}
.site-footer a { color: inherit; }
.error {
  display: none;
  margin: 0;
  padding: 22px;
  background: var(--warm-soft);
  color: var(--text);
  line-height: 1.55;
}
.error strong { display: block; color: var(--warm); margin-bottom: 4px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 16px);
  z-index: 10;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-size: .82rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.creator-suite {
  margin-top: 34px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.suite-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .42fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}
.suite-heading h2 { margin: 0; font-size: clamp(1.75rem, 3.5vw, 3rem); letter-spacing: -.045em; line-height: 1.05; }
.suite-heading p { margin: 0; color: var(--muted); line-height: 1.65; font-size: .9rem; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tool-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px 22px 22px 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.tool-card.wide { grid-column: 1 / -1; }
.tool-head { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.tool-number {
  display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px;
  border-radius: 9px 3px 9px 9px; background: var(--gold-soft); color: var(--text);
  font-family: "IBM Plex Mono", monospace; font-size: .72rem; font-weight: 700;
}
.tool-head h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.02em; }
.tool-head p { margin: 4px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.compact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.compact-fields.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-fields label { margin-bottom: 6px; font-size: .69rem; }
.compact-fields input, .compact-fields select { min-height: 46px; }
.action-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.tool-action, .tool-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 15px;
  border: 1px solid var(--accent); border-radius: 10px 4px 10px 10px;
  background: var(--accent-soft); color: var(--accent-strong); font-size: .78rem; font-weight: 700; text-decoration: none;
}
.tool-action.primary { border-color: var(--ink); background: var(--ink); color: #f4fff9; }
.tool-output { margin-top: 15px; }
.window-list, .calendar-list, .grid-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.window-item, .calendar-item, .grid-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center;
  padding: 12px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2);
}
.window-item strong, .calendar-item strong, .grid-item strong { font-size: .82rem; }
.window-item span, .calendar-item span, .grid-item span { color: var(--muted); font-size: .73rem; line-height: 1.45; }
.window-item time, .calendar-item time, .grid-item time { text-align: right; font-family: "IBM Plex Mono", monospace; color: var(--accent-strong); font-size: .78rem; }
.grid-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-item { grid-template-columns: 1fr; align-content: start; }
.grid-item time { text-align: left; }
.share-preview {
  overflow-wrap: anywhere; padding: 12px 13px; border: 1px dashed var(--line); border-radius: 8px;
  background: var(--surface-2); color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: .72rem; line-height: 1.55;
}
.status-line { margin: 12px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.status-line strong { color: var(--text); }
.overlap-band { margin-top: 15px; padding: 16px; border-radius: 8px 18px 18px 18px; background: var(--ink); color: #f4fff9; }
.overlap-band strong { display: block; font-size: 1rem; }
.overlap-band span { display: block; margin-top: 6px; color: rgba(255,255,255,.7); font-size: .78rem; line-height: 1.55; }
@media (max-width: 980px) { .grid-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .suite-heading, .tool-grid { grid-template-columns: 1fr; }
  .tool-card.wide { grid-column: auto; }
  .grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .site-header {
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
  }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.08rem; }
  .brand-tagline { display: none; }
  .site-header .nav-toggle { margin: 0 0 0 auto; }
  .site-header .site-nav {
    flex-basis: 100%;
    margin: 0 0 0 auto;
  }
  .page { width: min(100% - 24px, 620px); padding: 14px 0 36px; }
  .nav-toggle {
    display: inline-flex;
    margin: 0 0 18px auto;
  }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(290px, 100%);
    margin: -8px 0 24px auto;
    padding: 7px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 11px 13px; text-align: left; font-size: .78rem; }
  .intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .hero-card { min-height: 220px; }
  .workspace { grid-template-columns: 1fr; }
  .result { position: static; }
  .panel { border-radius: 18px 6px 18px 18px; }
  .result { border-radius: 6px 18px 18px 18px; }
  .article-grid { grid-template-columns: 1fr; gap: 24px; }
  .topic-index { grid-template-columns: 1fr; }
  .seo-article { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .audience-builder, .compact-fields, .compact-fields.three { grid-template-columns: 1fr; }
  .add-btn, .tool-action, .tool-link { width: 100%; }
  .grid-list { grid-template-columns: 1fr; }
  .window-item, .calendar-item { grid-template-columns: 1fr; }
  .window-item time, .calendar-item time { text-align: left; }
}
@media (max-width: 480px) {
  .split { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .result-time { font-size: clamp(2.65rem, 17vw, 4rem); }
  .fact { display: grid; gap: 4px; }
  .fact dd { text-align: left; }
  .cookie-layer { padding: 14px; }
  .cookie-banner { padding: 21px; }
  .cookie-actions { justify-content: space-between; }
  .site-footer { display: block; }
}


.world-clock-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin: -18px 0 36px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 8px 18px 18px 18px;
  background: var(--ink);
  color: #f4fff9;
  box-shadow: var(--shadow-soft);
}
.clock-strip-label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border-right: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.82);
  font-size: .76rem;
  white-space: nowrap;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(241,183,67,.14); }
.clock-cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.clock-city { min-width: 0; padding: 11px 16px; border-left: 1px solid rgba(255,255,255,.09); }
.clock-city:first-child { border-left: 0; }
.clock-city span { display: block; margin-bottom: 3px; color: rgba(255,255,255,.6); font-size: .66rem; font-weight: 700; }
.clock-city time { display: block; font-family: "IBM Plex Mono", monospace; font-size: .83rem; white-space: nowrap; }
.full-field { grid-column: 1 / -1; }
.decision-box {
  margin-top: 15px;
  padding: 17px;
  border-radius: 7px 18px 18px 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.decision-box.yes { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.decision-box.no { background: var(--warm-soft); border-color: color-mix(in srgb, var(--warm) 42%, var(--line)); }
.decision-box strong { display: block; font-size: .92rem; line-height: 1.45; }
.decision-box span { display: block; margin-top: 5px; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.meeting-table { display: grid; gap: 1px; margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px 17px 17px 17px; background: var(--line); }
.meeting-table > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 13px 14px; background: var(--surface-2); }
.meeting-table span { color: var(--muted); font-size: .72rem; font-weight: 700; }
.meeting-table strong { font-size: .78rem; line-height: 1.5; }
.countdown-card { background: var(--ink); color: #f4fff9; }
.countdown-card .tool-head p, .countdown-card label { color: rgba(255,255,255,.66); }
.countdown-card input, .countdown-card select { border-color: rgba(255,255,255,.16); background: var(--ink-2); color: #f4fff9; }
.countdown-card .tool-action.primary { border-color: var(--gold); background: var(--gold); color: #13271f; }
.countdown-display { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); }
.countdown-value { font-family: "IBM Plex Mono", monospace; font-size: clamp(1.8rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.05em; color: var(--gold); }
.countdown-display p { margin: 10px 0 0; color: rgba(255,255,255,.72); font-size: .8rem; line-height: 1.55; }
@media (max-width: 800px) {
  .world-clock-strip { grid-template-columns: 1fr; margin: 0 0 24px; }
  .clock-strip-label { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .clock-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clock-city:nth-child(3) { border-left: 0; }
  .clock-city:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.09); }
}
@media (max-width: 480px) {
  .meeting-table > div { grid-template-columns: 1fr; gap: 4px; }
  .clock-city { padding: 10px 12px; }
  .clock-city time { font-size: .77rem; }
}
.dst-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: -20px 0 30px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--gold) 54%, var(--line));
  border-radius: 7px 17px 17px 17px;
  background: var(--gold-soft);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.dst-alert[hidden] { display: none; }
.dst-alert-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: .6rem;
  line-height: 1;
  text-align: center;
  border-radius: 50%;
  background: var(--gold);
  color: #15271f;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}
.dst-alert strong { display: block; font-size: .86rem; }
.dst-alert span { display: block; margin-top: 2px; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.dst-alert button { border: 0; background: transparent; color: var(--muted); font-size: 1.1rem; }
.region-picks, .snippet-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.region-pick {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px 3px 9px 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
}
.region-pick[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }
.region-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.region-chip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px; padding: 4px 6px 4px 12px;
  border: 1px solid var(--accent); border-radius: 9px 3px 9px 9px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-size: .74rem; font-weight: 700;
}
.region-chip-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; padding: 0;
  border: 0; border-radius: 50%;
  background: transparent; color: inherit;
  font-size: .95rem; line-height: 1; cursor: pointer;
}
.region-chip-remove:hover { background: var(--accent); color: #fff; }
.region-add { position: relative; margin-top: 12px; }
.region-add input { width: 100%; }
.region-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  max-height: 264px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); box-shadow: 0 14px 34px rgba(21,39,31,.16);
  padding: 5px;
}
.region-results[hidden] { display: none; }
.region-result {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  width: 100%; padding: 8px 9px; border: 0; border-radius: 7px;
  background: transparent; color: var(--text); text-align: left; cursor: pointer;
}
.region-result:hover, .region-result.is-active { background: var(--accent-soft); }
.region-result strong { font-size: .78rem; font-weight: 700; }
.region-result span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: .64rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.region-results-note { padding: 8px 9px; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.region-add-hint { margin: 8px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.heat-controls { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
/* ===== v8 slider fix: large readout, custom track/fill, big thumb ===== */
.slider-field {
  padding: 18px 20px 16px;
  border: 1px solid var(--line);
  border-radius: 8px 20px 20px 20px;
  background: var(--surface-2);
}
.slider-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.slider-head label { margin-bottom: 6px; }
.slider-readout { text-align: right; line-height: 1; }
.slider-readout-time {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -.04em;
  color: var(--text);
  white-space: nowrap;
}
.slider-readout-city {
  display: block;
  margin-top: 6px;
  color: var(--accent-strong);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.slider-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
}
.slider-step {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-strong);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  -webkit-tap-highlight-color: transparent;
}
.slider-step:hover { border-color: var(--accent); background: var(--accent-soft); }
.slider-step:active { transform: scale(.94); }
.slider-track-wrap { min-width: 0; padding: 0 2px; }
input.time-slider {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  touch-action: pan-y;
  --fill: 52.174%;
  --track-rest: color-mix(in srgb, var(--muted) 26%, var(--surface));
}
input.time-slider:hover, input.time-slider:focus { background: transparent; border: 0; box-shadow: none; }
input.time-slider:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 8px; }
.time-slider::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent) 0, var(--accent) var(--fill), var(--track-rest) var(--fill), var(--track-rest) 100%);
}
.time-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  box-shadow: 0 3px 10px rgba(7, 60, 47, .3), 0 0 0 5px var(--accent-soft);
  cursor: grab;
}
.time-slider:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.12);
  box-shadow: 0 5px 16px rgba(7, 60, 47, .34), 0 0 0 8px var(--accent-soft);
}
.time-slider::-moz-range-track {
  height: 12px;
  border-radius: 999px;
  background: var(--track-rest);
}
.time-slider::-moz-range-progress {
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
}
.time-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  box-shadow: 0 3px 10px rgba(7, 60, 47, .3), 0 0 0 5px var(--accent-soft);
  cursor: grab;
}
.time-slider:active::-moz-range-thumb { cursor: grabbing; transform: scale(1.12); }
.slider-scale {
  position: relative;
  height: 20px;
  margin-top: 2px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  font-weight: 500;
}
.slider-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.slider-scale span:first-child { transform: none; }
.slider-scale span:last-child { transform: translateX(-100%); }
.slider-scale span::before {
  content: "";
  display: block;
  width: 1px;
  height: 5px;
  margin: 0 auto 3px;
  background: var(--line);
}
.slider-scale span:first-child::before { margin-left: 0; }
.slider-scale span:last-child::before { margin-right: 0; }
.slider-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.slider-hint { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.slider-now {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 9px 3px 9px 9px;
  background: var(--surface);
  color: var(--accent-strong);
  font-size: .74rem;
  font-weight: 700;
}
.slider-now:hover { background: var(--accent-soft); }
@media (max-width: 560px) {
  .slider-field { padding: 16px 14px 14px; }
  .slider-row { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; }
  .slider-step { width: 40px; height: 40px; }
  .slider-head { align-items: flex-start; }
  .slider-foot { flex-wrap: wrap; }
  .slider-scale span:nth-child(2), .slider-scale span:nth-child(4) { display: none; }
}
.heat-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 16px 0 0; color: var(--muted); font-size: .7rem; }
.heat-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch { width: 10px; height: 10px; border-radius: 2px; }
.sleep { background: #cf5a4e; }
.work { background: #e0ad37; }
.peak { background: #16866e; }
.steady { background: color-mix(in srgb, var(--muted) 20%, var(--surface-2)); }
.heatmap { display: grid; gap: 13px; margin-top: 18px; }
.heat-row { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 12px; align-items: center; }
.heat-label strong { display: block; font-size: .78rem; }
.heat-label span { display: block; margin-top: 3px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: .68rem; }
.heat-track { display: grid; grid-template-columns: repeat(24, minmax(3px, 1fr)); gap: 2px; min-width: 0; }
.heat-cell { height: 25px; border-radius: 2px; opacity: .78; }
.heat-cell.is-current { outline: 2px solid var(--text); outline-offset: 2px; opacity: 1; z-index: 1; }
.heat-hours { display: grid; grid-template-columns: repeat(6, 1fr); margin: 5px 0 0 157px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: .62rem; }
.heat-hours span:last-child { text-align: right; }
.golden-window { margin-top: 17px; padding: 15px 16px; border-radius: 7px 18px 18px 18px; background: var(--ink); color: #f4fff9; }
.golden-window strong { display: block; font-size: .9rem; }
.golden-window span { display: block; margin-top: 5px; color: rgba(255,255,255,.7); font-size: .75rem; line-height: 1.55; }
.queue-preview { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 7px 18px 18px 18px; background: var(--surface-2); }
.queue-preview[hidden] { display: none; }
.queue-time { margin: 0 0 13px; color: var(--accent-strong); font-weight: 700; line-height: 1.5; }
.queue-checklist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.queue-checklist li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; color: var(--muted); font-size: .76rem; }
.queue-checklist time { color: var(--text); font-family: "IBM Plex Mono", monospace; font-size: .7rem; font-weight: 700; }
.download-note { margin: 10px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.snippet-output { min-height: 210px; margin-top: 14px; font-family: "IBM Plex Mono", monospace; font-size: .76rem; }
@media (max-width: 700px) {
  .heat-controls { grid-template-columns: 1fr; }
  .heat-row { grid-template-columns: 1fr; gap: 7px; }
  .heat-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
  .heat-label span { margin-top: 0; text-align: right; }
  .heat-hours { margin-left: 0; }
  .queue-checklist li { grid-template-columns: 1fr; gap: 2px; }
  .dst-alert { margin: 0 0 22px; }
}

/* ===== v7 responsive pass: one-line header nav, hamburger on tablet/mobile ===== */
.site-nav { flex-wrap: nowrap; }
.site-nav a { white-space: nowrap; }
.tool-card, .intro { scroll-margin-top: 16px; }
.site-footer { flex-wrap: wrap; row-gap: 8px; }
.site-footer .footer-links { text-align: right; line-height: 1.9; }
.site-footer .footer-links a { white-space: nowrap; }
@media (max-width: 900px) {
  .site-header { position: relative; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 26px; }
  .brand-tagline { display: none; }
  .site-header .nav-toggle { display: inline-flex; margin: 0 0 0 auto; }
  .site-header .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    margin: 4px 0 0;
    padding: 7px;
  }
  .site-header .site-nav.is-open { display: flex; }
  .site-header .site-nav a { width: 100%; padding: 12px 13px; text-align: left; font-size: .82rem; }
  .intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 26px; }
  .hero-card { min-height: 220px; }
  .workspace { grid-template-columns: 1fr; }
  .result { position: static; }
  .suite-heading, .tool-grid { grid-template-columns: 1fr; }
  .tool-card.wide { grid-column: auto; }
  .article-grid { grid-template-columns: 1fr; gap: 24px; }
  .topic-index { grid-template-columns: 1fr; }
  .seo-article { grid-template-columns: 1fr; gap: 16px; }
  .grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .world-clock-strip { grid-template-columns: 1fr; margin: 0 0 24px; }
  .clock-strip-label { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .clock-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clock-city:nth-child(3) { border-left: 0; }
  .clock-city:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.09); }
  .dst-alert { margin: 0 0 22px; }
}
@media (max-width: 560px) {
  .site-footer { display: block; }
  .site-footer .footer-links { display: block; margin-top: 8px; text-align: left; }
  .dst-alert { position: relative; grid-template-columns: auto minmax(0, 1fr); }
  .dst-alert button { position: absolute; top: 6px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
/* ===== v8: multi-page structure, articles, accessibility ===== */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #f4fff9;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent);
  outline-offset: 2px;
}
.slider-scale .at-0 { left: 0%; }
.slider-scale .at-6 { left: 26.09%; }
.slider-scale .at-12 { left: 52.17%; }
.slider-scale .at-18 { left: 78.26%; }
.slider-scale .at-23 { left: 100%; }
.snippet-field { margin-top: 14px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Home: visible supporting content */
.home-section h2 { margin-bottom: 0; }
.home-section .lead { margin-top: 14px; }
.steps-list { max-width: 780px; margin: 22px 0 0; padding-left: 22px; }
.steps-list li { margin-bottom: 10px; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.steps-list strong { color: var(--text); }
a.topic-link { cursor: pointer; }
.section-more { margin: 22px 0 0; font-size: .9rem; }
.section-more a, .prose a, .faq-list a { color: var(--accent-strong); font-weight: 700; }

/* Long-form pages (guides, FAQ, policies) */
.prose-page {
  max-width: 820px;
  margin: 12px auto 0;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius) 8px var(--radius) var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.prose-page h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.02; }
.breadcrumb { margin: 0 0 22px; color: var(--muted); font-size: .8rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--accent-strong); font-weight: 700; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-meta { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
.answer-box {
  margin: 26px 0 8px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 4px 16px 16px 4px;
  background: var(--accent-soft);
}
.answer-box p { margin: 0; color: var(--text); font-size: .98rem; line-height: 1.7; }
.prose h2 { margin: 36px 0 10px; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; }
.prose h3 { margin: 26px 0 8px; font-size: 1.05rem; }
.prose p, .prose li { color: var(--muted); font-size: .96rem; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .88rem; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 700; }
.prose td { color: var(--muted); }
.prose tr:last-child td { border-bottom: 0; }
.prose caption { padding: 10px 14px; caption-side: bottom; color: var(--muted); font-size: .78rem; text-align: left; }
.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 34px 0 0;
  padding: 20px 22px;
  border-radius: 8px 20px 20px 20px;
  background: var(--ink);
  color: #f4fff9;
}
.cta-box p { margin: 0; color: #d6ebe2; font-size: .92rem; line-height: 1.6; }
.cta-box a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px 4px 10px 10px;
  background: var(--gold);
  color: #10231c;
  font-weight: 700;
  text-decoration: none;
}
.related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2 { margin-top: 0; }
.related .topic-index { margin-bottom: 0; }
.faq-group h2 { margin-top: 34px; }
.prose-page .faq-list { margin-top: 12px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 900px) {
  .prose-page .topic-index { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .cookie-layer, .cta-box, .world-clock-strip { display: none !important; }
  .prose-page { box-shadow: none; border: 0; }
}
.prose .breadcrumb ol { padding-left: 0; }
.prose .breadcrumb li { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.topic-index.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .topic-index.two { grid-template-columns: 1fr; } }
.ts-card { margin: 26px 0 8px; }
.ts-card .ts-tool-title { margin: 0 0 16px; font-size: 1.1rem; }
.ts-card .field + .action-row, .ts-card .action-row + .field { margin-top: 14px; }
.ts-card textarea { min-height: 220px; font-family: "IBM Plex Mono", monospace; font-size: .84rem; line-height: 1.6; }
.prem-table { margin: 16px 0; }
.cd-view { text-align: center; }
.cd-view .cd-name { margin: 0; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.cd-view .cd-value { margin: 14px 0 6px; color: var(--accent-strong); font-family: "IBM Plex Mono", monospace; font-size: clamp(2.2rem, 8vw, 4rem); font-weight: 500; line-height: 1.1; }
.cd-view .cd-note { margin: 0; color: var(--text); font-weight: 700; }
.cd-view .action-row { justify-content: center; }
a.tool-action { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* Grouped footer */
.site-footer.site-footer-grid { display: block; margin-top: 56px; padding-top: 34px; font-size: .82rem; }
.footer-grid { display: grid; grid-template-columns: minmax(200px, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-brand .brand img { width: 34px; height: 34px; border-radius: 10px; }
.footer-brand p { max-width: 260px; margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.footer-col h2 { margin: 4px 0 12px; color: var(--text); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 0 0 9px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--accent-strong); text-decoration: underline; }
.footer-bottom { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
