:root {
  --game-navy: #081b35;
  --game-navy-soft: #12355b;
  --game-green: #15b866;
  --game-green-dark: #087c43;
  --game-mint: #e9fff3;
  --game-ink: #12243a;
  --game-muted: #516173;
  --game-line: #cbd7df;
  --game-paper: #ffffff;
  color: var(--game-ink);
  background: #f4f8fa;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--game-ink);
  background: #f4f8fa;
}

a {
  color: #075f9d;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.15em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--game-navy);
  background: var(--game-paper);
  border: 2px solid var(--game-navy);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  color: #fff;
  background: var(--game-navy);
  border-bottom: 4px solid var(--game-green);
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-height: 72px;
}

.brand {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.footer-nav a {
  color: #fff;
  font-weight: 700;
}

.hero {
  color: #fff;
  background:
    linear-gradient(125deg, rgba(21, 184, 102, 0.17), transparent 52%),
    var(--game-navy);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero .lead{color:#dae7f2}.generated-article h1{max-width:none;font-size:clamp(1.8rem,4vw,2.8rem)}.generated-article .eyebrow{color:var(--game-green-dark)}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: #81f0b5;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.32;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
}

h2 {
  margin: 0 0 1rem;
  color: var(--game-navy);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.lead {
  max-width: 64ch;
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-panel {
  padding: 1.4rem;
  color: var(--game-navy);
  background: #fff;
  border-top: 6px solid var(--game-green);
  border-radius: 12px;
}

.hero-panel strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.12rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.35rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section.white {
  background: #fff;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-intro > :last-child {
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.tool,
.notice,
.record-sheet {
  background: #fff;
  border: 1px solid var(--game-line);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(8, 27, 53, 0.07);
}

.card {
  padding: 1.4rem;
  border-top: 5px solid var(--game-green);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.15rem 0.65rem;
  color: var(--game-green-dark);
  font-size: 0.84rem;
  font-weight: 800;
  background: var(--game-mint);
  border: 1px solid #8fe0b3;
  border-radius: 999px;
}

.tool {
  padding: clamp(1.25rem, 4vw, 2.2rem);
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

label,
legend {
  color: var(--game-navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.78rem 0.85rem;
  color: var(--game-ink);
  font: inherit;
  background: #fff;
  border: 1px solid #708296;
  border-radius: 7px;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.field-help,
.small {
  color: var(--game-muted);
  font-size: 0.9rem;
}

.field-help {
  display: block;
  margin-top: 0.25rem;
  font-weight: 400;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  background: var(--game-green-dark);
  border: 2px solid var(--game-green-dark);
  border-radius: 7px;
  cursor: pointer;
}

.button:hover,
button:hover {
  color: #fff;
  background: #056334;
}

.button.secondary {
  color: var(--game-navy);
  background: #fff;
  border-color: var(--game-navy);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.result {
  min-height: 5.5rem;
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--game-mint);
  border-left: 6px solid var(--game-green-dark);
}

.result p {
  margin: 0.3rem 0;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--game-line);
  border-radius: 10px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--game-line);
}

thead th {
  color: #fff;
  background: var(--game-navy-soft);
}

tbody th {
  color: var(--game-navy);
}

.notice {
  padding: 1.2rem 1.35rem;
  background: #fff9e8;
  border-color: #d9bd5f;
  box-shadow: none;
}

.notice strong {
  color: #6b4a00;
}

.checklist {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: checklist;
}

.checklist li {
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  background: #fff;
  border: 1px solid var(--game-line);
  border-radius: 9px;
  counter-increment: checklist;
}

.checklist li::before {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  color: #fff;
  font-weight: 800;
  content: counter(checklist);
  background: var(--game-green-dark);
  border-radius: 50%;
}

.record-sheet {
  padding: clamp(1rem, 3vw, 2rem);
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 2.75rem 0;
  color: #fff;
  background: var(--game-navy);
}

.site-footer p {
  max-width: 72ch;
}

.site-footer .small {
  color: #cad7e6;
}

.source-list li + li {
  margin-top: 0.6rem;
}

@media (max-width: 800px) {
  .header-inner,
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 1rem 0;
  }

  .cards,
  .fields,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: auto;
  }
}

@media print {
  .site-header,
  .hero,
  .site-footer,
  .no-print,
  .button,
  button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 1rem 0;
  }

  .record-sheet,
  .card,
  .notice {
    break-inside: avoid;
    box-shadow: none;
  }
}
