/* Amazing Self affiliate area. Phase 2 (2026-11-07): brand tokens from as.css, Montserrat headings, app shell at the end.
   Structure from the approved affiliate kit (Magnetic Scripts / TMM), re-skinned in the
   Amazing Self brand: deep navy #04163f -> #0a2a6b bars and hero with a soft blue glow, bright blue #1e97d8 buttons,
   links and active nav (hover #1784bf, dark #0f5f8f), coral #f9407a for step numbers and small highlights, Roboto.
   Body 18px desktop / 17px phone, nothing a visitor must read under 16px. */
:root {
  /* Amazing Self brand (as.css on the live amazingself.com). The old kit names below stay, pointed at the new colours,
     because pages and inline styles still use them. */
  --navy: #062454;
  --navy2: #0a3473;
  --deep: #041a3d;
  --blue: #0e71d2;
  --blue-d: #0a5bb0;
  --sky: #5faed3;
  --coral-d: #e3284f;
  --gold: #f4b740;
  --body: #2f3d4f;
  --hf: Montserrat, "Segoe UI", Arial, sans-serif;
  --bf: Roboto, Arial, Helvetica, sans-serif;
  --dark: #062454;
  --dark-2: #0a3473;
  --dark-3: #041a3d;
  --orange: #0e71d2;
  --orange-hi: #0a5bb0;
  --orange-d: #0a5bb0;
  --cream: #ffd9e5;
  --coral: #ff4166;
  --ink: #1b2a3d;
  --text: #2f3d4f;
  --muted: #5d6b7e;
  --paper: #f6fafe;
  --card: #ffffff;
  --line: #dbe7f3;
  --tint: #eef6fd;
  --red: #c0392b;
  --green: #2f7a3a;
  --wide: 1140px;
  --bar: 68px;
  --side: 272px;
  --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: 140px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 18px/1.7 Roboto, Arial, Helvetica, sans-serif; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--orange-d); }
b, strong { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; font-family: var(--hf); font-weight: 800; }
.wrap { max-width: calc(var(--wide) + 48px); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 18px; height: 18px; flex: none; }
.mono { font-family: var(--mono); }
.hl { background: linear-gradient(transparent 58%, var(--cream) 58%); padding: 0 2px; }

