/* TodaysHooks. One family (Archivo, variable width and weight). The look: the dry-erase board in a shop. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --frame: #E9ECEE;
  --board: #FAFBF9;
  --ink: #14181F;
  --muted: #5B6470;
  --rule: #CBD0D5;
  --blue: #2243C9;
  --blue-dark: #1A34A0;
  --red: #C8372D;
  --green: #1B7F55;
  --amber: #8A5A00;
  --amber-bg: #FFF6DD;
  --radius: 3px;
  --measure: 66ch;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: 1.953rem;
  --step-4: 2.441rem;
  --step-5: 3.052rem;
  --step-6: 3.815rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--frame); color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--step-0); line-height: 1.55; font-weight: 400;
}
img, svg { max-width: 100%; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-weight: 800; font-stretch: 72%; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 7vw, var(--step-6)); }
h2 { font-size: clamp(1.9rem, 4.4vw, var(--step-4)); }
h3 { font-size: var(--step-2); font-stretch: 78%; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: var(--step-1); line-height: 1.45; color: #2B323C; max-width: 52ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2rem); margin-inline: auto; }

/* ------------------------------------------------ header and footer */
.site-head { border-bottom: 1px solid var(--rule); background: var(--board); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; flex-wrap: wrap; }
.brand { display: inline-block; line-height: 0; text-decoration: none; }
.brand img { height: 44px; width: auto; display: block; }
.nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: .35rem 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav form { margin: 0; }
.linklike { background: none; border: 0; padding: .35rem 0; font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; }
.linklike:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-foot { margin-top: 5rem; padding: 2.5rem 0 3rem; border-top: 1px solid var(--rule); background: var(--board); font-size: var(--step--1); color: var(--muted); }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: space-between; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.site-foot a { color: var(--muted); }

