/* Obsession System affiliate area (Nov 2026). Shared kit layout with the Obsession System skin at the end of this file:
   cream paper, ink top bar, blush sidebar and page headers with paper hearts, coral buttons, Playfair Display + Nunito Sans. */
:root {
  --dark: #231F20;
  --dark-2: #2E2829;
  --navy: #C93A29;
  --gold: #E74D3A;
  --gold-hi: #C93A29;
  --gold-d: #C93A29;
  --gold-ink: #2E2829;
  --ink: #2E2829;
  --text: #3B3334;
  --muted: #6E605D;
  --ivory: #FFF8F4;
  --card: #ffffff;
  --line: #F0DDD7;
  --lime: #E74D3A;
  --red: #b3261e;
  --green: #2e7d4f;
  --link: #C93A29;
  --mist: #FBE7E4;
  --paper: #FFF8F4;
  --wide: 1140px;
  --bg: #FFF8F4;
  --bar: 68px;
  --side: 276px;
  --serif: "Playfair Display", 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 "Nunito Sans", "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(231, 77, 58, .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 "Nunito Sans", "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: #F3E3DF; 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, #231F20 0%, #C93A29 70%, #E74D3A 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: #F3E3DF; 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(35, 31, 32, .04), 0 10px 30px rgba(35, 31, 32, .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: #FFF1EE; border: 1px solid #F6D3D0; color: #A8301F; 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 "Nunito Sans", "Segoe UI", Arial, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(231, 77, 58, .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: #E74D3A; }
.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 "Nunito Sans", "Segoe UI", Arial, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-mini:hover { border-color: var(--gold); background: #FFF4F0; }
.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 #E6CFC8; border-radius: 10px; background: #fff; color: var(--ink); font: 16px "Nunito Sans", "Segoe UI", Arial, sans-serif; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231, 77, 58, .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(35, 31, 32, .12); }
.hop-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: #FBE7E4; 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: #EDB9AE; box-shadow: 0 10px 30px rgba(35, 31, 32, .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: #FBE7E4; 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: #FBE7E4; 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: #FFFBF8; border: 1px dashed #EDCFC7; 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: #FBEDE8; }
.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: #FBE7E4; font-size: 16px; color: #5A2A24; }
.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: #FBE7E4; 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: #FFFBF8; 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: #FFF4F0; box-shadow: 0 0 0 2px rgba(231, 77, 58, .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: #231F20; }
.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: #FBE7E4; }
.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: #F3E3DF; padding: 56px 0; margin-top: 56px; }
.dark-band h2 { color: #fff; }
.dark-band b, .dark-band strong { color: #fff; }

/* ---------- footer ---------- */
.foot { background: #231F20; color: #CDBDB9; 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: #F3E3DF; text-decoration: none; font-size: 16px; }
.foot nav a:hover { color: var(--lime); }
.foot .copy b { color: #F3E3DF; }
.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, #2E2829, #C93A29); 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, #231F20, #C93A29); 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: #F3E3DF; 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(231, 77, 58, .12); }
.hopchip .dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(231, 77, 58, .3); }
.hopchip.on .dot { background: #4cc46a; box-shadow: 0 0 0 3px rgba(231, 77, 58, .22); }
.hopchip .hc-l { color: #CDBDB9; }
.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: #231F20; 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), #F0DDD7 calc(var(--side) - 1px), #F0DDD7 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 #F0DDD7; scrollbar-width: thin; scrollbar-color: #E7B9AF #FBEDE8; }
.side::-webkit-scrollbar { width: 10px; }
.side::-webkit-scrollbar-track { background: #FBEDE8; }
.side::-webkit-scrollbar-thumb { background: #E7B9AF; border-radius: 6px; border: 2px solid #FBEDE8; }
.side-head { display: none; }
.side-g + .side-g { margin-top: 4px; }
.side-t { margin: 0 0 3px; padding: 0 12px; color: #8A7672; 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: #3B3334; font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.side a .ico { width: 19px; height: 19px; color: #B9857B; }
.side a:hover { background: #FBEFEB; color: var(--ink); }
.side a:hover .ico { color: var(--gold-d); }
.side a[aria-current="page"] { background: #FBE7E4; 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 #F0DDD7; padding: 26px 0 32px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin-bottom: 14px; color: #7D6B67; font-size: 16px; }
.crumbs a { color: #7D6B67; 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: #4A3F3F; 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(35, 31, 32, .04), 0 8px 24px rgba(35, 31, 32, .06); }
.app .card { border-color: #F0DDD7; box-shadow: 0 1px 2px rgba(35, 31, 32, .04), 0 6px 18px rgba(35, 31, 32, .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: #F3E3DF; font-weight: 400; font-size: 16px; }
.dash-hop { margin-top: 28px; padding: 26px 30px; border-radius: 18px; color: #F3E3DF; background: radial-gradient(120% 140% at 100% 0%, rgba(231, 77, 58, .22), transparent 55%), linear-gradient(135deg, #231F20, #2E2829); }
.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: #FBE7E4; color: var(--gold-d); }
.fact .fi .ico { width: 22px; height: 22px; }
.fact small { display: block; color: #7D6B67; 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: #6E605D; 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: #6E605D; 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(35, 31, 32, .1); }
.vtile .vt-img { position: relative; height: 190px; overflow: hidden; background: linear-gradient(160deg, #2E2829, #C93A29); border-bottom: 1px solid #F0DDD7; }
.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(#FBEDE8 0% 25%, #FFFBF8 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: #6E605D; 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: #FBE7E4; color: var(--navy); }
.ctile .ci .ico { width: 21px; height: 21px; }
.ctile b { display: block; font-size: 18px; }
.ctile span { display: block; color: #6E605D; 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: #7D6B67; 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: #FBE7E4; color: #A8301F; }
.tagline.green { background: #e6f3ea; color: #1d5e3a; }
.duo .manager { margin-top: auto; padding-top: 16px; border-top: 1px solid #F3E3DE; }
.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 #F0DDD7; }
.letter .mv { padding: 34px 36px; color: #F3E3DF; background: radial-gradient(90% 80% at 0% 0%, rgba(231, 77, 58, .18), transparent 60%), linear-gradient(160deg, #231F20, #2E2829); }
.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 #F0DDD7; }
  .side-head b { font-size: 17px; }
  .side-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: #FBEDE8; color: var(--ink); cursor: pointer; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(35, 31, 32, .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-rail > * { min-width: 0; } .qs-mgr { overflow-wrap: anywhere; }
.qs-toc-t { margin: 0 0 10px; padding: 0 6px; color: #7D6B67; 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: #FBEFEB; }
.qs-toc a > span { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #FBE7E4; 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: #E6CFC8; }
@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: #FFF4F0; border: 1px solid #F6D3D0; }
.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: #FBE7E4; border: 1px solid #F6D3D0; 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; }


/* ===== Obsession System skin (Nov 2026): warm paper-and-heart look on top of the shared kit =====
   Cream paper page, ink top bar with a coral thread, a soft blush sidebar, blush page headers with small paper hearts,
   coral pill buttons with white text, soft rounded cards. Playfair Display headings, Nunito Sans body. */
:root {
  --coral: #E74D3A; --coral-d: #C93A29; --coral-dd: #A8301F; --ink: #231F20; --ink-2: #2E2829;
  --blush: #FBE7E4; --pink: #F6D3D0; --cream: #FFF8F4; --rose: #F78DA7;
  --gold: #E74D3A; --gold-hi: #C93A29; --gold-d: #C93A29; --gold-ink: #fff;
  --navy: #B5361F; --link: #B5361F; --mist: #FDEEEA; --paper: #FFF8F4; --bg: #FFF8F4;
  --text: #3B3334; --muted: #6E605D; --line: #F0DDD7; --red: #B3261E; --green: #2E7D4F;
  --dark: #231F20; --dark-2: #231F20; --side: 272px; --bar: 72px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath fill='%23E74D3A' d='M10 17.5S.5 11.6.5 5.6C.5 2.8 2.7.6 5.4.6c2 0 3.6 1.1 4.6 2.7C11 1.7 12.6.6 14.6.6c2.7 0 4.9 2.2 4.9 5 0 6-9.5 11.9-9.5 11.9z'/%3E%3C/svg%3E");
}
body { font: 18px/1.65 var(--sans); background: var(--cream); color: var(--text); }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--coral-dd); }
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: 700; letter-spacing: -.005em;
}
h3, .acc summary .t, .kw h3, .rule h3, .tile b, .vtile b, .ctile b, .s3 b { font-family: var(--serif); font-weight: 700; }
.phead h1 { font-size: 44px; font-weight: 700; line-height: 1.12; }
.sec-h h2, .app .sec-h h2 { font-size: 31px; }
.fact strong, .stats strong { font-family: var(--serif); font-weight: 700; }
b, strong { font-weight: 800; color: var(--ink); }
::selection { background: rgba(231, 77, 58, .25); color: var(--ink); }

/* buttons: coral pills, white text */
.btn { background: var(--coral); color: #fff; font: 800 18px/1.2 var(--sans); padding: 15px 28px; border-radius: 999px; box-shadow: 0 1px 0 rgba(168, 48, 31, .35), 0 12px 24px -8px rgba(231, 77, 58, .55); }
.btn:hover { background: var(--coral-d); color: #fff; }
.btn-sm { padding: 12px 22px; font-size: 18px; box-shadow: 0 8px 18px -8px rgba(231, 77, 58, .6); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--coral); }
.btn-mini { font: 700 16px/1.2 var(--sans); padding: 10px 16px; border: 1.5px solid #EBCFC8; background: #fff; color: var(--ink); }
.btn-mini:hover { border-color: var(--coral); background: #FFF1EE; color: var(--ink); }
.btn-mini.gold { background: var(--coral-d); border-color: var(--coral-d); color: #fff; }
.btn-mini.gold:hover { background: var(--coral-dd); border-color: var(--coral-dd); color: #fff; }
.btn-mini.danger:hover { border-color: var(--red); color: var(--red); background: #fff; }
.btn:focus-visible, .btn-mini:focus-visible, summary:focus-visible, .menu-btn:focus-visible,
.hopchip:focus-visible, .appbar-contact:focus-visible, a:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.input { font: 17px/1.4 var(--sans); border: 1.5px solid #E6CFC8; border-radius: 14px; padding: 14px 16px; background: #fff; }
.input.mono, textarea.input { font-family: var(--mono); font-size: 16px; }
.input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(231, 77, 58, .16); }
label { font-weight: 800; }

/* cards and notes: soft and rounded */
.card, .app .card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(120, 50, 40, .04), 0 18px 40px -22px rgba(168, 48, 31, .22); }
.note { background: #FFF1EE; border: 1px solid var(--pink); color: #6B2A20; border-radius: 16px; }
.note.red { background: #FDECEB; border-color: #F2C1BC; color: #7A1F16; }
.swipe { background: #FFFBF8; border: 1.5px dashed #EDCFC7; border-radius: 16px; }

/* top bar: ink with a coral thread */
.appbar { background: var(--ink); border-bottom: 0; box-shadow: inset 0 -3px 0 var(--coral); padding-bottom: 3px; }
.wm { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.wm .wm-logo { display: block; width: auto; height: 50px; }
.side-brand .wm .wm-logo { height: 46px; }
.foot .wm .wm-logo { height: 58px; }
.brand { gap: 16px; }
.brand .tag { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .2); color: #F3E3DF; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 18px; letter-spacing: 0; }
.hopchip { height: 42px; border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); color: #fff; }
.hopchip:hover { border-color: var(--coral); background: rgba(231, 77, 58, .14); color: #fff; }
.hopchip .dot { width: 12px; height: 11px; border-radius: 0; background: var(--heart) center / contain no-repeat; box-shadow: none; }
.hopchip.on .dot { background: none; border-radius: 50%; width: 10px; height: 10px; background-color: #6FD39A; box-shadow: 0 0 0 3px rgba(111, 211, 154, .25); }
.hopchip .hc-l { color: #CDBDB9; }
.hopchip .hc-v, .hopchip .hc-s { color: #FFB4A8; }
.hopchip.on .hc-v, .hopchip.on .hc-s { color: #fff; }
.appbar-contact { height: 42px; background: var(--blush); color: var(--ink); font-weight: 800; padding: 0 16px 0 4px; }
.appbar-contact:hover { background: #fff; color: var(--ink); }
img.avatar { display: block; flex: none; border-radius: 50%; object-fit: cover; background: var(--blush); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pink); }
.appbar-contact img.avatar { border: 0; box-shadow: none; }
.manager .avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pink), 0 8px 18px rgba(168, 48, 31, .18); }
.manager a { color: var(--navy); }

/* sidebar: soft blush paper */
.shell { background: linear-gradient(to right, #FFF0EB var(--side), transparent var(--side)); }
.side { background: #FFF0EB; border-right: 1px solid var(--line); padding: 20px 14px 22px; scrollbar-color: #E7B9AF #FFF0EB; }
.side::-webkit-scrollbar-track { background: #FFF0EB; }
.side::-webkit-scrollbar-thumb { background: #E7B9AF; border-color: #FFF0EB; }
.side-g + .side-g { margin-top: 16px; }
.side-t { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; padding: 0 12px; color: var(--coral-d); font-weight: 800; letter-spacing: .1em; }
.side-t::before { content: ""; width: 11px; height: 10px; flex: none; background: var(--heart) center / contain no-repeat; opacity: .8; }
.side a { color: #4A3F3F; font-weight: 700; padding: 7px 12px; border-radius: 12px; }
.side a .ico { color: #B9857B; }
.side a:hover { background: rgba(255, 255, 255, .75); color: var(--ink); }
.side a:hover .ico { color: var(--coral); }
.side a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(168, 48, 31, .5), inset 0 0 0 1px #F3D5CE; }
.side a[aria-current="page"]::before { left: -14px; background: var(--coral); }
.side a[aria-current="page"] .ico { color: var(--coral); }
.side a:focus-visible { outline-color: var(--coral); }

/* page header: blush paper with small paper hearts */
.phead { position: relative; overflow: hidden; background: linear-gradient(160deg, #FBE7E4 0%, #FFF4F0 55%, var(--cream) 100%); border-bottom: 1px solid var(--line); padding: 30px 0 38px; }
.phead::after { content: ""; position: absolute; right: 28px; top: 18px; width: 210px; height: 150px; pointer-events: none; opacity: .9;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath fill='%23E74D3A' d='M10 17.5S.5 11.6.5 5.6C.5 2.8 2.7.6 5.4.6c2 0 3.6 1.1 4.6 2.7C11 1.7 12.6.6 14.6.6c2.7 0 4.9 2.2 4.9 5 0 6-9.5 11.9-9.5 11.9z'/%3E%3C/svg%3E") 150px 30px / 46px 41px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath fill='%23F78DA7' d='M10 17.5S.5 11.6.5 5.6C.5 2.8 2.7.6 5.4.6c2 0 3.6 1.1 4.6 2.7C11 1.7 12.6.6 14.6.6c2.7 0 4.9 2.2 4.9 5 0 6-9.5 11.9-9.5 11.9z'/%3E%3C/svg%3E") 104px 84px / 28px 25px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath fill='%23F6D3D0' d='M10 17.5S.5 11.6.5 5.6C.5 2.8 2.7.6 5.4.6c2 0 3.6 1.1 4.6 2.7C11 1.7 12.6.6 14.6.6c2.7 0 4.9 2.2 4.9 5 0 6-9.5 11.9-9.5 11.9z'/%3E%3C/svg%3E") 60px 14px / 62px 56px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 150'%3E%3Cpath d='M20 130 C 60 90, 100 140, 130 100 S 170 60, 172 52' fill='none' stroke='%23E74D3A' stroke-width='1.6' stroke-dasharray='4 5' opacity='.55'/%3E%3C/svg%3E") 0 0 / 210px 150px no-repeat;
  filter: drop-shadow(0 4px 6px rgba(168, 48, 31, .15)); }
.phead .wrap { position: relative; z-index: 1; }
.phead-t { max-width: 800px; }
.phead .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 4px 12px 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .75); color: var(--coral-d); font-size: 16px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.phead .eyebrow::before { content: ""; width: 12px; height: 11px; flex: none; background: var(--heart) center / contain no-repeat; }
.phead-intro { color: #4A3F3F; }
.phead-intro a { color: var(--navy); }
.crumbs, .crumbs a { color: #7D6B67; }
.crumbs a:hover { color: var(--coral-d); }
.crumbs [aria-current] { color: var(--ink); }

/* 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, .tool-h .ico { color: var(--coral); }
.hop-ic { background: var(--blush); color: var(--coral-d); border-radius: 50%; }
.hop-ic.ok { background: #E6F3EA; color: var(--green); }
.hopbar > div { border-radius: 20px; border-color: var(--line); }
.hop-none a:not(.btn) { font-weight: 800; }
.hop-why { color: var(--muted); }
.acc details { border-radius: 18px; border-color: var(--line); }
.acc details[open] { border-color: #EDB9AE; }
.acc summary .num { background: var(--blush); color: var(--coral-d); }
.acc summary::after { background: var(--blush); color: var(--coral-d); }
.acc details[open] summary::after { background: var(--coral); color: #fff; }
.reason .n, .step .n, .s3 .n { background: var(--coral); color: #fff; }
.dash-hop, .letter .mv { color: #F3E3DF; background: radial-gradient(110% 130% at 100% 0%, rgba(231, 77, 58, .45), transparent 58%), linear-gradient(135deg, #231F20, #362C2C); }
.dash-hop .dh-l, .dash-hop p { color: #F3E3DF; }
.dash-hop .btn-mini { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.dash-hop .btn-mini:hover { border-color: var(--coral); background: rgba(231, 77, 58, .2); }
.dash-hop .btn-mini.gold { background: var(--coral); border-color: var(--coral); }
.vtile .vt-img { background: linear-gradient(160deg, #FBE7E4, #F6D3D0); border-bottom-color: var(--line); }
.vtile .vt-img.light { background: #FFF4F0; }
.tpl .shots { background: linear-gradient(160deg, #FBE7E4, #F6D3D0); }
.fact .fi, .ctile .ci { background: var(--blush); color: var(--coral-d); border-radius: 50%; }
.fact strong.gold, .stats strong.gold { color: var(--coral-d); }
.foot { background: var(--ink); color: #CDBDB9; box-shadow: inset 0 3px 0 var(--coral); }
.foot nav a { color: #F3E3DF; }
.foot nav a:hover { color: #FFB4A8; }
.foot .copy, .foot .copy b { color: #F3E3DF; }
.toast { background: var(--ink); }
.gen-result { background: #FFF4F0; border-color: var(--pink); }
.next-step { background: #FFF1EE; border-color: var(--pink); border-radius: 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--coral-d); color: #fff; font-size: 16px; font-weight: 800; line-height: 1.4; }
.badge.soft { background: var(--blush); color: var(--coral-dd); }
.kicker { margin: 0 0 6px; color: var(--coral-d); font-size: 16px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kw li { background: var(--blush); color: #5A2A24; }
.rule .mark.info { background: var(--blush); color: var(--coral-d); }
.tagline.amber { background: var(--blush); color: var(--coral-dd); }
.help summary { color: var(--navy); }
.help div { background: #FFFBF8; }
.field-note { color: var(--coral-dd); }
.pages label:has(input:checked) { border-color: var(--coral); background: #FFF4F0; box-shadow: 0 0 0 2px rgba(231, 77, 58, .3); }
.pages input { accent-color: var(--coral-d); }
.saved-item.is-active { border-color: var(--coral); box-shadow: 0 0 0 2px rgba(231, 77, 58, .3); background: #FFFBF8; }
.saved-count { font-family: var(--sans); }
.preview .pv-pair { background: linear-gradient(160deg, #FBE7E4, #F6D3D0); }
.preview .pv-pair .shot-ph { border-color: var(--ink); }

@media (max-width: 1023px) {
  .shell { background: none; }
  .side { padding-top: 12px; background: #FFF0EB; }
  .side-head { border-bottom-color: var(--line); }
  .side-close { background: #fff; color: var(--ink); }
  .scrim { background: rgba(35, 31, 32, .55); }
  .phead::after { right: 0; opacity: .55; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .phead h1 { font-size: 32px; }
  .phead::after { width: 130px; height: 100px; top: 6px; right: -30px; opacity: .45; }
  .sec-h h2, .app .sec-h h2 { font-size: 26px; }
  .btn { font-size: 18px; }
  .wm .wm-logo { height: 42px; }
  .brand .tag { display: none; }
}
@media (max-width: 420px) {
  .appbar .wm .wm-logo { height: 38px; }
}

/* ---- 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; } }

/* ---- Hoplink generator: landing pages as picture cards (Obsession System, Nov 2026) ---- */
.phead-intro .phead-sub { color: var(--muted); font-size: 18px; }
.lp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lp-card { position: relative; display: flex; flex-direction: column; margin: 0; overflow: hidden; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; cursor: pointer; font-weight: 400; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lp-card:hover { border-color: #EDB9AE; transform: translateY(-1px); }
.lp-card:has(input:checked) { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(231, 77, 58, .22), 0 14px 30px -18px rgba(168, 48, 31, .5); }
.lp-card:has(input:focus-visible) { outline: 3px solid var(--rose); outline-offset: 2px; }
.lp-img { display: block; padding: 10px 10px 0; background: linear-gradient(160deg, #FFF4F0, #FBE7E4); }
.lp-img img { display: block; width: 100%; height: auto; }
.lp-b { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.lp-b b { font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.lp-b .badge { vertical-align: 2px; font-family: var(--sans); }
.lp-b em { font-style: normal; color: var(--muted); font-size: 16px; line-height: 1.5; }
.lp-tick { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.lp-tick .ico { width: 16px; height: 16px; }
.lp-card:has(input:checked) .lp-tick { background: var(--coral); color: #fff; box-shadow: 0 4px 10px rgba(168, 48, 31, .35); }
.preview .pv-one { padding: 18px 16px 6px; background: linear-gradient(160deg, #FBE7E4, #F6D3D0); }
.preview .pv-one .shot { display: block; width: 100%; height: auto; background: none; }
.pv-rule { display: flex; gap: 10px; align-items: flex-start; margin: 0 20px 20px; padding: 12px 14px; border-radius: 14px; background: #FFF4F0; border: 1px solid var(--pink); }
.pv-rule .ico { color: var(--coral-d); margin-top: 3px; }
.pv-rule p { margin: 0; font-size: 16px; color: #5A4A47; }
.gen .gen-go .ico { width: 20px; height: 20px; }
/* one column: the picture cards carry the previews, so the side preview becomes a slim strip under the form */
.gen { grid-template-columns: minmax(0, 1fr); }
.gen .preview { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 0 10px; }
.gen .preview .pv-one { display: none; }
.gen .preview .pv-rule { margin: 16px 20px 16px 0; }
.lp-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1240px) { .lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .gen .preview { grid-template-columns: minmax(0, 1fr); } .gen .preview .pv-rule { margin: 0 20px 20px; } }
@media (max-width: 560px) { .lp-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---- Rules page: legend, do/don't colouring, boxed rule ---- */
.rules-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-weight: 700; color: var(--ink); }
.rules-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.rules-legend .mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.rules-legend .mark .ico { width: 16px; height: 16px; }
.rules-legend .mark.do, .rule .mark.do { background: #E6F3EA; color: var(--green); }
.rules-legend .mark.dont, .rule .mark.dont { background: #FDECEB; color: var(--red); }
.rules-legend .mark.info { background: var(--blush); color: var(--coral-d); }
.rules-legend nav { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.rules-legend nav a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-size: 16px; text-decoration: none; }
.rules-legend nav a:hover { border-color: var(--coral); }
.rule { border-left: 5px solid transparent; }
.rule.rule-do { border-left-color: #9AD1AE; }
.rule.rule-dont { border-left-color: #F2B1AA; }
.rule.rule-info { border-left-color: var(--pink); }
.rule.rule-box { margin-top: 14px; background: #FFF4F0; border: 2px solid var(--coral); border-left-width: 5px; }
.rule h3 { font-size: 20px; }
.rules-sec { scroll-margin-top: calc(var(--bar) + 16px); }
.rules-sec .anchor { display: block; position: relative; top: calc(-1 * var(--bar) - 16px); }
@media (max-width: 700px) { .rules-legend nav { margin-left: 0; } .rule { grid-template-columns: 36px 1fr; padding: 16px; } }

/* ---- Design check fixes (job 84, rows 10-12) ---- */
/* Sidebar: the tint ends at the last menu item instead of running down the page; it stays sticky. */
@media (min-width: 1024px) {
  .shell { background: none; }
  .side { height: auto; max-height: calc(100vh - var(--bar)); border-bottom: 1px solid var(--line); border-radius: 0 0 22px 0; box-shadow: 6px 8px 24px -18px rgba(168, 48, 31, .45); }
}
/* Step 3: greyed placeholder link until a valid ClickBank ID is typed. */
#your-hoplink.is-ph { color: #9A8A87; font-style: italic; background: #FBF6F4; }
.gen-result.is-ph { background: #FFF9F7; border-style: dashed; }
.gen-result.is-ph label::after { content: " (your ClickBank ID goes in here)"; font-weight: 400; color: var(--muted); }
/* Phone: step number circle sits beside the step heading. */
@media (max-width: 1023px) {
  .step { display: block; position: relative; }
  .step .n { position: absolute; left: 0; top: 0; }
  .step + .step .n { top: 26px; }
  .step h2 { display: flex; align-items: center; min-height: 36px; padding-left: 48px; margin-top: 0; }
}

/* 5c round 5: long emails stay inside the manager card */
.manager > div { min-width: 0; }
.manager a, .manager span { overflow-wrap: anywhere; }
