:root {
  --ink: #1c1917;
  --paper: #f6f1e8;
  --sheet: #fffdf8;
  --mute: #5c574e;
  --line: #e4dccb;
  --black: #111111;
  --rust: #c23b22;
  --max: 980px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: Figtree, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 10px;
  top: -40px;
  background: var(--rust);
  color: #fff;
  padding: 8px 12px;
  font-weight: 700;
  z-index: 80;
}
.skip:focus { top: 10px; }

.bar {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 70;
  background: transparent;
}
.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--rust);
}

.head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--black);
  color: #f6f1e8;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.head-row {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img { height: 48px; width: auto; }

.nav { display: flex; gap: 18px; }
.nav a {
  color: #cfc6b8;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: #fff;
  text-decoration: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #333;
  background: transparent;
  color: #fff;
}

.btns { display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid transparent;
  text-decoration: none !important;
}
.btn-fill {
  background: var(--rust);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #444;
}
.head .btn-ghost { color: #fff; }

.mast {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
}
.live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rust);
}

h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3.4rem, 9vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin-bottom: 16px;
}

.lede {
  font-size: 1.2rem;
  color: var(--mute);
  max-width: 62ch;
  margin-bottom: 22px;
}
.lede strong { color: var(--ink); }

.stamp {
  font-size: 0.9rem;
  color: var(--mute);
  margin-bottom: 22px;
}
.stamp time { color: var(--ink); font-weight: 700; }

.ilan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 8px;
}
.ilan a {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 20px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.04);
}
.ilan a:hover { border-color: var(--ink); }
.ilan b {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
  margin: 4px 0 8px;
}
.ilan small {
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--rust);
  font-weight: 800;
}
.ilan span { color: var(--mute); font-size: 0.92rem; }

.digest {
  background: var(--black);
  color: #f6f1e8;
  padding: 22px 24px;
  margin: 28px 0 0;
}
.digest h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.digest ol {
  margin: 0 0 0 1.1rem;
  color: #d7d0c4;
}
.digest li { margin-bottom: 6px; }

.layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 40px 0 72px;
}

.index {
  position: sticky;
  top: 88px;
  align-self: start;
  font-size: 0.86rem;
}
.index p {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
  font-weight: 800;
}
.index ol { list-style: none; }
.index a {
  display: block;
  padding: 6px 0;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}
.index a.on, .index a:hover {
  color: var(--ink);
  text-decoration: none;
}

article h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin: 36px 0 12px;
  letter-spacing: -0.02em;
}
article h3 {
  font-size: 1.12rem;
  margin: 22px 0 8px;
}
article p { margin-bottom: 16px; }
article p:first-of-type::first-letter {
  font-family: Fraunces, Georgia, serif;
  font-size: 3.1rem;
  float: left;
  line-height: 0.8;
  padding: 6px 10px 0 0;
  font-weight: 650;
}
article ul, article ol { margin: 0 0 16px 1.2rem; }
article li { margin-bottom: 7px; }

.call {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: var(--sheet);
}
.call h2 { margin: 0 0 4px; font-size: 1.25rem; font-family: Fraunces, Georgia, serif; }
.call p { margin: 0; color: var(--mute); }
.call .btns .btn-ghost {
  color: var(--ink);
  border-color: var(--ink);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 8px 0 0; color: var(--mute); }

.foot {
  background: var(--black);
  color: #cfc6b8;
  padding: 36px 0 100px;
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.foot strong, .foot .lab {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}
.foot ul { list-style: none; }
.foot li { margin-bottom: 6px; }
.foot a { color: #e8dfd0; }
.foot img { height: 44px; margin: 8px 0 12px; }
.legal {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #2a2a2a;
}

.dock {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #111;
  z-index: 50;
}
.dock .btn { flex: 1; }

@media (max-width: 860px) {
  .ilan, .layout, .foot-grid, .call { grid-template-columns: 1fr; display: grid; }
  .index { position: static; }
  .nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #111;
    padding: 14px 20px 18px;
    flex-direction: column;
  }
  .nav.on { display: flex; }
  .burger { display: grid; place-items: center; }
  .head .btns { display: none; }
  .call .btns { display: flex; }
  .dock { display: flex; }
  article p:first-of-type::first-letter { font-size: 2.4rem; }
}

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