.banner { background: var(--amber-bg); color: var(--amber); border-bottom: 1px solid #E8D49A; padding: .5rem 1rem; font-size: var(--step--1); text-align: center; }
.flashes { position: fixed; top: .75rem; left: 50%; transform: translateX(-50%); z-index: 60; width: min(680px, 100% - 2rem); margin: 0; }
.flash { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; background: var(--board); border: 1px solid var(--rule); border-left: 5px solid var(--blue); padding: .8rem 1rem; margin-bottom: .5rem; box-shadow: 0 8px 24px rgba(20, 24, 31, .22); }
.flash-x { background: none; border: 0; font: inherit; font-size: 1.5rem; line-height: 1; padding: 0 .25rem; cursor: pointer; color: var(--muted); }
.flash-x:hover { color: var(--ink); }

/* ------------------------------------------------ buttons and forms */
.btn { display: inline-block; background: var(--blue); color: #fff; border: 0; border-radius: var(--radius); padding: .8rem 1.35rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn.secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.secondary:hover { background: var(--ink); color: #fff; }
.btn.danger { background: var(--red); }
.btn.danger:hover { background: #A52D24; }
.btn.small { padding: .5rem .9rem; font-size: var(--step--1); }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; max-width: 30rem; font: inherit; padding: .65rem .75rem; border: 1.5px solid #8C949E; border-radius: var(--radius); background: #fff; color: var(--ink);
}
textarea { max-width: 44rem; min-height: 5.5rem; }
.field { margin-bottom: 1rem; }
.hint { color: var(--muted); font-size: var(--step--1); margin-top: .25rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; max-width: 56ch; }
.check input { margin-top: .3rem; width: 1.15rem; height: 1.15rem; flex: none; }

/* ------------------------------------------------ the board */
.board { background: var(--board); border: 10px solid #C9CED3; outline: 1px solid #AEB4BB; box-shadow: inset 0 0 0 1px #E2E5E8; padding: 1.25rem 1.5rem 1.5rem; }
.board-tabs { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; padding-bottom: .5rem; margin-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.board-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; font: inherit; font-weight: 600; padding: .4rem .1rem; cursor: pointer; white-space: nowrap; color: var(--muted); }
.board-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.board-title { font-weight: 800; font-stretch: 78%; font-size: var(--step-1); margin: 0 0 .75rem; }
.hooklist { list-style: none; margin: 0; padding: 0; }
.hooklist li { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 600; font-stretch: 88%; line-height: 1.25; padding: .7rem 0; border-bottom: 1px dashed var(--rule); max-width: 36ch; }
.hooklist li:last-child { border-bottom: 0; }
.hooklist li:first-child { color: var(--blue); }
.board-foot { margin-top: .75rem; font-size: var(--step--1); color: var(--muted); }

/* ------------------------------------------------ home */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; padding: 3.5rem 0 2rem; }
.hero h1 { margin-bottom: .4em; }
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }
.hero > * { min-width: 0; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 2rem; } .board { padding: 1rem 1rem 1.25rem; border-width: 7px; } }
.section { padding: 3.5rem 0 0; }
.section > .wrap > h2 + p, .section > .narrow > h2 + p { color: #2B323C; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ruled > li { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.ruled strong { font-weight: 700; }
@media (max-width: 640px) { .ruled > li { grid-template-columns: 1fr; gap: .15rem; } }
.nichecols { columns: 3 15rem; column-gap: 2.5rem; }
.nichecols h3 { font-size: var(--step-1); margin: 1.25rem 0 .35rem; break-after: avoid; }
.nichecols h3:first-child { margin-top: 0; }
.nichecols ul { list-style: none; margin: 0 0 .5rem; padding: 0; break-inside: avoid-column; }
.nichecols li { padding: .12rem 0; }
.pricing-rows { border-top: 2px solid var(--ink); }
.pricing-row { display: grid; grid-template-columns: 11rem 9rem 1fr; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.pricing-row .price { font-weight: 800; font-stretch: 75%; font-size: var(--step-3); line-height: 1; }
@media (max-width: 640px) { .pricing-row { grid-template-columns: 1fr; gap: .1rem; } }
.signup { background: var(--board); border: 1px solid var(--rule); border-left: 5px solid var(--blue); padding: 1.5rem; max-width: 40rem; }
.signup h3 { margin-bottom: .6rem; }
.planpick { display: grid; gap: .5rem; margin: .5rem 0 1rem; }
.planpick label { display: flex; gap: .75rem; align-items: baseline; font-weight: 500; padding: .65rem .8rem; border: 1.5px solid #8C949E; border-radius: var(--radius); background: #fff; cursor: pointer; }
.planpick input { margin: 0; }
.planpick label:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.planpick .p { margin-left: auto; font-weight: 800; }
.disclose { background: var(--frame); border: 1px solid var(--rule); padding: .75rem 1rem; font-size: var(--step--1); max-width: 56ch; margin: 1rem 0; }

/* ------------------------------------------------ members */
.tabs { display: flex; gap: 1.25rem; flex-wrap: wrap; border-bottom: 2px solid var(--ink); margin: 0 0 1.5rem; }
.tabs a { padding: .55rem .1rem; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 4px solid transparent; margin-bottom: -2px; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.pagehead { padding: 2.25rem 0 .5rem; }
.pagehead .date { color: var(--red); font-weight: 700; margin: 0 0 .25rem; }
.hookrow { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--rule); align-items: center; }
.hookrow:first-child { border-top: 2px solid var(--ink); }
.hookrow .t { font-size: clamp(1.15rem, 2.3vw, 1.45rem); font-weight: 600; font-stretch: 88%; line-height: 1.25; }
.hookrow .tools { display: flex; gap: .4rem; align-items: center; }
.iconbtn { background: transparent; border: 1.5px solid #8C949E; border-radius: var(--radius); padding: .4rem .6rem; font: inherit; font-size: var(--step--1); font-weight: 600; cursor: pointer; color: var(--ink); line-height: 1.1; min-height: 2.5rem; }
.iconbtn:hover { border-color: var(--ink); }
.iconbtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.iconbtn.done { background: var(--green); border-color: var(--green); color: #fff; }
.iconbtn svg { width: 1.05rem; height: 1.05rem; vertical-align: -3px; }
@media (max-width: 560px) { .hookrow { grid-template-columns: 1fr; } }
.shots { width: 100%; border-collapse: collapse; margin: .5rem 0 1.5rem; }
.shots th { text-align: left; font-weight: 700; font-size: var(--step--1); padding: .5rem .75rem .5rem 0; border-bottom: 2px solid var(--ink); }
.shots td { padding: .75rem .75rem .75rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.shots td:first-child { font-weight: 700; white-space: nowrap; color: var(--red); }
@media (max-width: 720px) {
  .shots, .shots tbody, .shots tr, .shots td { display: block; width: 100%; }
  .shots thead { display: none; }
  .shots tr { border-bottom: 1px solid var(--rule); padding: .6rem 0; }
  .shots td { border: 0; padding: .1rem 0; }
  .shots td[data-l]::before { content: attr(data-l) ": "; font-weight: 700; color: var(--muted); font-size: var(--step--1); }
}
.callout { background: var(--board); border: 1px solid var(--rule); border-left: 4px solid var(--amber); padding: .75rem 1rem; margin: 1rem 0; max-width: 62ch; }
.tags { font-weight: 500; color: var(--blue); }
.archive-item { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.archive-item:first-of-type { border-top: 2px solid var(--ink); }
.archive-item h3 { font-size: var(--step-1); margin: 0 0 .15rem; font-stretch: 85%; }
.archive-item .meta { color: var(--muted); font-size: var(--step--1); }
.pager { display: flex; gap: 1rem; align-items: center; margin-top: 1.25rem; }
.filters { display: flex; gap: .75rem; flex-wrap: wrap; align-items: end; margin-bottom: 1.25rem; }
.filters .field { margin: 0; }

.acct { border-top: 2px solid var(--ink); margin-top: 1.5rem; }
.acct section { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; }
.acct section > h2 { font-size: var(--step-1); font-stretch: 85%; margin: 0; }
@media (max-width: 720px) { .acct section { grid-template-columns: 1fr; gap: .5rem; } }
.nichelist { list-style: none; margin: 0 0 1rem; padding: 0; }
.nichelist li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; padding: .55rem 0; border-bottom: 1px dashed var(--rule); }
.status { font-weight: 700; }
.status.ok { color: var(--green); } .status.warn { color: var(--amber); } .status.bad { color: var(--red); }
.progress { height: 6px; background: var(--rule); max-width: 24rem; overflow: hidden; margin: 1rem 0; }
.progress > i { display: block; height: 100%; width: 35%; background: var(--blue); animation: slide 1.6s ease-in-out infinite; }
@keyframes slide { 0% { margin-left: -35%; } 100% { margin-left: 100%; } }
@media (prefers-reduced-motion: reduce) { .progress > i { animation: none; margin-left: 0; width: 100%; } }

/* ------------------------------------------------ legal and prose */
.prose { padding: 2.5rem 0 0; }
.prose h1 { font-size: clamp(2.2rem, 5vw, var(--step-5)); }
.prose h2 { font-size: var(--step-2); margin-top: 2.25rem; font-stretch: 80%; }
.prose h3 { font-size: var(--step-1); margin-top: 1.5rem; font-stretch: 85%; }
.prose p, .prose li { max-width: 68ch; }
.prose li { margin-bottom: .4rem; }
.prose table { border-collapse: collapse; width: 100%; max-width: 70ch; margin: 1rem 0; font-size: var(--step--1); }
.prose th, .prose td { text-align: left; padding: .5rem .6rem .5rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { border-bottom: 2px solid var(--ink); }
.effective { color: var(--muted); font-size: var(--step--1); margin-bottom: 1.5rem; }
.toc { border: 1px solid var(--rule); background: var(--board); padding: .75rem 1rem; max-width: 40rem; font-size: var(--step--1); }
.toc ol { margin: .25rem 0 0; padding-left: 1.2rem; }
details { border-bottom: 1px solid var(--rule); padding: .85rem 0; max-width: 70ch; }
details:first-of-type { border-top: 2px solid var(--ink); }
summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: .5rem; }

/* ------------------------------------------------ admin */
.admin table { border-collapse: collapse; width: 100%; font-size: var(--step--1); margin: .5rem 0 1.5rem; background: var(--board); }
.admin th, .admin td { text-align: left; padding: .4rem .6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.admin th { border-bottom: 2px solid var(--ink); }
.admin .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
.admin .stat { border-top: 2px solid var(--ink); padding-top: .4rem; }
.admin .stat b { display: block; font-size: var(--step-3); font-weight: 800; font-stretch: 75%; line-height: 1; }
.admin textarea { min-height: 3rem; }
.admin .row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.admin form.inline { display: inline; }

/* ------------------------------------------------ analytics choice */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--board); border-top: 3px solid var(--ink); box-shadow: 0 -8px 24px rgba(20, 24, 31, .18);
  padding: .9rem 1rem; display: flex; gap: 1rem 1.5rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.consent[hidden] { display: none; }
.consent p { margin: 0; max-width: 62ch; font-size: var(--step--1); }
.consent-btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.foot-link { color: var(--muted); font-weight: 400; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
