:root {
  --bg: #f8f9ff;
  --ink: #171c23;
  --muted: #5b403c;
  --card: #ffffff;
  --soft: #f0f4fd;
  --primary: #b22110;
  --accent: #b22110;
  --line: #e7d5cf;
  --shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12161c;
  --ink: #f6f1ea;
  --muted: #c9beb6;
  --card: #222833;
  --soft: #181d26;
  --accent: #ffb4a7;
  --line: #5c6573;
  --shadow: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.6;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.guide .wide > .wrap:first-child { padding-top: 36px; }
.wide { width: min(920px, calc(100% - 40px)); margin: 0 auto; }
main { padding-top: 64px; }
header.site-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: env(safe-area-inset-top) 0 0;
  pointer-events: none;
  transition: padding .45s ease;
}
header.site-bar.is-scrolled { padding: 0.5rem 0.5rem 0; }
header.site-bar .site-header {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  border-radius: 0;
  background-color: rgba(248, 249, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 30px rgba(23, 28, 35, 0.06);
  backdrop-filter: blur(20px);
  transition: background-color .45s ease, border-color .45s ease, box-shadow .45s ease, backdrop-filter .45s ease, border-radius .45s ease, max-width .45s ease;
}
header.site-bar.is-scrolled .site-header {
  border-radius: 9999px;
  background-color: rgba(248, 249, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 32px rgba(23, 28, 35, 0.06);
  backdrop-filter: blur(24px);
}
html[data-theme="dark"] header.site-bar .site-header {
  background-color: rgba(18, 22, 28, 0.58);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
html[data-theme="dark"] header.site-bar.is-scrolled .site-header {
  background-color: rgba(18, 22, 28, 0.22);
  border-color: rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { height: 40px; width: auto; transition: transform .2s ease; }
.brand:hover img { transform: scale(1.05); }
.site-logo-dark { display: none; }
html[data-theme="dark"] .site-logo-light { display: none; }
html[data-theme="dark"] .site-logo-dark { display: block; }
.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
  background: #fff;
  padding: 6px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(30, 35, 42, 0.04);
}
.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #5b403c;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a.is-current { background: #eaeef8; color: #171c23; }
.site-nav a:hover { background: #eaeef8; color: #171c23; }
.site-nav a:focus-visible { outline: 2px solid #b22110; outline-offset: 3px; }
.site-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; pointer-events: auto; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #171c23;
  cursor: pointer;
}
.icon-btn:focus-visible { outline: 2px solid #b22110; outline-offset: 3px; }
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
.site-menu {
  display: none;
  pointer-events: auto;
  margin: 8px auto 0;
  max-width: 1240px;
  border-radius: 1.75rem;
  background: #f8f9ff;
  border: 1px solid rgba(227, 190, 184, 0.6);
  padding: 12px 16px;
  box-shadow: 0 10px 24px rgba(23, 28, 35, 0.12);
}
.site-menu.is-open { display: block; }
.site-menu a {
  display: block;
  padding: 12px;
  border-radius: 1rem;
  color: #171c23;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.site-menu a:hover { background: #eaeef8; }
.site-menu a.site-menu-cta {
  margin-top: 8px;
  border-radius: 999px;
  background: #b22110;
  color: #fff;
  text-align: center;
}
.site-menu a.site-menu-cta:hover { background: #d63b27; color: #fff; }
html[data-theme="dark"] .site-nav,
html[data-theme="dark"] .icon-btn { background: #222833; color: #f6f1ea; }
html[data-theme="dark"] .site-nav a { color: #c9beb6; }
html[data-theme="dark"] .site-nav a.is-current,
html[data-theme="dark"] .site-nav a:hover { background: #2c3340; color: #f6f1ea; }
html[data-theme="dark"] .site-menu {
  background: #222833;
  border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .site-menu a { color: #f6f1ea; }
html[data-theme="dark"] .site-menu a:hover { background: #2c3340; }
html[data-theme="dark"] .site-menu a.site-menu-cta,
html[data-theme="dark"] .site-menu a.site-menu-cta:hover { background: #b22110; color: #fff; }
@media (min-width: 640px) {
  main { padding-top: 80px; }
  header.site-bar .site-header { height: 80px; padding: 0 24px; }
  .brand img { height: 56px; }
}
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  #nav-toggle { display: none; }
  .site-menu, .site-menu.is-open { display: none; }
}
.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  margin: 10px 0 28px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.dek { margin: 0; color: var(--muted); font-size: 18px; }
.byline { margin: 14px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.crumbs { margin: 28px 0 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); font-weight: 600; text-decoration: none; }
.figure {
  margin: 28px 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--soft);
}
.figure img { width: 100%; height: auto; }
.figure figcaption {
  padding: 10px 16px 14px;
  color: var(--muted);
  font-size: 13px;
}
.answer {
  margin: 22px 0 8px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.answer p:last-child { margin-bottom: 0; }
button.primary, a.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  cursor: pointer;
}
.note { margin: 0; color: var(--muted); font-size: 13px; }
.focuses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 28px 0 8px;
  padding: 0;
  list-style: none;
}
.focuses li {
  background: var(--card);
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.focuses li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(23, 28, 35, 0.1);
}
.focuses span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
}
.guide h2 {
  margin: 56px 0 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.guide h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.3; }
.guide p { margin: 0 0 14px; font-size: 17px; }
.guide strong { font-weight: 700; }
.guide ul, .guide ol { margin: 0 0 16px; padding-left: 1.2rem; }
.guide li { margin: 6px 0; font-size: 16px; }
.cols { columns: 2; column-gap: 32px; }
.cols li { break-inside: avoid; }
blockquote {
  margin: 22px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.35;
}
.callout {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--soft);
}
.weeks {
  display: grid;
  gap: 12px;
  margin: 18px 0 8px;
}
.week {
  background: var(--card);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.week:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(23, 28, 35, 0.1);
}
.week p { margin: 0; }
.week .when {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.checks { list-style: none; padding: 0; }
.checks li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-bottom: 1px solid var(--line);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--accent);
  border-radius: 5px;
}
.remember { display: grid; gap: 12px; }
.remember article {
  background: var(--card);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.remember article:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(23, 28, 35, 0.1);
}
.remember h3 { margin: 0 0 6px; }
.related { margin: 36px 0 8px; display: grid; gap: 8px; }
.related a { font-weight: 650; }
.related .kicker { margin-top: 12px; }
.related a.next {
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
  border-radius: 18px;
  padding: 14px 16px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.related a.next:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(23, 28, 35, 0.1);
}
.related a.next span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.end {
  margin-top: 48px;
  padding: 36px 28px;
  border-radius: 28px;
  background: #2c3138;
  color: white;
  text-align: center;
}
html[data-theme="dark"] .end { background: #2a3140; border: 1px solid var(--line); }
.end h2 { color: white; margin-top: 0; }
.end p { color: #dee2ec; }
.end a.primary { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
  .week, .focuses li, .remember article, .related a.next,
  .week:hover, .focuses li:hover, .remember article:hover, .related a.next:hover {
    transition: none;
    transform: none;
  }
  header.site-bar, header.site-bar .site-header, #theme-toggle, #nav-toggle, .site-menu,
  .brand img, .brand:hover img {
    transition: none;
    transform: none;
  }
}
@media (max-width: 700px) {
  .wrap, .wide { width: min(760px, calc(100% - 32px)); }
  h1 { font-size: 34px; }
  .dek, .guide p { font-size: 16px; }
  .figure { border-radius: 20px; }
  .cols { columns: 1; }
  .focuses { grid-template-columns: 1fr; }
  .focuses li {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 12px 14px;
  }
  .focuses span { margin: 0; font-size: 20px; }
  blockquote { font-size: 22px; }
  .guide h2 { margin-top: 40px; }
  .end { padding: 28px 18px; border-radius: 22px; }
}
