:root {
  --navy: #071f14;
  --ink: #12261c;
  --muted: #5b7264;
  --blue: #1b9a40;
  --blue-deep: #0e7a32;
  --glow: #c6f56a;
  --line: #d5e6da;
  --light: #f3f8f4;
  --ice: #e7f5eb;
  --gold: #c6f56a;
  --paper: #f6faf7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.7 "Segoe UI", system-ui, -apple-system, sans-serif;
}
h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 0.22em 0 0.28em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0.2em 0 0.45em; }
h3 { font-size: 1.35rem; margin: 0.4em 0 0.35em; }
p { margin: 0.4em 0 1em; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 3px;
}

.wrap { width: min(1120px, calc(100% - 40px)); margin: auto; }
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 99;
  background: #fff;
  color: var(--navy);
  padding: 10px;
}
.skip:focus { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--navy);
  color: #e7f6ea;
  border-bottom: 1px solid rgba(198, 245, 106, 0.18);
}
.head-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  line-height: 0;
}
.brand img {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
}
.brand-footer img { height: 58px; }
.head-inner nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  scrollbar-width: none;
}
.head-inner nav::-webkit-scrollbar { display: none; }
.head-inner nav a {
  color: #d5e8db;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
}
.head-inner nav a:hover,
.head-inner nav a[aria-current] {
  color: var(--navy);
  background: var(--glow);
  text-decoration: none;
}
.head-contact {
  color: var(--navy);
  background: var(--glow);
  font-size: 14px;
  font-weight: 750;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.head-contact span { margin-left: 8px; }
.head-contact:hover { background: #fff; text-decoration: none; color: var(--navy); }

.hero {
  background:
    radial-gradient(680px 280px at 12% 0%, rgba(198, 245, 106, 0.16), transparent 62%),
    linear-gradient(180deg, #071f14 0%, #0d3322 100%);
  color: #f3fff6;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0 80px;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 640px; color: #fff; }
.hero p {
  max-width: 500px;
  color: #c9ded0;
  font-size: 1.12rem;
  line-height: 1.7;
}
.hero-visual { position: relative; }
.hero-art {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 18px 88px 18px 18px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(198, 245, 106, 0.35);
}
.hero-badge {
  position: absolute;
  width: 104px;
  height: auto;
  right: 16px;
  top: 16px;
  left: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
}

.eyebrow {
  display: inline-block;
  color: var(--blue-deep);
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 800;
  font-family: "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--glow); }
.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--glow);
  color: var(--navy);
  font: 750 14px "Segoe UI", system-ui, sans-serif;
  padding: 14px 20px;
  cursor: pointer;
}
.button:hover { background: #fff; text-decoration: none; color: var(--navy); }
.button-dark { background: #fff; color: var(--navy); }
.button-dark:hover { background: var(--glow); }
.text-link { color: #f3fff6; font-weight: 700; font-size: 14px; border-bottom: 1px solid rgba(198, 245, 106, 0.7); }
.text-link:hover { color: var(--glow); text-decoration: none; }

.content-section { padding: 76px 0; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 28px;
}
.section-heading p { color: var(--muted); margin: 0 0 8px; max-width: 280px; text-align: right; }
.section-heading a { font-weight: 750; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.steps > div {
  background: transparent;
  padding: 28px 28px 8px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.steps > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.steps span {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  font: 600 2rem Georgia, Palatino, serif;
  color: var(--blue);
  letter-spacing: -0.04em;
}
.steps p, .card p { color: var(--muted); }

.soft { background: #fff; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 28px 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: #8ed9a4;
  background: #fff;
}
.soft .card:first-child,
.content-section.cards .card:first-child {
  background: var(--navy);
  color: #f3fff6;
  border-color: var(--navy);
}
.soft .card:first-child .eyebrow,
.content-section.cards .card:first-child .eyebrow { color: var(--glow); }
.soft .card:first-child p,
.content-section.cards .card:first-child p { color: #c5dccf; }
.soft .card:first-child .card-link,
.content-section.cards .card:first-child .card-link { color: var(--glow); }
.card p { font-size: 15px; line-height: 1.65; }
.card-link { margin-top: auto; color: var(--blue-deep); font-size: 14px; font-weight: 750; }
.card-link b { margin-left: 7px; }

.closing-wrap { padding: 8px 0 84px; background: #fff; }
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 42px 48px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}
.closing > div { max-width: 640px; }
.closing .eyebrow { color: var(--blue-deep); }
.closing h2 { color: var(--navy); }
.closing p { color: var(--muted); font-size: 18px; }
.closing .button { background: var(--navy); color: #fff; }
.closing .button:hover { background: var(--blue-deep); color: #fff; }

.page-intro {
  padding: 56px 0 36px;
  background: transparent;
  border-bottom: 0;
}
.page-intro h1 { max-width: 860px; font-size: clamp(2.4rem, 4.4vw, 4rem); }
.page-intro p { max-width: 680px; color: var(--muted); font-size: 1.12rem; }
.page-intro .eyebrow {
  background: var(--ice);
  border-radius: 999px;
  padding: 6px 12px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  justify-content: space-between;
  gap: 56px;
  padding: 12px 0 90px;
}
.article-body { font-size: 1.06rem; line-height: 1.85; }
.article-body h2 { font-size: 1.7rem; margin: 1.5em 0 0.4em; }
.article-body h2:first-child { margin-top: 0; }
.article-body ol { padding-left: 22px; }
.article-body li { padding-left: 6px; margin-bottom: 12px; }
.article-body code {
  background: var(--ice);
  border-radius: 6px;
  padding: 2px 6px;
  overflow-wrap: anywhere;
}
.aside {
  align-self: start;
  position: sticky;
  top: 96px;
  background: #fff;
  padding: 22px 22px 8px;
  border-radius: 22px;
  border: 1px solid var(--line);
}
.aside a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 16px 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
}
.aside a:hover { color: var(--blue-deep); text-decoration: none; }
.aside .eyebrow { margin-bottom: 12px; }
.aside.note p { font-size: 15px; }
.resource-list { border-top: 1px solid var(--line); margin: 25px 0 35px; }
.resource-list a {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
}
.resource-list span { color: var(--blue-deep); }
.article-intro { max-width: 820px; }
.article-intro .back { display: block; margin-bottom: 22px; font-size: 14px; font-weight: 700; }
.byline { font-size: 14px; color: var(--muted); }
.article-page { max-width: 740px; padding: 8px 0 100px; }
.article-end {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 26px;
  margin-top: 48px;
  font-size: 15px;
}
.article-end p { margin: 0.4em 0; }
.small-note { background: #fff; padding: 22px; font-size: 14px; border-radius: 16px; border: 1px solid var(--line); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 640px) 320px;
  gap: 56px;
  padding: 12px 0 90px;
}
.form-field { display: block; margin-bottom: 16px; font-weight: 700; font-size: 14px; }
.form-field input, .form-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #c5dccf;
  border-radius: 14px;
  padding: 14px 16px;
  font: 16px/1.5 inherit;
  margin-top: 7px;
  color: var(--ink);
  background: #fff;
}
.form-field textarea { min-height: 165px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: start; font-size: 14px; margin: 15px 0 25px; }
.check input { margin-top: 6px; }
.notice, .note {
  padding: 15px 20px;
  background: #e7f6eb;
  border-left: 4px solid var(--blue);
  margin-bottom: 25px;
  border-radius: 0 14px 14px 0;
}
.notice.error, .note[role="alert"] { background: #fff0ed; border-color: #c74430; }
.honeypot { position: absolute; left: -9999px; }

footer {
  background: var(--navy);
  color: #c5dccf;
  padding: 56px 0 18px;
}
footer a { color: #d7eadf; }
footer a:hover { color: var(--glow); }
footer h2 {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--glow);
  margin: 0 0 14px;
}
footer p { font-size: 14px; line-height: 1.8; color: #c5dccf; }
footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 42px; }
.footer-grid > div > a:not(.brand) { display: block; font-size: 14px; margin-bottom: 10px; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(198, 245, 106, 0.16);
  padding-top: 18px;
  margin-top: 42px;
  font-size: 12px;
  color: #8eab99;
}

@media (max-width: 980px) {
  .head-inner { flex-wrap: wrap; padding: 12px 0; gap: 10px; }
  .head-inner nav { order: 3; width: 100%; overflow-x: auto; margin: 0; padding: 4px 0 8px; gap: 4px; }
  .head-contact { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 56px; }
  .hero-art { height: 300px; border-radius: 16px 48px 16px 16px; }
  .hero-badge { width: 84px; }
  .guide-layout, .contact-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 240px; }
  .aside { position: static; }
  .footer-grid { gap: 28px; }
  .closing { padding: 32px 26px; }
  .section-heading p { text-align: left; }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .brand img, .brand-footer img { height: 44px; }
  .head-inner { min-height: 68px; }
  .head-inner nav a { font-size: 13px; padding: 7px 10px; }
  .head-contact { font-size: 12px; padding: 9px 12px; }
  .hero h1 { font-size: clamp(2.15rem, 9vw, 3rem); }
  .hero p { font-size: 1rem; }
  .hero-art { height: 220px; }
  .actions { gap: 14px; flex-wrap: wrap; }
  .content-section { padding: 48px 0; }
  .section-heading { display: block; }
  .steps, .guide-layout, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .steps > div { padding: 22px 0; border-top: 1px solid var(--line); }
  .steps > div + div { border-left: 0; padding-left: 0; }
  .card { min-height: 0; }
  .closing { display: block; padding: 26px 20px; border-radius: 20px; }
  .closing .button { margin-top: 8px; }
  .closing-wrap { padding-bottom: 48px; }
  .page-intro { padding: 36px 0 12px; }
  .guide-layout, .contact-layout { padding: 20px 0 64px; }
  .article-page { padding: 12px 0 70px; }
  .aside { order: 2; }
  .foot-bottom { display: block; }
  .foot-bottom span { display: block; margin-bottom: 8px; }
  .resource-list a { display: block; }
  .resource-list span { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
