*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, dl, dd { margin: 0; }
.header a, .footer a, .button { color: inherit; text-decoration: none; }
.site {
  --canvas: #f1eef8;
  --ink: #1d1630;
  --muted: #554963;
  --accent: #5534a0;
  --line: #cbbedc;
  min-height: 100svh;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, sans-serif;
}

.container { width: min(calc(100% - 72px), 1180px); margin-inline: auto; }
.site a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.header, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-block: 20px;
}

.header { border-bottom: 1px solid var(--line); }
.header nav, .footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.header nav a:hover, .footer a:hover, .contact a:hover { text-decoration: underline; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.125rem;
  font-weight: 750;
  letter-spacing: -.045em;
}



.brand:hover span { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(270px, .83fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  padding-block: clamp(50px, 8vw, 108px);
}

.category { font-weight: 650; color: var(--accent); margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(3rem, 6.1vw, 5.35rem);
  line-height: .99;
  letter-spacing: -.076em;
  font-weight: 780;
  text-wrap: balance;
}

.intro, .contact p { color: var(--muted); line-height: 1.65; }
.intro { max-width: 44ch; margin-block: 24px; font-size: 1.09rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: white;
  font-size: .9375rem;
  font-weight: 600;
}

.button:hover { background: #362848; border-color: #362848; }
.button-secondary { background: transparent; border-color: #8b7d9d; color: var(--ink); }
.button-secondary:hover { background: #e7e0f0; border-color: var(--ink); }
.site .button:focus-visible { outline-color: var(--accent); }

.topics {
  padding: clamp(24px, 3.5vw, 46px);
  border-radius: 28px 28px 28px 5px;
  background: #24193d;
  color: #f6f0ff;
  scroll-margin-top: 20px;
}

.topics h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); letter-spacing: -.05em; font-weight: 720; }
.topics dl { margin-top: 20px; }
.topics dl div { padding-block: 17px; border-top: 1px solid #665478; }
.topics dl div:last-child { padding-bottom: 0; }
.topics dt { font-size: 1.08rem; font-weight: 675; }
.topics dd { margin-top: 5px; color: #d3c5e5; line-height: 1.55; }

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 64px;
  align-items: start;
  padding-block: 38px 46px;
  border-block: 1px solid var(--line);
}

.contact h2 { font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.05em; font-weight: 740; }
.contact a { display: inline-block; margin-top: 9px; color: var(--accent); font-weight: 650; overflow-wrap: anywhere; }
.footer { color: var(--muted); font-size: .875rem; }

@media (max-width: 740px) {
  .container { width: min(calc(100% - 36px), 530px); }
  .hero, .contact { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.5rem, 9.5vw, 4.2rem); }
}

.policy { max-width: 68ch; padding-block: 42px; }
.policy h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.055em; }
.policy p { line-height: 1.65; margin: 15px 0; }
.policy a { color: var(--accent); }
.guide { max-width: 740px; margin-inline: auto; padding-block: clamp(42px, 7vw, 86px); }
.guide-intro h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.075em;
}
.guide a { color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
.guide-section { margin-top: 44px; scroll-margin-top: 20px; }
.guide-section h2 { font-size: clamp(1.8rem, 5vw, 2.7rem); letter-spacing: -.05em; line-height: 1.08; }
.guide-section h3 { margin: 26px 0 8px; font-size: 1.12rem; }
.guide-section p, .guide-section li, .guide-section dd { color: var(--muted); line-height: 1.65; }
.guide-section p { margin-block: 12px; }
.guide-section ol, .guide-section ul { padding-left: 23px; margin-block: 10px; }
.guide-section li + li { margin-top: 6px; }
.guide-section .guide-note { padding: 13px 16px; border-left: 3px solid var(--accent); background: #e8e0f3; }
.guide-accounts > div { padding-block: 11px; border-bottom: 1px solid var(--line); }
.guide-accounts dt { font-weight: 650; }
.guide-section .guide-formats { list-style: none; padding: 0; }
.guide-formats li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-block: 8px; }
.guide-formats strong { min-width: 8.5rem; color: var(--ink); }
@media (max-width: 520px) {
  .guide-formats strong { flex-basis: 100%; }
}

.guide-unlock { display: grid; gap: 9px; max-width: 300px; justify-items: start; }
.guide-unlock label { font-weight: 600; }
.guide-unlock input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #8b7d9d;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.guide-unlock input:focus-visible, .guide-unlock button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.guide-unlock button { margin-top: 5px; cursor: pointer; }
.guide-unlock p { margin: 0; }

.strategy-topic { border-bottom: 1px solid var(--line); }
.strategy-topic:first-of-type { margin-top: 14px; border-top: 1px solid var(--line); }
.strategy-topic summary { padding: 12px 0; cursor: pointer; font-weight: 650; }
.strategy-topic summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.strategy-content { padding: 0 0 16px 18px; }
.strategy-content h4 { margin: 18px 0 8px; }
