/* bradbonanno.com: newsletter home + perks
   Same design language as build.bradbonanno.com (Lenny's Product Pass
   "sticker sheet" structure recoloured to the Buildshop golden-hour card):
   2px ink borders, hard offset shadows, pill nav, peach panels, sheet-lift
   hovers. Type: Instrument Serif (display), Inter (body), JetBrains Mono
   (labels). Radius rule: panels 36px, cards 30px, rows 14px, buttons pill.
   Tokens are copied verbatim from the Buildshop stylesheet; keep them in
   sync if the brand moves. Theme: light only. */

@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/JetBrainsMono-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #FFF3E6;
  --panel: #FFE4CB;
  --strip: #FFD7B0;
  --card: #FFFCF8;
  --accent: #EE7A22;
  --accent-deep: #C9560C;
  --peach: #FBCFA4;
  --shadow: #D2874F;
  --ink: #1B1410;
  --ink-soft: #3E312A;
  --muted: #6B584B;
  --gold: #F0A61E;
  --display: "Instrument Serif", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --border: 2px solid var(--ink);
  --r-panel: 36px;
  --r-card: 30px;
  --r-row: 14px;
  --hard: 0 6px 0 var(--shadow), 0 6px 0 2px var(--ink);
  --hard-sm: 0 4px 0 var(--shadow), 0 4px 0 2px var(--ink);
  --lift: 0 10px 0 var(--shadow), 0 10px 0 2px var(--ink);
  --wrap: 1200px;
  --wide: 1332px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Desktop renders at 110% to match the Buildshop page (Brad signed that page off at Chrome 110%). */
