:root {
  --oat: #f8f3ea;
  --ink: #18342f;
  --leaf: #246b5b;
  --tomato: #c84933;
  --mist: #e8f1ee;
  --cloud: #f6faf8;
  --slate: #41514d;
  --line: rgba(24, 52, 47, 0.1);
  --shadow: 0 1px 2px rgba(24, 52, 47, 0.08);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(232, 241, 238, 0.72), rgba(248, 243, 234, 0.3) 36rem),
    var(--oat);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

button, input, textarea, select { font: inherit; }

:focus-visible {
  outline: 2px solid var(--tomato);
  outline-offset: 2px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.page { padding: 32px 0 8px; }

.narrow { width: min(896px, calc(100% - 32px)); }

h1, h2, .brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { margin: 8px 0 0; font-size: 36px; }

h2 { margin: 0; font-size: 22px; }

.kicker {
  margin: 0;
  color: var(--tomato);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede { margin: 16px 0 0; color: var(--slate); font-size: 18px; line-height: 1.7; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(248, 243, 234, 0.92);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 22px;
  text-decoration: none;
}

.mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
}

.site-header nav, .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-header nav a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--slate);
  font-size: 14px;
  text-decoration: none;
}

.site-header nav a:hover { background: #fff; color: var(--ink); }

.card, .note-card, .share-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.notes {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.note-card { padding: 20px; }

.note-card p, .card p, .share-panel p { margin: 8px 0 0; color: var(--slate); font-size: 14px; line-height: 1.6; }

.mist-bar {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  padding: 20px;
  color: var(--slate);
  font-size: 14px;
}

.mist-bar a, .source-list a, .card a {
  color: var(--leaf);
  font-weight: 600;
  text-underline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--leaf);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover { background: var(--ink); }

.guide {
  display: grid;
  gap: 32px;
}

.steps { margin: 16px 0 0; padding: 0; list-style: none; }

.steps li, .urgent-list li {
  margin-top: 12px;
  border-radius: 6px;
  background: var(--cloud);
  padding: 12px;
  color: var(--slate);
}

.card, .cta-band, .share-panel { margin-top: 24px; padding: 20px; }

.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.cta-band p { color: var(--slate); font-size: 14px; }

.cta-band .btn { margin-top: 16px; }

.source-list { margin: 12px 0 0; padding: 0; list-style: none; }

.source-list li { margin-top: 12px; color: var(--slate); font-size: 14px; }

.urgent {
  margin-top: 32px;
  border: 1px solid rgba(200, 73, 51, 0.3);
  border-radius: var(--radius);
  background: #fff3ef;
  padding: 20px;
}

.urgent-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.urgent-list li { margin: 0; background: #fff; }

.plain-list { margin: 16px 0 0; color: var(--slate); font-size: 14px; }

.cards-2, .cards-3 { display: grid; gap: 16px; margin-top: 32px; }

.share-panel { display: grid; gap: 16px; }

.qr-box {
  width: 156px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cloud);
  padding: 12px;
}

.qr-box canvas, .qr-box img { display: block; width: 132px; height: 132px; }

.link-box {
  margin: 16px 0 0;
  border-radius: 6px;
  background: var(--cloud);
  padding: 12px;
  color: var(--slate);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.footer-row, .guide-row {
  display: grid;
  gap: 16px;
  padding: 32px 0;
  color: var(--slate);
  font-size: 14px;
}

.guide-row { padding-top: 0; }

.site-footer a { text-underline-offset: 4px; }

.site-footer a:hover { text-decoration: underline; }

@media (min-width: 700px) {
  .notes, .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .guide { grid-template-columns: 1fr 17rem; align-items: start; }
  .footer-row { grid-template-columns: 1fr auto; align-items: start; }
  .urgent-list { grid-template-columns: 1fr 1fr; }
  .share-panel { grid-template-columns: 156px 1fr; align-items: center; }
}

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .wrap, .narrow { width: min(1120px, calc(100% - 32px)); }
  .btn { width: 100%; }
}
