/* ---------- Colour combinations. Only colour changes between them.
   The site runs on "ink"; the others are kept from the design rounds. ---------- */
:root {
  --yt: #ff0033; --dc: #5865f2; --tw: #9146ff;   /* platform colours, same everywhere */
  --wrap: 1080px; --radius: 12px; --head: 60px;
}
[data-theme="ink"] {
  --bg: #000; --surface: #131313; --fg: #fff; --muted: #a3a3a3; --line: #2c2c2c;
  --accent: #fff; --accent-fg: #000;
  --banner: url(img/armory.webp); --banner-pos: 60% 40%; --banner-filter: grayscale(1) contrast(1.25);
}
[data-theme="paper"] {
  --bg: #fff; --surface: #f2f2f2; --fg: #000; --muted: #555; --line: #d6d6d6;
  --accent: #000; --accent-fg: #fff;
  --banner: url(img/armory.webp); --banner-pos: 60% 40%; --banner-filter: grayscale(1) contrast(1.25);
}
[data-theme="gold"] {
  --bg: #0d0a07; --surface: #1a140d; --fg: #f3ead6; --muted: #ad9d80; --line: #3a2e1c;
  --accent: #d4a84a; --accent-fg: #140d03;
  --banner: url(img/armory.webp); --banner-pos: 60% 62%; --banner-filter: saturate(1.15);
}
[data-theme="crimson"] {
  --bg: #0b0b0e; --surface: #17171c; --fg: #f4f4f6; --muted: #9b9ba6; --line: #2b2b33;
  --accent: #ff2d46; --accent-fg: #fff;
  --banner: url(img/gold.webp); --banner-pos: 50% 30%; --banner-filter: none;
}
[data-theme="cobalt"] {
  --bg: #edf4ff; --surface: #fff; --fg: #0a2240; --muted: #4b6384; --line: #cddcf2;
  --accent: #0f5fd6; --accent-fg: #fff;
  --banner: url(img/cobalt.webp); --banner-pos: 50% 42%; --banner-filter: none;
}
[data-theme="midnight"] {
  --bg: #0a0f24; --surface: #141b3b; --fg: #eef1ff; --muted: #9aa3cf; --line: #293363;
  --accent: #8b9bff; --accent-fg: #0a0f24;
  --banner: url(img/cobalt.webp); --banner-pos: 50% 42%; --banner-filter: saturate(.55) brightness(.6) hue-rotate(18deg);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.5 "Archivo", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
h1, h2, h3, .wide { font-stretch: 118%; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.5rem, 8vw, 3rem); font-weight: 900; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; margin-top: 12px; }
svg { width: 20px; height: 20px; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 18px;
  border-radius: var(--radius); border: 0; font: 700 .95rem "Archivo", sans-serif; text-decoration: none;
  background: var(--accent); color: var(--accent-fg); cursor: pointer; }