@media (min-width: 1024px) { html { zoom: 1.1; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.wrap--wide { width: min(var(--wide), calc(100% - 40px)); margin-inline: auto; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .display { font-family: var(--display); text-wrap: balance; font-weight: 400; letter-spacing: -0.015em; }
.h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; }
.h2 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.04; }
.h3 { font-size: 1.45rem; line-height: 1.2; }
em, .it { font-style: italic; }
.h1 em, .h2 em { color: var(--accent-deep); }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.kicker { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 8px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.sec-head { max-width: 800px; margin: 0 auto 44px; text-align: center; }
.sec-head .lede { margin: 16px auto 0; }
.sec-head--left { margin-inline: 0; text-align: left; }
.sec-head--left .lede { margin-inline: 0; }
code { font-family: var(--mono); font-size: .9em; background: var(--strip); padding: 1px 6px; border-radius: 6px; }

/* ---------- Buttons (flat at rest, lighter fill + hard shadow on hover) ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-bg-hover: #F6A85F;
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: var(--border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 0 var(--shadow), 0 0 0 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn:hover { transform: translateY(-5px); background: var(--btn-bg-hover); box-shadow: 0 5px 0 var(--shadow), 0 5px 0 2px var(--ink); }
.btn:active { transform: translateY(-1px); box-shadow: 0 1px 0 var(--shadow), 0 1px 0 2px var(--ink); }
.btn:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.btn--peach { --btn-bg: var(--peach); --btn-bg-hover: #FDE1C6; }
.btn--white { --btn-bg: var(--card); --btn-bg-hover: #fff; }
.btn--ink { --btn-bg: var(--ink); --btn-bg-hover: #3A2A20; --btn-fg: #fff; }
.btn--lg { padding: 19px 32px; font-size: 1.08rem; }
.btn--sm { padding: 11px 18px; font-size: .9rem; }
.btn--full { width: 100%; white-space: normal; text-align: center; }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }
.textlink { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.textlink:hover { color: var(--accent-deep); }

/* ---------- Cards / panels ---------- */
.card { background: var(--card); border: var(--border); border-radius: var(--r-card); box-shadow: var(--hard); transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--lift); }
.panel { background: var(--panel); border: var(--border); border-radius: var(--r-panel); }
.dotted { border-top: 2px dotted var(--ink); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 16px 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  width: min(980px, 100%); height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  background: rgba(255, 236, 216, .78);
  border: 2px solid rgba(27, 20, 16, .12);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 8px 24px rgba(120, 70, 30, .06), inset 0 1px 0 rgba(255,255,255,.5);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled .nav__bar { background: rgba(255, 240, 224, .92); border-color: rgba(27,20,16,.9); box-shadow: 0 8px 24px rgba(120,70,30,.12); }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand__mark { font-family: var(--display); font-style: italic; font-size: 1.55rem; line-height: 1; letter-spacing: -0.02em; }
.brand__sub { font-size: .8rem; color: var(--muted); font-weight: 500; }
.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--accent-deep); }
/* Perks link: plain text with the gift icon, sits last before the CTA */
.nav__links .nav__hi { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.nav__links .nav__hi .icon { width: 17px; height: 17px; color: var(--accent-deep); }
.nav__cta { margin-left: 4px; }
@media (max-width: 860px) { .nav__links { display: none; } .brand__sub { display: none; } }

/* ---------- Subscribe form (shared: hero, final CTA, popup) ---------- */
.sub { display: grid; gap: 10px; max-width: 560px; }
.sub__form { display: flex; gap: 10px; }
.sub__form input { flex: 1; min-width: 0; padding: 16px 18px; font: inherit; font-size: 1rem; border: var(--border); border-radius: 999px; background: #fff; color: var(--ink); }
.sub__form input::placeholder { color: #7A6555; }
.sub__form input:focus { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.sub__form input[aria-invalid="true"] { border-color: var(--accent-deep); }
.sub__form .btn { white-space: nowrap; }
.sub__ok { display: none; font-weight: 600; color: var(--accent-deep); }
.sub__feedback { display: none; margin: 10px 0 0; font-size: .92rem; font-weight: 600; color: var(--accent-deep); }
.sub__feedback.is-visible { display: block; }
.sub.is-done .sub__form { display: none; }
.sub.is-done .sub__ok { display: block; }
.sub__micro { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sub--light input { background: #fff; }
.sub--light .sub__micro { color: rgba(255,255,255,.75); }
.sub--light .sub__ok { color: var(--peach); }
.sub--light .sub__feedback { color: var(--peach); }
.sub__form--stack { flex-wrap: wrap; }
.sub__form--stack input { flex: 1 1 220px; }
@media (max-width: 560px) { .sub__form { flex-direction: column; } }

/* ---------- Hero ---------- */
.hero { padding: 128px 0 40px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero .h1 { margin-bottom: 22px; max-width: 16ch; }
.hero .lede { margin-bottom: 28px; max-width: 50ch; }
.hero__proof { display: flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--muted); font-size: .95rem; }
.faces { display: inline-flex; }
.faces img { width: 34px; height: 34px; border-radius: 50%; border: var(--border); object-fit: cover; background: var(--strip); margin-left: -10px; }
.faces img:first-child { margin-left: 0; }
.hero__art { position: relative; display: grid; place-items: center; min-height: 440px; }

/* The "newsletter.md" window: a Mac window card with an issue preview inside. Same motif as the Buildshop popup. */
.win { position: relative; width: min(100%, 440px); background: var(--card); border: var(--border); border-radius: 18px; box-shadow: var(--hard), 0 30px 80px rgba(60,30,10,.14); overflow: hidden; transform: rotate(-2deg); animation: bob 6s ease-in-out infinite; }
.win__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--strip); border-bottom: var(--border); }
.win__lights { display: inline-flex; gap: 6px; }
.win__lights i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--card); }
.win__lights i:first-child { background: var(--accent); }
.win__bar b { font-size: .76rem; margin-left: 6px; letter-spacing: .04em; font-family: var(--mono); }
.win__body { padding: 22px 26px 24px; font-size: .95rem; line-height: 1.6; color: var(--ink-soft); }
.win__body p + p { margin-top: 12px; }
.win__body .from { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 14px; display: grid; gap: 2px; }
.win__body .from b { color: var(--ink); font-weight: 700; }
.win__body .stab { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.win__sticker { position: absolute; right: max(0px, calc(50% - 236px)); bottom: 8%; transform: rotate(6deg); z-index: 2; animation: bob 6s ease-in-out infinite; }
.sticker { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--accent); border: var(--border); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 960px) {
  .hero { padding-top: 108px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero .h1 { max-width: none; }
  .hero__art { min-height: 0; margin-top: 8px; }
  .win { width: min(100%, 400px); }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }

/* Founder note (the welcome email, as a letter) */
.note { max-width: 720px; margin: 0 auto; padding: 44px 48px; background: var(--card); border: var(--border); border-radius: var(--r-card); box-shadow: var(--hard); font-size: 1.12rem; line-height: 1.6; color: var(--ink-soft); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.note:hover { transform: translateY(-4px); box-shadow: var(--lift); }
.note p + p { margin-top: 18px; }
.note .stab { font-family: var(--display); font-size: 1.7rem; line-height: 1.2; color: var(--ink); margin-top: 22px; }
.note .stab + .stab { margin-top: 6px; }
.note__hi { font-family: var(--display); font-size: 1.6rem; color: var(--ink); margin-bottom: 18px; }
.note__sign { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.note__face { width: 64px; height: 64px; border-radius: 16px; border: var(--border); object-fit: cover; flex: none; }
.note__name { font-family: var(--display); font-style: italic; font-size: 1.7rem; line-height: 1; color: var(--ink); }
/* Brad's handwritten signature (content/email-list/templates/signature-cropped.png) */
.note__sig { width: 110px; height: auto; margin: 0; }
.win__sig { width: 64px; height: auto; margin-top: 6px; }
.who__role { font-size: .86rem; color: var(--muted); }
@media (max-width: 860px) { .note { padding: 30px 24px; } }

/* What you get: three expectation tiles */
.gaps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin-top: 44px; }
.gap { padding: 28px; border: var(--border); border-radius: var(--r-card); background: var(--panel); }
.gap:first-child { background: var(--accent); color: #fff; }
.gap:first-child .icon { color: #fff; }
.gap:first-child p { color: rgba(255,255,255,.88); }
.gap .icon { width: 30px; height: 30px; color: var(--accent-deep); margin-bottom: 18px; }
.gap h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.gap p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 860px) { .gaps { grid-template-columns: 1fr; gap: 24px; } }

/* Perks panel (homepage) */
.perks { padding: 6px 0 64px; }
.perks__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 64px 110px; }
.perks__panel .lede { margin-top: 16px; }
.perks__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 28px; }
.tiers { display: grid; gap: 14px; }
.tier { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px 20px; background: var(--card); border: var(--border); border-radius: var(--r-row); box-shadow: var(--hard-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.tier:hover { transform: translateY(-2px); background: #FFF6EC; box-shadow: 0 6px 0 var(--shadow), 0 6px 0 2px var(--ink); }
.tier .icon { width: 26px; height: 26px; color: var(--accent-deep); margin-top: 2px; }
.tier h3 { font-size: 1.05rem; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tier p { font-size: .95rem; color: var(--muted); margin-top: 4px; }
.badge { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border: var(--border); border-radius: 999px; background: var(--strip); font-weight: 700; line-height: 1.2; }
.badge--members { background: var(--ink); color: #fff; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.logos .chip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logos .chip img { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }
.chip { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border: var(--border); border-radius: 999px; background: var(--strip); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.chip:hover { transform: translateY(-3px); box-shadow: 0 3px 0 var(--shadow), 0 3px 0 2px var(--ink); }
@media (max-width: 1100px) { .perks__panel { padding: 48px 40px; } }
@media (max-width: 860px) { .perks__panel { grid-template-columns: 1fr; padding: 36px 24px; gap: 32px; } }

/* What people say: masonry of screenshots and quote cards */
.masonry { columns: 3; column-gap: 38px; }
.masonry > * { break-inside: avoid; margin-bottom: 38px; }
.quote { padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 18px; }
.quote__text { font-size: 1.05rem; color: var(--ink-soft); }
.quote__text::before { content: "\201C"; }
.quote__text::after { content: "\201D"; }
.who { display: flex; align-items: center; gap: 12px; }
.who img { width: 44px; height: 44px; border-radius: 50%; border: var(--border); object-fit: cover; background: var(--strip); }
.who__name { font-weight: 600; line-height: 1.2; }
.who--spread { justify-content: space-between; }
.avatar { width: 44px; height: 44px; border-radius: 50%; border: var(--border); background: var(--strip); display: grid; place-items: center; font-family: var(--display); font-style: italic; font-size: 1.2rem; flex: none; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 16px; height: 16px; }
/* Reply carousel: Gmail reply screenshots (wide, short strips) in a full-bleed marquee, two stacked per column.
   Images live in assets/replies/ (1800px webp). Pairs are chosen so column heights roughly match. */
/* Two brick rows. Every card in a row is the row's height (--h, set inline = tallest card), widths are each card's
   cropped content at a fixed legible scale, so joints stagger like brickwork. Gap is constant at 18px. The second row
   runs with a negative animation-delay so the joints never line up with the first. */
.shots { position: relative; padding: 0; }
#replies { padding-top: 24px !important; }
.shots__track { display: grid; gap: 18px; overflow: hidden; padding: 8px 0 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.shots__row { display: flex; gap: 18px; width: max-content; animation: shotsmove 80s linear infinite; }
.shots__track:hover .shots__row { animation-play-state: paused; }
.shot { flex: none; height: var(--h, auto); max-width: min(1040px, 88vw); background: #fff; border: var(--border); border-radius: var(--r-row); box-shadow: var(--hard-sm); overflow: hidden; margin: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.shot:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--shadow), 0 6px 0 2px var(--ink); }
.shot img { width: 100%; height: auto; display: block; }
@keyframes shotsmove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 860px) { .shots__row, .shots__track { gap: 14px; } }

/* Hero (centred, no art): title → form → highlighted perk line → free-tier logos → proof row */
.hero__center { display: grid; justify-items: center; text-align: center; max-width: 860px; }
.hero__center > div { width: 100%; }
.hero__center .h1 { max-width: 16ch; margin: 0 auto 34px; }
.hero__center .sub { width: min(560px, 100%); margin-inline: auto; }
.hero__center .hero__perk { margin-inline: auto; }
.hero__center .hero__logos { justify-content: center; }
.hero__center .hero__proof { justify-content: center; }
.hero .h1 { margin-bottom: 30px; }
.hero__perk { margin-top: 28px; font-size: 1.18rem; line-height: 1.5; max-width: 44ch; color: var(--ink); }
/* Highlighter swipe: a gold marker stroke under the phrase, slightly uneven like a real highlighter */
.hero__perk mark {
  color: inherit; font-weight: 600;
  background: linear-gradient(104deg, rgba(255,214,90,0) 0.5%, rgba(255,214,90,.95) 2.2%, rgba(255,214,90,.75) 6%, rgba(255,214,90,.55) 50%, rgba(255,214,90,.8) 94%, rgba(255,214,90,.95) 97%, rgba(255,214,90,0) 99%);
  padding: .08em .28em; margin: 0 -.28em;
  border-radius: .5em .25em .6em .3em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero__logo { width: 52px; height: 52px; display: grid; place-items: center; background: #fff; border: var(--border); border-radius: 14px; box-shadow: 0 3px 0 var(--shadow), 0 3px 0 2px var(--ink); overflow: hidden; text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.hero__logo:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--shadow), 0 6px 0 2px var(--ink); }
.hero__logo img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.hero__logo--more { background: var(--strip); font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 960px) { .masonry { columns: 2; } }
@media (max-width: 640px) { .masonry { columns: 1; } }

/* Start here: the three resources from the welcome email */
.res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.resource { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; }
.resource__body { padding: 26px 26px 22px; flex: 1; }
.resource__tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.resource__tag .icon { width: 16px; height: 16px; }
.resource h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 8px; }
.resource p { color: var(--ink-soft); font-size: 1rem; }
.resource__foot { border-top: 2px dotted var(--ink); background: var(--strip); padding: 14px 26px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .95rem; transition: background .22s var(--ease); }
.resource:hover .resource__foot { background: #FFE8D2; }
.resource:hover { background: #FFF6EC; }
@media (max-width: 960px) { .res { grid-template-columns: 1fr; gap: 24px; } }

/* Final CTA */
.final { padding: 0 0 80px; }
.final__panel { position: relative; overflow: hidden; border: var(--border); border-radius: var(--r-panel); background: var(--ink); color: #fff; box-shadow: var(--hard); padding: 72px 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.final__panel .h2 { color: #fff; margin-bottom: 20px; }
.final__panel .h2 em { color: var(--peach); }
.final__panel p { color: rgba(255,255,255,.88); max-width: 46ch; }
.final__panel p + p { margin-top: 12px; }
@media (max-width: 860px) { .final__panel { grid-template-columns: 1fr; padding: 36px 24px 44px; } }

/* Footer */
.foot { padding: 0 0 48px; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-top: 28px; border-top: var(--border); }
.foot__links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .95rem; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__legal { width: 100%; font-size: .85rem; color: var(--muted); }

/* ---------- Privacy / legal ---------- */
.legal-hero { padding: 140px 0 40px; }
.legal-hero__in { max-width: 900px; }
.legal-hero .h1 { max-width: 12ch; margin: 0 0 18px; }
.legal-hero .lede { max-width: 62ch; }
.legal-updated { margin-top: 18px; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legal-section { padding: 0 0 80px; }
.legal-doc { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 52px 58px; background: var(--card); border: var(--border); border-radius: var(--r-card); box-shadow: var(--hard); color: var(--ink-soft); font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.legal-doc > p:first-child { font-size: 1.08rem; color: var(--ink); }
.legal-doc h2 { margin: 44px 0 12px; font-family: var(--display); font-size: 2rem; line-height: 1.15; font-weight: 400; color: var(--ink); text-wrap: balance; }
.legal-doc h3 { margin: 28px 0 8px; font-size: 1.08rem; line-height: 1.3; font-weight: 700; color: var(--ink); }
.legal-doc p { max-width: 76ch; }
.legal-doc p + p { margin-top: 14px; }
.legal-doc ul { margin: 14px 0 18px; padding-left: 1.35rem; list-style: disc; }
.legal-doc li + li { margin-top: 8px; }
.legal-doc a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-doc a:hover { color: var(--accent-deep); }
.legal-callout { margin: 34px 0 42px; padding: 24px 26px; background: var(--panel); border: var(--border); border-radius: var(--r-row); box-shadow: var(--hard-sm); }
.legal-callout h2 { margin: 0 0 8px; font-size: 1.55rem; }
@media (max-width: 680px) {
  .legal-hero { padding-top: 116px; }
  .legal-doc { padding: 32px 24px; }
  .legal-doc h2 { font-size: 1.7rem; }
  .legal-callout { padding: 20px; }
}

/* ---------- Perks page ---------- */
.phero { padding: 128px 0 36px; }
.phero .h1 { max-width: 18ch; margin-bottom: 20px; }
.phero .lede { margin-bottom: 0; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; }
.stat { display: grid; gap: 4px; padding: 22px 26px; background: var(--card); border: var(--border); border-radius: var(--r-row); box-shadow: var(--hard-sm); }
.stat b { font-family: var(--display); font-style: italic; font-size: 2.4rem; line-height: 1; letter-spacing: -0.01em; font-weight: 400; }
.stat span { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 960px) { .phero { padding-top: 108px; } .phero__grid { grid-template-columns: 1fr; gap: 28px; } }

.how { padding: 0 0 48px; }
.how__panel { padding: 40px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.how__tier { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 24px 26px; background: var(--card); border: var(--border); border-radius: var(--r-card); box-shadow: var(--hard-sm); }
.how__tier .icon { width: 30px; height: 30px; color: var(--accent-deep); margin-top: 2px; }
.how__tier h3 { font-size: 1.15rem; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.how__tier p { color: var(--ink-soft); font-size: .98rem; }
.how__tier .btn { margin-top: 16px; }
.how__tier--members { background: var(--ink); color: #fff; border-color: var(--ink); }
.how__tier--members .icon { color: var(--accent); }
.how__tier--members p { color: rgba(255,255,255,.86); }
@media (max-width: 1100px) { .how__panel { padding: 32px; } }
@media (max-width: 860px) { .how__panel { grid-template-columns: 1fr; padding: 24px; } }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 32px; }
.search { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border: var(--border); border-radius: 999px; background: #fff; height: 52px; }
.search .icon { width: 20px; height: 20px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px; border: var(--border); border-radius: 999px; background: var(--card); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease); }
.filter:hover { transform: translateY(-3px); box-shadow: 0 3px 0 var(--shadow), 0 3px 0 2px var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tabs { display: inline-flex; border: var(--border); border-radius: 999px; overflow: hidden; background: var(--card); }
.tabs button { border: 0; background: transparent; padding: 12px 18px; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }
.tabs button + button { border-left: var(--border); }
.tabs button[aria-pressed="true"] { background: var(--accent); }
.tabs .icon { width: 16px; height: 16px; }
.count { font-family: var(--mono); font-size: .78rem; color: var(--muted); letter-spacing: .04em; margin-left: auto; }

.deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.deal { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; position: relative; }
.deal__body { padding: 24px 24px 20px; flex: 1; display: grid; gap: 12px; align-content: start; }
.deal__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deal__logo { width: 56px; height: 56px; border: var(--border); border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; }
.deal__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.deal__logo span { font-family: var(--display); font-style: italic; font-size: 1.5rem; }
.deal__name { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.deal h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.deal p { color: var(--ink-soft); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.deal__cat { font-size: .8rem; color: var(--muted); }
.deal__foot { border-top: 2px dotted var(--ink); background: var(--strip); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 70px; transition: background .22s var(--ease); }
.deal:hover { background: #FFF6EC; }
.deal:hover .deal__foot { background: #FFE8D2; }
.value { font-family: var(--display); font-style: italic; font-size: 1.8rem; line-height: 1; letter-spacing: -0.01em; }
.value small { font-family: var(--mono); font-style: normal; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-left: 6px; vertical-align: middle; }
.deal__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; white-space: nowrap; padding: 9px 14px; border: var(--border); border-radius: 999px; background: var(--card); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease); }
.deal__cta:hover { transform: translateY(-3px); background: var(--accent); box-shadow: 0 3px 0 var(--shadow), 0 3px 0 2px var(--ink); }
.deal--locked .deal__cta { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.deal--locked .deal__cta:hover { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.deal--locked .deal__body { filter: none; }
.deal--locked .deal__foot { background: var(--ink); color: #fff; }
.deal--locked:hover .deal__foot { background: #3A2A20; }
.deal--locked .value { color: #fff; }
.deal--locked .value small { color: rgba(255,255,255,.7); }
.deal__lock { position: absolute; top: 18px; right: 18px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 24px; border: 2px dashed var(--ink); border-radius: var(--r-card); color: var(--muted); }
.skel { min-height: 300px; background: linear-gradient(90deg, var(--card) 0%, #FFF6EC 50%, var(--card) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.more { display: flex; justify-content: center; margin-top: 44px; }
@media (max-width: 960px) { .deals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .deals { grid-template-columns: 1fr; gap: 24px; } .count { margin-left: 0; width: 100%; } }

/* Members gate: a small panel inside the perks page prompting non-members */
.gate { margin-top: 56px; }
.gate__panel { background: var(--accent); border: var(--border); border-radius: var(--r-panel); padding: 56px 64px; box-shadow: var(--hard); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.gate__panel .h2 { margin-bottom: 14px; }
.gate__panel .h2 em { color: #fff; }
.gate__panel p { color: rgba(27,20,16,.86); max-width: 50ch; }
.gate__panel .btn { margin-top: 24px; }
@media (max-width: 860px) { .gate__panel { grid-template-columns: 1fr; padding: 36px 24px; } }

/* FAQ (perks page) */
.faq { max-width: 1092px; margin: 0 auto; display: grid; gap: 16px; }
.faq details { background: var(--card); border: var(--border); border-radius: var(--r-row); overflow: hidden; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.faq details:hover { background: #FFF6EC; transform: translateY(-3px); box-shadow: 0 3px 0 var(--shadow), 0 3px 0 2px var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details[open] summary { border-bottom: 2px dotted var(--ink); }
.faq .ans { padding: 18px 26px 24px; max-width: 78ch; color: var(--ink-soft); }

/* ---------- Motion ---------- */
.rev { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rev.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rev { opacity: 1; transform: none; transition: none; }
  .win, .skel { animation: none !important; }
  .btn, .card, .note, .tier, .chip, .filter, .faq details, .resource { transition: none; }
}

/* ---------- Newsletter popup (same as the Buildshop page) ---------- */
.pop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.pop[hidden] { display: none; }
.pop__backdrop { position: absolute; inset: 0; background: rgba(27,20,16,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pop__win { position: relative; width: min(560px, 100%); background: var(--card); border: var(--border); border-radius: 18px; box-shadow: var(--hard), 0 30px 80px rgba(60,30,10,.25); overflow: hidden; animation: popin .35s var(--ease); }
.pop__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--strip); border-bottom: var(--border); }
.pop__lights { display: inline-flex; gap: 6px; }
.pop__lights i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--card); }
.pop__lights i:first-child { background: var(--accent); }
.pop__bar b { font-size: .76rem; margin-left: 6px; letter-spacing: .04em; }
.pop__x { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; border: var(--border); border-radius: 8px; background: var(--card); box-shadow: 2px 2px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.pop__x:hover { background: var(--peach); transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); }
.pop__x:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ink); }
.pop__x .icon { width: 14px; height: 14px; }
.pop__body { padding: 30px 32px 26px; text-align: center; }
.pop__h { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 12px 0 12px; }
.pop__h em { color: var(--accent-deep); }
.pop__p { color: var(--ink-soft); font-size: 1rem; max-width: 42ch; margin: 0 auto 20px; }
.pop__body .sub { margin: 0 auto; }
.pop__body .sub__micro { margin-top: 6px; }
@keyframes popin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .pop__body { padding: 24px 18px 20px; } }
@media (prefers-reduced-motion: reduce) { .pop__win { animation: none; } }
