:root {
  --ink: #061b38;
  --muted: #536579;
  --line: #dce8f5;
  --wash: #f4f8fd;
  --blue: #1178f2;
  --blue-dark: #05254e;
  --orange: #ff6a00;
  --green: #10b84a;
  --paper: #ffffff;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(6, 27, 56, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(220, 232, 245, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 158px;
  height: 48px;
  object-fit: contain;
}

.brand-icon img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--wash);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 4px 14px rgba(6, 27, 56, 0.08);
}

.button.primary {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.button.orange {
  color: #ffffff;
  border-color: var(--orange);
  background: var(--orange);
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 110px clamp(20px, 6vw, 84px) 58px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 37%, rgba(255, 255, 255, 0.58) 62%, rgba(255, 255, 255, 0.28) 100%),
    url("/assets/wotbox-hero.webp");
  background-position: center;
  background-size: cover;
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 12ch;
  font-size: clamp(4.2rem, 12vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero p {
  max-width: 620px;
  color: #233a55;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.52;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.public-section {
  padding: 72px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.65;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.signal {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.signal-dot {
  width: 16px;
  height: 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--blue);
}

.signal:nth-child(2) .signal-dot {
  background: var(--orange);
}

.signal:nth-child(3) .signal-dot {
  background: var(--green);
}

.signal p {
  color: var(--muted);
  line-height: 1.6;
}

.vip-band {
  background: var(--blue-dark);
  color: #ffffff;
}

.vip-band .lead {
  color: rgba(255, 255, 255, 0.78);
}

.vip-band .button {
  box-shadow: none;
}

.site-footer {
  padding: 34px clamp(20px, 6vw, 84px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.doc-shell {
  min-height: 100vh;
  padding-top: 84px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 36px clamp(18px, 4vw, 48px) 72px;
}

.doc-sidebar {
  position: sticky;
  top: 108px;
  height: fit-content;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.doc-sidebar a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.doc-sidebar a:hover,
.doc-sidebar a.active {
  color: var(--ink);
  background: var(--wash);
}

.doc-main {
  min-width: 0;
}

.doc-hero {
  margin-bottom: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.doc-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
}

.doc-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.65;
}

.doc-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.doc-section p,
.doc-section li {
  color: #35485e;
  font-size: 1.02rem;
  line-height: 1.72;
}

.doc-section ul,
.doc-section ol {
  padding-left: 22px;
}

.doc-section li + li {
  margin-top: 8px;
}

.doc-image {
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.doc-image img {
  width: 100%;
}

.tile-grid,
.prompt-grid,
.step-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.tile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prompt-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tile,
.prompt-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 20px;
}

.prompt-card code {
  display: block;
  white-space: pre-wrap;
  color: var(--blue-dark);
  font: 700 0.96rem/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #e8f2ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quiet-note {
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff7ef;
  color: #583214;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    padding: 14px 18px;
  }

  .brand img {
    width: 126px;
  }

  .nav-links {
    gap: 4px;
    font-size: 0.86rem;
  }

  .nav-links .hide-small {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding: 76px 20px 42px;
    background-position: center right 28%;
  }

  .signal-grid,
  .tile-grid,
  .prompt-grid,
  .step-grid,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-layout {
    padding-top: 22px;
  }

  .doc-sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 4.1rem;
  }

  .hero p,
  .lead,
  .doc-hero p {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }
}
