/* Hurricane Method affiliate area (Nov 2026). Writer's-brand skin: soft paper background, ink sidebar and top bar,
   storm-blue links, pencil-yellow primary buttons with dark text, Fraunces headings, Source Sans 3 body. */
:root {
  --dark: #0a1b2b;
  --dark-2: #0d2236;
  --navy: #14598a;
  --gold: #f4b733;
  --gold-hi: #f7c652;
  --gold-d: #8a5d00;
  --gold-ink: #0d2236;
  --ink: #0d2236;
  --text: #2a3846;
  --muted: #5a6776;
  --ivory: #fbf8f2;
  --card: #ffffff;
  --line: #e7e0d2;
  --lime: #f4b733;
  --red: #b3261e;
  --green: #2e7d4f;
  --storm: #14598a;
  --mist: #e9f6fc;
  --paper: #fbf8f2;
  --wide: 1140px;
  --bg: #fbf8f2;
  --bar: 68px;
  --side: 276px;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.6 "Source Sans 3", "Segoe UI", Arial, sans-serif; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
b, strong { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; }
.wrap { max-width: calc(var(--wide) + 48px); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }
.ico { width: 18px; height: 18px; flex: none; }
.mono { font-family: var(--mono); }

/* ---------- top bar + nav ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--dark); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.top-in { display: flex; align-items: center; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 210px; display: block; }
.logo span { padding: 3px 10px; border: 1px solid rgba(244, 183, 51, .6); border-radius: 999px; color: var(--lime); font-size: 16px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: none; color: #fff; font: 700 16px "Source Sans 3", "Segoe UI", Arial, sans-serif; cursor: pointer; }
.nav { background: var(--dark-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.nav-in { display: flex; flex-wrap: wrap; gap: 2px 4px; padding-top: 6px; padding-bottom: 6px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: #c4d2df; font-size: 16px; font-weight: 700; text-decoration: none; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--gold-ink); background: var(--gold); }

/* ---------- hero band ---------- */
.hero { position: relative; color: #fff; padding: 64px 0 70px; background: var(--dark) linear-gradient(120deg, #0a1b2b 0%, #14598a 70%, #1b6ea8 100%); }
.hero h1 { color: #fff; font-size: 44px; font-weight: 900; max-width: 820px; }
.hero .eyebrow { margin: 0 0 12px; color: var(--lime); font-size: 16px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.hero-intro { max-width: 760px; margin-top: 16px; color: #d6e2ec; font-size: 18px; }
.hero-intro b, .hero-intro strong { color: #fff; }
.hero-intro p:last-child { margin: 0; }

/* ---------- layout blocks ---------- */
main { padding-bottom: 80px; }
.sec { padding: 56px 0 0; }
.sec-h { margin-bottom: 22px; }
.sec-h h2 { font-size: 30px; font-weight: 900; }
.sec-h p { margin: 8px 0 0; color: var(--muted); max-width: 720px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(13, 34, 54, .04), 0 10px 30px rgba(13, 34, 54, .05); }
.pad { padding: 26px 28px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prose { font-size: 17px; }
.prose h2 { font-size: 26px; margin: 1.2em 0 .5em; }
.prose h3 { font-size: 21px; margin: 1.2em 0 .4em; }
.prose h4 { font-size: 18px; margin: 1.2em 0 .4em; }
.prose img { border-radius: 8px; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 12px; background: #eef7fc; border: 1px solid #b9dcef; color: #0f4a73; font-size: 17px; }
.note.red { background: #fdeceb; border-color: #f2c1bc; color: #7a1f16; }
.note .ico { width: 20px; height: 20px; margin-top: 2px; }
.note b { color: inherit; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font: 900 16px "Source Sans 3", "Segoe UI", Arial, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(20, 89, 138, .3); transition: background .15s, transform .15s; }
.btn:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 16px; box-shadow: none; }
.btn-dark { background: var(--navy); color: #fff; box-shadow: none; }
.btn-dark:hover { background: #1b6ea8; }
.btn-mini { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 700 16px "Source Sans 3", "Segoe UI", Arial, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-mini:hover { border-color: var(--gold); background: #f3f9fd; }
.btn-mini.danger:hover { border-color: var(--red); color: var(--red); background: #fff; }
.btn-mini.gold { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.btn-mini .ico { width: 15px; height: 15px; }
.btn:focus-visible, .btn-mini:focus-visible, .nav a:focus-visible, summary:focus-visible, .menu-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- inputs ---------- */
.input { width: 100%; padding: 13px 15px; border: 1px solid #d9d1c1; border-radius: 10px; background: #fff; color: var(--ink); font: 16px "Source Sans 3", "Segoe UI", Arial, sans-serif; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(20, 89, 138, .25); }
textarea.input { resize: vertical; min-height: 120px; font-family: var(--mono); font-size: 16px; line-height: 1.55; }
.input.mono { font-size: 16px; }
label { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 700; font-size: 16px; }

/* ---------- hoplink bar ---------- */
.hopbar { margin-top: -34px; position: relative; z-index: 2; }
.hopbar > div { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(13, 34, 54, .12); }
.hop-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: #e9f6fc; color: var(--gold-d); }
.hop-ic.ok { background: #e6f3ea; color: var(--green); }
.hop-none p { margin: 0; flex: 1; }
.hop-field { flex: 1; min-width: 0; }
.hop-field label { font-weight: 400; color: var(--muted); font-size: 16px; }
.hop-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.hopbar [hidden] { display: none !important; }

/* ---------- accordions (emails, articles) ---------- */
.acc { display: grid; gap: 12px; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.acc details[open] { border-color: #9cc8e3; box-shadow: 0 10px 30px rgba(13, 34, 54, .06); }
.acc summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .num { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #e9f6fc; color: var(--gold-d); font-weight: 900; font-size: 16px; }
.acc summary .t { flex: 1; color: var(--ink); font-weight: 700; font-size: 18px; }
.acc summary .t small { display: block; color: var(--muted); font-weight: 400; font-size: 16px; }
.acc summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #e9f6fc; color: var(--gold-d); font-size: 20px; font-weight: 700; }
.acc details[open] summary::after { content: "\2212"; background: var(--gold); color: var(--gold-ink); }
.acc .body { padding: 0 22px 22px; }
.acc .tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; padding-top: 4px; }
.swipe { padding: 22px 24px; border-radius: 12px; background: #fdfbf7; border: 1px dashed #e2d9c6; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.swipe strong { color: var(--ink); }
.group-h { margin: 34px 0 12px; display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; }
.group-h:first-child { margin-top: 0; }
.group-h .ico { color: var(--gold-d); width: 22px; height: 22px; }

/* ---------- banners / images ---------- */
.asset { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.asset-img { display: grid; place-items: center; min-height: 220px; padding: 16px; border-radius: 12px; background: #f3efe6; }
.asset-img img { max-height: 320px; width: auto; }
.asset h3 { font-size: 21px; margin-bottom: 12px; }
.asset textarea { min-height: 96px; margin: 12px 0; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.thumb { display: flex; flex-direction: column; }
.thumb .asset-img { min-height: 200px; border-radius: 12px 12px 0 0; }
.thumb .asset-img img { max-height: 200px; }
.thumb .b { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.thumb textarea { min-height: 84px; }
.thumb .actions { margin-top: auto; }

/* ---------- keywords ---------- */
.kw { display: flex; flex-direction: column; }
.kw h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 18px; margin-bottom: 12px; }
.kw h3 small { color: var(--muted); font-weight: 400; font-size: 16px; white-space: nowrap; }
.kw ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.kw li { padding: 4px 10px; border-radius: 999px; background: #e9f6fc; font-size: 16px; color: #26425c; }
.kw .actions { margin-top: auto; }

/* ---------- rules ---------- */
.rules { display: grid; gap: 12px; }
.rule { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 20px; }
.rule .mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.rule .mark.do { background: #e6f3ea; color: var(--green); }
.rule .mark.dont { background: #fdeceb; color: var(--red); }
.rule .mark.info { background: #e9f6fc; color: var(--navy); }
.rule h3 { font-size: 18px; margin: 5px 0 4px; }
.rule p { margin: 0; }

/* ---------- link generator ---------- */
.gen { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.step + .step { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.step .n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; }
.step h2 { font-size: 20px; margin: 5px 0 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.help { margin-top: 6px; font-size: 16px; color: var(--muted); }
.help summary { cursor: pointer; color: var(--navy); font-weight: 700; }
.help div { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: #fdfbf7; border: 1px solid var(--line); color: var(--text); }
.pages { display: grid; gap: 8px; }
.pages label { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; cursor: pointer; }
.pages label:has(input:checked) { border-color: var(--gold); background: #f3f9fd; box-shadow: 0 0 0 2px rgba(20, 89, 138, .35); }
.pages input { accent-color: var(--gold-d); width: 18px; height: 18px; }
.pages small { margin-left: auto; color: var(--muted); font-weight: 400; font-family: var(--mono); font-size: 16px; white-space: nowrap; }
.result { display: flex; gap: 8px; }
.result .input { flex: 1; }
.preview { position: sticky; top: 140px; overflow: hidden; }
.preview .shot { display: block; width: 100%; background: #0a1b2b; }
.preview .cap { padding: 16px 20px; }
.preview .cap b { display: block; font-size: 18px; }
.preview .cap span { color: var(--muted); font-size: 16px; }

/* ---------- overview + home ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; overflow: hidden; }
.stats > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats small { display: block; color: var(--muted); font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.stats strong { display: block; margin-top: 4px; color: var(--ink); font-size: 30px; font-weight: 900; line-height: 1.15; }
.stats strong.gold { color: var(--gold-d); }
.stats span { display: block; margin-top: 4px; font-size: 16px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.tile .ico { width: 26px; height: 26px; color: var(--gold-d); }
.tile b { font-size: 17px; }
.tile span { font-size: 16px; color: var(--muted); }
.manager { display: flex; align-items: center; gap: 16px; }
.manager img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.manager b { display: block; font-size: 17px; }
.manager span, .manager a { display: block; font-size: 16px; color: var(--muted); overflow-wrap: break-word; }
.manager a { color: var(--navy); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.signup { padding: 30px; }
.signup h2 { font-size: 26px; margin-bottom: 6px; }
.signup p.s { color: var(--muted); margin-bottom: 18px; }
.signup form { display: grid; gap: 12px; }
.signup .btn { width: 100%; padding: 16px; font-size: 18px; }
.signup .fine { margin: 14px 0 0; font-size: 16px; color: var(--muted); }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reason { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 20px; }
.reason .n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 900; font-size: 16px; }
.reason p { margin: 0; font-size: 17px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote { padding: 24px; }
.quote blockquote { margin: 0 0 16px; font-size: 17px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #e9f6fc; }
.quote .who b { display: block; }
.quote .who span { font-size: 16px; color: var(--muted); }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { color: var(--green); margin-top: 4px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { padding: 16px 20px; font-weight: 700; color: var(--ink); cursor: pointer; }
.faq .a { padding: 0 20px 16px; font-size: 17px; }
.dark-band { background: var(--dark); color: #d6e2ec; padding: 56px 0; margin-top: 56px; }
.dark-band h2 { color: #fff; }
.dark-band b, .dark-band strong { color: #fff; }

/* ---------- footer ---------- */
.foot { background: #0a1b2b; color: #9fb0c0; padding: 40px 0 36px; font-size: 16px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.foot img { width: 200px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot nav a { color: #c4d2df; text-decoration: none; font-size: 16px; }
.foot nav a:hover { color: var(--lime); }
.foot .copy b { color: #d6e2ec; }
.foot .legal { font-size: 16px; line-height: 1.6; }

.toast { position: fixed; left: 50%; bottom: 26px; translate: -50% 0; z-index: 99; padding: 12px 20px; border-radius: 999px; background: var(--dark); color: #fff; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .tile { transition: none; } }

/* ---------- tablet ---------- */
@media (max-width: 960px) {
  .grid3, .thumbs { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .gen, .split { grid-template-columns: 1fr; }
  .preview { position: static; }
  .asset { grid-template-columns: 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 700px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .logo img { width: 160px; }
  .logo span { font-size: 16px; padding: 2px 8px; }
  .menu-btn { display: inline-flex; }
  html.js .nav { display: none; }
  html.js .nav.open { display: block; }
  .nav-in { flex-direction: column; }
  .nav a { padding: 12px; }
  .hero { padding: 44px 0 60px; }
  .hero h1 { font-size: 31px; }
  .hero-intro { font-size: 17px; }
  .sec-h h2 { font-size: 25px; }
  .pad { padding: 20px; }
  .grid2, .grid3, .thumbs, .tiles, .reasons, .quotes, .fields { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hopbar > div { flex-wrap: wrap; padding: 16px; }
  .hop-none .btn { width: 100%; }
  .acc summary { padding: 14px 16px; }
  .acc .body { padding: 0 14px 16px; }
  .swipe { padding: 16px; font-size: 16.5px; }
  .result { flex-direction: column; }
  .signup { padding: 22px; }
}
.dark-band .card b, .dark-band .card strong { color: var(--ink); }
.card { color: var(--text); }
.split > *, .gen > *, .grid2 > *, .grid3 > * { min-width: 0; }
@media (max-width: 700px) {
  .top-in .btn-sm { padding: 8px 14px; font-size: 16px; white-space: nowrap; }
  .top-in .btn-sm .ico { display: none; }
  .logo img { width: 140px; }
  .pages small { display: none; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .hero .split img { max-width: 260px !important; }
}
.dark-band .card h2, .dark-band .card h3 { color: var(--ink); }

/* ---------- landing pages (presell templates, Nov 2026) ---------- */
.tpls { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px; }
.tpl { overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.tpl .shots { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,1fr); gap: 10px; padding: 16px; background: linear-gradient(160deg, #0d2236, #14598a); align-items: start; }
.tpl .shots img { display: block; width: 100%; height: 250px; object-fit: cover; object-position: top; border-radius: 8px; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.tpl .shots img, .tpl .shots a { min-width: 0; max-width: 100%; }
.tpl { min-width: 0; }
.tpl .b { padding: 20px 22px 22px; }
.tpl h3 { font-size: 21px; margin: 0 0 6px; }
.tpl p { margin: 0 0 16px; }
@media (max-width: 860px) { .tpls { grid-template-columns: minmax(0,1fr); } .tpl .shots img { height: 200px; } }
.hero-points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-points li { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 17px; }
.hero-points svg { width: 20px; height: 20px; color: var(--lime); flex: none; }

.pages .pl { display: flex; flex-direction: column; gap: 2px; }
.pages .pl em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 16px; }


/* =====================================================================
   App shell (Nov 2026): top bar + grouped sidebar + light page header.
   Old .top/.nav/.hero rules above stay for the sign-up page (home.php).
   ===================================================================== */
body.app { background: var(--bg); }
.app .ico { width: 19px; height: 19px; }

/* top bar */
.appbar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px; height: var(--bar); padding: 0 22px 0 24px; background: linear-gradient(90deg, #0a1b2b, #14598a); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; }
.brand .tag { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .18); color: #e3ebf2; font-size: 16px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.appbar-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hopchip { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; font-size: 16px; white-space: nowrap; transition: border-color .15s, background .15s; }
.hopchip:hover { border-color: var(--lime); background: rgba(244, 183, 51, .12); }
.hopchip .dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(244, 183, 51, .3); }
.hopchip.on .dot { background: #4cc46a; box-shadow: 0 0 0 3px rgba(244, 183, 51, .22); }
.hopchip .hc-l { color: #a9bccd; }
.hopchip .hc-v { font-weight: 700; color: var(--lime); max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.hopchip.on .hc-v { color: #fff; }
.hopchip .hc-s { display: none; font-weight: 700; color: var(--lime); }
.hopchip.on .hc-s { color: #fff; }
.appbar-contact { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 4px; border-radius: 999px; background: #fff; color: #0a1b2b; font-size: 16px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.appbar-contact:hover { background: var(--gold-hi); }
.appbar-contact img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .7); }
.appbar .menu-btn { display: none; place-items: center; width: 42px; height: 42px; margin: 0 2px 0 -8px; padding: 0; border: 0; border-radius: 10px; background: none; color: #fff; cursor: pointer; }
.appbar .menu-btn .ico { width: 24px; height: 24px; }
.appbar .menu-btn:hover { background: rgba(255, 255, 255, .08); }

/* layout */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: calc(100vh - var(--bar)); background: linear-gradient(to right, #fff calc(var(--side) - 1px), #e7e0d2 calc(var(--side) - 1px), #e7e0d2 var(--side), transparent var(--side)); }
.content { min-width: 0; display: flex; flex-direction: column; }
.content > main { flex: 1; }
.app .wrap { max-width: 1180px; margin: 0; padding: 0 48px; }
.app .wrap.narrow { max-width: 920px; }

/* sidebar */
.side { position: sticky; top: var(--bar); align-self: start; height: calc(100vh - var(--bar)); overflow-y: auto; padding: 10px 16px 14px; background: #fff; border-right: 1px solid #e7e0d2; scrollbar-width: thin; scrollbar-color: #4f6a85 #f3efe6; }
.side::-webkit-scrollbar { width: 10px; }
.side::-webkit-scrollbar-track { background: #f3efe6; }
.side::-webkit-scrollbar-thumb { background: #4f6a85; border-radius: 6px; border: 2px solid #f3efe6; }
.side-head { display: none; }
.side-g + .side-g { margin-top: 4px; }
.side-t { margin: 0 0 3px; padding: 0 12px; color: #7f8da0; font-size: 16px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.side a { position: relative; display: flex; align-items: center; gap: 12px; padding: 3px 12px; border-radius: 10px; color: #2a3846; font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.side a .ico { width: 19px; height: 19px; color: #7b8796; }
.side a:hover { background: #f6f2ea; color: var(--ink); }
.side a:hover .ico { color: var(--gold-d); }
.side a[aria-current="page"] { background: #e9f6fc; color: var(--ink); }
.side a[aria-current="page"]::before { content: ""; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); }
.side a[aria-current="page"] .ico { color: var(--gold-d); }
.side a:focus-visible { outline: 3px solid var(--gold); outline-offset: -1px; }
.scrim { display: none; }

/* page header */
.phead { background: #fff; border-bottom: 1px solid #e7e0d2; padding: 26px 0 32px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin-bottom: 14px; color: #5f6c7b; font-size: 16px; }
.crumbs a { color: #5f6c7b; text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }
.phead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.phead-t { min-width: 0; max-width: 820px; }
.phead .eyebrow { margin: 0 0 8px; color: var(--gold-d); font-size: 16px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.phead h1 { font-size: 38px; font-weight: 900; letter-spacing: -.015em; line-height: 1.15; }
.phead-intro { margin-top: 12px; color: #3f4c5b; font-size: 19px; line-height: 1.55; }
.phead-intro p { margin: 0 0 .6em; }
.phead-intro p:last-child { margin: 0; }
.phead-intro b, .phead-intro strong { color: var(--ink); }
.phead-intro a { color: var(--navy); font-weight: 700; }
.phead-a { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

/* blocks inside the shell */
.app main { padding-bottom: 72px; }
.app .sec { padding-top: 44px; }
.app .hopbar { margin-top: 28px; }
.app .hopbar > div { box-shadow: 0 1px 2px rgba(13, 34, 54, .04), 0 8px 24px rgba(13, 34, 54, .06); }
.app .card { border-color: #e7e0d2; box-shadow: 0 1px 2px rgba(13, 34, 54, .04), 0 6px 18px rgba(13, 34, 54, .04); }
.app .sec-h h2 { font-size: 28px; letter-spacing: -.01em; }

/* ---------- dashboard (overview) ---------- */
.dash-hop .dh-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 28px; }
.dash-hop .dh-l { margin: 0; color: #c4d2df; font-weight: 400; font-size: 16px; }
.dash-hop { margin-top: 28px; padding: 26px 30px; border-radius: 18px; color: #d6e2ec; background: radial-gradient(120% 140% at 100% 0%, rgba(20, 89, 138, .22), transparent 55%), linear-gradient(135deg, #0a1b2b, #0d2236); }
.dash-hop h2 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.dash-hop p { margin: 0; font-size: 17px; }
.dash-hop b { color: #fff; }
.dash-hop .hop-val { display: block; width: 100%; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font: 16px/1.4 var(--mono); overflow-wrap: anywhere; }
.dash-hop .actions { justify-content: flex-end; }
.dash-hop .btn-mini { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.dash-hop .btn-mini:hover { background: rgba(255, 255, 255, .14); border-color: var(--lime); }
.dash-hop [hidden] { display: none !important; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.fact { display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px 20px; }
.fact > div { min-width: 0; }
.fact .fi { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: #e9f6fc; color: var(--gold-d); }
.fact .fi .ico { width: 22px; height: 22px; }
.fact small { display: block; color: #5f6c7b; font-size: 16px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.fact strong { display: block; margin: 2px 0 4px; color: var(--ink); font-size: 30px; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.fact strong.gold { color: var(--gold-d); }
.fact strong.site { font-size: 20px; padding-top: 6px; }
.fact span { display: block; color: #56636f; font-size: 16px; line-height: 1.5; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s3 { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.s3:hover { border-color: var(--gold); transform: translateY(-2px); }
.s3 .n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; font-size: 17px; }
.s3 b { font-size: 19px; }
.s3 span { color: #56636f; font-size: 17px; }
.s3 em { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-style: normal; font-weight: 900; font-size: 16px; }
.s3 em .ico { width: 16px; height: 16px; }
.vtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.vtile { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.vtile:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(13, 34, 54, .1); }
.vtile .vt-img { position: relative; height: 190px; overflow: hidden; background: linear-gradient(160deg, #0d2236, #14598a); border-bottom: 1px solid #e7e0d2; }
.vtile .vt-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vtile .vt-img.contain img { object-fit: contain; padding: 16px; }
.vtile .vt-img.light { background: repeating-conic-gradient(#f3efe6 0% 25%, #fdfbf7 0% 50%) 0 0 / 20px 20px; }
.vtile .vt-b { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px 18px; }
.vtile .vt-b .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--gold-d); }
.vtile b { display: block; font-size: 18px; }
.vtile span { display: block; color: #56636f; font-size: 16px; }
.ctiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ctile { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.ctile:hover { border-color: var(--gold); transform: translateY(-2px); }
.ctile .ci { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 11px; background: #e9f6fc; color: var(--navy); }
.ctile .ci .ico { width: 21px; height: 21px; }
.ctile b { display: block; font-size: 18px; }
.ctile span { display: block; color: #56636f; font-size: 16px; }
.tool-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 30px 0 14px; color: var(--ink); font-size: 20px; font-weight: 900; }
.tool-h small { color: #5f6c7b; font-size: 16px; font-weight: 400; }
.tool-h.first { margin-top: 0; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.duo .card { display: flex; flex-direction: column; }
.tagline { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin-bottom: 14px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 16px; font-weight: 900; }
.tagline .ico { width: 18px; height: 18px; }
.tagline.amber { background: #e9f6fc; color: #0f4a73; }
.tagline.green { background: #e6f3ea; color: #1d5e3a; }
.duo .manager { margin-top: auto; padding-top: 16px; border-top: 1px solid #efe9dd; }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: center; padding: 30px 34px; }
.product img { display: block; width: 100%; }
.product p { font-size: 18px; }
.letter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border-radius: 18px; border: 1px solid #e7e0d2; }
.letter .mv { padding: 34px 36px; color: #d6e2ec; background: radial-gradient(90% 80% at 0% 0%, rgba(20, 89, 138, .18), transparent 60%), linear-gradient(160deg, #0a1b2b, #0d2236); }
.letter .mv h2 { color: #fff; font-size: 28px; margin-bottom: 16px; line-height: 1.2; }
.letter .mv p { font-size: 17px; }
.letter .mv p:last-child { margin: 0; }
.letter .note-l { padding: 34px 36px; background: #fff; }
.letter .note-l h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 14px; }
.letter .note-l h3 .ico { color: var(--gold-d); width: 22px; height: 22px; }
.letter .note-l p { font-size: 18px; }

/* ---------- shell: tablet / phone ---------- */
@media (max-width: 1240px) {
  .app .wrap { padding: 0 36px; }
  .vtiles, .ctiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .shell { display: block; background: none; }
  .appbar .menu-btn { display: grid; }
  .side { position: fixed; z-index: 90; top: 0; left: 0; bottom: 0; height: auto; width: min(320px, 86vw); padding-top: 12px; transform: translateX(-102%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
  .side.open { transform: none; visibility: visible; transition: transform .22s ease; }
  .side-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px 12px; margin-bottom: 8px; border-bottom: 1px solid #e7e0d2; }
  .side-head b { font-size: 17px; }
  .side-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: #f3efe6; color: var(--ink); cursor: pointer; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(7, 18, 30, .55); }
  .scrim[hidden] { display: none; }
  body.menu-open { overflow: hidden; }
  .phead-row { flex-direction: column; align-items: flex-start; }
  .letter, .product { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .facts, .steps3, .duo { grid-template-columns: minmax(0, 1fr); }
  .dash-hop .dh-row { grid-template-columns: minmax(0, 1fr); }
  .dash-hop .actions { justify-content: flex-start; }
  .appbar-contact span { display: none; }
  .appbar-contact { padding: 0 4px; }
}
@media (max-width: 700px) {
  .appbar { padding: 0 12px 0 14px; gap: 8px; }
  .brand .tag { display: none; }
  .hopchip { height: 38px; padding: 0 12px 0 10px; }
  .hopchip .hc-l, .hopchip .hc-v { display: none; }
  .hopchip .hc-s { display: inline; }
  .app .wrap { padding: 0 18px; }
  .phead { padding: 18px 0 24px; }
  .crumbs { margin-bottom: 10px; }
  .phead h1 { font-size: 30px; }
  .phead-intro { font-size: 17.5px; }
  .phead-a { width: 100%; }
  .phead-a .btn { flex: 1 1 auto; }
  .app .sec { padding-top: 34px; }
  .app .sec-h h2 { font-size: 24px; }
  .ctiles { grid-template-columns: minmax(0, 1fr); }
  .vtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vtile .vt-img { height: 112px; }
  .vtile .vt-img.contain img { padding: 8px; }
  .vtile .vt-b { padding: 12px 12px 14px; }
  .vtile .vt-b > .ico { display: none; }
  .vtile b { font-size: 17px; line-height: 1.3; }
  .ctile { padding: 16px; }
  .dash-hop { padding: 22px 20px; }
  .product, .letter .mv, .letter .note-l { padding: 24px 20px; }
  .fact strong { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { .side, .s3, .vtile, .ctile { transition: none; } }

/* ---------- quick start (Nov 2026 shell) ---------- */
.qs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.qs-main { min-width: 0; }
.qs-rail { position: sticky; top: calc(var(--bar) + 24px); display: grid; gap: 16px; margin-top: 28px; }
.qs-toc { padding: 20px 18px; }
.qs-toc-t { margin: 0 0 10px; padding: 0 6px; color: #5f6c7b; font-size: 16px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.qs-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.qs-toc a { display: flex; align-items: flex-start; gap: 10px; padding: 7px 6px; border-radius: 8px; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.qs-toc a:hover { background: #f6f2ea; }
.qs-toc a > span { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #e9f6fc; color: var(--navy); font-size: 16px; font-weight: 900; }
.qs-toc a > span .ico { width: 15px; height: 15px; }
.qs-mgr { padding: 20px 18px; }
.qs-mgr .manager img { width: 60px; height: 60px; }
.qs-line { position: relative; }
.qs-line > li { position: relative; }
.qs-line > li + li::before { content: ""; position: absolute; left: 43px; top: -15px; height: 14px; width: 2px; background: #d9d1c1; }
@media (max-width: 1240px) { .qs-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; } }
@media (max-width: 1023px) { .qs-layout { grid-template-columns: minmax(0, 1fr); } .qs-rail { position: static; order: -1; margin-top: 24px; } .qs-mgr { display: none; } }
@media (max-width: 700px) { .qs-line > li + li::before { left: 35px; } }

/* Page pieces that stick under the app bar instead of the old two-row header */
html:has(body.app) { scroll-padding-top: 90px; }
.app .art { scroll-margin-top: 90px; }
.app .bn-filter { top: var(--bar); }
.app .preview { top: calc(var(--bar) + 24px); }

/* Readability floor (independent check 2026-11-07): nothing under 16px anywhere in the area */
.side-t, .hopchip .hc-l, .hopchip .hc-v, .hopchip .hc-s, .appbar-contact, .crumbs, .crumbs a, .crumbs span, .foot .legal, .foot .copy, .foot a, .vt small, .page small, main small { font-size: 16px; }
.side-t { letter-spacing: .08em; }

/* ---- HM additions (Nov 2026): generator, saved links, shared bits ---- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.opt { font-weight: 400; color: var(--muted); }
.field-err { margin: 6px 0 0; color: var(--red); font-size: 16px; font-weight: 700; }
.input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
.gen-result { margin-top: 18px; padding: 16px; border-radius: 14px; background: #f3f9fd; border: 1px solid #c7e3f2; }
.gen-result label { display: block; margin-bottom: 8px; font-weight: 700; }
.gen-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gen-result .help { margin-top: 10px; }
.saved { margin-top: 28px; }
.saved h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; margin-bottom: 8px; }
.saved h2 .ico { color: var(--gold); width: 24px; height: 24px; }
.save-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 10px; }
.save-row .input { flex: 1 1 260px; }
.saved-empty { color: var(--muted); }
.saved-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.saved-item { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.saved-top { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.saved-top b { font-size: 18px; }
.saved-meta { color: var(--muted); font-size: 16px; }
.saved-item code { font-family: var(--mono); font-size: 16px; overflow-wrap: anywhere; color: var(--navy); }
.saved-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.next-step { margin: 26px 0 8px; padding: 16px 18px; border-radius: 12px; background: #e9f6fc; border: 1px solid #c7e3f2; font-size: 17px; }
@media (max-width: 760px) {
  .saved-acts .btn-mini, .gen-acts .btn-mini { flex: 1 1 auto; justify-content: center; }
  .save-row .btn-mini { width: 100%; justify-content: center; }
}
.rules-outro { margin: 18px 0 0; font-size: 18px; }
.rules-outro a { color: var(--navy); font-weight: 700; }
.rules-ask h2 { font-size: 24px; margin: 0 0 8px; }
.rules-ask p { margin: 0 0 16px; }
.sec[id] { scroll-margin-top: 80px; }


/* ===== HM skin (Nov 2026): writer's-brand look on top of the shared kit ===== */
:root { --gold-d: #14598a; }
body { font: 18px/1.65 "Source Sans 3", "Segoe UI", Arial, sans-serif; background: var(--paper); color: var(--text); }
a { color: var(--storm); text-underline-offset: 3px; }
a:hover { color: #0f4a73; }
h1, h2, h3, .phead h1, .sec-h h2, .app .sec-h h2, .hero h1, .tool-h, .group-h, .saved h2, .signup h2, .dash-hop h2, .letter .mv h2,
.letter .note-l h3, .tpl h3, .asset h3, .prose h2, .prose h3, .rules-ask h2, .step h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; font-optical-sizing: auto;
}
.phead h1 { font-size: 42px; font-weight: 600; line-height: 1.12; }
.sec-h h2, .app .sec-h h2 { font-size: 30px; }
.fact strong, .stats strong { font-family: var(--serif); font-weight: 600; }
b, strong { font-weight: 700; }
::selection { background: rgba(244, 183, 51, .45); color: var(--ink); }

/* buttons: pencil yellow with ink text */
.btn { background: var(--gold); color: var(--ink); font: 700 17px/1.2 "Source Sans 3", "Segoe UI", Arial, sans-serif; padding: 15px 26px; box-shadow: 0 1px 0 rgba(13, 34, 54, .12), 0 10px 22px rgba(244, 183, 51, .32); }
.btn:hover { background: var(--gold-hi); color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: 16px; box-shadow: none; }
.btn-dark { background: var(--storm); color: #fff; box-shadow: none; }
.btn-dark:hover { background: #0f4a73; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--storm); }
.btn-mini { font: 700 16px/1.2 "Source Sans 3", "Segoe UI", Arial, sans-serif; padding: 9px 15px; border-color: #ddd5c5; color: var(--ink); }
.btn-mini:hover { border-color: var(--storm); background: var(--mist); color: var(--ink); }
.btn-mini.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-mini.gold:hover { background: var(--gold-hi); }
.btn:focus-visible, .btn-mini:focus-visible, .nav a:focus-visible, summary:focus-visible, .menu-btn:focus-visible,
.hopchip:focus-visible, .appbar-contact:focus-visible, a:focus-visible { outline: 3px solid var(--storm); outline-offset: 2px; }
.input { font: 17px/1.4 "Source Sans 3", "Segoe UI", Arial, sans-serif; border-color: #d9d1c1; border-radius: 12px; padding: 14px 16px; }
.input.mono, textarea.input { font-family: var(--mono); font-size: 16px; }
.input:focus { border-color: var(--storm); box-shadow: 0 0 0 3px rgba(20, 89, 138, .2); }

/* cards and notes */
.card, .app .card { border-color: var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(13, 34, 54, .04), 0 12px 32px -12px rgba(13, 34, 54, .12); }
.note { background: var(--mist); border-color: #c7e3f2; color: #0f3d5f; border-radius: 14px; }
.swipe { background: #fffdf8; border-color: #e2d9c6; }

/* top bar: ink */
.appbar { background: var(--dark-2); border-bottom: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 1px 0 rgba(244, 183, 51, .18); }
.brand .tag { color: #c9d6e2; font-weight: 600; }
.hopchip { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); }
.hopchip:hover { border-color: var(--gold); background: rgba(244, 183, 51, .1); color: #fff; }
.hopchip .dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(244, 183, 51, .28); }
.hopchip.on .dot { background: #57c785; box-shadow: 0 0 0 3px rgba(87, 199, 133, .25); }
.hopchip .hc-l { color: #a9bccd; }
.hopchip .hc-v, .hopchip .hc-s { color: var(--gold); }
.appbar-contact { background: #fff; color: var(--ink); font-weight: 700; padding: 0 16px 0 4px; }
.appbar-contact:hover { background: var(--gold); color: var(--ink); }
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #1f6fa6, #0d2236 75%); color: var(--gold); font-family: var(--serif); font-weight: 600; letter-spacing: .02em; line-height: 1; box-shadow: inset 0 0 0 2px rgba(244, 183, 51, .45); }
.manager .avatar { box-shadow: inset 0 0 0 2px rgba(244, 183, 51, .6), 0 6px 16px rgba(13, 34, 54, .18); }

/* sidebar: ink */
.shell { background: linear-gradient(to right, var(--dark-2) var(--side), transparent var(--side)); }
.side { background: var(--dark-2); border-right: 0; padding: 18px 14px 20px; scrollbar-color: #2f4a64 var(--dark-2); }
.side::-webkit-scrollbar-track { background: var(--dark-2); }
.side::-webkit-scrollbar-thumb { background: #2f4a64; border-color: var(--dark-2); }
.side-g + .side-g { margin-top: 14px; }
.side-t { color: #7f97ae; font-weight: 700; margin-bottom: 4px; }
.side a { color: #d3dee8; font-weight: 600; padding: 6px 12px; }
.side a .ico { color: #7f97ae; }
.side a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side a:hover .ico { color: var(--gold); }
.side a[aria-current="page"] { background: rgba(244, 183, 51, .13); color: #fff; }
.side a[aria-current="page"]::before { left: -14px; background: var(--gold); }
.side a[aria-current="page"] .ico { color: var(--gold); }
.side a:focus-visible { outline-color: var(--gold); }

/* page header */
.phead { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); padding: 30px 0 36px; }
.phead .eyebrow { color: var(--storm); font-weight: 700; }
.phead-intro { color: #3f4c5b; }
.crumbs a:hover { color: var(--storm); }

/* bits that used the brand colour as text or icon on white */
.saved h2 .ico, .group-h .ico, .tile .ico, .vtile .vt-b .ico, .letter .note-l h3 .ico { color: var(--storm); }
.hop-ic { background: var(--mist); color: var(--storm); }
.hop-ic.ok { background: #e6f3ea; color: var(--green); }
.acc details[open] { border-color: #9cc8e3; }
.acc details[open] summary::after { background: var(--gold); color: var(--ink); }
.reason .n { background: var(--gold); color: var(--ink); }
.dash-hop, .letter .mv { background: radial-gradient(120% 140% at 100% 0%, rgba(20, 89, 138, .55), transparent 60%), linear-gradient(135deg, #0a1b2b, #0d2236); }
.dash-hop .btn-mini:hover { border-color: var(--gold); }
.vtile .vt-img { background: linear-gradient(160deg, #0d2236, #14598a); border-bottom-color: var(--line); }
.vtile .vt-img.light { background: #f3efe6; }
.tpl .shots { background: linear-gradient(160deg, #0a1b2b, #14598a); }
.foot { background: var(--dark); color: #9fb0c0; }
.foot nav a:hover { color: var(--gold); }
.toast { background: var(--ink); }
.gen-result { background: var(--mist); border-color: #c7e3f2; }
.next-step { background: var(--mist); border-color: #c7e3f2; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.4; }
.badge.soft { background: var(--mist); color: #0f4a73; }
.kicker { margin: 0 0 6px; color: var(--storm); font-size: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 1023px) {
  .shell { background: none; }
  .side { padding-top: 12px; }
  .side-head { border-bottom-color: rgba(255, 255, 255, .1); }
  .side-head b { color: #fff; font-family: var(--serif); font-weight: 600; }
  .side-close { background: rgba(255, 255, 255, .08); color: #fff; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .phead h1 { font-size: 32px; }
  .sec-h h2, .app .sec-h h2 { font-size: 25px; }
  .btn { font-size: 17px; }
}

/* hoplink generator: desktop + phone preview pair, saved-link states */
.preview .pv-pair { position: relative; padding: 18px 18px 0; background: linear-gradient(160deg, #0d2236, #14598a); }
.preview .pv-pair .shot { display: block; width: 82%; height: auto; border-radius: 10px 10px 0 0; background: #fff; box-shadow: 0 10px 30px rgba(7, 18, 30, .35); }
.preview .pv-pair .shot-ph { position: absolute; right: 14px; bottom: 14px; width: 30%; height: auto; border-radius: 16px; border: 5px solid #0a1b2b; background: #fff; box-shadow: 0 12px 28px rgba(7, 18, 30, .45); }
.preview .cap span span { font-family: var(--mono); overflow-wrap: anywhere; }
.pages .badge { margin-left: 6px; vertical-align: 2px; }
.gen-go { margin-top: 18px; }
.gen-wait { margin: 0; color: var(--muted); }
.step:has(.gen-result:not([hidden])) .gen-wait { display: none; }
.gen-result .save-row { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed #c7e3f2; }
.saved-count { color: var(--muted); font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif; font-size: 18px; font-weight: 600; }
.saved-item.is-active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(244, 183, 51, .45); background: #fffdf6; }
.saved-item .badge { align-self: center; }
@media (max-width: 700px) {
  .preview .pv-pair { padding: 12px 12px 0; }
  .gen-go { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}
@media (max-width: 860px) {
  .appbar-contact { flex: none; padding: 0 4px; }
  .appbar-contact span { display: none; }
}
.qs-steps .ptable th:first-child { width: 30%; }
.qs-steps .ptable th:nth-child(2), .qs-steps .ptable th:nth-child(3) { width: 35%; }
img.avatar { display: block; flex: none; border-radius: 50%; object-fit: cover; background: #e9f6fc; box-shadow: 0 0 0 2px rgba(244, 183, 51, .6); }
.appbar-contact img.avatar { border: 0; box-shadow: none; }
.qs-steps .ptable { table-layout: fixed; }
.field-note { margin: 6px 0 0; color: var(--storm); font-size: 16px; font-weight: 600; }

/* ---- Logo (fix 2026-11-11): storm mark + live "Hurricane Method" in Fraunces, sharp at any zoom ---- */
.wm { display: inline-flex; align-items: center; gap: 10px; flex: none; color: #fff; line-height: 1; }
.wm .wm-mark { display: block; width: 28px; height: 39px; }
.wm .wm-name { display: flex; flex-direction: column; gap: 3px; font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.005em; color: #fff; white-space: nowrap; }
.brand:hover .wm-name { color: #fff; }
.foot .wm .wm-mark { width: 30px; height: 42px; }
.foot .wm .wm-name { font-size: 24px; }
.side-brand .wm .wm-name { font-size: 20px; }
@media (max-width: 700px) {
  .wm { gap: 8px; }
  .wm .wm-mark { width: 24px; height: 34px; }
  .wm .wm-name { font-size: 19px; }
}
/* narrow phones: the name sits on two lines so the hoplink chip and Andrew's photo keep their room */
@media (max-width: 520px) {
  .appbar .wm .wm-name { display: block; width: 6.2em; font-size: 17px; line-height: 1.05; white-space: normal; }
  .appbar .wm .wm-mark { width: 22px; height: 31px; }
  .appbar .brand { flex: 0 1 auto; }
}

/* ---- Toast (fix 2026-11-11): fades in and out, never blocks clicks on the field underneath ---- */
.toast { pointer-events: none; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
