/* Quolume clean style (Nov 2026). Loaded after each page's own <style> and overrides the sketchbook look:
   Satoshi Bold for headlines, Roboto Flex for text, white page under an indigo sky,
   a floating glass header with a three-line menu, pill buttons, thin borders and soft shadows instead of pencil lines.
   /free-ads/ carries the same look in its own <style> and doesn't load this file. */
/* Fallback fonts sized to match Satoshi, so nothing jumps when the real fonts arrive (PageSpeed layout shift). */
@font-face { font-family: "Satoshi Fallback"; font-weight: 700; size-adjust: 97%; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Helvetica Bold"), local("Helvetica-Bold"); }
@font-face { font-family: "Satoshi Fallback Roboto"; font-weight: 700; size-adjust: 107.7%; src: local("Roboto Bold"), local("Roboto-Bold"); }
@font-face { font-family: "Text Fallback"; size-adjust: 99%; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans-Regular"), local("Helvetica"); }
@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/satoshi-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Roboto Flex"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/roboto-flex-text.woff2") format("woff2"); }
:root {
  --bg: #FFFFFF; --paper: #FFFFFF; --fg: #111114; --muted: #55555F; --on-ink: #FFFFFF;
  --line: rgba(17, 17, 20, 0.16); --line-soft: #D9D9E3; --rule: #E4E4EC; --soft: #F1F1F5;
  --sans: "Roboto Flex", "Text Fallback", Roboto, "Segoe UI", system-ui, sans-serif;
  --display: "Satoshi", "Satoshi Fallback", "Satoshi Fallback Roboto", "Segoe UI", system-ui, sans-serif;
  --mono: "Roboto Flex", Roboto, "Segoe UI", system-ui, sans-serif;
  --r: 22px;
}
body {
  background-color: #FFFFFF !important;
  background-image:
    radial-gradient(60% 300px at 12% 120px, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)),
    radial-gradient(50% 260px at 92% 220px, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #8F8BF2 0, #B9B7F8 160px, #DEDDFC 400px, #F3F3FE 640px, #FFFFFF 900px) !important;
  background-repeat: no-repeat !important;
}

/* Headlines: Satoshi Bold (self-hosted, ITF Free Font License), slightly tight tracking. No coloured or underlined words. */
h1, h2, h3 { overflow-wrap: break-word; font-family: var(--display) !important; font-stretch: normal !important; font-weight: 700 !important; letter-spacing: -0.02em !important; word-spacing: 0 !important; }
/* Every headline capitalizes the first letter of each word (Alif's standing rule, 17 Nov 2026). */
h1, h2 { text-transform: capitalize !important; }
h1 { font-size: clamp(2.25rem, 8vw, 4.75rem) !important; line-height: 1.08 !important; }
h2 { font-size: clamp(1.75rem, 5.4vw, 3rem) !important; line-height: 1.1 !important; }
h3 { line-height: 1.15 !important; }
mark { color: inherit !important; }
.scribble { white-space: normal !important; }
.scribble svg, .circled svg { display: none !important; }