/* ---------- 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; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 54px; width: auto; display: block; }
.logo span { padding: 3px 10px; border: 1px solid rgba(30, 151, 216, .6); border-radius: 999px; color: #6cc4f0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: none; color: #fff; font: 500 16px Roboto, sans-serif; cursor: pointer; }
.snav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.snav a { white-space: nowrap; padding: 9px 14px; border-radius: 999px; color: #d6e4f5; font-size: 16px; font-weight: 500; text-decoration: none; }
.snav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.snav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.snav a.snav-cta { background: var(--orange); color: #fff; font-weight: 700; padding: 10px 18px; }
.snav a.snav-cta:hover { background: var(--orange-hi); }
.nav { background: var(--dark-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.nav-in { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; padding-top: 6px; padding-bottom: 6px; }
.nav a, .drop-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 13px; border: 0; border-radius: 8px; background: none; color: #d6e4f5; font: 500 16px Roboto, sans-serif; text-decoration: none; cursor: pointer; }
.nav a:hover, .drop-btn:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-in > a[aria-current="page"], .drop.on > .drop-btn { color: #fff; background: var(--orange); }
.drop { position: relative; }
.drop-btn .ico { width: 15px; height: 15px; }
.drop-menu { display: none; position: absolute; left: 0; top: calc(100% + 4px); min-width: 250px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgba(4, 22, 63, .25); z-index: 60; }
.drop-menu a { display: block; padding: 10px 12px; color: var(--ink); border-radius: 8px; }
.drop-menu a:hover { background: var(--tint); color: var(--ink); }
.drop-menu a[aria-current="page"] { background: var(--tint); color: var(--orange-d); font-weight: 700; }
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu { display: block; }

/* ---------- hero band ---------- */
.hero { position: relative; color: #fff; padding: 60px 0 72px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(30, 151, 216, .38), transparent 60%),
  radial-gradient(700px 380px at -5% 110%, rgba(120, 200, 255, .12), transparent 60%),
  linear-gradient(180deg, #0a2a6b, var(--dark)); }
.hero h1 { color: #fff; font-size: 46px; font-weight: 900; max-width: 860px; letter-spacing: -.01em; }
.hero .eyebrow { margin: 0 0 12px; color: var(--cream); font-size: 16px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero-intro { max-width: 780px; margin-top: 16px; color: #d6e4f5; font-size: 19px; }
.hero-intro b, .hero-intro strong { color: #fff; }
.hero-intro p:last-child { margin: 0; }
.hero-prod { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.hero-prod img { width: 260px; }

/* ---------- layout blocks ---------- */
main { padding-bottom: 80px; }
.sec { padding: 56px 0 0; }
.sec-h { margin-bottom: 22px; }
.sec-h h2 { font-size: 32px; font-weight: 900; }
.sec-h p { margin: 8px 0 0; color: var(--muted); max-width: 760px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(4, 22, 63, .04), 0 10px 30px rgba(4, 22, 63, .05); color: var(--text); }
.pad { padding: 28px 30px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.split > *, .gen > *, .grid2 > *, .grid3 > * { min-width: 0; }
.prose h2 { font-size: 28px; margin: 1.2em 0 .5em; }
.prose h3 { font-size: 22px; margin: 1.2em 0 .4em; }
.prose h4 { font-size: 19px; 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: #fff0f5; border: 1px solid #fbc6d8; color: #7a1d42; font-size: 18px; }
.note.blue { background: var(--tint); border-color: #b9dcf2; color: #0b3a5c; margin-top: 4px; }
.note.blue .ico { color: var(--orange-d); }
.note p { margin: 0 0 10px; }
.note.red { background: #fdeceb; border-color: #f2c1bc; color: #7a1f16; }
.note .ico { width: 20px; height: 20px; margin-top: 3px; }
.note b { color: inherit; }
.note a { color: inherit; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; font: 700 17px Roboto, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(30, 151, 216, .3); transition: background .15s, transform .15s; }
.btn:hover { background: var(--orange-hi); transform: translateY(-1px); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 16px; box-shadow: none; }
.btn-lg { padding: 17px 28px; font-size: 19px; }
.btn-dark { background: var(--dark); color: #fff; box-shadow: none; }
.btn-dark:hover { background: #0a2a6b; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: #fff; border-color: var(--orange); color: var(--ink); }
.btn-mini { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 500 16px Roboto, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-mini:hover { border-color: var(--orange); background: var(--tint); }
.btn-mini.danger:hover { border-color: var(--red); color: var(--red); background: #fff; }
.btn-mini.hot { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-mini.hot:hover { background: var(--orange-hi); }
.btn-mini .ico { width: 16px; height: 16px; }
.btn:focus-visible, .btn-mini:focus-visible, .nav a:focus-visible, .drop-btn:focus-visible, summary:focus-visible, .menu-btn:focus-visible, .snav a:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- inputs ---------- */
.input { width: 100%; padding: 13px 15px; border: 1px solid #cbd8e6; border-radius: 10px; background: #fff; color: var(--ink); font: 17px Roboto, sans-serif; }
.input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(30, 151, 216, .2); }
textarea.input { resize: vertical; min-height: 120px; font-family: var(--mono); font-size: 16px; line-height: 1.5; }
.input.mono { font-size: 16px; }
label { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 700; font-size: 16px; }

/* ---------- sign-up form (aff_signup_form) ---------- */
.signup-form { display: grid; gap: 12px; }
.signup-form .input { padding: 15px 16px; font-size: 18px; }
.signup-form .btn { width: 100%; }
.signup-form p { margin: 2px 0 0; font-size: 16px; color: var(--muted); }
.signup-already { font-weight: 700; color: var(--ink) !important; }
.signup-privacy { display: flex; gap: 8px; align-items: flex-start; }
.signup-privacy .ico { margin-top: 4px; color: var(--green); }
.signup-card { padding: 30px; }
.signup-card h2 { font-size: 26px; margin-bottom: 6px; }
.signup-card .s { color: var(--muted); margin-bottom: 18px; }

/* ---------- hoplink bar ---------- */
.hopbar { margin-top: -36px; 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(4, 22, 63, .14); }
.hop-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--tint); color: var(--orange-d); }
.hop-ic.ok { background: #e6f3e8; 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: #9ccfee; box-shadow: 0 10px 30px rgba(4, 22, 63, .07); }
.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: 36px; height: 36px; flex: none; border-radius: 50%; background: #ffe3ec; color: #c41f57; 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: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--tint); color: var(--orange-d); font-size: 21px; font-weight: 700; }
.acc details[open] summary::after { content: "\2212"; background: var(--orange); color: #fff; }
.acc .body { padding: 0 22px 22px; }
.acc .tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; padding-top: 4px; }
.subject { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.subject b { flex: 1; min-width: 200px; }
.subject span { color: var(--muted); }
.swipe { padding: 22px 24px; border-radius: 12px; background: #f7fbfe; border: 1px dashed #c6d8ea; font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.swipe strong { color: var(--ink); }
.swipe p:last-child { margin-bottom: 0; }
.swipe .teal, .swipe a { color: var(--orange-d); }
.group-h { margin: 34px 0 12px; display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; }
.group-h:first-child { margin-top: 0; }
.group-h .ico { color: var(--orange); width: 22px; height: 22px; }

/* ---------- banners / images ---------- */
.asset { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.asset-img { display: grid; place-items: center; min-height: 220px; padding: 16px; border-radius: 12px; background: repeating-conic-gradient(#e9f0f7 0% 25%, #f8fbfd 0% 50%) 0 0 / 20px 20px; }
.asset-img img { max-height: 320px; width: auto; }
.asset h3 { font-size: 22px; 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: 220px; border-radius: 16px 16px 0 0; }
.thumb .asset-img img { max-height: 220px; }
.thumb.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.thumb.wide .asset-img { border-radius: 16px 0 0 16px; min-height: 300px; }
.thumb.wide .asset-img img { max-height: 340px; }
.thumb .b { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.thumb .b h3 { font-size: 19px; }
.thumb textarea { min-height: 96px; }
.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: 19px; 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 11px; border-radius: 999px; background: var(--tint); font-size: 16px; color: #0f5f8f; }
.kw .actions { margin-top: auto; }

/* ---------- rules ---------- */
.rules { display: grid; gap: 12px; }
.rule { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 20px 22px; }
.rule .mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.rule .mark.do { background: #e6f3e8; color: var(--green); }
.rule .mark.dont { background: #fdeceb; color: var(--red); }
.rule .mark.info { background: var(--tint); color: var(--orange-d); }
.rule h3 { font-size: 19px; margin: 6px 0 4px; }
.rule p { margin: 0; }

/* ---------- numbered steps (review, landing) ---------- */
.steps { display: grid; gap: 12px; margin: 18px 0 22px; padding: 0; list-style: none; }
.steps > li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 18px 20px; }
.steps .n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #ff536b, #f9407a 55%, #ce5099); color: #fff; font-weight: 900; }
.steps p { margin: 5px 0 0; }

/* ---------- link generator ---------- */
.gen { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.step + .step { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.step .n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #ff536b, #f9407a 55%, #ce5099); color: #fff; font-weight: 900; }
.step h2 { font-size: 22px; margin: 5px 0 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.help { margin-top: 8px; font-size: 16px; color: var(--muted); }
.help summary { cursor: pointer; color: var(--orange-d); font-weight: 700; }
.help > div { margin-top: 8px; padding: 14px 16px; border-radius: 10px; background: #f7fbfe; border: 1px solid var(--line); color: var(--text); }
.choose { margin: 0 0 14px; }
.choose ol { margin: 6px 0 8px; padding-left: 22px; }
.choose p { margin: 0; color: var(--muted); }
.pages { display: grid; gap: 8px; }
.pages label { display: flex; align-items: center; gap: 12px; margin: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; cursor: pointer; }
.pages label:has(input:checked) { border-color: var(--orange); background: var(--tint); box-shadow: 0 0 0 2px rgba(30, 151, 216, .25); }
.pages input { accent-color: var(--orange-d); width: 19px; height: 19px; flex: none; }
.pages small { margin-left: auto; color: var(--muted); font-weight: 400; font-family: var(--mono); font-size: 16px; }
.result { display: flex; gap: 8px; }
.result .input { flex: 1; min-width: 0; }
.preview { position: sticky; top: 150px; overflow: hidden; }
.preview .shot { display: block; width: 100%; background: var(--dark); }
.preview .cap { padding: 18px 22px 22px; }
.preview .cap b { display: block; font-size: 20px; margin-bottom: 4px; }
.preview .cap .pv-type { display: inline-block; margin-bottom: 10px; padding: 2px 10px; border-radius: 999px; background: var(--tint); color: var(--orange-d); font-family: var(--mono); font-size: 16px; }
.preview .cap .pv-desc { font-size: 18px; }
.preview .cap .pv-desc b { display: inline; font-size: inherit; color: var(--orange-d); }

/* ---------- hub (destroy overview) ---------- */
.prodcard { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; margin-top: -36px; position: relative; z-index: 2; }
.prodcard .art { display: grid; place-items: center; padding: 26px; border-radius: 16px 0 0 16px; background: radial-gradient(400px 260px at 50% 40%, #eef7fd, #d9ecf9); height: 100%; }
.prodcard .b { padding: 26px 30px 26px 0; }
.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: 32px; font-weight: 900; line-height: 1.15; }
.stats strong.hot { color: var(--orange-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: 22px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--orange); transform: translateY(-2px); }
.tile .ico { width: 28px; height: 28px; color: var(--orange); }
.tile b { font-size: 18px; }
.tile span { font-size: 16px; color: var(--muted); }
.lp-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-opt { overflow: hidden; display: flex; flex-direction: column; }
.lp-opt img { display: block; width: 100%; aspect-ratio: 865 / 477; object-fit: cover; background: var(--dark); }
.lp-opt .b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lp-opt h3 { font-size: 19px; }
.lp-opt .tag { align-self: flex-start; padding: 3px 11px; border-radius: 999px; background: var(--cream); color: #8a1640; font-weight: 700; font-size: 16px; }
.lp-opt p { margin: 0; font-size: 17px; }
.lp-opt .btn-mini { margin-top: auto; align-self: flex-start; }

/* ---------- landing templates ---------- */
.tpls { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tpl { overflow: hidden; display: flex; flex-direction: column; }
.tpl .shots { display: grid; grid-template-columns: 3fr 1fr; gap: 10px; padding: 16px; background: #e9f0f7; align-items: start; }
.tpl .shots img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: top; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.tpl .b { padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.tpl h3 { font-size: 19px; }

/* ---------- media ---------- */
.video { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.video video { width: 100%; border-radius: 12px; background: #000; display: block; }

/* ---------- programs ---------- */
.progs { display: grid; gap: 24px; }
.prog { display: grid; grid-template-columns: 380px 1fr; overflow: hidden; }
.prog .art { display: grid; place-items: center; padding: 28px; background: radial-gradient(420px 280px at 50% 40%, #eef7fd, #d9ecf9); }
.prog .art img { max-height: 280px; width: auto; }
.prog .b { padding: 30px 32px; display: flex; flex-direction: column; gap: 12px; }
.prog h3 { font-size: 28px; }
.prog .epc { align-self: flex-start; display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--cream); color: #8a1640; font-weight: 700; }
.prog .epc strong { font-size: 22px; color: #6b0f30; }
.prog .b p { margin: 0; }
.prog .btn { align-self: flex-start; margin-top: 6px; }
.prog.muted .art { background: #eef3f8; }

/* ---------- home ---------- */
.home-hero { padding: 56px 0 64px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero .signup-card { color: var(--text); }
.hero-art { margin-top: 26px; padding: 14px; border-radius: 14px; background: #fff; width: 100%; max-width: 380px; display: block; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.letter { font-size: 19px; }
.letter .sign { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.statcard { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; overflow: hidden; }
.statcard .art { display: grid; place-items: center; padding: 26px; background: radial-gradient(380px 260px at 50% 40%, #eef7fd, #d9ecf9); height: 100%; }
.statcard .b { padding: 26px 30px 26px 0; }
.statcard .epc { font-size: 44px; font-weight: 900; color: var(--orange-d); line-height: 1; margin: 6px 0 4px; }
.manager { display: flex; align-items: center; gap: 18px; }
.manager img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--orange); }
.manager b { display: block; font-size: 19px; }
.manager span { display: block; font-size: 17px; color: var(--muted); }
.manager a { color: var(--orange-d); font-weight: 500; }
.manager > div { min-width: 0; }
.mgr-sep { font-style: normal; }
/* narrow cards (two-column cards, phones): one address per line, never past the card edge */
/* the addresses carry a <wbr> after the @, so a narrow card breaks them there and never mid-word */
.duo .mgr-mails a, .mgr-mails a { overflow-wrap: break-word; }
.duo .mgr-sep, .cm-mgr .mgr-sep, .fq-mgr .mgr-sep { display: none; }
.duo .mgr-mails a { display: block; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--orange); margin-top: 5px; }
.dark-band .checks .ico { color: var(--cream); }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq details[open] { border-color: #9ccfee; }
.faq summary { padding: 17px 20px; font-weight: 700; color: var(--ink); cursor: pointer; }
.faq summary::marker { color: var(--orange); }
.faq .a { padding: 0 20px 18px; }
.faq .a p:last-child, .faq .a ul:last-child { margin-bottom: 0; }
.dark-band { background: var(--dark); color: #d6e4f5; padding: 60px 0; margin-top: 60px; background-image: radial-gradient(700px 360px at 100% 0, rgba(30, 151, 216, .25), transparent 60%); }
.dark-band h2 { color: #fff; }
.dark-band b, .dark-band strong { color: #fff; }
.dark-band .card b, .dark-band .card strong, .dark-band .card h2, .dark-band .card h3 { color: var(--ink); }
.dark-band a:not(.btn) { color: var(--cream); }
.dark-band .card a:not(.btn) { color: var(--orange-d); }

/* ---------- more tools strip ---------- */
.more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.more a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 16px; text-decoration: none; }
.more a:hover { border-color: var(--orange); background: var(--tint); }
.more .ico { color: var(--orange); }

/* ---------- footer ---------- */
.foot { background: var(--dark-3); color: #9fb2cc; padding: 44px 0 40px; font-size: 16px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.foot img { width: 190px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a { color: #d6e4f5; text-decoration: none; font-size: 16px; }
.foot nav a:hover { color: #6cc4f0; }
.foot .copy b { color: #6cc4f0; }
.foot .legal { font-size: 16px; line-height: 1.6; }

.toast { position: fixed; left: 50%; bottom: 26px; translate: -50% 0; z-index: 99; padding: 12px 22px; 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, .lp-opts { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .gen, .split, .video { grid-template-columns: 1fr; }
  .preview { position: static; }
  .asset, .prog, .prodcard, .statcard { grid-template-columns: 1fr; }
  .prodcard .art, .statcard .art { border-radius: 16px 16px 0 0; }
  .prodcard .b, .statcard .b { padding: 0 24px 24px; }
  .thumb.wide { grid-template-columns: 1fr; }
  .thumb.wide .asset-img { border-radius: 16px 16px 0 0; }
  .tpls { grid-template-columns: 1fr; }
  /* home hero: heading, then the form, then the picture */
  .home-hero .split { gap: 18px; }
  .home-hero .split > div:first-child { display: contents; }
  .home-hero .hero-intro { margin-top: 0; }
  .home-hero .hero-art { order: 3; margin: 8px auto 0; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .top-in { height: 62px; gap: 10px; }
  .logo img { height: 46px; width: auto; }
  .logo span { font-size: 12px; padding: 2px 8px; }
  .menu-btn { display: inline-flex; }
  .snav a:not(.snav-cta):not([href$="#login"]) { display: none; } .snav a[href$="#login"] { padding: 9px 10px; color: #fff; font-weight: 700; }
  .snav a.snav-cta { padding: 9px 14px; font-size: 16px; }
  html.js .nav { display: none; }
  html.js .nav.open { display: block; max-height: calc(100vh - 62px); overflow: auto; }
  .nav-in { flex-direction: column; align-items: stretch; }
  .nav a, .drop-btn { padding: 12px; width: 100%; }
  .drop-menu { position: static; display: block; min-width: 0; padding: 0 0 4px 14px; background: none; box-shadow: none; }
  .drop-menu a { color: #d6e4f5; }
  .drop-menu a:hover, .drop-menu a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: #fff; }
  .drop-btn .ico { display: none; }
  .drop.on > .drop-btn { background: none; color: var(--cream); }
  .hero { padding: 40px 0 62px; }
  .hero h1 { font-size: 32px; }
  .hero-intro { font-size: 17px; }
  .hero-prod img { width: 200px; }
  .sec { padding-top: 44px; }
  .sec-h h2 { font-size: 26px; }
  .pad { padding: 20px; }
  .grid2, .grid3, .thumbs, .tiles, .fields, .lp-opts { 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: 17px; }
  .result { flex-direction: column; }
  .pages small { display: none; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .signup-card { padding: 22px; }
  .prog .b { padding: 22px; }
  .prog h3 { font-size: 24px; }
  .letter { font-size: 18px; }
  .statcard .epc { font-size: 36px; }
  .tpl .shots img { height: 180px; }
  .rule { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .steps > li { grid-template-columns: 36px 1fr; padding: 14px 16px; }
}

/* ---------- small phones ---------- */
@media (max-width: 440px) {
  .logo span { display: none; }
  .logo img { height: 46px; width: auto; }
  .snav a.snav-cta { padding: 8px 12px; }
}

/* ---- Amazing Self additions ---- */
.hl-coral { color: #ff7aa2 !important; }
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-split > * { min-width: 0; }
.hero-pic { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: 0 22px 50px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14); }
.hero-has-art { padding-bottom: 84px; }
.home-hero .hero-pic-home { padding: 0; max-width: 460px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14); background: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-row > * { min-width: 0; }
.home-why { align-items: start; }
.login-card { padding: 30px; position: sticky; top: 90px; }
.login-card h2 { font-size: 24px; margin: 0 0 16px; }
.login-logo { display: block; height: 70px; width: auto; margin: 0 0 14px; }
.cb-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: var(--tint); border: 1px solid #b9dcf2; }
.cb-card img { height: 32px; width: auto; }
.cb-card b { font-size: 18px; color: var(--ink); }
.cb-card .btn { margin-left: auto; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 22px; }
.facts > div { padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.facts dt { font-size: 16px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 4px 0 0; font-size: 19px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.facts a { color: var(--orange-d); }
.tiles.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.lead-big { font-size: 22px; line-height: 1.55; color: var(--ink); margin: 0 0 30px; }
.dark-band .lead-big { color: #d6e4f5; }
.card-h { font-size: 22px; margin: 0 0 12px; }
.info-cards { margin-top: 0; }
.hopbar.welcome > div { border-color: #b9dcf2; }
.hopbar.welcome p { margin: 0; flex: 1; }
.hopbar.welcome + .prodcard { margin-top: 24px; }
.letter .sig { margin: 18px 0 22px; line-height: 1.5; }
.letter .ps { padding-top: 18px; border-top: 1px dashed var(--line); }
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 26px; }
  .hero-pic { max-width: 560px; }
  .tiles.tiles-3 { grid-template-columns: 1fr 1fr; }
  .login-card { position: static; }
}
@media (max-width: 760px) {
  .form-row, .facts { grid-template-columns: 1fr; }
  .tiles.tiles-3 { grid-template-columns: 1fr; }
  .lead-big { font-size: 19px; }
  .login-card { padding: 22px; }
  .cb-card .btn { margin-left: 0; }
  .hopbar.welcome > div { flex-wrap: wrap; }
}
.stat-h { font-size: 32px; margin-bottom: 12px; }
@media (max-width: 760px) { .stat-h { font-size: 25px; } }
.thumbs.thumbs-2 { grid-template-columns: 1fr 1fr; }
.thumb.wide textarea { min-height: 150px; }
@media (max-width: 760px) { .thumbs.thumbs-2 { grid-template-columns: 1fr; } }
.swipe .ph, .ph { background: #fff4c7; color: #6b4b00; padding: 0 4px; border-radius: 4px; font-weight: 700; }
/* 2026-11-07 conversion pass: tool tiles two per row on phones (shorter scroll, everything seen at a glance) */
@media (max-width: 760px) { .tiles, .tiles.tiles-3 { grid-template-columns: 1fr 1fr; gap: 10px; } .tile { padding: 16px 14px; } }
@media (max-width: 340px) { .tiles, .tiles.tiles-3 { grid-template-columns: 1fr; } }


/* =====================================================================
   App shell (Phase 2, 2026-11-07), in the brand of the live amazingself.com.
   Navy top bar, white grouped sidebar (a drawer below 1024px), navy page header band, light content.
   Scoped with .appbar / .shell so the front door (aff_top('home')) keeps the simple bar and hero above.
   ===================================================================== */
.shell .ico { width: 19px; height: 19px; }
.shell .btn, .appbar .btn { font-family: var(--hf); font-weight: 700; }
.shell .sec-h h2, .shell .card-h { font-family: var(--hf); font-weight: 800; letter-spacing: -.01em; }

/* 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: var(--deep); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; }
.brand img { display: block; width: auto; height: 46px; }
.brand span { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .2); color: #fff; font: 700 16px/1.2 var(--hf); letter-spacing: .02em; white-space: nowrap; }
.appbar-r { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.hopchip { display: flex; align-items: center; gap: 9px; height: 40px; min-width: 0; padding: 0 14px 0 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; font-size: 16px; white-space: nowrap; transition: border-color .15s, background .15s; }
.hopchip:hover { border-color: var(--sky); background: rgba(95, 174, 211, .12); }
.hopchip .dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(244, 183, 64, .25); }
.hopchip.is-set .dot { background: #4cc46a; box-shadow: 0 0 0 3px rgba(76, 196, 106, .25); }
.hopchip .hc-l { color: #b8c7dc; }
.hopchip .hc-v { font-weight: 700; color: var(--gold); max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.hopchip.is-set .hc-v { color: #fff; }
.appbar-contact { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 4px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; font: 700 16px var(--hf); text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.appbar-contact:hover { background: var(--coral); border-color: var(--coral); }
.appbar-contact img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .8); }
.appbar .menu-btn { display: none; place-items: center; width: 44px; height: 44px; margin: 0 0 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); }
.appbar a:focus-visible, .appbar button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* layout */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: calc(100vh - var(--bar)); background: var(--paper); }
.content { min-width: 0; display: flex; flex-direction: column; }
.content > main { flex: 1; }
.shell .wrap { max-width: 1180px; margin: 0; padding: 0 44px; }
/* reading pages (emails, review, articles ...): wide enough to use the column, still a comfortable line */
.shell .wrap.narrow { max-width: 1088px; }

/* sidebar */
/* the white column runs the full height of the page; only the menu inside it sticks under the top bar */
.side { align-self: stretch; background: #fff; border-right: 1px solid var(--line); }
.side-in { position: sticky; top: var(--bar); max-height: calc(100vh - var(--bar)); overflow-y: auto; padding: 18px 16px 24px; scrollbar-width: thin; }
.side-head { display: none; }
.side-g + .side-g { margin-top: 12px; }
.side-t { margin: 0 0 6px; padding: 0 12px; color: var(--muted); font: 700 16px/1.3 var(--hf); letter-spacing: .1em; text-transform: uppercase; }
.side a { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 12px; border-radius: 10px; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.side a .ico { width: 19px; height: 19px; color: #7d8ea5; }
.side a:hover { background: var(--tint); color: var(--blue-d); }
.side a:hover .ico { color: var(--blue); }
.side a[aria-current="page"] { background: var(--tint); color: var(--blue-d); font-weight: 700; }
.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(--blue); }
.side a[aria-current="page"] .ico { color: var(--blue); }
.side a:focus-visible { outline: 3px solid var(--sky); outline-offset: -1px; }
.side-mgr { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 16px 12px 0; border-top: 1px solid var(--line); }
.side-mgr img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.side-mgr > div { min-width: 0; }
.side-mgr b { display: block; font-size: 16px; }
.side-mgr span { display: block; color: var(--muted); font-size: 16px; }
.side-mgr a { display: block; padding: 0; color: var(--blue-d); font-size: 16px; font-weight: 400; overflow-wrap: anywhere; }
.side-mgr a:hover { background: none; text-decoration: underline; }
.scrim { display: none; }
/* on shorter desktop screens the whole menu fits without its own scrollbar; Andrew stays in the top bar and footer of every page */
@media (min-width: 1024px) and (max-height: 1000px) { .side-mgr { display: none; } .side-g + .side-g { margin-top: 8px; } .side-in { padding-top: 14px; } }

/* page header: a compact version of the navy bands on amazingself.com */
.phead { position: relative; overflow: hidden; color: #d8e4f3; padding: 26px 0 34px; background:
  radial-gradient(700px 320px at 92% -20%, rgba(95, 174, 211, .32), transparent 62%),
  radial-gradient(520px 300px at -6% 120%, rgba(255, 65, 102, .14), transparent 60%),
  linear-gradient(160deg, var(--navy2), var(--navy) 55%, var(--deep)); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin-bottom: 14px; color: #a9bbd3; font-size: 16px; }
.crumbs a { color: #cfe0f3; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 700; }
.phead-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 36px; }
.phead-t { min-width: 0; max-width: 780px; }
.phead .eyebrow { margin: 0 0 8px; color: var(--sky); font: 700 16px/1.3 var(--hf); letter-spacing: .14em; text-transform: uppercase; }
.phead h1 { color: #fff; font: 800 38px/1.15 var(--hf); letter-spacing: -.015em; }
.phead-intro { max-width: none; margin-top: 12px; color: #d8e4f3; font-size: 19px; line-height: 1.6; }
.phead-intro p { margin: 0 0 .6em; }
.phead-intro p:last-child { margin: 0; }
.phead-intro b, .phead-intro strong { color: #fff; }
.phead-intro a { color: #fff; font-weight: 700; }
.phead-a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.phead-a .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.phead-a .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.phead-pic { flex: none; width: 300px; height: 200px; object-fit: cover; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 18px 44px rgba(0, 0, 0, .35); }

/* kit blocks inside the shell (they used to tuck up under a tall hero) */
.shell main { padding-bottom: 72px; }
.shell .sec { padding-top: 44px; }
.shell .hopbar { margin-top: 28px; }
.shell .hopbar > div { box-shadow: 0 1px 2px rgba(4, 26, 61, .04), 0 8px 24px rgba(4, 26, 61, .06); }
.shell #gen { margin-top: 28px !important; }
.shell .prodcard { margin-top: 28px; }
.shell .preview { top: calc(var(--bar) + 20px); }
.shell .card { box-shadow: 0 1px 2px rgba(4, 26, 61, .04), 0 6px 18px rgba(4, 26, 61, .05); }
.shell .sec-h h2 { font-size: 29px; }
.shell .btn { box-shadow: 0 8px 22px rgba(14, 113, 210, .22); }
.shell .btn-sm, .shell .btn-dark, .shell .btn-ghost { box-shadow: none; }
.shell .steps .n { background: var(--coral); }

/* "Next steps": 3 or 4 related tools at the foot of each inner page (aff_more) */
.shell .more { display: block; margin-top: 56px; padding: 0; border: 0; background: none; }
.shell .more-t { margin: 0 0 14px; color: var(--ink); font: 800 22px/1.3 var(--hf); }
.shell .more { container-type: inline-size; text-align: left; }
.shell .more-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shell .more-n3 .more-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shell .more-n2 .more-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* narrower columns (quick start, tablets): four cards go 2 x 2, never 3 + 1 */
@container (max-width: 880px) { .shell .more-n4 .more-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 640px) { .shell .more-n3 .more-in { grid-template-columns: minmax(0, 1fr); } }
@container (max-width: 560px) { .shell .more .more-in { grid-template-columns: minmax(0, 1fr); } }
.shell .more .nx { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 0; padding: 20px 20px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none; box-shadow: 0 1px 2px rgba(4, 26, 61, .04), 0 6px 18px rgba(4, 26, 61, .05); transition: border-color .15s, transform .15s; }
.shell .more .nx:hover { border-color: var(--blue); transform: translateY(-2px); }
.shell .more .nx-i { align-self: flex-start; display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--tint); color: var(--blue); }
.shell .more .nx-i .ico { width: 21px; height: 21px; }
.shell .more .nx-b { display: block; min-width: 0; }
.shell .more .nx-b b { display: block; color: var(--ink); font: 700 18px/1.3 var(--hf); }
.shell .more .nx-b span { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.shell .more .nx-a { position: absolute; top: 20px; right: 18px; color: var(--blue); }
.shell .more .nx-a .ico { width: 18px; height: 18px; }

/* footer of shell pages: full page width under the sidebar and content, text lined up with the content column */
.foot-app { background: var(--deep); color: #a9bbd3; padding: 40px 0 36px; border-top: 1px solid rgba(255, 255, 255, .06); }
.foot-app .wrap { max-width: none; margin: 0; padding: 0 44px 0 calc(var(--side) + 44px); }
.foot-app .wrap > * { max-width: 1092px; }
.foot-app img { width: auto; height: 58px; }
.foot-app nav a { color: #d8e4f3; }
.foot-app nav a:hover { color: var(--sky); }
.foot-app .copy b { color: var(--sky); }

/* ---------- dashboard (overview) ---------- */
.dash-hop > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 28px; }
.dash-hop { margin-top: 28px; padding: 26px 30px; border-radius: 18px; color: #d8e4f3; background: radial-gradient(120% 140% at 100% 0%, rgba(95, 174, 211, .3), transparent 55%), linear-gradient(135deg, var(--deep), var(--navy2)); }
.dash-hop > div > div { min-width: 0; }
.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, .14); color: #fff; font: 16px/1.4 var(--mono); }
.dash-hop .actions { justify-content: flex-end; }
.dash-hop .btn-mini { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); color: #fff; }
.dash-hop .btn-mini:hover { background: rgba(255, 255, 255, .16); border-color: var(--sky); }
.dash-hop .btn-mini.danger:hover { border-color: var(--coral); color: #fff; background: rgba(255, 65, 102, .2); }
.dash-hop [hidden] { display: none !important; }
.dash-welcome { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid #b9dcf2; }
.dash-welcome .ico { width: 24px; height: 24px; color: var(--blue); }
.dash-welcome p { margin: 0; flex: 1; min-width: 0; }
.dfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dfact { display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 20px; }
.dfact small { display: block; color: var(--muted); font: 700 16px/1.3 var(--hf); letter-spacing: .06em; text-transform: uppercase; }
.dfact strong { display: block; color: var(--ink); font: 800 32px/1.15 var(--hf); }
.dfact strong.blue { color: var(--blue); }
.dfact strong.coral { color: var(--coral-d); }
.dfact span { display: block; color: var(--muted); font-size: 16px; line-height: 1.5; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s3 { 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(--blue); transform: translateY(-2px); }
.s3 .n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; font: 800 17px var(--hf); }
.s3 b { font: 800 19px/1.3 var(--hf); }
.s3 span { color: var(--muted); font-size: 17px; }
.s3 em { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue-d); font-style: normal; font-weight: 700; font-size: 16px; }
.s3 em .ico { width: 16px; height: 16px; }
.tool-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 32px 0 14px; color: var(--ink); font: 800 20px/1.3 var(--hf); }
.tool-h small { color: var(--muted); font: 400 16px var(--bf); }
.tool-h.first { margin-top: 0; }
.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(--blue); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(4, 26, 61, .1); }
.vt-img { position: relative; height: 180px; overflow: hidden; background: linear-gradient(160deg, var(--navy), var(--navy2)); border-bottom: 1px solid var(--line); }
.vt-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vt-img.contain img { object-fit: contain; padding: 14px; }
.vt-img.light { background: var(--tint); }
.vtile .vt-count { position: absolute; right: 12px; top: 12px; display: inline-block; padding: 5px 13px; border-radius: 999px; background: var(--deep); color: #fff; font: 700 16px/1.3 var(--hf); box-shadow: 0 4px 12px rgba(4, 26, 61, .3); }
.vt-b { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px 18px; }
.vt-b .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--blue); }
.vtile b, .ctile b { display: block; font: 700 18px/1.3 var(--hf); color: var(--ink); }
.vtile span, .ctile span { display: block; color: var(--muted); 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(--blue); transform: translateY(-2px); }
.ctile > div { min-width: 0; }
.ctile .ci { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--tint); color: var(--blue); }
.ctile .ci .ico { width: 21px; height: 21px; }
.ctile .cn { display: inline-block; margin-top: 6px; padding: 1px 10px; border-radius: 999px; background: #fff0f3; color: var(--coral-d); font-size: 16px; font-weight: 700; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.duo > .card { display: flex; flex-direction: column; padding: 26px 28px; min-width: 0; }
/* the button of a shorter card sits on the same line as the end of the card beside it */
.duo .card-cta { margin: auto 0 0 !important; padding-top: 18px; }
.duo .manager { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.paytable { width: 100%; border-collapse: collapse; font-size: 17px; }
.paytable th, .paytable td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.paytable th { color: var(--muted); font: 700 16px var(--hf); text-transform: uppercase; letter-spacing: .05em; }
.paytable td b { font-family: var(--hf); }
.gets { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.gets li { display: flex; gap: 12px; align-items: flex-start; }
.gets .ico { width: 20px; height: 20px; margin-top: 4px; color: var(--blue); }
.prodrow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; padding: 28px 32px; }
.prodrow img { display: block; width: 100%; }
.prodrow h2 { font-size: 26px; margin-bottom: 12px; }

/* ---------- shell: tablet / phone ---------- */
@media (max-width: 1240px) {
  .shell .wrap { padding: 0 32px; }
  .foot-app .wrap { padding: 0 32px 0 calc(var(--side) + 32px); }
  .vtiles, .ctiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phead-pic { width: 240px; height: 170px; }
}
@media (max-width: 1023px) {
  .shell { display: block; }
  .appbar .menu-btn { display: grid; }
  .foot-app .wrap { padding: 0 32px; }
  .side-in { position: static; max-height: none; overflow: visible; padding-top: 12px; }
  .side { position: fixed; z-index: 90; top: 0; left: 0; bottom: 0; height: auto; overflow-y: auto; width: min(320px, 86vw); 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 var(--line); }
  .side-head b { font: 800 18px var(--hf); color: var(--ink); }
  .side-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--tint); color: var(--ink); cursor: pointer; }
  .side-close .ico { width: 20px; height: 20px; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(4, 26, 61, .55); }
  .scrim[hidden] { display: none; }
  body.menu-open { overflow: hidden; }
  .prodrow { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .steps3, .duo { grid-template-columns: minmax(0, 1fr); }
  .dash-hop > div { grid-template-columns: minmax(0, 1fr); }
  .dash-hop .actions { justify-content: flex-start; }
  .appbar-contact span { display: none; }
  .appbar-contact { padding: 0 3px; border-color: transparent; }
  .phead-pic { display: none; }
}
@media (max-width: 700px) {
  .appbar { padding: 0 12px 0 14px; gap: 8px; }
  .brand img { height: 40px; }
  .brand span { display: none; }
  .hopchip { height: 40px; padding: 0 12px 0 10px; }
  .hopchip .hc-l { display: none; }
  .hopchip .hc-v { max-width: 120px; }
  .shell .wrap { padding: 0 18px; }
  .foot-app .wrap { padding: 0 18px; }
  .phead { padding: 18px 0 26px; }
  .crumbs { margin-bottom: 10px; }
  .phead h1 { font-size: 30px; }
  .phead-intro { font-size: 17px; }
  .phead-a { width: 100%; }
  .phead-a .btn { flex: 1 1 auto; }
  .shell .sec { padding-top: 34px; }
  .shell .sec-h h2 { font-size: 25px; }
  .vtiles, .ctiles { grid-template-columns: minmax(0, 1fr); }
  .vt-img { height: 170px; }
  .dash-hop { padding: 22px 20px; }
  .dfact strong { font-size: 28px; }
  .duo > .card, .prodrow { padding: 22px 20px; }
  .shell .more { padding: 0; }
  .paytable { font-size: 16px; }
  .paytable th, .paytable td { padding: 10px 6px; }
}
@media (max-width: 440px) {
  .dfacts { gap: 10px; }
  .dfact { padding: 16px 14px; }
  .dfact small { letter-spacing: .03em; }
  .manager { gap: 14px; }
  .manager img { width: 64px; height: 64px; }
  .mgr-sep { display: none; }
  .mgr-mails a { display: block; }
  .hopchip .hc-v { max-width: 92px; }
}
@media (prefers-reduced-motion: reduce) { .side, .s3, .vtile, .ctile { transition: none; } }

/* ---------- round 5 (judge round 2): shared phone fixes ---------- */
.vt-img.center img { object-position: center; }
.em-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.em-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.em-jump a:hover { border-color: var(--blue); background: var(--tint); color: var(--blue-d); }
.em-jump .ico { width: 17px; height: 17px; color: var(--blue); }
.em-jump small { color: var(--muted); font-size: 16px; }
.group-h .gh-t { min-width: 0; }
.group-h .gh-n { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--tint); color: var(--blue-d); font: 700 16px/1.4 var(--hf); white-space: nowrap; vertical-align: 3px; }
@media (max-width: 760px) {
  /* hoplink notice: the text gets the full width; the icon goes */
  .hopbar .hop-ic { display: none; }
  .hopbar .hop-none p { flex: 1 1 100%; }
  .hopbar .hop-actions { width: 100%; }
}
@media (max-width: 600px) {
  /* subject lines, preheaders, titles: the label sits above its value */
  .subject { gap: 8px 10px; }
  .subject > span { flex: 1 1 0; min-width: 0 !important; font-size: 16px; font-weight: 700; line-height: 1.3; }
  .subject > span + b { order: 3; flex: 1 1 100%; min-width: 0; }
  .subject > b { flex: 1 1 0; min-width: 0; }
  .subject > .btn-mini { order: 2; flex: none; }
  /* breadcrumb: drop the first crumb so the trail stays on one line */
  .crumbs > a:first-child, .crumbs > a:first-child + span { display: none; }
  /* copy buttons: equal, full width, one under the other */
  .acc .tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .acc .tools .btn-mini { justify-content: center; width: 100%; min-height: 46px; }
  .group-h { align-items: flex-start; }
  .group-h .ico { margin-top: 4px; flex: none; }
  .group-h .gh-n { display: table; margin: 6px 0 0; }
  /* footer links: a tidy 2 x 2 grid */
  .foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; width: 100%; }
  /* next steps: a compact list */
  .shell .more { margin-top: 44px; }
  .shell .more-t { font-size: 20px; margin-bottom: 10px; }
  .shell .more-in, .shell .more-n3 .more-in { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .shell .more .nx { flex-direction: row; align-items: center; gap: 12px; padding: 12px 40px 12px 12px; }
  .shell .more .nx-i { width: 38px; height: 38px; border-radius: 10px; }
  .shell .more .nx-b b { font-size: 17px; }
  .shell .more .nx-b span { margin-top: 2px; line-height: 1.4; }
  .shell .more .nx-a { top: 50%; right: 14px; translate: 0 -50%; }
}
@media (max-width: 440px) {
  /* Andrew's card on phones: photo centred beside his name and title, both addresses full width underneath */
  .manager { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 2px 14px; }
  .manager > div { display: contents; }
  .manager img { grid-row: 1 / span 2; align-self: center; }
  .manager > div > b { grid-column: 2; align-self: end; }
  .manager > div > span:not(.mgr-mails) { grid-column: 2; align-self: start; }
  .manager .mgr-mails { grid-column: 1 / -1; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .shell .more .nx { transition: none; } }