.btn:hover { filter: brightness(1.12); }
.btn.yt { background: var(--yt); color: #fff; }
.btn.dc { background: var(--dc); color: #fff; }
.btn.tw { background: var(--tw); color: #fff; }
.btn.line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--fg); filter: none; }
.more-link { font-weight: 600; font-size: .95rem; color: var(--muted); }
.more-link:hover { color: var(--fg); }
.note { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }

/* ---------- Header: stays on screen while scrolling ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--head); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-stretch: 118%; font-weight: 900; }
.brand { flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.tabs { flex: none; display: flex; gap: 4px; font-weight: 600; font-size: .95rem; }
.tabs a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 8px; }
.tabs a:hover { color: var(--fg); }
.tabs a[aria-current="page"] { color: var(--fg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tabs .short { display: none; }
@media (max-width: 600px) {
  .tabs .full { display: none; }
  .tabs .short { display: inline; }
  .brand span { display: none; }
  .tabs { font-size: .85rem; gap: 0; }
  .tabs a { padding: 8px 8px; }
}
/* Too narrow for the tabs: the same destinations in a menu */
.menu { display: none; position: relative; }
.top.compact .tabs { display: none; }
.top.compact .menu { display: block; }
.top.compact .brand span { display: inline; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 8px; font-weight: 700; font-size: .95rem; box-shadow: inset 0 0 0 1px var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 6px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.menu nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.menu nav a[aria-current="page"] { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Home profile ---------- */
.banner { grid-column: 1 / -1; margin-top: 20px; height: clamp(130px, 22vw, 240px); border-radius: var(--radius); background: var(--surface) var(--banner) var(--banner-pos) / cover no-repeat; filter: var(--banner-filter); }
.profile { display: grid; grid-template-columns: auto 1fr; gap: 0 24px; align-items: end; padding-bottom: 40px; }
.avatar { width: 136px; height: 136px; border-radius: 50%; background: #fff; border: 5px solid var(--bg); margin-top: -52px; margin-left: 20px; position: relative; box-shadow: 0 0 0 1px var(--line); }
.who { padding-top: 16px; }
.who .meta { color: var(--muted); margin-top: 4px; }
.bio { grid-column: 1 / -1; margin-top: 20px; font-size: 1.15rem; max-width: 60ch; }
.follow { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
@media (max-width: 640px) {
  .profile { grid-template-columns: 1fr; }
  .avatar { width: 104px; height: 104px; margin: -44px 0 0 12px; }
  .follow .btn { flex: 1 1 0; padding: 0 8px; }
  .follow .btn.line { flex-basis: 100%; }
}

/* ---------- Sections ---------- */
.sec { padding: 48px 0; border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head p { color: var(--muted); margin-top: 6px; max-width: 58ch; }
.page-head { padding: 48px 0 40px; }
.page-head .crumb { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.page-head .crumb a { color: var(--muted); }

/* Which of the two channels sells the membership */
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; max-width: 720px; }
.channels li { padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); }
.channels li.here { border-color: var(--yt); box-shadow: inset 0 0 0 1px var(--yt); }
.channels strong { display: block; font-stretch: 118%; font-weight: 800; }
.channels span { color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .channels { grid-template-columns: 1fr; } }

/* Videos */
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb time { position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 4px; background: #000; color: #fff; font-size: .78rem; font-weight: 600; }
.video a { display: block; text-decoration: none; }
.video h3 { font: 700 1rem/1.3 "Archivo", sans-serif; letter-spacing: 0; margin-top: 10px; }
.video p { color: var(--muted); font-size: .875rem; margin-top: 2px; }
.video .tag { color: var(--accent); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.feature { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.feature .side { display: grid; gap: 20px; align-content: start; }
.feature .big h3 { font-size: 1.35rem; font-stretch: 118%; font-weight: 800; }
@media (max-width: 760px) { .feature, .grid.three { grid-template-columns: 1fr; } .feature .side { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid:not(.three) { grid-template-columns: 1fr 1fr; gap: 20px 12px; } .grid:not(.three) .video h3 { font-size: .9rem; } }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { padding: 18px 20px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font-stretch: 118%; font-weight: 800; font-size: 1.5rem; line-height: 1.15; }
.stats dd { color: var(--muted); font-size: .9rem; margin-top: 2px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(odd) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Offer cards */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.offer { display: flex; flex-direction: column; border-top: 4px solid var(--mark); }
.members { --mark: var(--yt); }
.coaching { --mark: var(--dc); }
.offer > p { color: var(--muted); margin-top: 8px; }
.offer .body { margin: 20px 0 22px; flex: 1; }
.offer .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.offer-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.offer-top h3 { font-size: 1.25rem; }
.price { font-stretch: 118%; font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.price span { font-stretch: 100%; font-weight: 400; font-size: .9rem; color: var(--muted); }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini .thumb { border-radius: 8px; }
.mini p { font-size: .85rem; font-weight: 600; margin-top: 6px; line-height: 1.3; }
.ticks li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 6px; border-left: 2px solid var(--mark, var(--accent)); border-bottom: 2px solid var(--mark, var(--accent)); transform: rotate(-45deg); }
.ticks li span { display: block; color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .offers { grid-template-columns: 1fr; } }

/* Numbered steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font-stretch: 118%; font-weight: 800; font-size: 1.25rem; color: var(--mark, var(--accent)); margin-bottom: 4px; }
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* Two-column text blocks */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cols.two { grid-template-columns: 1fr 1fr; }
.cols.four { grid-template-columns: repeat(4, 1fr); }
.cols .card p { color: var(--muted); margin-top: 8px; }
@media (max-width: 800px) { .cols, .cols.two, .cols.four { grid-template-columns: 1fr; } }
@media (min-width: 561px) and (max-width: 800px) { .cols.four { grid-template-columns: 1fr 1fr; } }

/* Community */
.community { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
.clock { font-stretch: 118%; font-weight: 900; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; color: var(--accent); }
@media (max-width: 800px) { .community { grid-template-columns: 1fr; } }

/* Quotes and FAQ */
.quote { margin: 0; padding: 18px 20px; border-left: 3px solid var(--mark, var(--accent)); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.quote.placeholder { border: 1px dashed var(--muted); border-radius: var(--radius); background: transparent; color: var(--muted); font-style: italic; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 18px; max-width: 64ch; }

/* Partner line and closing call */
.partner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.partner p { color: var(--muted); }
.partner strong { color: var(--fg); }
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; border-top: 4px solid var(--mark, var(--accent)); }
.closing p { color: var(--muted); margin-top: 6px; }

/* Contact */
.reach { display: grid; gap: 12px; }
.reach > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.reach .k { width: 68px; color: var(--muted); font-size: .9rem; }
.reach a, .reach .v { font-weight: 700; overflow-wrap: anywhere; }
.copy { padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 .8rem "Archivo", sans-serif; cursor: pointer; }
.copy:hover { color: var(--fg); border-color: var(--fg); }
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.brands li { padding: 22px 16px; text-align: center; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-stretch: 118%; font-weight: 800; font-size: 1.1rem; }
@media (max-width: 700px) { .brands { grid-template-columns: 1fr 1fr; } }

/* Video filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 .9rem "Archivo", sans-serif; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.filters button:hover { color: var(--fg); border-color: var(--fg); }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.hint { margin-bottom: 22px; padding: 12px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.hint a { color: var(--fg); font-weight: 700; }
.video a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* Sort control */
.seg { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--muted); font: 600 .9rem "Archivo", sans-serif; padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

footer { margin-top: 24px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* ---------- Review pass: narrow screens, calmer surfaces, clearer states ---------- */
/* Nothing in a grid may force the page wider than the screen */
.offers > *, .community > *, .cols > *, .feature > *, .grid > *, .mini > *, .channels > * { min-width: 0; }
.offer-top { flex-wrap: wrap; }
h1, h2, h3, .video h3, .mini p { overflow-wrap: anywhere; }

/* Benefits, principles and steps are rows on the page, not boxes; boxes stay for things you act on */
.cols.open { gap: 0 32px; }
.cols.open > li { padding: 18px 0; border-top: 2px solid var(--fg); }
.cols.open > li p { color: var(--muted); margin-top: 6px; }
.steps li { border: 0; border-top: 2px solid var(--mark, var(--accent)); border-radius: 0; padding: 16px 0 0; }
.steps { gap: 24px; }

/* Readable titles next to their metadata */
.mini p { font-size: .95rem; }
.grid:not(.three) .video h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.count { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 14px; }
.controls .filters { margin-bottom: 0; }

/* Member tutorials are previews, and say so */
.lock { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 6px; border-radius: 4px; background: rgba(0,0,0,.82); color: #fff; font-size: .75rem; font-weight: 700; }
.lock svg { width: 12px; height: 12px; }
.mini .lock { font-size: 0; gap: 0; padding: 4px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.jump a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; }
.jump a:hover { border-color: var(--fg); }

/* A small proof row: thumbnail beside one sentence */
.sample { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; margin-top: 18px; }
.sample .thumb { border-radius: 8px; }
.sample p { font-size: .95rem; color: var(--muted); }
.sample strong { color: var(--fg); display: block; }
.sample.row { grid-template-columns: 260px 1fr; gap: 24px; margin-top: 28px; }
.wipe-date { margin-top: 4px; font-weight: 600; }
.copy { min-height: 44px; min-width: 76px; padding: 0 14px; font-size: .9rem; }

@media (max-width: 640px) {
  /* Get to the videos sooner */
  .banner { height: 104px; margin-top: 12px; }
  .avatar { width: 84px; height: 84px; margin: -36px 0 0 12px; border-width: 4px; }
  .who { padding-top: 10px; }
  .bio { margin-top: 10px; font-size: 1.05rem; }
  .follow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .follow .btn { min-height: 44px; }
  .profile { padding-bottom: 28px; }
  .sec { padding: 30px 0; }
  .page-head { padding: 30px 0 28px; }
  .sec-head { margin-bottom: 16px; }
  /* Three picks become compact rows instead of three full-height cards */
  .grid.three { gap: 14px; }
  .grid.three .video > a, .grid.three .video:not(:has(> a)) { display: grid; grid-template-columns: 44% 1fr; gap: 0 12px; align-items: start; }
  .grid.three .video .thumb { grid-row: span 3; border-radius: 8px; }
  .grid.three .video h3 { margin-top: 0; font-size: .95rem; }
  .grid:not(.three) .video h3 { font-size: .95rem; }
  .sample.row { grid-template-columns: 1fr; }
  .cols.open { gap: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Home: the two offers sit right under the profile, so they are compact */
.mini.strip { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini.strip .thumb time { display: none; }
.profile { padding-bottom: 28px; }

/* Partner banners, bio contact line, real screenshots */
.bio-ask { grid-column: 1 / -1; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); }
.btn.small { min-height: 36px; padding: 0 16px; font-size: .9rem; }
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.partners > * { min-width: 0; }
@media (max-width: 900px) { .partners { grid-template-columns: 1fr; } }
.wh-logo { display: block; width: 150px; height: auto; margin-bottom: 10px; }
html[data-theme="paper"] .wh-logo { filter: invert(1); }
.code { font-weight: 800; color: var(--fg); letter-spacing: .04em; }
.shot { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.offer .shot { border-radius: 10px; }
@media (max-width: 640px) { .bio-ask .btn { min-height: 44px; } }

/* Home sections that point at the inner pages. */
.cols.two > .closing { flex-direction: column; align-items: flex-start; justify-content: space-between; }
