/* The KT8 product page look, 26 Oct 2026 (Paul: "make Mail and Blog Builder match kt8.com/publish, the same look and
   feel throughout the site", then "not all black: keep the app colour throughout, with a 2nd colour that works for
   that page, even if white, off white, or some sections black"). Loaded after mail.css.
   The Publish layout (numbers with icons, split feature cards on a coloured stage, a glowing closing box) with two
   colours per page: the app's own colour (--post) and a second colour for the dark sections (--deep). Each page sets
   the tokens below; the defaults are KT8 Mail: red with black. */
:root {
  --deep: #0b0c0f; --deep-2: #14161b; --deep-3: #1d2027; --deep-line: rgba(255,255,255,.09);
  --hl: linear-gradient(90deg, #c8102e, #f43f5e);     /* highlighted headline words on light */
  --hl-dark: linear-gradient(90deg, #ff8a9a, #f43f5e); /* highlighted words on the dark colour */
  --glow: rgba(225,29,72,.24);                         /* the app's colour glowing in dark areas */
  --on-deep: #ff8a9a;                                  /* labels and icons on the dark colour */
  --cta: #e11d48; --cta-hover: #f43f5e; --cta-ink: #fff; /* the main button on the dark colour */
  --stage: radial-gradient(90% 70% at 30% 0%, var(--glow), transparent 70%), linear-gradient(160deg, var(--deep-3), var(--deep));
  --stage-frame: rgba(255,255,255,.1);
  --stage-soft: radial-gradient(120% 100% at 50% 0%, #fff5f6 0%, #fecdd3 55%, #f43f5e 100%);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --hl: var(--hl-dark); --stage-soft: radial-gradient(90% 70% at 70% 0%, var(--glow), transparent 75%), linear-gradient(160deg, #241418, var(--deep)); } }
:root[data-theme="dark"] { --hl: var(--hl-dark); --stage-soft: radial-gradient(90% 70% at 70% 0%, var(--glow), transparent 75%), linear-gradient(160deg, #241418, var(--deep)); }

/* Hero: light, as before, with the headline's key words in the app's colour. */
.hero h1 em, .hero .hero-price .hp-amount { font-style: normal; background: var(--hl); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero { padding-bottom: 72px; }

/* Numbers: no boxes, a small icon each and the number in the app's colour. */
.stats li { background: none; border: 0; box-shadow: none; padding: 8px 12px; display: flex; flex-direction: column; align-items: center; }
.stats li svg { order: -1; width: 34px; height: 34px; color: var(--post); margin-bottom: 12px; }
.stats b { color: var(--post); }

/* Feature spotlight as a split card: words on one side, the screenshot on a coloured stage. */
.spot, .spot-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.spot-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.spot { gap: 0; align-items: stretch; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(15,23,42,.45); }
.spot-copy { padding: 56px 52px; background: var(--sheet); border: 1px solid var(--line); border-right: 0; border-radius: 28px 0 0 28px; display: flex; flex-direction: column; justify-content: center; }
.spot-flip .spot-copy { border-right: 1px solid var(--line); border-left: 0; border-radius: 0 28px 28px 0; }
.spot-copy .new-tag { align-self: flex-start; }
.spot-copy h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); }
.spot-copy p { font-size: 1.125rem; }
.spot-ticks { font-size: 1.05rem; }
.spot-art { display: grid; place-items: center; padding: 48px 28px 64px; background: var(--stage); }
.spot-art::before { display: none; }
.spot-shot { border-color: var(--stage-frame); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.spot-phone { right: 20px; bottom: 24px; width: 24%; }

/* Dark sections (works anywhere, the film, teams, open source) in the page's second colour. */
.dark, .film { background: linear-gradient(160deg, var(--deep-2), var(--deep)); --night-2: var(--deep-3); --night-line: var(--deep-line); }
.dark::before, .film::before { background: radial-gradient(closest-side, var(--glow), transparent); }
.dark .eyebrow, .film .eyebrow, .stat .stat-k, .promises svg { color: var(--on-deep); }
.dark .big-h em { background: var(--hl-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat { background: rgba(255,255,255,.04); }
.promises li { background: var(--deep-2); }

/* Boxes on the page: a quiet border and a soft shadow, like the Publish cards. */
.way-main, .launch-offer { border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(15,23,42,.45); }
.flow-go { background: linear-gradient(160deg, var(--deep-3), var(--deep)); border-color: transparent; }
.flow-go .flow-k { color: var(--on-deep); }
.boost { border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(15,23,42,.45); }

/* Closing box: the second colour with the app's colour glowing at the top. */
.closing-box { background: radial-gradient(80% 90% at 50% 0%, var(--glow), transparent 70%), linear-gradient(160deg, var(--deep-3), var(--deep)); box-shadow: 0 40px 80px -40px rgba(15,23,42,.6); }
.closing .closing-box .btn-red { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.closing .closing-box .btn-red:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.closing .closing-box .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); box-shadow: none; }
.closing-box .eyebrow { color: var(--on-deep); }

/* The Publish "show" rows: big split cards, words on one side and a picture on a coloured stage, alternating sides.
   .dark puts the words on the second colour; .soft is a light stage in the app's colour. */
.show { padding: 96px 0 24px; }
.show-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; margin-top: 28px; box-shadow: 0 40px 80px -50px rgba(15,23,42,.45); }
.show .head + .show-row { margin-top: 56px; }
.show-row.flip .show-copy { order: 2; border-radius: 0 28px 28px 0; }
.show-copy { padding: 64px 56px; background: var(--sheet); border: 1px solid var(--line); border-radius: 28px 0 0 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.show-copy .eyebrow { color: var(--post); display: flex; align-items: center; gap: 10px; margin: 0; }
.show-copy .new-tag { align-self: flex-start; }
.show-copy h3 { font: 650 clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem)/1.08 var(--f-sans); letter-spacing: -0.035em; margin: 12px 0 18px; text-wrap: balance; }
.show-copy p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.65; margin: 0 0 14px; }
.show-copy p:last-child { margin-bottom: 0; }
.show-copy .spot-ticks { margin: 4px 0 0; font-size: 1.05rem; }
.show-copy .spot-link { margin: 28px 0 0; }
.show-row.dark .show-copy { background: linear-gradient(160deg, var(--deep-3), var(--deep)); border-color: transparent; }
.show-row.dark .show-copy h3 { color: #fff; }
.show-row.dark .show-copy p { color: rgba(255,255,255,.82); }
.show-row.dark .show-copy .eyebrow { color: var(--on-deep); }
.show-row.dark .anywhere-terms span { border-color: var(--deep-line); background: rgba(255,255,255,.06); }
.show-art { position: relative; min-height: 460px; display: grid; place-items: center; padding: 48px 32px; background: var(--stage); }
.show-art.soft { background: var(--stage-soft); }
.show-pic { position: relative; width: 100%; padding-bottom: 36px; }
.show-pic .spot-shot { border-color: var(--stage-frame); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.show-pic .spot-phone { right: -8px; bottom: 0; width: 26%; }
.show-art .phones { width: 100%; }
.show-art .phones img { border-color: #1d2027; }
.show-art .stat { max-width: 380px; background: linear-gradient(160deg, var(--deep-3), var(--deep)); border: 0; box-shadow: 0 30px 60px -24px rgba(0,0,0,.5); }
.show-art .t-shot { grid-column: auto; grid-row: auto; justify-self: center; max-width: 480px; padding-block: 64px; }
.show-art .t-note span { box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); background: #fff; }
.boost-head { max-width: 52rem; margin-inline: auto; }
.boost-head .boost-lead { margin-inline: auto; }
.boost-head .boost-badge { margin-bottom: 18px; }
.boost-head h2 { font: 650 clamp(2rem, 1.3rem + 2.4vw, 3.25rem)/1.06 var(--f-sans); letter-spacing: -0.045em; margin: 0; }
.boost-head h2 em { font-style: normal; display: block; color: var(--post); }
.boost-head .boost-lead { margin-top: 18px; font-size: 1.15rem; line-height: 1.6; color: var(--ink); }
.boost-show .boost-more { margin: 40px 0 0; text-align: center; }
@media (max-width: 900px) {
  .show-row { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
  .show-row.flip .show-copy { order: 0; }
  .show-copy, .show-row.flip .show-copy { padding: 36px 24px; border-radius: 22px 22px 0 0; }
  .show-art { min-height: 0; padding: 36px 16px; }
  .show-art .t-shot { padding-block: 56px; }
}

/* Every feature: each group in its own card, two to a row. */
.fgroups { columns: 2; column-gap: 20px; margin-top: 48px; }
.fgroup { break-inside: avoid; margin-bottom: 20px; background: var(--sheet); border: 1px solid var(--line); border-radius: 22px; padding: 28px 28px 8px; box-shadow: var(--shadow-sm); }
.fgroups + .sub-h { margin-top: 40px; }
.fgroup .sub-h { margin: 0 0 4px; padding: 0; font-size: 1.25rem; }
.fgroup .sub-h::after { display: none; }
.fgroup .ready { grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
.fgroup .ready li { padding: 16px 0 18px 38px; }
.fgroup .ready li::before { top: 16px; }
.fgroup .ready li:first-child { border-top: 0; }
@media (max-width: 860px) { .fgroups { columns: 1; } .fgroup { padding: 22px 20px 4px; } }

@media (max-width: 980px) {
  .spot, .spot-flip { grid-template-columns: minmax(0, 1fr); }
  .spot-copy, .spot-flip .spot-copy { order: 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 32px 24px; }
  .spot { border-radius: 22px; gap: 0; margin-top: 56px; }
  .spot-art { padding: 32px 20px 48px; }
}

/* The tilted worry bubbles poked 12px past the edge of a phone screen. */
.worries { overflow-x: clip; }
#every-feature .fgroup .sub-h.grp { margin-top: 0; }
.show-copy h3 em { font-style: normal; color: var(--post); }
.show-row.dark .show-copy h3 em { background: var(--hl-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.show-row.dark .show-art .stat { background: rgba(255,255,255,.06); border: 1px solid var(--deep-line); }
