:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --ink: #16211e;
  --muted: #52615a;
  --line: #d6ddd2;
  --green: #355441;
  --signal: #d0eb77;
  --dark: #182521;
  --shell: 74rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; min-width: 17.5rem; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button, textarea { font: inherit; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2 { text-wrap: balance; }
p, li, dd { line-height: 1.65; }
.shell { width: min(var(--shell), calc(100% - 5rem)); margin-inline: auto; }
:focus-visible { outline: 3px solid #46794f; outline-offset: 4px; }

.skip {
  position: fixed; top: 0.8rem; left: 0.8rem; z-index: 5; padding: 0.7rem 1rem;
  transform: translateY(-150%); background: var(--signal); color: var(--ink);
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.header-inner { min-height: 5.1rem; }
.wordmark {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 1rem; line-height: 1.15; font-weight: 750; text-decoration: none;
  letter-spacing: -0.025em;
}
.wordmark-sub { display: block; color: var(--muted); font-size: 0.875rem; font-weight: 570; letter-spacing: 0; margin-top: 0.15rem; }
.mark {
  flex: 0 0 auto; width: 2.55rem; height: 2.55rem; border-radius: 0.33rem;
  display: flex; align-items: center; justify-content: center; gap: 0.18rem; background: var(--dark);
}
.mark i { width: 0.18rem; height: 0.65rem; background: var(--signal); border-radius: 0.1rem; }
.mark i:nth-child(2) { height: 1.16rem; }
.mark i:nth-child(3) { height: 0.82rem; }
.nav { display: flex; gap: clamp(0.8rem, 3vw, 2.25rem); font-size: 0.9375rem; }
.nav a { padding-block: 0.4rem; text-underline-offset: 0.35em; text-decoration: none; color: var(--ink); }
.nav a:hover { text-decoration: underline; }

.hero {
  display: grid; align-items: center; grid-template-columns: 0.93fr 1.05fr;
  gap: clamp(2rem, 5.2vw, 5.3rem); padding: clamp(3.2rem, 7vw, 6.4rem) 0 4.6rem;
}
.stage, .section-label { font-size: 0.875rem; letter-spacing: 0.075em; font-weight: 720; text-transform: uppercase; }
.stage { display: flex; align-items: center; gap: 0.65rem; color: var(--green); margin-bottom: 1.25rem; }
.stage span { width: 0.56rem; height: 0.56rem; border: 1px solid #78914e; background: #c6e178; }
.hero h1 { font-size: clamp(3.45rem, 6vw, 5.45rem); font-weight: 780; line-height: 0.96; letter-spacing: -0.072em; }
.hero h1 span { color: var(--green); }
.lead { max-width: 29rem; margin-top: 1.55rem; color: var(--muted); font-size: clamp(1.07rem, 1.23vw, 1.19rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.hero .actions { margin-top: 1.95rem; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 2.9rem;
  padding: 0.72rem 1.05rem; border: 1px solid transparent; border-radius: 0.29rem;
  color: var(--ink); font-size: 0.9375rem; font-weight: 720; line-height: 1.4;
  text-decoration: none; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease;
}
.primary { background: var(--signal); border-color: #bfd864; }
.primary:hover { background: #bed85c; border-color: #abbf56; }
.secondary { background: transparent; border-color: #a2b3a5; }
.secondary:hover { background: #e8efe2; border-color: #718777; }
.hero-figure img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 51% 50%;
  background: #213229; border-radius: 0.3rem;
}
.hero-figure figcaption {
  display: flex; justify-content: space-between; gap: 0.5rem; padding-block: 0.65rem;
  border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.875rem;
}

.focus {
  display: grid; grid-template-columns: 0.75fr 1fr; gap: clamp(2rem, 8vw, 7rem);
  border-top: 1px solid var(--line); padding: 3.3rem 0 4.6rem;
}
.focus h2, .share h2 { font-size: clamp(1.8rem, 3.15vw, 2.7rem); line-height: 1.1; letter-spacing: -0.045em; }
.focus-intro p { color: var(--muted); margin-top: 0.9rem; }
.focus-list div { border-bottom: 1px solid var(--line); padding: 0.8rem 0 0.95rem; }
.focus-list div:first-child { padding-top: 0; }
.focus-list dt { font-size: 1.075rem; font-weight: 730; }
.focus-list dd { color: var(--muted); margin-top: 0.22rem; }

.brief { background: var(--dark); color: #f7faf2; }
.brief-inner {
  display: grid; align-items: end; grid-template-columns: 1fr 0.64fr;
  gap: clamp(2.4rem, 7vw, 6.5rem); padding: clamp(3.2rem, 6vw, 5.15rem) 0;
}
.brief .section-label { color: var(--signal); margin-bottom: 1rem; }
.brief h2 { font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.04; letter-spacing: -0.052em; }
.brief h2 + p { margin-top: 1.15rem; color: #d6dfd4; max-width: 31rem; }
.brief-aside { border-left: 1px solid #617365; padding-left: 1.4rem; }
.brief-aside h3 { font-size: 1.08rem; }
.brief-aside ul { margin: 0.7rem 0 0; padding-left: 1.2rem; color: #d6dfd4; }
.brief-aside li + li { margin-top: 0.45rem; }
.brief-aside li::marker { color: var(--signal); }

.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.55rem 3rem; padding-block: 3.4rem; }
.share > div:first-child { flex: 1 1 27rem; max-width: 37rem; }
.share p { color: var(--muted); margin-top: 0.65rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 4.8rem; font-size: 0.9rem; }
.footer-inner span:last-child { color: var(--muted); text-align: right; }

.toast {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 4; padding: 0.75rem 1rem; border-radius: 0.29rem; color: #fff; background: var(--dark);
  font-size: 0.9375rem; box-shadow: 0 0.3rem 1.1rem #141f1940;
}
.toast:empty { opacity: 0; pointer-events: none; }
.copy-dialog {
  width: min(29rem, calc(100% - 2rem)); border: 1px solid var(--line); border-radius: 0.5rem;
  padding: 1.4rem; color: var(--ink); background: var(--paper);
}
.copy-dialog::backdrop { background: #1019149c; }
.copy-dialog h2 { margin-bottom: 0.8rem; }
.copy-dialog label { font-size: 0.875rem; color: var(--muted); }
.copy-dialog textarea {
  display: block; width: 100%; margin: 0.35rem 0 0.8rem; padding: 0.6rem; resize: vertical; line-height: 1.45;
  color: var(--ink); background: #fff; border: 1px solid #9ea999; border-radius: 0.3rem;
}

@media (max-width: 62rem) {
  .hero { padding-bottom: 3.5rem; }
  .shell { width: calc(100% - 3rem); }
}
@media (max-width: 49rem) {
  .hero, .focus, .brief-inner { grid-template-columns: 1fr; }
  .hero { gap: 2rem; padding-top: 3.3rem; }
  .hero h1 { font-size: clamp(3.25rem, 9vw, 5rem); }
  .focus { gap: 1.6rem; padding-block: 2.7rem 3.25rem; }
  .brief-inner { gap: 1.65rem; }
  .share { padding-block: 2.65rem; }
}
@media (max-width: 34rem) {
  .shell { width: calc(100% - 2.25rem); }
  .header-inner { min-height: 4.3rem; }
  .wordmark { gap: 0.55rem; font-size: 0.93rem; }
  .mark { width: 2.18rem; height: 2.18rem; }
  .nav { font-size: 0.875rem; }
  .nav a:first-child { display: none; }
  .hero { padding: 2.9rem 0 2.6rem; }
  .hero h1 { font-size: clamp(2.95rem, 10.1vw, 4.2rem); }
  .hero-figure figcaption { font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