/* Floating glass header */
.qbar { position: sticky; top: calc(10px + env(safe-area-inset-top, 0px)); z-index: 40; max-width: 1180px; margin-inline: auto; padding: clamp(14px, 2.4vw, 24px) 20px 0; }
.qbar-in, .qmenu {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.28)); border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(30, 27, 75, 0.06), 0 14px 34px -14px rgba(30, 27, 75, 0.35);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
}
.qbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 8px 10px 8px 22px; border-radius: 999px; }
.qbrand { display: inline-flex; padding-block: 8px; margin-block: -8px; } /* bigger tap area, same look */
.qbrand img { display: block; height: 34px; width: auto; }
.qburger { display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: none; color: #111114; cursor: pointer; }
.qburger:hover { background: rgba(255, 255, 255, 0.5); }
.qburger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.qburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.qburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.qburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.qmenu { position: absolute; right: 20px; top: calc(100% + 10px); display: grid; min-width: 230px; padding: 8px; border-radius: 24px; }
.qmenu a { padding: 13px 16px; border-radius: 16px; color: #111114; font: 500 1.0625rem/1.2 var(--sans); text-decoration: none; }
.qmenu a:hover { background: rgba(255, 255, 255, 0.6); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .qbar-in, .qmenu { background: rgba(255, 255, 255, 0.94); } }
@media (max-width: 560px) { .qbar-in { min-height: 58px; padding: 5px 6px 5px 18px; } .qbrand img { height: 30px; } }

/* Cards: a thin border and a soft shadow where the pencil outline was */
.pain::after, .phase::after, .case::after, .panel::after, form::after, .done::after, .steps li::after, .freebie-card::after,
.freebie-sheets .sheet::after, .video::after, .sheet::after, .photo::after, .gets > li::after, .shot::after, .call-done::after, .tile::after {
  inset: 0 !important; border: 1px solid var(--rule) !important; border-image: none !important; border-radius: inherit !important; filter: none !important;
}
.pain, .phase, .case, .panel, form, .done, .steps li, .freebie-card, .gets > li, .shot, .call-done, .tile {
  border-radius: 22px; box-shadow: 0 1px 2px rgba(30, 27, 75, 0.04), 0 14px 32px -20px rgba(30, 27, 75, 0.3);
}
.tile::before, .top::after, footer::before, .hand::after { display: none !important; }
.orbits, .tile svg { filter: none !important; }

/* Buttons: ink pills */
.btn { border-radius: 999px !important; font-weight: 500 !important; box-shadow: 0 10px 24px -10px rgba(17, 17, 20, 0.6); }
.btn::after { display: none !important; }
.btn:hover { transform: translateY(-1px) !important; }
.btn .arr { font-family: inherit !important; }

/* Form fields */
input:not([type="checkbox"]):not([type="radio"]), select, textarea { border: 1px solid var(--line-soft) !important; border-radius: 14px !important; background-color: #F7F7FA !important; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #4338CA !important; outline-offset: 1px !important; }

/* Footer: light, with a thin rule */
footer { background: none !important; color: var(--fg) !important; border-top: 1px solid var(--rule); }
footer p { color: var(--muted) !important; }
footer a { color: inherit !important; }
footer .brand img { filter: none !important; }

@media (prefers-reduced-motion: reduce) { .qburger span { transition: none; } .btn:hover { transform: none !important; } }
.qmenu[hidden] { display: none !important; }

/* Colour down the page (inspired by themochi.app): a soft glow that stays behind the content while you scroll,
   lavender panels on alternating sections, and deep indigo bands for the belief and the closing call to action. */
body { position: relative; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 38% at 100% 18%, rgba(129, 120, 245, 0.16), transparent 70%),
    radial-gradient(40% 36% at 0% 72%, rgba(167, 139, 250, 0.14), transparent 70%),
    radial-gradient(36% 30% at 92% 100%, rgba(99, 102, 241, 0.12), transparent 70%);
}

:root { --panel-gap: clamp(8px, 2vw, 24px); --panel-r: clamp(28px, 4vw, 48px); }
main > section.proof:has(> .wrap), #method, #results {
  margin: var(--panel-gap); border-radius: var(--panel-r);
  background: linear-gradient(180deg, #F1F0FE 0%, #F7F6FF 60%, #EFEEFD 100%);
  border: 1px solid rgba(99, 102, 241, 0.10);
  padding-block: clamp(56px, 8vw, 104px) !important;
}

/* Indigo bands */
.belief, section.cta, main > section.closing {
  margin: var(--panel-gap); border-radius: var(--panel-r); overflow: hidden; position: relative; isolation: isolate;
  background:
    radial-gradient(60% 70% at 15% 0%, rgba(165, 160, 255, 0.55), transparent 70%),
    radial-gradient(50% 60% at 95% 100%, rgba(129, 140, 248, 0.45), transparent 70%),
    linear-gradient(160deg, #3B33C9 0%, #2A2391 55%, #1E1A66 100%) !important;
  color: #FFFFFF !important;
}
.belief::before, section.cta::before, main > section.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 80% at 50% 40%, #000, transparent);
}
.belief h2, .belief blockquote, .belief mark, section.cta h2, main > section.closing h2 { color: #FFFFFF !important; }
.belief p, .belief .lede, section.cta .lede, section.cta p, main > section.closing p { color: rgba(255, 255, 255, 0.82) !important; }
.belief .label { color: #C7C4FF !important; }
section.cta .btn, main > section.closing .btn { background: #FFFFFF !important; color: #111114 !important; border-color: #FFFFFF !important; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5); }
section.cta { padding-block: clamp(72px, 10vw, 128px) !important; }
.belief blockquote { font-family: var(--display) !important; font-stretch: normal !important; font-weight: 700 !important; letter-spacing: -0.02em !important; line-height: 1.08 !important; }
section.cta + .newsletter { padding-top: clamp(56px, 8vw, 96px) !important; }
/* A narrower proof block (consultation page): same panel, kept centred */
section.proof:not(:has(> .wrap)) {
  border-radius: var(--panel-r); padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 40px) !important;
  background: linear-gradient(180deg, #F1F0FE 0%, #F7F6FF 60%, #EFEEFD 100%); border: 1px solid rgba(99, 102, 241, 0.10);
}
