html { background: #fff; color-scheme: light; }
.editorial {
  --bg: #fff;
  --bg-2: #faf6ed;
  --card: #fff;
  --gold: #76551e;
  --gold-soft: #674714;
  --gold-dark: #76551e;
  --text: #29241e;
  --text-2: #554a40;
  --line: #d8c6a4;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
}
.editorial::before { display: none; }
.editorial a, .editorial .footer-link { text-decoration-color: currentColor; }
.editorial .skip { background: #f3d595; color: #21180f; }
.editorial .btn-ghost { background: #fff; color: var(--gold-soft); }
.editorial .wrap { width: min(1120px, 100% - 48px); }
.editorial .site-header { border-bottom: 1px solid var(--line); padding-block: 12px; }
.editorial .brand { font-size: 1.2rem; letter-spacing: .04em; text-transform: none; }
.editorial .nav { gap: clamp(14px, 3vw, 32px); }
.editorial .nav a { padding-block: 8px; color: var(--text-2); }
.editorial .nav a:hover, .editorial .nav [aria-current] { color: var(--gold-soft); }
.editorial .nav [aria-current] { text-decoration: underline; text-underline-offset: .5em; }
.editorial h1, .editorial h2 { font-weight: 400; letter-spacing: -.025em; line-height: 1.05; }
.editorial h1 { font-family: var(--font-display); font-size: clamp(3rem, 9vw, 6.2rem); margin: 0; color: var(--text); }
.section-label {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.editorial-opening {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 30px;
  flex-wrap: wrap;
  padding-block: clamp(30px, 6vw, 78px) 26px;
}
.editorial-opening p:not(.section-label), .tool-intro { color: var(--text-2); font-size: 1.05rem; margin: 16px 0 0; max-width: 52ch; }
.editorial-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; }
.editorial-action {
  background: #dfb96e;
  border-radius: 4px;
  border: 1px solid #a9782b;
  color: #1b1512;
  font: 600 1rem var(--font-body);
}
.editorial-action:hover { background: #edcf94; color: #1b1512; }
.daily-section { padding-block: 0; }
.daily-section .card-picker { padding: clamp(16px, 3vw, 32px); border-radius: 6px; background: var(--bg-2); box-shadow: none; }
.daily-section .picker-heading h2 { margin: 3px 0 0; color: var(--text); font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 1.8rem); }
.daily-section .carousel-frame { background: none; border-radius: 0; }
.daily-section .picker-actions button { border-radius: 4px; background: transparent; }
.daily-section .picker-status { color: var(--text-2); margin-bottom: 0; }
.daily-section .picker-kicker, .daily-section .card-info h3 { color: var(--gold-soft); }
.daily-section .card-info .roman, .daily-section .card-hint { color: var(--text-2); }
.daily-section .chip { color: var(--gold-soft); border-color: var(--line); background: var(--bg); }
.daily-section .card-choice { box-shadow: 0 5px 12px #35291835; }
.daily-section .card-choice.is-selected, .daily-section .result-card {
  border-color: #a9782b;
  box-shadow: 0 0 0 2px #dfb96e, 0 8px 20px #35291830;
}
.daily-section .card-choice:focus-visible { outline-color: var(--gold); }
.editorial-feature {
  margin-top: clamp(42px, 7vw, 96px);
  padding: clamp(24px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 28%);
  align-items: center;
  gap: clamp(20px, 5vw, 64px);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.editorial-feature h2, .editorial-directory h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 4.4rem); color: var(--text); margin: 0; }
.editorial-feature h1 { font-size: clamp(2.75rem, 7vw, 5.6rem); }
.editorial-feature p:not(.section-label) { color: var(--text-2); max-width: 45ch; }
.editorial-feature .editorial-link { margin-inline: 14px; }
.editorial-feature figure { width: min(100%, 190px); margin: 0 auto; }
.editorial-feature img { display: block; width: 100%; height: auto; border: 1px solid #796257; border-radius: 14px; }
.editorial-directory { margin-block: 46px 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.editorial-directory > div { padding-block: 14px; border-top: 1px solid var(--line); }
.editorial-directory h2 { font-size: clamp(1.7rem, 4vw, 2.35rem); }
.editorial-directory h2 a { text-decoration: none; }
.editorial-directory h2 a:hover { text-decoration: underline; }
.editorial-directory p { color: var(--text-2); margin-bottom: 0; }
.editorial-app-intro { margin-block: 36px 54px; }
.app-page .divider { display: none; }
.app-page .band { background: var(--bg-2); }
.app-page .card { background: var(--card); box-shadow: none; border-radius: 6px; }
.app-page .plan h3 { margin-top: 0; }
.app-page .deck, .app-page .journey-step, .app-page .notif, .app-page .trust-points article {
  background: var(--card);
  border-color: var(--line);
  box-shadow: none;
}
.app-page .phone { box-shadow: 0 8px 20px #35291826; }
.app-page .shot figcaption { color: var(--text-2); }
.app-page .closing-panel, .editorial .notice { background: var(--bg-2); border-color: var(--line); box-shadow: none; }
.editorial-tool { padding-block: clamp(32px, 7vw, 90px); min-height: 60vh; }
.tool-layout { margin-top: 32px; display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 1.5fr); gap: 24px; }
.tool-form, .tool-results { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(16px, 4vw, 32px); border-radius: 6px; }
.tool-results { background: var(--bg); }
.tool-form { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; }
.tool-form input, .tool-form select {
  min-height: 46px;
  min-width: 0;
  width: 100%;
  background: var(--bg);
  border: 1px solid #9d8662;
  border-radius: 4px;
  color: var(--text);
  font: inherit;
  padding: 8px 10px;
  margin-bottom: 8px;
}
.tool-form button:disabled { opacity: .6; }
.tool-form button:not(:disabled) { cursor: pointer; }
.tool-results h2 { color: var(--gold-soft); font: 400 1.8rem var(--font-display); margin: 0 0 10px; }
.tool-results article + article { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.tool-result-art { float: right; width: clamp(50px, 9vw, 90px); height: auto; margin: 0 0 12px 12px; border-radius: 4px; }
.tool-results article { display: flow-root; overflow-wrap: anywhere; }
.editorial .consent-inner {
  background: #fffdf8;
  color: var(--text);
  border-radius: 6px;
  box-shadow: 0 8px 30px #35291824;
}
.editorial .consent-actions .btn { border-radius: 4px; }
.editorial .legal p, .editorial .legal li, .editorial .legal td { color: var(--text-2); }
.editorial .legal code { color: var(--gold-soft); overflow-wrap: anywhere; }
.editorial .legal th { background: var(--bg-2); }
.editorial .legal .draft-banner { background: #fff4dc; color: #62431c; border-color: #ac7c39; }
.editorial-small { color: var(--text-2); font-size: .9rem; }
.editorial-detail { max-width: 65ch; margin-top: 22px; }
.editorial-detail summary { color: var(--gold-soft); cursor: pointer; }
@media (max-width: 650px) {
  .editorial .wrap { width: calc(100% - 32px); }
  .editorial .site-header .wrap { gap: 4px 16px; }
  .editorial-feature, .editorial-directory, .tool-layout { grid-template-columns: minmax(0, 1fr); }
  .editorial-feature figure { margin-inline: 0; width: min(42%, 155px); }
  .editorial-directory { gap: 8px; }
  .editorial-feature .editorial-link { margin-inline: 0 8px; }
  .daily-section .picker-actions .btn { flex: 1 1 auto; min-width: 0; min-height: 44px; width: auto; padding-inline: 10px; }
  .editorial .consent-inner { padding: 12px 14px; }
  .editorial .consent-actions .btn { padding-inline: 8px; }
}
