/* Pickle Shot. Extra pickles. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/BricolageGrotesque.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Patrick Hand'; src: url('/fonts/PatrickHand-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Press Start 2P'; src: url('/fonts/PressStart2P-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ink: #1B1A17; --paper: #FFF6E0; --paper-2: #FBECC6; --pickle: #5DAE3B; --pickle-dark: #3E7F27; --pickle-deep: #2C5E1B;
  --brine: #12301F; --flag: #FF5A36; --sun: #FFD23F; --sky: #8FD3F4; --fairway: #7CC45A; --white: #fff;
  --muted: #4A463D;
  --head: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Patrick Hand', 'Comic Sans MS', ui-rounded, cursive;
  --px: 'Press Start 2P', ui-monospace, monospace;
  --radius: 18px 14px 20px 12px / 14px 20px 12px 18px;
  --shadow: 6px 6px 0 var(--ink);
  --wrap: 1180px;
  --slice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-52 -52 104 104'%3E%3Ccircle r='44' fill='%235DAE3B' stroke='%231B1A17' stroke-width='7'/%3E%3Ccircle r='31' fill='%23C9E88E'/%3E%3Cg fill='%23F4F9D8' stroke='%233E7F27' stroke-width='3'%3E%3Cellipse cx='0' cy='-18' rx='4.5' ry='7'/%3E%3Cellipse cx='15.6' cy='-9' rx='4.5' ry='7' transform='rotate(60 15.6 -9)'/%3E%3Cellipse cx='15.6' cy='9' rx='4.5' ry='7' transform='rotate(120 15.6 9)'/%3E%3Cellipse cx='0' cy='18' rx='4.5' ry='7'/%3E%3Cellipse cx='-15.6' cy='9' rx='4.5' ry='7' transform='rotate(60 -15.6 9)'/%3E%3Cellipse cx='-15.6' cy='-9' rx='4.5' ry='7' transform='rotate(120 -15.6 -9)'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 500 1.0625rem/1.6 var(--head); overflow-x: clip;
  /* golf ball dimples, very faint */
  background-image: radial-gradient(circle at 50% 50%, rgba(27,26,23,.045) 0 2px, transparent 2.5px), radial-gradient(circle at 50% 50%, rgba(27,26,23,.045) 0 2px, transparent 2.5px);
  background-size: 28px 24px; background-position: 0 0, 14px 12px;
}
img, svg, video { max-width: 100%; }
img, video { height: auto; }
a { color: var(--pickle-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--flag); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border: 3px solid var(--ink); border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.hand { font-family: var(--hand); font-size: 1.25rem; line-height: 1.35; }
.px { font-family: var(--px); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.6; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Wordmark ---------- */
.lockup { display: inline-flex; align-items: center; gap: .15em; font-size: 1.7rem; line-height: 1; text-decoration: none; }
.lockup .mark { width: 1.12em; height: 2.08em; margin: -.3em -.02em 0 -.1em; flex: none; }
.wm { font-family: var(--head); font-weight: 800; letter-spacing: -0.015em; white-space: nowrap; filter: drop-shadow(.055em .055em 0 var(--ink)); }
.wm-p, .wm-s { -webkit-text-stroke: .11em var(--ink); paint-order: stroke fill; }
.wm-p { color: var(--sun); }
.wm-s { color: var(--paper); }
.wm-ball { width: .56em; height: .56em; vertical-align: -.02em; margin: 0 .01em; }
.lockup-lg { font-size: 2.3rem; }
.lockup-xl { font-size: clamp(2.6rem, 7vw, 4.6rem); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 3px solid var(--ink); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { text-decoration: none; display: inline-flex; padding: 6px 0; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 10px; color: var(--ink); font-weight: 700; text-decoration: none; border-radius: 10px; }
.site-nav ul a:hover { background: var(--paper-2); }
.site-nav ul a[aria-current="page"] { background: var(--sun); box-shadow: inset 0 0 0 2px var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-login { font-weight: 800; color: var(--ink); }
.menu-btn { display: none; background: var(--sun); border: 3px solid var(--ink); border-radius: 12px; width: 48px; height: 44px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.burger { display: grid; gap: 4px; justify-items: center; }
.burger i { display: block; width: 20px; height: 3px; background: var(--ink); border-radius: 2px; }
@media (max-width: 1200px) {
  .menu-btn { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--ink); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 12px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px; font-size: 1.1rem; }
  .nav-cta { justify-content: space-between; padding: 0 12px; }
}

/* ---------- Buttons ---------- */
.btn { --bg: var(--flag); display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--bg); color: var(--ink); font: 800 1.08rem/1.1 var(--head); padding: 14px 22px; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; min-height: 48px; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-sm { padding: 9px 14px; font-size: .95rem; min-height: 42px; }
.btn-sun { --bg: var(--sun); }
.btn-green { --bg: var(--pickle); }
.btn-paper { --bg: var(--paper); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Cards and stickers ---------- */
.sticker { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.sticker.tilt-l { transform: rotate(-1deg); }
.sticker.tilt-r { transform: rotate(1deg); }
.tag { display: inline-block; font-family: var(--px); font-size: .58rem; text-transform: uppercase; letter-spacing: .05em; background: var(--sun); border: 2px solid var(--ink); border-radius: 6px; padding: 5px 7px 4px; line-height: 1.3; }
.tag-red { background: var(--flag); }
.tag-green { background: var(--pickle); }
.tag-paper { background: var(--paper); }
.badge { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--flag); border: 3px solid var(--ink); font-weight: 800; font-size: 1.15rem; flex: none; }
.source { font-family: var(--hand); font-size: 1.02rem; color: var(--muted); line-height: 1.35; }
.source a { color: inherit; }

/* pickle-slice bullets */
.slices { list-style: none; padding: 0; margin: 0 0 1.2em; }
.slices li { position: relative; padding-left: 2.1em; margin: 0 0 .6em; }
.slices li::before { content: ""; position: absolute; left: 0; top: .1em; width: 1.35em; height: 1.35em; background: var(--slice) center / contain no-repeat; }
.slices li:nth-child(2n)::before { transform: rotate(40deg); }
.slices li:nth-child(3n)::before { transform: rotate(-25deg); }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head p { font-size: 1.15rem; }
.eyebrow { display: inline-block; font-family: var(--px); font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.edge-top { border-top: 3px solid var(--ink); }
.edge-bottom { border-bottom: 3px solid var(--ink); }

/* pickle skin: green with darker bumps */
.skin { background-color: var(--pickle); background-image: radial-gradient(circle, var(--pickle-dark) 0 5px, transparent 5.5px), radial-gradient(circle, var(--pickle-dark) 0 4px, transparent 4.5px); background-size: 46px 40px, 46px 40px; background-position: 0 0, 23px 20px; }
.burst { background: repeating-conic-gradient(from 0deg at 50% 60%, var(--pickle) 0 7.5deg, #69BA46 7.5deg 15deg); }
.burst-sun { background: repeating-conic-gradient(from 0deg at 50% 100%, var(--sun) 0 7.5deg, #FFDB5E 7.5deg 15deg); }
.brine { background: var(--brine); color: var(--paper); }
.brine a { color: var(--sun); }
.brine .source { color: #D9D2BC; }
.stripes { background: repeating-linear-gradient(-55deg, var(--flag) 0 36px, #FF6A49 36px 72px); }
.graph { background-color: #BFE6F8; background-image: linear-gradient(rgba(27,26,23,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(27,26,23,.12) 1px, transparent 1px); background-size: 28px 28px; }
.wave-edge { height: 26px; background: var(--ink); -webkit-mask: radial-gradient(circle at 50% 0, transparent 13px, #000 14px) 0 0 / 34px 26px repeat-x; mask: radial-gradient(circle at 50% 0, transparent 13px, #000 14px) 0 0 / 34px 26px repeat-x; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; border-bottom: 3px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 24px; padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero h1 { color: var(--paper); -webkit-text-stroke: 0; margin-bottom: 18px; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .out { color: var(--paper); -webkit-text-stroke: .08em var(--ink); paint-order: stroke fill; filter: drop-shadow(.05em .05em 0 var(--ink)); }
.hero h1 .l2 { color: var(--sun); }
.hero-sub { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; max-width: 620px; font-size: 1.12rem; margin-bottom: 22px; }
.hero-sub p:last-child { margin: 0; }
.hero-art { position: relative; justify-self: center; width: min(340px, 100%); }
.hero-art .dilly { width: 100%; height: auto; display: block; filter: drop-shadow(6px 8px 0 rgba(27,26,23,.25)); }
.bubble { position: absolute; top: 2%; left: -12%; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; padding: 10px 14px; font-family: var(--hand); font-size: 1.3rem; line-height: 1.1; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-4deg); }
.bubble::after { content: ""; position: absolute; right: 26px; bottom: -14px; width: 20px; height: 20px; background: var(--paper); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg) skew(10deg, 10deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .dilly { animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
  @keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(1.5deg); } }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: 220px; order: -1; margin-top: -8px; }
  .bubble { left: auto; right: -46%; top: 8%; font-size: 1.1rem; }
}

/* ---------- Forms ---------- */
.wl-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.wl-form input[type=email] { flex: 1 1 240px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .lbl { font-weight: 800; font-size: 1rem; }
.field .hint { font-size: .92rem; color: var(--muted); margin: 0; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  font: 600 1.05rem/1.3 var(--head); color: var(--ink); background: var(--white); border: 3px solid var(--ink); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%;
}
input::placeholder { color: #736D60; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--flag); outline-offset: 2px; }
input[aria-invalid="true"] { border-color: #C0260A; background: #FFF1EC; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 76px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: var(--paper-2); border: 2px solid var(--ink); border-radius: 8px; font: 800 .85rem var(--head); padding: 6px 8px; cursor: pointer; color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--pickle-dark); flex: none; }
.msg { border: 3px solid var(--ink); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-weight: 700; }
.msg[hidden] { display: none; }
.msg-err { background: #FFE2D9; }
.msg-ok { background: #DDF2CB; }
.msg-info { background: #FFF0B8; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-weight: 700; }
.or::before, .or::after { content: ""; flex: 1; height: 3px; background: var(--ink); border-radius: 2px; opacity: .2; }
.gbtn-wrap { min-height: 44px; display: flex; justify-content: center; }
.gbtn-wrap[hidden], .or[hidden] { display: none; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 12px; }

/* ---------- Auth pages ---------- */
.auth { padding: clamp(32px, 6vw, 72px) 0; }
.auth-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 40px; align-items: center; }
.auth-art { text-align: center; }
.auth-art .dilly { width: min(260px, 70%); height: auto; }
.auth-art h1 { margin-top: 12px; }
.auth-card { padding: clamp(20px, 4vw, 34px); }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-weight: 700; }
@media (max-width: 860px) {
  .auth-grid { grid-template-columns: 1fr; gap: 12px; }
  .auth-art .dilly { width: 150px; }
  .auth-art p { display: none; }
}

/* ---------- Grids ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid3, .grid2, .grid4 { grid-template-columns: 1fr; } }
.step h3 { display: flex; align-items: center; gap: 12px; }
.step p { margin: 0; }

/* ---------- Video ---------- */
.video-frame { position: relative; border: 4px solid var(--ink); border-radius: 22px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; padding: 0; }
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play .play { position: relative; display: inline-flex; align-items: center; gap: 10px; background: var(--flag); border: 3px solid var(--ink); border-radius: 999px; padding: 14px 24px 14px 18px; font: 800 1.15rem var(--head); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.video-play:hover .play { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.video-play .tri { width: 0; height: 0; border-left: 16px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.video-play .len { position: absolute; right: 14px; bottom: 12px; }
.video-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- Dashboard mock ---------- */
.mock { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 900px) { .mock { grid-template-columns: 1fr; } }
.phone { background: var(--ink); border-radius: 34px; padding: 14px; box-shadow: 10px 10px 0 rgba(27,26,23,.35); max-width: 380px; margin-inline: auto; transform: rotate(1.5deg); }
.phone-in { background: var(--paper); border-radius: 24px; padding: 20px 18px 22px; }
.phone-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.goal { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); font-weight: 800; font-size: 1.4rem; }
.clubs { display: flex; gap: 6px; margin-bottom: 14px; }
.clubs span { border: 2px solid var(--ink); border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: .85rem; background: var(--white); }
.clubs span.on { background: var(--pickle); }
.metric { margin-bottom: 10px; }
.metric .mt { display: flex; justify-content: space-between; font-weight: 800; font-size: .92rem; }
.bar { position: relative; height: 16px; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); margin-top: 3px; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--pickle); border-radius: 6px 0 0 6px; border-right: 2px solid var(--ink); }
.bar b { position: absolute; top: -6px; bottom: -6px; width: 5px; background: var(--flag); border: 2px solid var(--ink); border-radius: 3px; }
.insight { margin-top: 14px; background: var(--sun); border: 3px solid var(--ink); border-radius: 14px; padding: 10px 12px; }
.insight small { display: block; font-family: var(--px); font-size: .5rem; color: #7A1F14; margin-bottom: 6px; text-transform: uppercase; }
.insight strong { font-size: 1.05rem; line-height: 1.2; display: block; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 18px; height: 12px; border: 2px solid var(--ink); border-radius: 3px; background: var(--pickle); }
.legend i.t { width: 6px; height: 18px; background: var(--flag); }

/* ---------- Hardware ---------- */
.rap-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
@media (max-width: 860px) { .rap-card { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: .95rem; display: inline-flex; gap: 8px; align-items: center; }
.chips li .tag { font-size: .5rem; padding: 3px 5px; }
.dev { display: flex; gap: 14px; align-items: flex-start; }
.dev + .dev { margin-top: 16px; }
.dev .tag { margin-top: 4px; }
.mon-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--white); }
.mon-table th, .mon-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 2px solid rgba(27,26,23,.15); }
.mon-table thead th { background: var(--ink); color: var(--paper); font-size: .95rem; }
.mon-table tr:last-child td { border-bottom: 0; }
.mon-table tr.rap td { background: #EAF6DC; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.table-scroll:focus-visible { outline-offset: 4px; }

/* ---------- Stats ---------- */
.stat { text-align: left; }
.stat .big { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--sun); -webkit-text-stroke: .05em var(--ink); paint-order: stroke fill; filter: drop-shadow(3px 3px 0 var(--ink)); display: block; margin-bottom: 8px; }
.stat p { margin-bottom: 8px; font-weight: 700; }
.brine .sticker { background: #1B4029; color: var(--paper); border-color: var(--paper); box-shadow: 6px 6px 0 #050F09; }

/* ---------- Data tables (handicap targets) ---------- */
.data { width: 100%; border-collapse: collapse; background: var(--white); font-variant-numeric: tabular-nums; }
.data caption { text-align: left; font-weight: 800; font-size: 1.1rem; padding: 0 0 10px; }
.data th, .data td { border: 2px solid var(--ink); padding: 10px 12px; text-align: right; }
.data th:first-child, .data td:first-child { text-align: left; }
.data thead th { background: var(--pickle); }
.data tbody th { background: var(--paper-2); font-weight: 800; }
.data .hl { background: #FFF0B8; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 800; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; background: var(--slice) center / contain no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .a { padding: 0 18px 16px; }
.faq .a p:last-child { margin: 0; }
.faq-group { margin-bottom: 40px; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul:not(.slices), .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { margin: 1em 0 1.6em; }
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 56px); border-bottom: 3px solid var(--ink); }
.page-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.page-hero .dilly { width: 180px; height: auto; }
.page-hero p.lede { font-size: 1.2rem; max-width: 700px; }
@media (max-width: 700px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .dilly { width: 120px; order: -1; } }
.crumbs { font-size: .92rem; margin-bottom: 14px; }
.crumbs a { color: inherit; }
.note { background: #FFF0B8; border: 3px solid var(--ink); border-radius: 14px; padding: 14px 16px; margin: 1.2em 0; }
.toc { background: var(--white); border: 3px solid var(--ink); border-radius: 14px; padding: 14px 18px; margin: 0 0 1.6em; }
.toc ol { margin: 6px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.cta-grid { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.cta-grid .dilly { width: 200px; height: auto; }
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; text-align: left; } .cta-grid .dilly { width: 130px; } }

/* ---------- Jar ---------- */
.jar-wrap { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.jar-wrap[hidden] { display: none; }
.jar-wrap .jar { width: 72px; height: auto; }
.jar-wrap strong { font-size: 1.4rem; }

/* ---------- Account ---------- */
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: 1fr; } }
.pos { display: flex; align-items: center; gap: 18px; }
.pos .jar { width: 90px; height: auto; flex: none; }
.pos .n { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.empty { text-align: center; }
.empty .dilly { width: 150px; height: auto; }
.admin-table { font-size: .9rem; }
.admin-table td, .admin-table th { text-align: left; }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: clamp(40px, 8vw, 100px) 0; }
.lost .dilly { width: 220px; height: auto; }
.lost h1 { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--brine); color: var(--paper); border-top: 3px solid var(--ink); padding: 56px 0 28px; }
.site-foot a { color: var(--paper); }
.site-foot a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h2 { font-size: 1rem; font-family: var(--px); font-size: .62rem; text-transform: uppercase; color: var(--sun); letter-spacing: .06em; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand .hand { color: var(--sun); margin-top: 12px; font-size: 1.4rem; }
.foot-small { margin-top: 36px; padding-top: 20px; border-top: 2px solid rgba(255,246,224,.2); font-size: .88rem; color: #D9D2BC; }
.foot-small p { margin: 0 0 8px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 24px; }
.post-card h2 { font-size: 1.6rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-meta { font-family: var(--hand); font-size: 1.1rem; color: var(--muted); }

/* ---------- fixes after first QA pass ---------- */
.video-frame video[hidden] { display: none; }
.video-play { place-items: end center; padding-bottom: 5%; }
.row2 { align-items: start; }
.stat .big { font-size: clamp(2.1rem, 3.4vw, 2.8rem); white-space: nowrap; }
.tcap { font-weight: 800; font-size: 1.1rem; margin: 0 0 10px; }
.data tbody th { white-space: nowrap; }
@media (max-width: 640px) { .data { font-size: .92rem; } .data th, .data td { padding: 8px 9px; } }
@media (max-width: 820px) {
  .hero-art { width: 190px; }
  .bubble { left: 62%; right: auto; top: 6%; white-space: nowrap; }
  .bubble::after { right: auto; left: 18px; }
}
.bubble { z-index: 2; }
@media (max-width: 820px) {
  .bubble { left: -44%; top: 34%; font-size: 1rem; padding: 8px 11px; transform: rotate(-5deg); }
  .bubble::after { left: auto; right: -12px; bottom: 12px; transform: rotate(-45deg) skew(10deg, 10deg); }
}

/* ---------- Guides ---------- */
.guide-cluster { margin-bottom: 48px; }
.guide-cluster h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .25em; }
.guide blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 6px solid var(--pickle); background: var(--white); border-radius: 0 12px 12px 0; }
.guide img { border: 3px solid var(--ink); border-radius: 14px; }
.guide pre { background: var(--ink); color: var(--paper); padding: 14px; border-radius: 12px; overflow-x: auto; }
.guide code { background: var(--paper-2); padding: 1px 5px; border-radius: 5px; }
.guide pre code { background: none; padding: 0; }
.guide .table-scroll { margin: 1em 0 1.4em; }
.sources { font-size: .95rem; }
.sources li { margin-bottom: .4em; word-break: break-word; }
.site-nav ul a, .nav-login, .nav-cta .btn { white-space: nowrap; }
.guide .data th, .guide .data td { text-align: left; white-space: normal; min-width: 10em; vertical-align: top; }
.guide .data tbody th { white-space: normal; min-width: 8em; }
@media (max-width: 640px) { .guide .data { font-size: .9rem; } .guide .data th, .guide .data td { min-width: 9.5em; } }
