:root {
  --green: #1F3527;
  --deep: #1F3527;
  --paper: #F6F3EC;
  --gold: #DCC06E;
  --mint: #E8EEE4;
  --ink: #1F3527;
  --muted: #4E5B52;
  --line: #E6E0D3;
  --white: #FFFFFF;
  --danger: #8c2f2f;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans", "Noto Sans Devanagari", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--deep); }
img { max-width: 100%; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--deep);
  color: white;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.top {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 2;
}
.top-inner, .wrap, .footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand { text-decoration: none; color: var(--deep); }
.brand strong { display: block; font-size: 20px; letter-spacing: -0.02em; }
.brand span { display: block; color: var(--muted); font-size: 13px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.lang {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--deep);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  padding: 56px 0 28px;
}
.kicker {
  color: var(--deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; margin: 8px 0 12px; letter-spacing: -0.03em; }
h2 { font-size: 28px; line-height: 1.25; margin: 0 0 8px; }
.lede { font-size: 19px; max-width: 42rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.button, .button-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}
.button { background: var(--green); color: white; }
.button-quiet { background: var(--mint); color: var(--deep); }

.grid, .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card, .panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.card h3 { margin: 0 0 6px; }
.section { padding: 12px 0 36px; }
.note {
  background: var(--mint);
  border-left: 4px solid var(--green);
  padding: 14px 16px;
  border-radius: 8px;
}
.draft {
  background: #fff6df;
  border: 1px solid var(--gold);
  color: #3d320c;
  padding: 14px 16px;
  border-radius: 12px;
  margin: 16px 0 24px;
}
.placeholder {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #efece3;
  padding: 0 4px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 15px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 10px; }
.footer-links a { color: var(--deep); }
ul { padding-left: 1.2rem; }
li { margin: 6px 0; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
th { background: var(--mint); }

@media (max-width: 720px) {
  .top-inner { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  h1 { font-size: 34px; }
}
