@font-face {
  font-family: Montserrat;
  src: url("/assets/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #071d42;
  --text: #364966;
  --blue: #244bc2;
  --line: #d7e1ef;
  --paper: #f5f8fd;
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--ink);
  background: white;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.65; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid #3866f4; outline-offset: 3px; }
h1, h2, h3, p, figure { margin: 0; }
[id] { scroll-margin-block-start: 24px; }
.guide-shell { width: min(1240px, calc(100% - 88px)); margin-inline: auto; }

.skip {
  position: fixed;
  z-index: 3;
  inset: 10px auto auto 10px;
  padding: 8px 12px;
  border: 1px solid var(--blue);
  background: white;
  font-weight: 650;
}
.skip:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.guide-header { border-bottom: 1px solid var(--line); }
.guide-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.guide-header-inner { min-height: 70px; }
.guide-brand {
  display: inline-grid;
  gap: 4px;
  text-decoration: none;
  line-height: 1;
}
.guide-brand strong { color: var(--blue); font-size: 24px; font-weight: 700; letter-spacing: -.05em; }
.guide-brand span { font-size: 11px; font-weight: 550; line-height: 1.2; }

.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--blue);
  color: white;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.guide-button:hover { background: #193ca5; }
.guide-button-header { border-color: #bfcee4; background: white; color: var(--ink); }
.guide-button-header:hover { border-color: #92ace0; background: var(--paper); color: var(--blue); }

.guide-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #0b2148 47%, #163b80 100%);
  color: white;
}
.guide-hero::before {
  position: absolute;
  inset: 0 0 0 52%;
  background-image: linear-gradient(90deg, #b9d1ff38 1px, transparent 1px), linear-gradient(#b9d1ff38 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 82% 55%, #000 0, transparent 72%);
  pointer-events: none;
  content: "";
}
.guide-hero-inner { position: relative; padding-block: clamp(42px, 6vw, 82px); }
.guide-kicker {
  color: #b7ceff;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.guide-hero h1 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(35px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.guide-title-focus { color: #b7ceff; }
.guide-intro {
  max-width: 610px;
  margin-top: 18px;
  color: #e6eeff;
  font-size: clamp(15px, 1.6vw, 18px);
  text-wrap: pretty;
}
.guide-hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 23px; margin-top: 25px; }
.guide-button-light { border-color: #e5eeff; background: white; color: #173a82; }
.guide-button-light:hover { background: #e6eeff; color: var(--ink); }
.guide-hero a:focus-visible { outline-color: white; }
.guide-hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  color: white;
  font-size: 13px;
  font-weight: 650;
  text-underline-offset: 4px;
  text-decoration-color: #7e9fd6;
}
.guide-hero-link:hover { text-decoration-color: white; }

.guide-body {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding-block: clamp(34px, 5vw, 66px);
}
.guide-index { align-self: start; position: sticky; top: 24px; border-right: 1px solid var(--line); }
.guide-index p { padding-bottom: 8px; color: #4a607f; font-size: 12px; font-weight: 650; }
.guide-index ul, .guide-index ol { margin: 0; padding: 0; list-style: none; }
.guide-index a {
  display: block;
  width: fit-content;
  padding: 5px 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.guide-index a:hover, .guide-faq-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.guide-index .guide-index-steps { margin: 2px 0 7px 8px; padding-left: 9px; border-left: 1px solid var(--line); }
.guide-index-steps a { color: #4a607f; font-weight: 550; }
.guide-content { min-width: 0; }
.guide-section + .guide-section { margin-top: clamp(44px, 6vw, 76px); }
.guide-section h2, .guide-next p {
  color: var(--ink);
  font-size: clamp(25px, 3.25vw, 38px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.04em;
}
.guide-section h2 + p { max-width: 740px; margin-top: 12px; color: var(--text); }

.guide-approach {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 21px;
}
.guide-approach > div {
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-left: 2px solid #91aaf0;
  background: var(--paper);
}
.guide-approach h3 { font-size: 16px; font-weight: 700; line-height: 1.35; }
.guide-approach p { margin-top: 5px; color: var(--text); font-size: 14px; }

.guide-steps { margin: 24px 0 0; padding: 0; list-style: none; }
.guide-step {
  display: grid;
  grid-template-columns: minmax(155px, .39fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
  padding-block: clamp(22px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.guide-step:last-child { padding-bottom: 0; }
.guide-step-number {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  border-bottom: 2px solid #9bb1f0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
}
.guide-step h3, .guide-faq-group h3 {
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.25;
}
.guide-step:target h3, .guide-faq-group:target h3 { color: var(--blue); }
.guide-step-copy p { margin-top: 7px; color: var(--text); font-size: 14px; }
.guide-step-copy strong { font-weight: 650; }
.guide-shot a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #c9d6e8;
  border-radius: 4px;
  background: var(--paper);
  transition: border-color 160ms ease;
}
.guide-shot a:hover { border-color: #7999da; }
.guide-shot a::after {
  position: absolute;
  inset: auto 8px 8px auto;
  padding: 2px 6px;
  border: 1px solid #c9d6e8;
  border-radius: 3px;
  background: white;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  text-align: center;
  content: "Full size";
}
.guide-shot img { display: block; width: 100%; height: auto; }

.guide-faq-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.guide-faq-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #29456d;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.guide-faq-nav a:hover { background: var(--paper); }
.guide-faq-group { margin-top: 27px; }
.guide-faq-group h3 { margin-bottom: 10px; }
.guide-faq-group details { border: 1px solid var(--line); }
.guide-faq-group details:first-of-type { border-radius: 4px 4px 0 0; }
.guide-faq-group details:last-of-type { border-radius: 0 0 4px 4px; }
.guide-faq-group details + details { border-top: 0; }
.guide-faq-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 50px;
  padding: 11px 16px;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.guide-faq-group summary::-webkit-details-marker { display: none; }
.guide-faq-group summary::marker { content: ""; }
.guide-faq-group summary::after {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin: 0 2px 4px 0;
  transform: rotate(45deg);
  border-right: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  transition: transform 230ms cubic-bezier(.22,.72,.24,1);
  content: "";
}
.guide-faq-group summary:hover, .guide-faq-group details[open]:not([data-disclosure-closing]) > summary {
  background: var(--paper);
  color: var(--blue);
}
.guide-faq-group details[open]:not([data-disclosure-closing]) > summary::after { transform: translateY(3px) rotate(225deg); }
.guide-faq-group summary:focus-visible { outline-offset: -3px; }
.guide-answer {
  padding: 13px 16px 16px;
  border-top: 1px solid #e3eaf5;
  color: var(--text);
  font-size: 14px;
}
.guide-answer p { max-width: 730px; }

.guide-next {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: clamp(36px, 5vw, 60px);
  padding: clamp(17px, 3vw, 32px);
  border: 1px solid var(--line);
  border-left: 3px solid #91aaf0;
  background: var(--paper);
}
.guide-next p { font-size: clamp(20px, 2.4vw, 29px); }
.focus-terms-page { display: flex; flex-direction: column; min-height: 100vh; }
.focus-terms { flex: 1; padding-block: clamp(32px, 6vw, 72px); }
.focus-terms article { max-width: 700px; }
.focus-terms h1 { margin-bottom: 22px; font-size: clamp(30px, 5vw, 46px); letter-spacing: -.045em; line-height: 1.12; }
.focus-terms section { padding-block: 18px; border-top: 1px solid var(--line); }
.focus-terms h2 { margin-bottom: 6px; font-size: 18px; }
.focus-terms p { color: var(--text); font-size: 16px; }
.focus-terms p a { color: var(--blue); text-underline-offset: 3px; }
.focus-terms p + p { margin-top: 12px; }
.focus-terms .focus-terms-updated { margin-block: -10px 24px; font-size: 13px; }

@media (max-width: 975px) {
  .guide-shell { width: calc(100% - 56px); }
  .guide-body { grid-template-columns: 135px minmax(0, 1fr); gap: 22px; }
  .guide-step { grid-template-columns: 1fr; gap: 13px; }
  .guide-step-copy { max-width: 620px; }
}
@media (max-width: 690px) {
  .guide-shell { width: calc(100% - 32px); }
  .guide-header-inner { min-height: 61px; }
  .guide-header .guide-brand strong { font-size: 21px; }
  .guide-button-header { min-height: 39px; padding-inline: 10px; text-align: center; }
  .guide-body { grid-template-columns: 1fr; gap: 25px; padding-top: 17px; }
  .guide-index { position: static; padding-bottom: 11px; border-right: 0; border-bottom: 1px solid var(--line); }
  .guide-index p, .guide-index .guide-index-steps { display: none; }
  .guide-index ul { display: flex; flex-wrap: wrap; gap: 3px 14px; }
  .guide-index a { min-height: 36px; }
  .guide-approach { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
@media (forced-colors: active) {
  .guide-hero::before { display: none; }
  .guide-button, .guide-shot a::after { border: 1px solid ButtonText; }
}
