:root {
  --ink: #16241f;
  --muted: #5f6f68;
  --paper: #f7f4ed;
  --card: #fffdf7;
  --line: #d9ddd3;
  --mint: #c9f36b;
  --green: #1f5c46;
  --orange: #ff8d5b;
  --shadow: 0 18px 60px rgba(22, 36, 31, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
.hero {
  min-height: 88vh;
  padding: 22px clamp(22px, 5vw, 78px) 72px;
  color: #f9fff8;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 243, 107, .28) 0 10%, transparent 10.5%),
    linear-gradient(135deg, #17382d 0%, #1f5c46 65%, #2b7055 100%);
  overflow: hidden;
}
.nav { max-width: 1180px; margin: auto; display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.nav-link { font-size: .9rem; text-underline-offset: 5px; }
.hero-inner { max-width: 960px; margin: clamp(76px, 12vh, 150px) auto 0; }
.eyebrow, .section-kicker { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; }
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(3.2rem, 9vw, 7.4rem); line-height: .96; letter-spacing: -.055em; }
.lead { max-width: 730px; margin: 34px 0; font-size: clamp(1.03rem, 2vw, 1.25rem); color: #e6f1eb; }
.primary { display: inline-block; padding: 14px 22px; border-radius: 999px; background: var(--mint); color: #193c2f; text-decoration: none; font-weight: 800; box-shadow: 0 8px 30px rgba(0,0,0,.15); }
.quiet { margin: 18px 0 0; color: #c9d9d1; font-size: .82rem; }
main { max-width: 1180px; margin: auto; padding: 92px clamp(18px, 4vw, 36px); }
.intro { max-width: 690px; margin-bottom: 42px; }
.intro h2, .privacy h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.08; letter-spacing: -.04em; }
.intro > p:last-child { color: var(--muted); }
.section-kicker { color: var(--green); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.card:last-child { grid-column: 1 / -1; }
.number { align-self: flex-start; padding: 5px 11px; border: 1px solid var(--ink); border-radius: 999px; font-size: .74rem; font-weight: 800; }
.card h3 { margin: 20px 0 4px; font-size: 1.55rem; letter-spacing: -.025em; }
.purpose { margin: 0 0 18px; color: var(--muted); }
pre { flex: 1; margin: 0 0 20px; padding: 20px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: #eef2ea; border-radius: 14px; font: 500 .88rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy { width: 100%; padding: 13px 18px; border: 0; border-radius: 12px; background: var(--ink); color: white; font: inherit; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.copy:hover { transform: translateY(-2px); background: var(--green); }
.copy:focus-visible, .primary:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.privacy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; margin-top: 92px; padding: 48px; border-radius: 28px; background: #e4efdd; }
.privacy-copy p:first-child { margin-top: 0; }
.privacy-copy p:last-child { margin-bottom: 0; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 34px clamp(20px, 5vw, 78px); background: var(--ink); color: #edf5ef; font-size: .9rem; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); padding: 10px 16px; border-radius: 999px; background: #101a16; color: white; opacity: 0; pointer-events: none; transition: .22s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
  .hero { min-height: auto; padding-bottom: 56px; }
  .hero-inner { margin-top: 78px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5.2rem); }
  main { padding-top: 64px; }
  .grid { grid-template-columns: 1fr; }
  .card:last-child { grid-column: auto; }
  .card { padding: 21px; border-radius: 19px; }
  pre { padding: 16px; font-size: .82rem; }
  .privacy { grid-template-columns: 1fr; gap: 24px; margin-top: 64px; padding: 28px 22px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
