:root {
  color-scheme: light;
  --ink: #151a30;
  --muted: #4b556f;
  --paper: #f1f3fa;
  --white: #fff;
  --border: #d8deed;
  --blue: #253bc4;
  --blue-dark: #172985;
  --blue-light: #dce4ff;
  --hero: #101637;
  --hero-border: #424b77;
  --hero-text: #c5cded;
  --tint: #f3f5ff;
  --pink: #ffe6de;
  --violet: #efe7ff;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --width: 1120px;
}
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--white); font-family: var(--sans); }
body { margin: 0; min-width: 0; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.mast a:focus-visible, .hero a:focus-visible, .hero button:focus-visible, .hero input:focus-visible {
  outline-color: var(--blue-light);
}
.mast {
  color: var(--white);
  background: var(--hero);
  border-bottom: 1px solid var(--hero-border);
}
.wrap { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.mast-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 22px; font-weight: 750; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.mark { width: 26px; height: 26px; padding: 6px; background: var(--blue-light); border-radius: 5px; display: grid; gap: 2px; align-content: center; }
.mark i { height: 2px; background: var(--blue-dark); width: 100%; }
.mark i:last-child { width: 65%; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 650; color: var(--hero-text); }
.main-nav a:hover, .main-nav [aria-current] { color: var(--white); text-decoration: underline; }
.hero { color: var(--white); background: var(--hero); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 7vw, 96px); align-items: center; padding-block: 77px 84px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; overflow-wrap: break-word; }
h1 { font-size: clamp(49px, 6.2vw, 84px); letter-spacing: -.061em; font-weight: 700; }
h2 { font-size: clamp(31px, 4vw, 47px); letter-spacing: -.055em; }
h3 { font-size: 23px; letter-spacing: -.035em; }
.hero h1 { max-width: 13ch; }
.hero .lede { max-width: 45ch; margin-top: 22px; color: var(--hero-text); font-size: 19px; line-height: 1.48; }
.home-search { margin-top: 28px; }
.search-label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.search-row { display: flex; align-items: stretch; gap: 8px; }
.search-row input {
  flex: 1; min-width: 0; padding: 12px 13px; min-height: 48px;
  background: var(--white); color: var(--ink); border: 1px solid var(--border); border-radius: 6px;
}
.search-row button { flex-shrink: 0; white-space: nowrap; }
button.primary, a.primary {
  display: inline-flex; min-height: 47px; justify-content: center; align-items: center; gap: 6px;
  padding: 10px 16px; border: 1px solid var(--blue); border-radius: 6px;
  background: var(--blue); color: var(--white); font-weight: 720; text-decoration: none;
}
.hero .primary { color: var(--hero); background: var(--blue-light); border-color: var(--blue-light); }
.hero .primary:hover { background: var(--white); }
.primary:hover { background: var(--blue-dark); }
.example { padding: 24px; border: 1px solid var(--hero-border); background: var(--tint); color: var(--ink); border-radius: 10px; box-shadow: 9px 9px 0 var(--hero-border); }
.example-head { padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--blue-dark); font: 650 13px/1.5 var(--mono); }
.example .question { margin-top: 19px; font-size: clamp(25px, 3.1vw, 38px); line-height: 1.06; letter-spacing: -.05em; font-weight: 700; }
.example dt { font-weight: 720; font-size: 14px; margin-top: 11px; }
.example dd { margin: 3px 0 0; color: var(--muted); font-size: 15px; }
.example dl { margin: 15px 0 11px; }
.example a { display: inline-flex; min-height: 44px; align-items: center; color: var(--blue-dark); font-weight: 700; }
.section { padding-block: 56px; }
.section-label { color: var(--muted); margin-top: 9px; max-width: 55ch; }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; margin-top: 24px; }
.channel-link { display: block; padding: 17px 18px; min-height: 92px; border: 1px solid var(--border); border-top: 3px solid var(--blue); text-decoration: none; background: var(--tint); }
.channel-link strong { display: block; font-size: 18px; }
.channel-link span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.channel-link:hover { border-color: var(--blue); }
.home-agent { padding-block: 40px; border-top: 1px solid var(--border); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; }
.home-agent p { color: var(--muted); margin-bottom: 14px; }
.pagehead { background: var(--paper); border-bottom: 1px solid var(--border); padding-block: 50px 44px; }
.pagehead h1 { font-size: clamp(42px, 5.6vw, 68px); max-width: 20ch; }
.pagehead p { color: var(--muted); max-width: 58ch; margin-top: 13px; font-size: 18px; }
.crumbs { margin: 0 0 15px; font-size: 14px; color: var(--muted); }
.directory { padding-block: 37px 57px; display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 37px; }
.filter-title { font-weight: 700; margin-bottom: 8px; }
.filter-list { display: grid; gap: 5px; }
.filter-list button, .clear {
  padding: 9px 12px; min-height: 44px; border: 1px solid var(--border); border-radius: 6px;
  font-weight: 650; color: var(--ink); background: var(--white);
}
.filter-list button { text-align: left; }
.filter-list button[aria-pressed="true"] { background: var(--blue); color: var(--white); border-color: var(--blue); }
.filter-list button:hover:not([aria-pressed="true"]), .clear:hover { background: var(--tint); }
.result-count { margin: 12px 0 9px; color: var(--muted); font-size: 14px; }
.result { border-top: 1px solid var(--border); padding: 18px 0 20px; }
.result:last-child { border-bottom: 1px solid var(--border); }
.result h2 { font-size: clamp(23px, 3vw, 31px); margin: 7px 0 8px; letter-spacing: -.045em; }
.result h2 a { text-decoration: none; }
.result h2 a:hover { text-decoration: underline; }
.result p { color: var(--muted); max-width: 70ch; }
.tag { display: inline-flex; border-radius: 4px; padding: 3px 8px; background: var(--blue-light); font-size: 13px; font-weight: 700; color: var(--blue-dark); }
.tag.reddit { background: var(--pink); color: var(--ink); }
.tag.aeo { background: var(--violet); color: var(--ink); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .36fr); gap: 39px; padding-block: 40px 56px; }
.detail .blocks { display: grid; gap: 28px; }
.block h2 { font-size: 27px; margin-bottom: 8px; }
.block p, .block li { color: var(--muted); }
.block ol, .block ul { padding-left: 22px; margin: 8px 0 0; }
.block li + li { margin-top: 7px; }
.evidence { background: var(--tint); border-left: 3px solid var(--blue); padding: 16px; }
.detail aside { align-self: start; background: var(--paper); border: 1px solid var(--border); padding: 18px; }
.detail aside a { display: flex; align-items: center; min-height: 44px; color: var(--blue-dark); font-weight: 700; }
.textpage { max-width: 73ch; padding-block: 42px 55px; display: grid; gap: 23px; }
.textpage a { color: var(--blue-dark); }
.textpage pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 18px; background: var(--paper); border-left: 3px solid var(--blue); font: 14px/1.55 var(--mono); margin: 0; }
.site-foot { border-top: 1px solid var(--border); background: var(--paper); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; min-height: 77px; color: var(--muted); font-size: 14px; }
.foot-inner nav { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-inner a { display: inline-flex; align-items: center; min-height: 44px; }
.skip { position: absolute; top: -100px; left: 14px; padding: 10px; background: var(--white); z-index: 3; }
.skip:focus { top: 10px; }
[hidden] { display: none !important; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero-grid { gap: 32px; padding-block: 61px; }
  .directory { gap: 23px; grid-template-columns: 140px minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .mast-inner { min-height: 62px; }
  .main-nav { gap: 11px; }
  .main-nav a { font-size: 14px; }
  .brand { font-size: 20px; gap: 7px; }
  .mark { width: 22px; height: 22px; padding: 5px; }
  .hero-grid, .channels, .home-agent, .directory, .detail { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 39px 44px; gap: 25px; }
  .hero .lede { margin-top: 15px; font-size: 17px; }
  .home-search { margin-top: 20px; }
  .example { padding: 17px; margin-right: 4px; box-shadow: 4px 4px 0 var(--hero-border); }
  .section { padding-block: 38px; }
  .channels { gap: 8px; margin-top: 17px; }
  .channel-link { min-height: auto; }
  .home-agent { padding-block: 33px; gap: 12px; }
  .pagehead { padding-block: 32px; }
  .directory, .detail { padding-block: 25px 40px; gap: 18px; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-list button { padding-inline: 9px; }
  .foot-inner { padding-block: 12px; }
}
