/* The Home Screen Method · Y2K Lock Screen brand */
:root {
  --ink: #13121A;
  --ink-2: #3E3D4A;
  --ink-3: #6E6D7A;
  --red: #FF3B4E;
  --flip: #FF9FC3;
  --blue: #CFE8FF;
  --grid: #B9DAFB;
  --hi: #CFE8FF;
  --paper: #FFFFFF;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --bubble: "Unbounded", system-ui, sans-serif;
  --pixel: "VT323", ui-monospace, monospace;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; color: var(--ink); }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--blue);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
[hidden] { display: none !important; }

/* Type */
.bubble { font-family: var(--bubble); font-weight: 400; letter-spacing: .015em; }
.big { font-family: var(--bubble); color: var(--red); letter-spacing: -.01em; text-shadow: 3px 3px 0 var(--ink); line-height: 1.02; }
.eyebrow { font-family: var(--pixel); font-size: 21px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.mark { color: var(--red); }

/* ---------- Layout ---------- */
.shell { min-height: 100vh; }
.sidebar { display: none; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(12px + var(--safe-t)) 18px 12px;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--bubble); line-height: 1; letter-spacing: .015em; }
.brand img { border-radius: 9px; border: 2px solid var(--ink); }
.brand-sm { font-size: 17px; }
.main { padding: 26px 18px calc(118px + var(--safe-b)); outline: none; max-width: 640px; margin: 0 auto; }

.tabbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px;
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-height: 54px; justify-content: center;
  font-family: var(--pixel); font-size: 16px; line-height: 1; letter-spacing: .02em; color: var(--ink-3);
  border-radius: 16px;
}
.tab svg { width: 22px; height: 22px; }
.tab.active { color: var(--ink); background: var(--hi); }

@media (min-width: 960px) {
  .shell { display: grid; grid-template-columns: 280px 1fr; }
  .topbar, .tabbar { display: none; }
  .sidebar {
    display: flex; flex-direction: column; gap: 26px;
    position: sticky; top: 0; height: 100vh;
    padding: 26px 18px;
    background: var(--paper);
    border-right: 2px solid var(--ink);
  }
  .sidebar .brand { font-size: 21px; padding: 0 6px; }
  .side-nav { display: flex; flex-direction: column; gap: 6px; }
  .side-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 14px; border: 2px solid transparent;
    font-family: var(--pixel); font-size: 23px; line-height: 1; letter-spacing: .04em; color: var(--ink-2);
    transition: background .15s, border-color .15s;
  }
  .side-link svg { width: 20px; height: 20px; }
  .side-link:hover { background: var(--blue); }
  .side-link.active { background: var(--hi); border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-sm); }
  .side-progress { margin-top: auto; }
  .main { padding: 44px 48px 80px; max-width: 1120px; width: 100%; margin: 0 auto; }
  .modules, .posts, .events, .composer, .channel-row { max-width: 820px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px;
  border-radius: 14px; border: 2px solid var(--ink);
  font-family: var(--pixel); font-size: 24px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  background: var(--paper); box-shadow: var(--shadow-sm);
  transition: transform .1s, box-shadow .1s, background .15s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-dark { background: var(--ink); color: var(--hi); }
.btn-pink { background: var(--red); color: #fff; }
.btn-hi { background: var(--hi); }
.btn-outline { background: var(--paper); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 20px; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }
.pill {
  border: 2px solid var(--ink); background: var(--hi); box-shadow: var(--shadow-sm);
  border-radius: 12px; padding: 6px 12px; font-family: var(--pixel); font-size: 19px; line-height: 1; letter-spacing: .05em; text-transform: uppercase;
}

/* ---------- Windows & cards ---------- */
.win { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.win-bar {
  height: 36px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; background: var(--flip); border-bottom: 2px solid var(--ink);
  font-family: var(--pixel); font-size: 19px; letter-spacing: .05em; line-height: 1;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; }
.dots i:first-child { background: var(--red); }
.dots i:nth-child(2) { background: var(--hi); }
.win-body { padding: 20px; }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }

.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: 46px; margin-top: 10px; }
.page-head p { margin-top: 14px; color: var(--ink-2); max-width: 560px; font-size: 17px; font-weight: 500; }
@media (min-width: 960px) { .page-head h1 { font-size: 64px; } }
.section { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-family: var(--bubble); font-size: 28px; letter-spacing: .015em; }
.section-head a { font-family: var(--pixel); font-size: 21px; letter-spacing: .05em; text-transform: uppercase; }
.section-head a:hover { color: var(--red); }
.sample-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--pixel); font-size: 19px; line-height: 1; letter-spacing: .04em;
  background: var(--ink); color: var(--hi); padding: 6px 12px;
}

/* Hero (continue window) */
.hero { display: grid; }
.hero .win-body { display: grid; gap: 16px; padding: 22px; }
.hero h2 { font-family: var(--bubble); font-size: 30px; line-height: 1.05; letter-spacing: .015em; }
.hero p { color: var(--ink-2); font-weight: 500; }
.bar { height: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--red); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--pixel); font-size: 21px; letter-spacing: .05em; line-height: 1; }
@media (min-width: 960px) {
  .hero .win-body { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 36px; padding: 32px; }
  .hero h2 { font-size: 40px; }
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stat { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 14px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: var(--bubble); font-weight: 400; font-size: 30px; line-height: 1; }
.stat span { font-family: var(--pixel); font-size: 18px; letter-spacing: .04em; line-height: 1; display: block; margin-top: 6px; color: var(--ink-2); }

/* Portals */
.portals { display: grid; gap: 14px; }
@media (min-width: 720px) { .portals { grid-template-columns: repeat(3, 1fr); } }
.portal {
  text-align: left; border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow);
  border-radius: var(--radius); padding: 18px; display: grid; gap: 8px;
  transition: transform .1s, box-shadow .1s, background .15s;
}
.portal:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.portal.selected { background: var(--hi); }
.portal-top { display: flex; align-items: center; justify-content: space-between; }
.portal-emoji { font-size: 28px; }
.portal h3 { font-family: var(--bubble); font-size: 30px; letter-spacing: .015em; line-height: 1; }
.portal .check { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--ink); display: grid; place-items: center; background: #fff; }
.portal.selected .check { background: var(--red); color: #fff; }
.portal p { font-size: 15px; color: var(--ink-2); }
.portal strong { font-size: 16px; }

/* 4 D's band */
.band { margin-top: 40px; background: var(--flip); border: 2px solid var(--ink); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.band h2 { font-family: var(--bubble); font-size: 32px; letter-spacing: .015em; margin-top: 6px; }
.ds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
@media (min-width: 720px) { .ds { grid-template-columns: repeat(4, 1fr); } }
.d { background: var(--paper); border-radius: var(--radius-sm); padding: 14px; border: 2px solid var(--ink); }
.d b { font-family: var(--bubble); font-weight: 400; font-size: 24px; display: block; letter-spacing: .015em; line-height: 1.1; }
.d span { font-size: 14px; color: var(--ink-2); display: block; margin-top: 2px; }
.d .n { font-family: var(--pixel); font-size: 19px; line-height: 1; color: var(--red); margin: 0 0 4px; }

/* Showcase */
.show { display: grid; gap: 14px; }
@media (min-width: 720px) { .show { grid-template-columns: repeat(3, 1fr); } }
.app-card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.app-card .icon { width: 56px; height: 56px; border-radius: 15px; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--bubble); font-size: 22px; box-shadow: var(--shadow-sm); }
.app-card h3 { font-family: var(--bubble); font-size: 22px; letter-spacing: .015em; line-height: 1.05; }
.app-card p { font-size: 15px; color: var(--ink-2); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-family: var(--pixel); font-size: 18px; line-height: 1; letter-spacing: .04em; padding: 5px 10px; border-radius: 8px; border: 1.5px solid var(--ink); background: #fff; }
.chip.pink { background: var(--flip); }

/* Learn */
.modules { display: grid; gap: 18px; }
.module { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.module-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px 14px; background: var(--paper); }
.module-head h3 { font-family: var(--bubble); font-size: 26px; letter-spacing: .015em; line-height: 1; margin-top: 4px; }
.ring { width: 48px; height: 48px; flex: none; }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: var(--blue); }
.ring .fg { stroke: var(--red); stroke-linecap: round; transition: stroke-dashoffset .6s; transform: rotate(-90deg); transform-origin: center; }
.ring text { font: 400 17px var(--pixel); fill: var(--ink); }
.lesson-row {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px 18px; border-top: 2px solid var(--ink); background: var(--paper);
  text-align: left; min-height: 66px;
}
.lesson-row:hover { background: var(--blue); }
.lesson-row .dot { width: 28px; height: 28px; flex: none; border-radius: 8px; border: 2px solid var(--ink); display: grid; place-items: center; background: #fff; }
.lesson-row.done .dot { background: var(--red); color: #fff; }
.lesson-row .t { font-weight: 700; font-size: 16px; display: block; line-height: 1.3; }
.lesson-row .m { font-family: var(--pixel); font-size: 18px; letter-spacing: .04em; line-height: 1; color: var(--ink-3); }
.lesson-row .chev { margin-left: auto; color: var(--ink); flex: none; }

/* Lesson page */
.lesson-layout { display: grid; gap: 24px; }
@media (min-width: 960px) { .lesson-layout { grid-template-columns: 1fr 330px; align-items: start; } }
.video { aspect-ratio: 16 / 9; background: var(--ink); display: grid; place-items: center; color: #fff; position: relative; }
.video .play { width: 74px; height: 74px; border-radius: 20px; background: var(--red); border: 2px solid #fff; display: grid; place-items: center; }
.video .vlabel { position: absolute; left: 14px; bottom: 12px; font-family: var(--pixel); font-size: 19px; letter-spacing: .05em; color: var(--hi); }
.lesson-body h1 { font-size: 38px; margin-top: 10px; }
.lesson-body p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.lesson-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.lesson-side { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.lesson-side h3 { font-family: var(--bubble); font-size: 20px; letter-spacing: .015em; padding: 14px 18px; background: var(--flip); }
@media (max-width: 959px) { .lesson-side { display: none; } }
.back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--pixel); font-size: 21px; letter-spacing: .05em; line-height: 1; text-transform: uppercase; margin-bottom: 16px; border: 0; background: none; padding: 0; }
.back:hover { color: var(--red); }

/* Builder */
.builder-hero { display: grid; gap: 22px; }
@media (min-width: 960px) { .builder-hero { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 10px; background: var(--hi); border: 2px solid var(--ink); font-family: var(--pixel); font-size: 24px; display: grid; place-items: center; line-height: 1; }
.steps b { display: block; font-size: 16px; }
.steps span { font-size: 15px; color: var(--ink-2); }
.say {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ink); color: var(--hi); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 16px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--red);
}
.say code { font-family: var(--pixel); font-size: 28px; letter-spacing: .05em; line-height: 1; }
.say button { background: var(--hi); color: var(--ink); border: 2px solid var(--hi); border-radius: 10px; padding: 6px 12px; font-family: var(--pixel); font-size: 20px; line-height: 1; letter-spacing: .05em; }
.say button:hover { background: #fff; }

/* Community */
.channel-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 4px 8px 2px; margin-bottom: 12px; scrollbar-width: none; }
.channel-row::-webkit-scrollbar { display: none; }
.channel { flex: none; border: 2px solid var(--ink); background: var(--paper); border-radius: 12px; padding: 7px 12px; font-family: var(--pixel); font-size: 20px; line-height: 1; letter-spacing: .04em; }
.channel.active { background: var(--ink); color: var(--hi); }
.posts { display: grid; gap: 14px; max-width: 720px; }
.post { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.post p { font-size: 16px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--flip); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--bubble); font-size: 16px; flex: none; }
.post-head b { display: block; font-size: 16px; }
.post-head span { font-family: var(--pixel); font-size: 18px; letter-spacing: .04em; line-height: 1; color: var(--ink-3); }
.post-foot { display: flex; gap: 18px; margin-top: 14px; font-weight: 700; font-size: 15px; }
.post-foot button { border: 0; background: none; padding: 0; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.post-foot button.liked { color: var(--red); }
.post-foot button.liked svg { fill: var(--red); }
.composer { display: flex; gap: 10px; align-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 6px 6px 6px 16px; margin-bottom: 16px; max-width: 720px; color: var(--ink-3); box-shadow: var(--shadow-sm); }
.composer span { flex: 1; }

/* Live */
.events { display: grid; gap: 14px; max-width: 720px; }
.event { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.event .date { background: var(--hi); border: 2px solid var(--ink); border-radius: 14px; text-align: center; padding: 8px 0; font-family: var(--pixel); font-size: 19px; line-height: 1; letter-spacing: .05em; }
.event .date b { display: block; font-family: var(--bubble); font-weight: 400; font-size: 28px; margin-top: 2px; }
.event h3 { font-size: 18px; font-weight: 700; font-family: var(--body); }
.event p { font-size: 15px; color: var(--ink-2); }
.event .btn { margin-top: 10px; }

/* Side progress */
.sp { background: var(--blue); border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; box-shadow: var(--shadow-sm); }
.sp b { font-family: var(--bubble); font-weight: 400; font-size: 34px; line-height: 1; }
.sp span { font-family: var(--pixel); font-size: 19px; letter-spacing: .04em; line-height: 1; }

/* Install banner */
.install-banner {
  position: fixed; left: 12px; right: 12px; bottom: calc(92px + var(--safe-b)); z-index: 40;
  display: grid; grid-template-columns: 46px 1fr auto auto; gap: 12px; align-items: center;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 12px;
  box-shadow: var(--shadow);
  animation: up .35s cubic-bezier(.2,.8,.2,1);
}
.install-banner img { border-radius: 11px; border: 2px solid var(--ink); }
.install-banner strong { display: block; font-family: var(--bubble); font-weight: 400; font-size: 18px; letter-spacing: .015em; }
.install-banner span { font-size: 14px; color: var(--ink-2); }
.install-banner .x { border: 0; background: none; font-size: 24px; width: 32px; height: 32px; }
@media (min-width: 960px) { .install-banner { left: auto; right: 24px; bottom: 24px; width: 440px; } }

/* Sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(19,18,26,.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--paper); width: 100%; max-width: 480px; border-top: 2px solid var(--ink); border-radius: 24px 24px 0 0; padding: 12px 20px calc(20px + var(--safe-b)); display: grid; gap: 16px; animation: up .3s cubic-bezier(.2,.8,.2,1); }
.sheet h3 { font-family: var(--bubble); font-size: 26px; letter-spacing: .015em; }
.sheet-grab { width: 44px; height: 5px; border-radius: 3px; background: var(--ink); margin: 0 auto; opacity: .3; }
@media (min-width: 960px) { .sheet-wrap { align-items: center; } .sheet { border: 2px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); } }

/* Tour */
.tour { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; padding: calc(20px + var(--safe-t)) 24px calc(24px + var(--safe-b));
  background-color: var(--blue); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
.tour-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 440px; width: 100%; margin: 0 auto; gap: 18px; animation: fade .35s ease; }
.tour-art { width: 112px; height: 112px; border-radius: 28px; display: grid; place-items: center; font-size: 52px; background: var(--hi); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.tour-art img { border-radius: 26px; }
.tour-art.img { background: none; border: 0; box-shadow: none; }
.tour-art.img img { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.tour h2 { font-size: 44px; }
.tour p { color: var(--ink-2); font-size: 18px; font-weight: 500; }
.tour-list { display: grid; gap: 12px; }
.tour-list div { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 10px; box-shadow: var(--shadow-sm); }
.tour-list i { font-style: normal; width: 48px; height: 48px; border-radius: 12px; background: var(--flip); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 22px; }
.tour-list b { display: block; font-size: 16px; }
.tour-list span { font-size: 14px; color: var(--ink-2); }
.tour input { width: 100%; min-height: 54px; border: 2px solid var(--ink); border-radius: 14px; padding: 0 16px; font: inherit; font-size: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.tour input:focus { outline: none; background: #F3F9FF; }
.tour-foot { max-width: 440px; width: 100%; margin: 0 auto; display: grid; gap: 12px; }
.tour-dots { display: flex; gap: 6px; justify-content: center; }
.tour-dots span { width: 10px; height: 10px; border-radius: 3px; background: #fff; border: 1.5px solid var(--ink); transition: width .2s, background .2s; }
.tour-dots span.on { width: 28px; background: var(--red); }
.tour-skip { position: absolute; top: calc(16px + var(--safe-t)); right: 20px; border: 0; background: none; font-family: var(--pixel); font-size: 22px; letter-spacing: .05em; padding: 8px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(100px + var(--safe-b)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--hi); padding: 12px 18px; border-radius: 14px; font-family: var(--pixel); font-size: 22px; letter-spacing: .04em; line-height: 1; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 80; white-space: nowrap; box-shadow: 4px 4px 0 var(--red); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 960px) { .toast { bottom: 32px; } }

/* Celebration */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 10px; height: 14px; border-radius: 2px; border: 1.5px solid var(--ink); animation: fall 1.4s cubic-bezier(.3,.6,.4,1) forwards; }

@keyframes up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fall { to { transform: translateY(105vh) rotate(540deg); opacity: .9; } }
.page { animation: fade .25s ease; }
.narrow { max-width: 820px; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Install gate ---------- */
body.gated { overflow: hidden; }
body.gated .shell { filter: blur(7px); pointer-events: none; user-select: none; }
.gate { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: rgba(207,232,255,.55); padding: 16px 16px calc(16px + var(--safe-b)); }
.gate-card { width: 100%; max-width: 440px; background: var(--paper); border: 2px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 14px; position: relative; animation: up .35s cubic-bezier(.2,.8,.2,1); }
.gate-top { display: flex; gap: 12px; align-items: center; }
.gate-top img { border-radius: 15px; border: 2px solid var(--ink); }
.gate-top b { display: block; font-size: 17px; }
.gate-top span { font-size: 14px; color: var(--ink-2); }
.gate-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.gate-progress span { height: 8px; border-radius: 4px; background: #fff; border: 1.5px solid var(--ink); }
.gate-progress .on { background: var(--red); }
.gate-progress .now { background: var(--hi); }
.gate-title { font-size: 30px; line-height: 1.05; }
.gate-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.gate-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; }
.gate-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 10px; background: var(--hi); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--pixel); font-size: 22px; }
.gate-steps p { font-size: 17px; margin: 0; line-height: 1.5; }
.gate-steps span { font-size: 14px; color: var(--ink-2); }
.kbd { vertical-align: middle; margin-left: 4px; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; border: 2px solid var(--ink); background: var(--blue, #CFE8FF); color: #0A84FF; }
.gate-arrow { position: absolute; left: 50%; bottom: -48px; transform: translateX(-50%); font-family: var(--bubble); font-size: 34px; color: var(--red); -webkit-text-stroke: 1.5px var(--ink); animation: bob 1.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }
.btn-lg { min-height: 56px; font-size: 20px; }

/* ---------- Welcome form ---------- */
.tour-form { display: grid; gap: 14px; }
.tour-form label { display: grid; gap: 6px; }
.tour-form label span { font-weight: 700; font-size: 15px; }
.form-err { color: var(--red); font-weight: 700; font-size: 15px; margin: 0; }
.tour .gate-progress { max-width: 200px; }

/* ---------- Membership ---------- */
.member-box { display: grid; gap: 8px; margin-bottom: 10px; }
.member-box b { word-break: break-all; }
.linklike { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: center; }
.lesson-row.locked .t { color: var(--ink-2); }
.lesson-row.locked .dot { background: var(--blue); color: var(--ink); display: grid; place-items: center; }
.locked-video { background: repeating-linear-gradient(135deg, #1d1c26 0 14px, #13121A 14px 28px); }
.lock-badge { width: 64px; height: 64px; border-radius: 18px; background: var(--red); color: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.lock-badge svg { width: 28px; height: 28px; }
.lock-badge.sm { width: 44px; height: 44px; border-radius: 13px; flex: none; }
.lock-badge.sm svg { width: 20px; height: 20px; }
.locked-video .lock-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.locked-banner { display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 20px; }
.locked-banner b { display: block; font-size: 16px; }
.locked-banner span { font-size: 14px; color: var(--ink-2); }
.locked-banner .btn { margin-left: auto; flex: none; }
.home-unlock { margin: 24px 0 24px; }
.blurred { filter: blur(5px); pointer-events: none; user-select: none; }
.unlock-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.unlock-list li { padding-left: 30px; position: relative; }
.unlock-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--red); border: 2px solid var(--ink); }
.unlock-list b { display: block; }
.unlock-list span { font-size: 14px; color: var(--ink-2); }
.price { display: flex; align-items: baseline; gap: 10px; border-top: 2px dashed #D7D6DE; padding-top: 12px; }
.price b { font-family: var(--bubble); font-weight: 400; font-size: 36px; color: var(--red); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.price span { color: var(--ink-2); font-size: 15px; }
.code-input { letter-spacing: .4em; font-size: 24px !important; text-align: center; }
@media (max-width: 600px) { .locked-banner { flex-wrap: wrap; } .locked-banner .btn { width: 100%; } }
.sheet input { width: 100%; min-height: 54px; border: 2px solid var(--ink); border-radius: 14px; padding: 0 16px; font: inherit; font-size: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.sheet input:focus { outline: none; background: #F3F9FF; }
.sheet .tour-form label span { font-weight: 700; font-size: 15px; }

/* ---------- Admin ---------- */
.admin-pill { margin-left: auto; text-decoration: none; }
.admin-pill + .install-btn { margin-left: 8px; }
.admin { display: grid; gap: 22px; }
#adminBody { display: grid; gap: 22px; }
.astats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.astat { background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px; display: grid; gap: 2px; }
.astat b { font-family: var(--bubble); font-weight: 400; font-size: 38px; line-height: 1.05; letter-spacing: .015em; }
.astat.red b { color: var(--red); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.astat span { font-family: var(--pixel); font-size: 20px; letter-spacing: .05em; text-transform: uppercase; }
.astat small { font-size: 13px; color: var(--ink-2); }
.agrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.funnel { display: grid; gap: 16px; }
.fhead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.fhead b { font-size: 15px; }
.fhead span { font-family: var(--pixel); font-size: 19px; letter-spacing: .04em; }
.atabs { display: flex; gap: 8px; flex-wrap: wrap; }
.atools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.atools input, .atools select, .grant input { min-height: 46px; border: 2px solid var(--ink); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; background: #fff; }
.atools input { flex: 1 1 220px; }
.alist { display: grid; }
.arow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 2px dashed #D7D6DE; }
.arow:last-child { border-bottom: 0; }
.arow b { display: block; font-size: 15px; word-break: break-all; }
.arow span { font-size: 14px; color: var(--ink-2); word-break: break-all; }
.ameta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; flex: none; }
.ameta small { font-family: var(--pixel); font-size: 17px; color: var(--ink-2); }
.tag { font-size: 12px !important; font-weight: 700; color: var(--ink) !important; background: var(--blue); border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 9px; white-space: nowrap; word-break: normal !important; }
.tag.vault { background: var(--flip); }
.tag.on { background: #fff; }
.linklike.danger { color: var(--red); font-size: 13px; }
.grant { display: grid; gap: 12px; }
.grant p { margin: 0; }
.grant-row { display: flex; gap: 10px; flex-wrap: wrap; }
.grant-row input { flex: 1 1 240px; }
.guide-card { background: #fff; border: 2px dashed var(--ink); border-radius: 18px; padding: 18px; display: grid; gap: 14px; }
.guide-card h2 { font-size: 24px; margin: 0; }
.howto { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.howto div { background: var(--blue); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; }
.howto b { font-size: 15px; }
.howto span { font-size: 14px; }
.howto code { background: #fff; border-radius: 6px; padding: 1px 6px; font-weight: 700; }
@media (max-width: 900px) { .astats { grid-template-columns: repeat(2, 1fr); } .agrid, .howto { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .astat b { font-size: 30px; } .arow { flex-direction: column; align-items: flex-start; } .ameta { justify-content: flex-start; } }

/* ---------- Written lessons ---------- */
.lesson-content { display: grid; gap: 12px; margin: 22px 0 6px; max-width: 680px; }
.lesson-content h2 { font-family: var(--bubble); font-weight: 400; font-size: 24px; letter-spacing: .015em; margin: 14px 0 0; }
.lesson-content p { font-size: 17px; line-height: 1.6; margin: 0; }
.lc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lc-list li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.5; }
.lc-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px; background: var(--red); border: 2px solid var(--ink); }
.lc-steps { margin: 0; }
.lc-portals .portal { text-align: left; }
.lesson-content .locked-banner { margin: 6px 0 0; }
.lesson-content > .btn { justify-self: start; }

/* ---------- Starting points ---------- */
.section-sub { color: var(--ink-2); font-size: 16px; margin: -4px 0 16px; max-width: 640px; }
.portal { text-align: left; display: flex; flex-direction: column; gap: 8px; }
.portal-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--blue); border: 2px solid var(--ink); display: grid; place-items: center; color: var(--ink); }
.portal-ic svg { width: 24px; height: 24px; }
.portal-ic.sm { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.portal-ic.sm svg { width: 20px; height: 20px; }
.portal.selected .portal-ic { background: var(--red); color: #fff; }
.portal h3 { font-family: var(--bubble); font-weight: 400; font-size: 22px; line-height: 1.15; letter-spacing: .015em; }
.pname { font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; white-space: nowrap; }
.portal p { margin: 0; }
.ppick { margin-top: auto; padding-top: 6px; font-family: var(--pixel); font-size: 20px; letter-spacing: .05em; text-transform: uppercase; color: var(--red); }
.pnext { margin-top: auto; padding-top: 10px; border-top: 2px dashed var(--ink); font-size: 14px; color: var(--ink-2); }
.pnext b { display: block; color: var(--ink); font-size: 15px; }
.portal.selected { background: #fff; box-shadow: 4px 4px 0 var(--red); }
.mini-portal { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; }
.toast { white-space: normal !important; max-width: calc(100vw - 32px); width: max-content; text-align: center; line-height: 1.15; }
.portal .check { border-radius: 50%; }

/* ---------- Learn path + coming soon ---------- */
.path-note { display: grid; grid-template-columns: 38px 1fr 20px; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 12px 14px; margin-bottom: 20px; text-decoration: none; color: var(--ink); }
.path-note b { display: block; font-size: 16px; }
.path-note > span:nth-child(2) > span { display: block; font-size: 14px; color: var(--ink-2); }
.path-note .pname { display: inline; }
.other-lessons { margin-top: 26px; }
.other-lessons summary { cursor: pointer; list-style: none; display: grid; gap: 2px; padding: 14px 16px; border: 2px dashed var(--ink); border-radius: 16px; background: #fff; font-weight: 700; font-size: 16px; }
.other-lessons summary::-webkit-details-marker { display: none; }
.other-lessons summary::after { content: "Show ▾"; font-family: var(--pixel); font-size: 19px; letter-spacing: .05em; text-transform: uppercase; color: var(--red); font-weight: 400; }
.other-lessons[open] summary::after { content: "Hide ▴"; }
.other-lessons .module { margin-top: 12px; }
.soon .win-body { display: grid; gap: 14px; }
.soon h2 { font-size: 26px; margin: 0; }
.soon p { margin: 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.legal-links{font-size:13px;color:var(--ink-2,#4A4957);text-align:center;margin:14px 0 0}.legal-links a{color:inherit}

.push-ask .push-btns{display:grid;gap:4px;justify-items:center}
.push-form{display:grid;gap:12px;margin-top:6px}
.push-form label{display:grid;gap:4px;font-weight:700;font-size:14px}
.push-form input,.push-form textarea,.push-form select{font:inherit;font-weight:400;font-size:16px;padding:10px 12px;border:2px solid var(--ink);border-radius:12px;background:#fff;color:var(--ink);width:100%;box-sizing:border-box}
.push-form textarea{resize:vertical}
.push-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.push-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.push-log{margin-top:18px;display:grid;gap:4px}
@media (max-width:600px){.push-row{grid-template-columns:1fr}.push-actions{flex-direction:column-reverse}.push-actions .btn{width:100%}}

.push-perks{list-style:none;padding:0;margin:4px 0 8px;display:grid;gap:10px}
.push-perks li{display:grid;grid-template-columns:26px 1fr;gap:10px;align-items:center;font-size:17px}
.push-perks li::before{content:"✓";width:26px;height:26px;border-radius:8px;background:var(--hi);border:2px solid var(--ink);display:grid;place-items:center;font-weight:700;color:var(--red);font-size:14px}

/* ---------- Community ---------- */
.av { border-radius: 50%; border: 2px solid var(--ink); display: inline-grid; place-items: center; font-family: var(--bubble); line-height: 1; flex: none; object-fit: cover; background: var(--blue); }
.composer-card { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; margin-bottom: 14px; max-width: 720px; }
.av-btn { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; }
.composer-open { flex: 1; text-align: left; background: var(--blue); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.intro-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--pink, #FF9FC3); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px 16px; margin-bottom: 16px; max-width: 720px; }
.intro-card b { display: block; font-size: 17px; }
.intro-card span { font-size: 14px; color: var(--ink); }
.post-card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: grid; gap: 12px; }
.post-card.pinned { box-shadow: 4px 4px 0 var(--red); }
.pin-flag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--pixel); font-size: 18px; letter-spacing: .05em; text-transform: uppercase; color: var(--red); margin-bottom: -4px; }
.post-head { display: flex; align-items: center; gap: 12px; }
.post-head .who { display: grid; gap: 3px; min-width: 0; flex: 1; }
.post-head .who b { font-size: 16px; }
.post-head .who > span { font-size: 13px; color: var(--ink-3); }
.ctag { display: inline-block; font-family: var(--pixel); font-size: 18px; line-height: 1; letter-spacing: .04em; background: var(--blue); border: 1.5px solid var(--ink); border-radius: 7px; padding: 2px 6px; color: var(--ink); }
.host { font-family: var(--pixel); font-size: 16px; line-height: 1; letter-spacing: .05em; background: var(--ink); color: #fff !important; border-radius: 6px; padding: 2px 7px 1px; vertical-align: 2px; -webkit-text-stroke: 0; text-shadow: none; }
.post-tools { display: flex; gap: 10px; align-self: start; }
.post-tools .linklike { font-size: 13px; margin: 0; }
.post-body { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.post-body a, .bubble-c a { color: var(--red); text-decoration: underline; }
.post-img { width: 100%; max-height: 520px; object-fit: cover; border: 2px solid var(--ink); border-radius: 14px; }
.post-link { display: flex; align-items: center; gap: 12px; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; background: var(--blue); text-decoration: none; color: var(--ink); min-width: 0; }
.post-link span { display: grid; min-width: 0; }
.post-link small { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-actions { display: flex; gap: 8px; border-top: 2px dashed #D7D6DE; padding-top: 10px; }
.pa { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 10px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.pa:hover { background: var(--blue); }
.pa.on { color: var(--red); }
.pa.on svg { fill: var(--red); }
.comments { display: grid; gap: 12px; }
.comment { display: flex; gap: 10px; align-items: flex-start; }
.bubble-c { background: var(--blue); border-radius: 14px; padding: 10px 12px; flex: 1; min-width: 0; }
.bubble-c b { font-size: 14px; }
.bubble-c p { margin: 3px 0 4px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.bubble-c small { font-size: 12px; color: var(--ink-3); }
.bubble-c .linklike { font-size: 12px; margin: 0; padding: 0; }
.reply-form { display: flex; gap: 8px; }
.reply-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; }
.back-link { display: inline-block; font-family: var(--pixel); font-size: 21px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.empty-feed { text-align: center; padding: 34px 20px; }
.empty-feed h2 { font-size: 26px; margin-bottom: 6px; }
.com-signin { display: grid; gap: 10px; justify-items: start; max-width: 720px; }
.com-teaser { display: grid; gap: 14px; max-width: 720px; filter: blur(1.5px); opacity: .75; pointer-events: none; margin-top: 16px; }
.post-card.teaser { gap: 10px; }
.ghost-line { display: block; height: 12px; border-radius: 6px; background: #E4E3EA; margin: 0; }
.post-head .ghost-line { margin-bottom: 6px; }
.post-form textarea { font: inherit; font-size: 16px; line-height: 1.5; padding: 12px; border: 2px solid var(--ink); border-radius: 14px; resize: vertical; width: 100%; box-sizing: border-box; }
.post-form input[type=url] { font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; width: 100%; box-sizing: border-box; }
.compose-ch { margin: 8px 0 4px; }
.compose-tools { display: flex; gap: 8px; }
.tool { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); background: #fff; border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.attach { display: flex; align-items: center; gap: 12px; }
.attach img { width: 84px; height: 84px; object-fit: cover; border: 2px solid var(--ink); border-radius: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.pf-photo { display: flex; align-items: center; gap: 14px; }
@media (max-width: 600px) { .intro-card { flex-direction: column; align-items: stretch; } .post-card { padding: 14px; } }

.post-menu { position: relative; align-self: start; }
.dots-btn { background: none; border: 0; font-size: 16px; letter-spacing: 1px; color: var(--ink-3); padding: 4px 8px; border-radius: 8px; cursor: pointer; }
.dots-btn:hover { background: var(--blue); }
.menu-pop { position: absolute; right: 0; top: 32px; z-index: 5; background: #fff; border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-sm); display: grid; min-width: 150px; overflow: hidden; }
.menu-pop[hidden] { display: none; }
.menu-pop button { background: none; border: 0; text-align: left; padding: 11px 14px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.menu-pop button + button { border-top: 1.5px solid #E4E3EA; }
.menu-pop button:hover { background: var(--blue); }
.menu-pop .danger { color: var(--red); }
.compose-tools .tool { display: inline-flex; flex-direction: row; grid-template-columns: none; }

/* Coming soon marquee (pre-launch) */
.soon-bar{position:sticky;top:0;z-index:25;display:block;overflow:hidden;background:var(--ink);color:#fff;padding-top:var(--safe-t);text-decoration:none}
.soon-track{display:flex;width:max-content;animation:soonTick 26s linear infinite}
.soon-track span{display:flex;align-items:center;font-family:var(--pixel);font-size:19px;letter-spacing:.08em;text-transform:uppercase;line-height:1;padding:8px 0;white-space:nowrap}
.soon-track span::after{content:"✦";color:var(--flip);margin:0 18px}
@keyframes soonTick{to{transform:translateX(-50%)}}
body.has-soon .topbar{top:calc(35px + var(--safe-t));padding-top:12px}
body.has-soon .sidebar{top:35px;height:calc(100vh - 35px)}
.gate-sub{margin:4px 0 14px;font-size:15px;line-height:1.45;color:var(--ink-2)}
@media (prefers-reduced-motion:reduce){.soon-track{animation:none}}
.soon-note{display:flex;flex-direction:column;gap:3px;margin:14px 0;padding:12px 14px;background:var(--blue);border:2px solid var(--ink);border-radius:14px;font-size:15px;line-height:1.4}
.soon-note span{color:var(--ink-2)}

/* Unbounded headline font: it's wider than the old one, so tighten spacing and scale sizes down */
.bubble, .brand, .section-head h2, .hero h2, .portal h3, .band h2, .d b, .app-card h3, .module-head h3, .lesson-side h3,
.install-banner strong, .sheet h3, .astat b, .lesson-content h2, .g-h, .g-d b, .stat b { letter-spacing: -.01em; }
.page-head h1 { font-size: 36px; }
@media (min-width: 960px) { .page-head h1 { font-size: 52px; } }
.hero h2 { font-size: 24px; line-height: 1.12; }
.section-head h2, .g-h { font-size: 23px; }
.portal h3 { font-size: 19px; line-height: 1.2; }
.module-head h3 { font-size: 21px; }
.lesson-side h3 { font-size: 17px; }
.d b, .g-d b { font-size: 17px; }
.brand { font-size: .9em; }
.sheet h3 { font-size: 21px; }
.lesson-content h2 { font-size: 20px; }
.lesson-body h1 { font-size: 30px; line-height: 1.12; }
@media (min-width: 960px) { .lesson-body h1 { font-size: 38px; } }
.astat b { font-size: 30px; }

/* Home: quick links */
.quick { display: grid; gap: 12px; margin: 22px 0 18px; }
@media (min-width: 900px) { .quick { grid-template-columns: repeat(3, 1fr); } .quick.four { grid-template-columns: repeat(2, 1fr); } }
.q { display: grid; grid-template-columns: 44px 1fr 20px; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 14px; color: var(--ink); text-decoration: none; }
.q:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.q-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--hi); border: 2px solid var(--ink); display: grid; place-items: center; }
.q-ic svg { width: 22px; height: 22px; }
.q b { display: block; font-size: 17px; }
.q span span { display: block; font-size: 14px; color: var(--ink-2); }

/* Builder: start-here guide */
.guide .win { margin-bottom: 8px; }
.guide-video-soon .lock-badge { background: var(--flip); }
.g-sec { margin-top: 34px; }
.g-h { font-family: var(--bubble); font-weight: 400; font-size: 28px; letter-spacing: .015em; line-height: 1.05; margin: 0 0 12px; }
.g-p { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0 0 16px; }
.g-ds { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .g-ds { grid-template-columns: repeat(4, 1fr); } }
.g-d { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); }
.g-d .n { display: block; font-family: var(--pixel); font-size: 19px; line-height: 1; color: var(--red); margin-bottom: 6px; }
.g-d b { display: block; font-family: var(--bubble); font-weight: 400; font-size: 22px; letter-spacing: .015em; line-height: 1.1; margin-bottom: 4px; }
.g-d span:last-child { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.g-cards { display: grid; gap: 14px; }
.g-card { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); display: grid; gap: 8px; justify-items: start; }
.g-card h3 { font-size: 19px; line-height: 1.25; margin: 2px 0 0; }
.g-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.g-card .btn { margin-top: 4px; }
.guide .steps .say { margin: 10px 0 6px; }
.guide .steps span b { display: inline; font-size: inherit; }
.guide .steps .say code { font-size: 24px; }
.g-card h3 { font-weight: 700; }
.guide .steps a { color: var(--ink); text-decoration: underline; }
.g-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.g-list li { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.g-list li b { color: var(--ink); }
.g-list a { color: var(--ink); text-decoration: underline; }

/* ---------- Simpler, clearer screens ---------- */
.tabbar { grid-template-columns: repeat(4, 1fr); }
.tab { text-align: center; white-space: nowrap; }

/* Home hero */
.hero-main { display: grid; gap: 8px; }
.hero-side { display: grid; gap: 12px; }
.hero-row span { font-size: 19px; }
.quick { margin: 24px 0 0; }

/* Locked / notification banners: icon + text on one row, button underneath on phones */
@media (max-width: 600px) {
  .locked-banner { display: grid; grid-template-columns: 44px 1fr; gap: 12px 14px; align-items: center; padding: 16px; }
  .locked-banner > .btn, .locked-banner > .push-btns { grid-column: 1 / -1; margin-left: 0; width: 100%; }
  .locked-banner .push-btns .btn { width: 100%; }
}
.home-unlock { margin: 24px 0 0; }

/* Lessons: short "pick yours" chips */
.picker { display: grid; gap: 10px; margin: 0 0 22px; }
.picker-q { font-size: 16px; }
.picker-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); background: #fff; border-radius: 12px; padding: 9px 14px; font-size: 15px; font-weight: 700; box-shadow: var(--shadow-sm); transition: transform .1s, box-shadow .1s; }
.pick:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.pick.on { background: var(--ink); color: #fff; }
.pick svg { width: 14px; height: 14px; color: var(--flip); }
.module-head { justify-content: space-between; }
.mod-count { flex: none; font-family: var(--pixel); font-size: 19px; line-height: 1; letter-spacing: .04em; color: var(--ink-2); background: var(--blue); border: 1.5px solid var(--ink); border-radius: 8px; padding: 5px 8px; }
.mod-count.all { background: var(--red); color: #fff; }
.pnext { font-weight: 700; color: var(--red); border-top: 0; padding-top: 6px; font-size: 15px; }

/* Lesson page */
.prev-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.prev-link:hover { color: var(--red); }
.prev-link svg { flex: none; }
.lock-note { display: flex; align-items: flex-start; gap: 8px; line-height: 1.4 !important; font-weight: 700; color: var(--ink) !important; font-size: 16px !important; }
.lock-note svg { flex: none; color: var(--red); margin-top: 3px; }

/* App Builder guide */
.g-need { display: grid; gap: 14px; }
.g-need .g-card { align-content: start; }
@media (min-width: 700px) { .g-need { grid-template-columns: 1fr 1fr; } }
.g-time { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.g-time div { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); display: grid; gap: 4px; }
.g-time b { font-family: var(--bubble); font-weight: 400; font-size: 18px; line-height: 1.15; letter-spacing: -.01em; color: var(--red); }
.g-time span { font-size: 14px; color: var(--ink-2); }
.g-foot { margin-top: 10px; }
.member-box .btn { white-space: nowrap; padding: 0 12px; }

/* =====================================================================
   Polish layer: clear hierarchy. Bold outline + hard shadow is kept for
   primary buttons and one hero element per page. Everything else is
   quieter: thin borders, tinted fills, soft depth. Text lives on paper.
   ===================================================================== */
:root {
  --ink: #16151E;
  --ink-2: #3B3A47;
  --ink-3: #64636F;
  --red-btn: #E11D38;
  --red-text: #CC1A32;
  --line: rgba(22, 21, 30, .12);
  --line-2: rgba(22, 21, 30, .2);
  --tint: #F3F8FE;
  --tint-2: #E5F1FD;
  --pink-soft: #FFEEF4;
  --soft: 0 1px 2px rgba(22, 21, 30, .05), 0 18px 40px -24px rgba(22, 21, 30, .28);
  --soft-sm: 0 1px 2px rgba(22, 21, 30, .05), 0 8px 20px -14px rgba(22, 21, 30, .3);
}
body { font-size: 16px; line-height: 1.6; }
.eyebrow { font-size: 19px; letter-spacing: .07em; }
.muted { color: var(--ink-2); }

/* Paper: the clean reading surface */
.paper {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--soft); padding: 26px 22px 28px; min-width: 0;
}
@media (min-width: 720px) { .paper { padding: 44px 48px 48px; border-radius: 24px; } }

/* ---------- Buttons ---------- */
.btn {
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: .005em; text-transform: none; line-height: 1.1;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); box-shadow: none;
  transition: transform .12s, box-shadow .12s, background .15s, border-color .15s;
}
.btn svg { flex: none; }
.btn:hover { transform: none; box-shadow: none; background: var(--tint); border-color: rgba(22, 21, 30, .32); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-pink { background: var(--red-btn); color: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-pink:hover { background: var(--red-btn); border-color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-pink:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #2A2935; border-color: #2A2935; }
.btn-hi, .btn-done { background: var(--pink-soft); border-color: rgba(204, 26, 50, .28); color: var(--red-text); }
.btn-hi:hover, .btn-done:hover { background: #FFE3EC; border-color: rgba(204, 26, 50, .4); }
.btn-ghost { background: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 54px; font-size: 16px; }
.btn[disabled] { opacity: .55; }
.pill { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); box-shadow: none; }
.linklike { color: var(--ink-2); }

/* ---------- Shell: sidebar, top bar, tab bar ---------- */
.topbar { border-bottom: 1px solid var(--line); }
.brand img { border-width: 1.5px; }
@media (min-width: 960px) {
  .sidebar { border-right: 1px solid var(--line); gap: 22px; padding: 26px 18px 22px; }
  .side-nav { gap: 2px; }
  .side-link {
    font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.2;
    color: var(--ink-2); padding: 11px 12px; border: 0; border-radius: 12px;
  }
  .side-link svg { width: 19px; height: 19px; opacity: .8; }
  .side-link:hover { background: var(--tint); color: var(--ink); }
  .side-link.active { background: var(--tint-2); color: var(--ink); font-weight: 700; box-shadow: none; }
  .side-link.active svg { opacity: 1; color: var(--red-text); }
  .main { padding: 48px 48px 88px; }
}
.sp { background: var(--tint); border: 1px solid var(--line); border-radius: 16px; padding: 16px; gap: 8px; box-shadow: none; }
.sp > span:first-child { font-family: var(--pixel); font-size: 17px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.sp b { font-size: 28px; }
.sp > span:last-child { font-family: var(--body); font-size: 13px; letter-spacing: 0; color: var(--ink-2); font-weight: 500; }
.sp .bar, .hero .bar { height: 8px; border: 0; background: #DCE9F7; }
.member-box { gap: 10px; }
.member-box .small { line-height: 1.45; }

.tabbar { border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 30px -12px rgba(22, 21, 30, .35); padding: 6px; }
.tab { font-family: var(--body); font-size: 11.5px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); gap: 4px; border-radius: 14px; min-height: 54px; }
.tab.active { color: var(--ink); background: var(--tint-2); }
.tab.active svg { color: var(--red-text); }

/* ---------- Page heads (on the grid) ---------- */
.page-head { margin-bottom: 28px; }
.page-head h1 { margin-top: 10px; }
.page-head p { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.back, .back-link {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px;
  font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink-2);
}
.back:hover, .back-link:hover { color: var(--red-text); }

/* ---------- Home ---------- */
.hero-row { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.hero-row span { font-size: 14px; }
.hero-row b { color: var(--ink); }
.q { border: 1px solid var(--line); box-shadow: var(--soft-sm); border-radius: 16px; padding: 16px; transition: border-color .15s, transform .12s; }
.q:hover { border-color: var(--line-2); transform: translateY(-1px); }
.q:active { transform: none; box-shadow: var(--soft-sm); }
.q-ic { border: 0; background: var(--tint-2); }
.q b { font-size: 16px; }
.q .chev { color: var(--ink-3); }

/* Locked / notification banners */
.locked-banner { border: 1px solid var(--line); box-shadow: var(--soft-sm); border-radius: 18px; padding: 16px 18px; gap: 14px; }
.locked-banner b { font-size: 16px; }
.lock-badge { border: 0; box-shadow: none; }
.lock-badge.sm { width: 42px; height: 42px; border-radius: 12px; }

/* ---------- Lessons list ---------- */
.picker { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--soft-sm); margin-bottom: 18px; gap: 12px; }
.picker-q { font-size: 15px; }
.pick { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; box-shadow: none; background: var(--paper); }
.pick:hover { background: var(--tint); }
.pick:active { transform: none; box-shadow: none; }
.pick.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.modules { gap: 16px; }
.module { border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--soft-sm); }
.module-head { padding: 18px 20px 16px; gap: 12px; align-items: flex-start; }
.module-head .eyebrow { font-size: 17px; color: var(--ink-2); }
.module-head h3 { font-size: 19px; line-height: 1.2; margin-top: 6px; }
.mod-count { font-family: var(--body); font-size: 12.5px; font-weight: 700; letter-spacing: 0; line-height: 1; padding: 6px 10px; border: 0; border-radius: 999px; background: var(--tint-2); color: var(--ink-2); white-space: nowrap; }
.mod-count.all { background: var(--red-btn); color: #fff; }
.lesson-row { border-top: 1px solid var(--line); padding: 13px 20px; min-height: 62px; gap: 14px; transition: background .12s; }
.lesson-row:hover { background: var(--tint); }
.lesson-row .dot { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(22, 21, 30, .28); background: #fff; }
.lesson-row .dot svg { width: 12px; height: 12px; }
.lesson-row.done .dot { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.lesson-row.locked .dot { background: var(--tint-2); border-color: transparent; color: var(--ink-2); }
.lesson-row .t { font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.lesson-row .m { display: block; margin-top: 2px; font-family: var(--body); font-size: 13px; letter-spacing: 0; color: var(--ink-3); }
.lesson-row.locked .t { color: var(--ink-2); }
.lesson-row .chev { color: var(--ink-3); }
.lesson-row.current { background: var(--tint); box-shadow: inset 3px 0 0 var(--red-btn); }
.other-lessons summary { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; font-size: 15px; box-shadow: var(--soft-sm); gap: 4px; }
.other-lessons summary::after { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--red-text); }

/* ---------- Lesson page ---------- */
.lesson-layout { gap: 28px; }
@media (min-width: 960px) {
  .lesson-layout { grid-template-columns: minmax(0, 720px); justify-content: center; }
}
@media (min-width: 1240px) {
  .lesson-layout { grid-template-columns: minmax(0, 720px) 300px; gap: 32px; }
}
@media (max-width: 1239px) { .lesson-side { display: none; } }
.page > .back { display: flex; width: fit-content; }
@media (min-width: 960px) and (max-width: 1239px) { .page > .back { margin-left: max(0px, calc((100% - 720px) / 2)); } }
@media (min-width: 1240px) { .page > .back { margin-left: max(0px, calc((100% - 1052px) / 2)); } }

.lesson-video { border-radius: 14px; overflow: hidden; margin: -4px 0 28px; }
.lesson-video .vlabel { font-size: 18px; }
.locked-video { background: var(--ink); }
.lesson-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.lesson-body .eyebrow { color: var(--red-text); font-size: 18px; }
.lesson-body h1 { font-size: 26px; line-height: 1.15; margin-top: 12px; letter-spacing: -.015em; color: var(--ink); }
@media (min-width: 720px) { .lesson-body h1 { font-size: 34px; } }
.lesson-body p.lesson-desc { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
@media (min-width: 720px) { .lesson-body p.lesson-desc { font-size: 18px; } }

.lesson-content { display: block; margin: 0; max-width: none; }
.lesson-content > * + * { margin-top: 16px; }
.lesson-content h2 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); margin: 40px 0 0; }
.lesson-content p { margin: 16px 0 0; }
.lesson-content > :first-child { margin-top: 0; }
.lesson-content h2 + *, .lesson-content h2 + p { margin-top: 12px; }
.lesson-content > h2:first-child { margin-top: 30px; }
.lesson-content p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
@media (min-width: 720px) { .lesson-content p, .lc-list li { font-size: 17px; } }
.lc-list { gap: 10px; }
.lc-list li { padding-left: 32px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.lc-list li::before {
  top: calc(.8em - 10px); width: 20px; height: 20px; border: 0; border-radius: 50%;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CC1A32' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Numbered steps: one quiet group with dividers, not a stack of heavy cards */
.steps { gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper); }
.steps li { grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 18px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.steps li + li { border-top: 1px solid var(--line); }
.steps li::before {
  width: 30px; height: 30px; border: 0; border-radius: 9px; background: var(--tint-2); color: var(--ink);
  font-family: var(--body); font-size: 14px; font-weight: 700;
}
.steps b { font-size: 16px; line-height: 1.4; color: var(--ink); }
.steps span { display: block; margin-top: 2px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.lc-steps li::before { background: var(--pink-soft); color: var(--red-text); }

/* Copy-this command */
.say { border: 0; box-shadow: none; border-radius: 12px; padding: 12px 12px 12px 16px; margin-top: 14px; background: var(--ink); }
.say code { font-size: 24px; color: #fff; }
.say button { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0; border: 0; border-radius: 8px; padding: 8px 14px; background: #fff; color: var(--ink); }
.say button:hover { background: var(--tint-2); }
@media (max-width: 480px) {
  .say code, .guide .steps .say code { font-size: 20px; }
  .steps li { padding: 14px; gap: 12px; }
  .g-d { padding: 14px; }
}

.lesson-content .locked-banner { margin-top: 24px; box-shadow: none; background: var(--tint); border-color: transparent; }
.lesson-content > .btn { margin-top: 24px; }
.lc-portals { margin-top: 26px; }

.lesson-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.lesson-actions.solo { grid-template-columns: 1fr; }
.lesson-actions .btn { padding: 0 14px; }
@media (min-width: 720px) {
  .lesson-actions { display: flex; justify-content: flex-end; }
  .lesson-actions .btn { min-width: 170px; padding: 0 22px; }
  .lesson-actions.solo { justify-content: flex-start; }
}
.prev-link { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.lock-note { margin-top: 24px !important; padding: 14px 16px; border-radius: 12px; background: var(--pink-soft); font-size: 15px !important; color: var(--ink) !important; }
.lock-note svg { margin-top: 2px; color: var(--red-text); }
.lock-note + .lesson-actions { border-top: 0; padding-top: 0; margin-top: 20px; }

.lesson-side { position: sticky; top: 60px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--soft-sm); }
.lesson-side h3 { font-size: 15px; padding: 16px 20px; background: var(--pink-soft); border-bottom: 1px solid rgba(204, 26, 50, .12); }
.lesson-side .lesson-row { padding: 12px 18px; min-height: 58px; }
.lesson-side .lesson-row:first-of-type { border-top: 0; }
.lesson-side .lesson-row .t { font-size: 14.5px; }

/* Starting-point cards */
.portal { border: 1px solid var(--line-2); box-shadow: none; border-radius: 18px; padding: 18px; gap: 10px; background: var(--paper); transition: border-color .15s, background .15s; }
.portal:hover { transform: none; box-shadow: none; border-color: rgba(22, 21, 30, .38); background: var(--tint); }
.portal.selected { background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--red-btn); }
.portal-ic { border: 0; background: var(--tint-2); }
.portal.selected .portal-ic { background: var(--red-btn); }
.portal .check { border: 1.5px solid var(--line-2); width: 24px; height: 24px; }
.portal.selected .check { background: var(--red-btn); border-color: var(--red-btn); }
.portal h3 { font-size: 17px; line-height: 1.25; }
.portal p { font-size: 14.5px; line-height: 1.5; }
.ppick { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--red-text); }
.pnext { color: var(--red-text); font-size: 14px; }
.portals.lc-portals { grid-template-columns: 1fr; gap: 12px; }
.lc-portals .portal { display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; }
.lc-portals .portal-top { display: contents; }
.lc-portals .portal-ic { grid-row: 1 / 3; grid-column: 1; }
.lc-portals .portal .check { grid-column: 3; grid-row: 1 / 3; }
.lc-portals .portal h3 { grid-column: 2; grid-row: 1; }
.lc-portals .portal p { grid-column: 2; grid-row: 2; }
.lc-portals .ppick, .lc-portals .pnext { grid-column: 2; grid-row: 3; margin-top: 6px; padding-top: 0; }

/* ---------- App Builder guide ---------- */
.guide .win { margin-bottom: 0; }
.guide-paper { margin-top: 28px; }
.guide-paper .g-sec { margin-top: 44px; }
.guide-paper .g-sec:first-child { margin-top: 0; }
.g-h { font-size: 21px; line-height: 1.2; margin: 0 0 14px; color: var(--ink); }
.g-p { font-size: 16px; color: var(--ink-2); margin: -4px 0 16px; }
.g-need { gap: 12px; }
.g-card { border: 0; box-shadow: none; background: var(--tint); border-radius: 16px; padding: 20px; gap: 8px; }
.g-card .eyebrow { font-size: 17px; color: var(--red-text); }
.g-card h3 { font-size: 17px; }
.g-card p { font-size: 15px; }
.g-card .btn { margin-top: 8px; }
.g-ds { gap: 10px; }
.g-d { border: 1px solid var(--line); box-shadow: none; border-radius: 14px; padding: 16px; background: var(--paper); }
.g-d .n { font-size: 17px; color: var(--red-text); margin-bottom: 8px; }
.g-d b { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.g-d span:last-child { font-size: 14px; line-height: 1.5; }
.g-note { margin: 22px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); padding-left: 16px; border-left: 3px solid var(--flip); }
.g-note b { color: var(--ink); }
.g-list { gap: 12px; }
.g-list li { position: relative; padding: 0 0 0 32px; border: 0; border-radius: 0; background: none; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.g-list li::before {
  content: ""; position: absolute; left: 0; top: calc(.8em - 10px); width: 20px; height: 20px; border-radius: 50%;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CC1A32' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.guide .steps a, .g-list a { color: var(--ink); text-decoration-color: rgba(22, 21, 30, .35); text-underline-offset: 3px; }

/* ---------- Community ---------- */
.channel-row { gap: 8px; padding: 2px 2px 10px; }
.channel { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); }
.channel.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.composer-card, .post-card, .card { border: 1px solid var(--line); box-shadow: var(--soft-sm); border-radius: 18px; }
.composer-open { border: 1px solid var(--line); background: var(--tint); border-radius: 12px; font-size: 15px; }
.intro-card { background: var(--pink-soft); border: 1px solid rgba(204, 26, 50, .16); box-shadow: none; border-radius: 18px; }
.intro-card span { color: var(--ink-2); }
.post-card { padding: 18px 20px; gap: 12px; }
.post-card.pinned { box-shadow: var(--soft-sm); border-color: rgba(204, 26, 50, .3); }
.pin-flag { font-family: var(--body); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--red-text); }
.av { border: 1.5px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.post-head .who > span { font-family: var(--body); font-size: 13px; letter-spacing: 0; color: var(--ink-3); }
.post-head .ctag, .ctag { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0; padding: 3px 8px; border: 0; border-radius: 999px; background: var(--tint-2); color: var(--ink-2); }
.post-head .host, .host { font-family: var(--body); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px 2px; vertical-align: 1px; }
.post-body { font-size: 15.5px; color: var(--ink); }
.post-img, .post-link { border: 1px solid var(--line); }
.post-link { background: var(--tint); }
.post-actions { border-top: 1px solid var(--line); }
.bubble-c { background: var(--tint); }
.reply-form input, .post-form textarea, .post-form input[type=url], .sheet input, .tour input { border: 1px solid var(--line-2); box-shadow: none; }
.reply-form input:focus, .sheet input:focus, .tour input:focus, .post-form textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; background: #fff; }
.menu-pop { border: 1px solid var(--line); box-shadow: var(--soft); }
.tool { border: 1px solid var(--line-2); }
.com-teaser { margin-top: 18px; }
.narrow .posts, .narrow .com-teaser, .narrow .composer-card, .narrow .intro-card, .narrow .com-signin, .narrow .channel-row { max-width: none; }

/* ---------- Sheets, banners, misc ---------- */
@media (min-width: 960px) { .sheet { border: 1px solid var(--line); box-shadow: var(--soft); } }
.install-banner { border: 1px solid var(--line); box-shadow: var(--soft); }
.unlock-list li::before { top: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CC1A32' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.soon-note { border: 1px solid var(--line); }
.toast { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; box-shadow: 0 10px 30px -10px rgba(22, 21, 30, .5); }
.astat, .guide-card, .path-note { border: 1px solid var(--line); box-shadow: var(--soft-sm); }

/* ---------- Start Here + Playbook (Nov 2026 restructure) ---------- */
a.sp-link { color: var(--ink); text-decoration: none; transition: border-color .15s; }
a.sp-link:hover { border-color: var(--line-2); }
.sp-link b { font-size: 26px; }
.lesson-row.has-desc { align-items: flex-start; padding-top: 16px; padding-bottom: 16px; }
.lesson-row.has-desc .dot { margin-top: 1px; }
.lesson-row.has-desc .chev { align-self: center; }
.lesson-row .ld { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.lesson-row.has-desc .m { margin-top: 6px; }
.mod-count svg { width: 11px; height: 11px; vertical-align: -1px; margin-right: 3px; }
.page .modules + .start-next { margin-top: 22px; }
.page .locked-banner + .modules { margin-top: 18px; }
.lock-preview { display: grid; gap: 12px; margin-top: 28px; filter: blur(1.5px); opacity: .75; }
.lock-preview i { display: block; height: 12px; width: 100%; border-radius: 6px; background: var(--tint-2); }
.lock-preview i:first-child { height: 16px; background: #E4E1EA; margin-bottom: 4px; }
.astat span { font-size: 18px; }

/* =====================================================================
   Meet Claude + the free App Blueprint (Nov 2026)
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Video slot that's waiting for the real video */
.video-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.video-soon .vs-play { width: 64px; height: 64px; border-radius: 18px; background: var(--red-btn); display: grid; place-items: center; padding-left: 3px; }
.video-soon b { font-family: var(--bubble); font-weight: 400; font-size: 17px; letter-spacing: -.01em; color: #fff; margin-top: 4px; }
.video-soon span { font-size: 13.5px; color: rgba(255, 255, 255, .7); }

/* Bridge from Meet Claude into the Blueprint */
.lesson-content .bridge { margin-top: 36px; padding: 28px 22px 24px; border-radius: 18px; background: var(--pink-soft); text-align: center; display: grid; justify-items: center; }
.lesson-content .bridge p { margin: 0; max-width: 30ch; font-family: var(--bubble); font-size: 18px; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
.lesson-content .bridge .btn { margin-top: 20px; }
.lesson-content .bridge span { display: block; margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
@media (min-width: 720px) { .lesson-content .bridge { padding: 36px 32px 30px; } .lesson-content .bridge p { font-size: 21px; } }

/* Home: saved Blueprint card */
.bp-home { display: grid; grid-template-columns: 52px 1fr 20px; gap: 14px; align-items: center; margin-top: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--soft-sm); color: var(--ink); transition: border-color .15s, transform .12s; }
.bp-home:hover { border-color: var(--line-2); transform: translateY(-1px); }
.bp-home-ic { width: 52px; height: 52px; border-radius: 15px; background: var(--red-btn); color: #fff; display: grid; place-items: center; font-family: var(--bubble); font-size: 22px; }
.bp-home-t { display: grid; gap: 2px; min-width: 0; }
.bp-home-t .eyebrow { font-size: 15px; color: var(--red-text); }
.bp-home-t b { font-size: 17px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-home-t > span:last-child { font-size: 13.5px; color: var(--ink-3); }
.bp-home .chev { color: var(--ink-3); }

/* Blueprint shell */
.bp { max-width: 680px; margin: 0 auto; }
.bp :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.bp .btn-pink:focus-visible { outline-offset: 4px; }
.bp .btn-pink[disabled] { opacity: .4; box-shadow: none; transform: none; cursor: not-allowed; }
.bp .linklike { min-height: 44px; padding: 0 6px; }
@keyframes bpIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes bpInL { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes bpPop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes bpRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Intro */
.bp-intro { display: grid; gap: 26px; justify-items: center; text-align: center; padding-top: 30px; }
.bp-intro-art { zoom: .78; }
.bp-intro-copy { display: grid; justify-items: center; }
.bp-title { font-family: var(--bubble); font-size: 29px; line-height: 1.12; letter-spacing: -.015em; color: var(--ink); margin-top: 12px; }
.bp-intro .eyebrow { color: var(--red-text); font-size: 18px; }
.bp-lead { margin-top: 12px; font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 26ch; }
.bp-gets { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; text-align: left; width: 100%; max-width: 360px; }
.bp-gets li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.bp-gets svg { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--tint-2); color: var(--red-text); }
.bp-start { margin-top: 28px; min-width: 220px; }
.bp-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
@media (min-width: 760px) {
  .bp-intro { grid-template-columns: 236px 1fr; gap: 48px; align-items: center; justify-items: start; text-align: left; padding: 48px 52px; }
  .bp-intro-art { zoom: 1; }
  .bp-intro-copy { justify-items: start; }
  .bp-title { font-size: 36px; }
  .bp-gets { max-width: none; }
}

/* Quiz */
.bp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bp-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px 0 8px; margin-left: -8px; border: 0; border-radius: 12px; background: none; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.bp-back:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.bp-count { font-family: var(--pixel); font-size: 19px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 4px; line-height: 1; }
.bp-prog { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 16px; }
.bp-prog i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s; }
.bp-prog i.on { background: var(--red-btn); box-shadow: none; }
.bp-prog i.now { background: var(--ink); box-shadow: none; }
.bp-card { animation: bpIn .32s cubic-bezier(.2, .8, .2, 1); }
.bp-card.from-left { animation-name: bpInL; }
.bp-card .eyebrow { color: var(--red-text); font-size: 18px; }
.bp-q { font-family: var(--bubble); font-size: 25px; line-height: 1.18; letter-spacing: -.015em; color: var(--ink); margin-top: 10px; outline: none; }
.bp-sub { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
@media (min-width: 720px) { .bp-q { font-size: 32px; } .bp-sub { font-size: 17px; } }

.bp-opts { display: grid; gap: 10px; margin-top: 24px; }
.bp-opts.two { grid-template-columns: 1fr 1fr; }
.bp-opt {
  display: grid; grid-template-columns: 44px 1fr 26px; gap: 14px; align-items: center; width: 100%;
  min-height: 66px; padding: 11px 14px; text-align: left;
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px; color: var(--ink);
  transition: border-color .15s, background .15s, box-shadow .15s, opacity .15s, transform .12s;
}
.bp-opt.noic { grid-template-columns: 1fr 26px; min-height: 58px; padding-left: 18px; }
.bp-opt:hover { background: var(--tint); border-color: rgba(22, 21, 30, .34); }
.bp-opt:active { transform: scale(.985); }
.bp-oi { width: 44px; height: 44px; border-radius: 12px; background: var(--tint-2); display: grid; place-items: center; color: var(--ink); transition: background .15s, color .15s; }
.bp-oi svg { width: 22px; height: 22px; }
.bp-ot { display: grid; gap: 2px; min-width: 0; }
.bp-ot b { font-size: 16px; font-weight: 600; line-height: 1.35; }
.bp-ot small { font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
.bp-ck { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: #fff; transition: background .15s, border-color .15s; }
.bp-ck svg { width: 13px; height: 13px; opacity: 0; }
.bp-opt.on { background: var(--pink-soft); border-color: var(--red-btn); box-shadow: inset 0 0 0 1px var(--red-btn); }
.bp-opt.on .bp-oi { background: var(--red-btn); color: #fff; }
.bp-opt.on .bp-ck { background: var(--red-btn); border-color: var(--red-btn); animation: bpPop .28s ease; }
.bp-opt.on .bp-ck svg { opacity: 1; }
.bp-opt.dim { opacity: .5; }
.bp-opt.dim:hover { background: #fff; border-color: var(--line-2); }
.bp-hint { margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }

.bp-field { display: block; margin-top: 24px; }
.bp-field input { width: 100%; min-height: 58px; padding: 0 18px; font: inherit; font-size: 18px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 16px; }
.bp-field input::placeholder { color: #9A99A6; }
.bp-field input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.bp-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.bp-actions { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.bp-actions .btn { min-width: 200px; }
@media (max-width: 559px) {
  .bp-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .bp-actions .btn { width: 100%; }
  .bp-actions .linklike { align-self: center; }
  .bp-opt { min-height: 62px; gap: 12px; padding: 10px 12px; }
  .bp-opt.noic { padding-left: 16px; }
  .bp-opts.two .bp-ot b { font-size: 15px; }
}

/* Phone mockup */
.phone { width: 236px; height: 484px; flex: none; padding: 9px; border-radius: 42px; background: var(--ink); box-shadow: 0 30px 60px -28px rgba(22, 21, 30, .55), inset 0 0 0 1.5px #3a3946; }
.ph-screen { height: 100%; border-radius: 34px; background: #F7FAFE; overflow: hidden; display: flex; flex-direction: column; padding: 10px 14px 12px; text-align: left; }
.ph-status { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--ink); padding: 0 6px; }
.ph-island { width: 68px; height: 20px; border-radius: 12px; background: var(--ink); }
.ph-bat { width: 20px; height: 9px; border-radius: 3px; border: 1.5px solid var(--ink); position: relative; }
.ph-bat::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; background: var(--ink); border-radius: 1px; }
.ph-head { display: flex; align-items: center; gap: 10px; margin-top: 16px; min-width: 0; }
.ph-icon { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--red-btn); color: #fff; display: grid; place-items: center; font-family: var(--bubble); font-size: 17px; }
.ph-head div { min-width: 0; }
.ph-head b { display: block; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.ph-head small { display: block; font-size: 11px; color: var(--ink-3); }
.ph-hero { margin-top: 14px; padding: 12px 13px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; gap: 4px; }
.ph-hero small { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ph-hero b { font-size: 13.5px; line-height: 1.25; }
.ph-bar { display: block; height: 5px; margin-top: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.ph-bar i { display: block; width: 38%; height: 100%; border-radius: 3px; background: var(--flip); }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ph-tiles.n1 .ph-tile, .ph-tiles.n3 .ph-tile.t2 { grid-column: 1 / -1; }
.ph-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; min-height: 76px; display: grid; align-content: space-between; }
.ph-tile span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--pink-soft); color: var(--red-text); }
.ph-tile.t1 span { background: var(--tint-2); color: #1F5FA8; }
.ph-tile.t2 span { background: #FFF4CC; color: #8A5A00; }
.ph-tile span svg { width: 17px; height: 17px; }
.ph-tile b { font-size: 12px; line-height: 1.2; color: var(--ink); margin-top: 8px; }
.ph-tiles.n3 .ph-tile.t2, .ph-tiles.n1 .ph-tile { grid-template-columns: 30px 1fr; align-items: center; gap: 10px; min-height: 0; }
.ph-tiles.n3 .ph-tile.t2 b, .ph-tiles.n1 .ph-tile b { margin-top: 0; }
.ph-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 2px; border-top: 1px solid var(--line); }
.ph-tab i { width: 18px; height: 18px; border-radius: 6px; background: #E3E8F0; }
.ph-tab i.on { background: var(--red-btn); }

/* Result */
.bp-res { max-width: 760px; }
.bp-res > * { animation: bpRise .45s cubic-bezier(.2, .8, .2, 1) both; }
.bp-res > :nth-child(2) { animation-delay: .06s; }
.bp-res > :nth-child(3) { animation-delay: .12s; }
.bp-res > :nth-child(4) { animation-delay: .18s; }
.bp-res-head { text-align: center; display: grid; justify-items: center; margin: 4px 0 26px; }
.bp-res-head .eyebrow { font-size: 19px; }
.bp-name { font-size: 36px; margin-top: 12px; overflow-wrap: anywhere; max-width: 100%; }
@media (min-width: 960px) { .bp-name { font-size: 52px; } }
.bp-edit-name { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 14px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .75); font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.bp-edit-name svg { width: 15px; height: 15px; }
.bp-edit-name:hover { background: #fff; color: var(--ink); }
.bp-for { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.bp-rename { display: flex; gap: 8px; margin-top: 14px; width: 100%; max-width: 460px; flex-wrap: wrap; justify-content: center; }
.bp-rename label { flex: 1 1 220px; }
.bp-rename input { width: 100%; min-height: 48px; padding: 0 16px; font: inherit; font-size: 17px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.bp-rename input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }

.bp-hero { display: grid; gap: 28px; justify-items: center; }
.bp-hero-copy { width: 100%; }
.bp-sec-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bp-n { font-family: var(--pixel); font-size: 18px; line-height: 1; letter-spacing: .05em; color: var(--red-text); background: var(--pink-soft); border-radius: 8px; padding: 5px 8px 4px; }
.bp-sec-h h2 { font-family: var(--bubble); font-size: 19px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
@media (min-width: 720px) { .bp-sec-h h2 { font-size: 21px; } }
.bp-what { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.bp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 0; }
.bp-facts div { background: var(--tint); border-radius: 14px; padding: 12px; display: grid; gap: 4px; align-content: start; }
.bp-facts dt { font-family: var(--pixel); font-size: 15px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.bp-facts dd { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
@media (min-width: 760px) {
  .bp-hero { grid-template-columns: 236px 1fr; gap: 44px; align-items: center; justify-items: stretch; }
}

.bp-doc { margin-top: 18px; }
.bp-doc .bp-sec + .bp-sec { margin-top: 36px; padding-top: 34px; border-top: 1px solid var(--line); }
.bp-p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.bp-feats { display: grid; gap: 10px; }
.bp-feat { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; }
.bp-fi { width: 44px; height: 44px; border-radius: 12px; background: var(--tint-2); display: grid; place-items: center; }
.bp-fi svg { width: 22px; height: 22px; }
.bp-feat b { display: block; font-size: 16px; line-height: 1.3; }
.bp-feat > div > span:not(.bp-from) { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.bp-funnel { display: grid; gap: 10px; }
@media (min-width: 640px) { .bp-funnel { grid-template-columns: 1fr 1fr; } }
.bp-fcard { padding: 18px; border-radius: 16px; background: var(--tint); }
.bp-fcard.paid { background: var(--pink-soft); }
.bp-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: #fff; border-radius: 999px; padding: 4px 10px; }
.bp-fcard.paid .bp-tag { color: var(--red-text); }
.bp-fcard b { display: block; margin-top: 12px; font-size: 17px; line-height: 1.3; }
.bp-fcard p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.bp-flow { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: f; }
.bp-flow li { counter-increment: f; position: relative; padding: 12px 8px; border: 1px dashed var(--line-2); border-radius: 12px; text-align: center; }
.bp-flow b { display: block; font-size: 14px; }
.bp-flow b::before { content: counter(f) ". "; color: var(--red-text); }
.bp-flow span { display: block; font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }
@media (max-width: 559px) { .bp-flow { grid-template-columns: 1fr 1fr; } }
.bp-powers { display: grid; gap: 10px; }
@media (min-width: 720px) { .bp-powers { grid-template-columns: repeat(3, 1fr); } }
.bp-power { padding: 16px; border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 6px; align-content: start; }
.bp-power b { font-size: 15.5px; line-height: 1.35; }
.bp-power b::before { content: "✦"; display: block; margin-bottom: 8px; color: var(--red-text); font-size: 15px; }
.bp-power span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.bp-launch { list-style: none; margin: 0; padding: 0; }
.bp-launch li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.bp-launch li:first-child { padding-top: 2px; }
.bp-launch li:last-child { border-bottom: 0; padding-bottom: 0; }
.bp-launch b { font-size: 15.5px; }
.bp-launch span { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 559px) { .bp-launch li { grid-template-columns: 1fr; gap: 2px; } }
.bp-cost { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.bp-cost-n { background: var(--ink); color: #fff; border-radius: 18px; padding: 16px 20px; text-align: center; display: grid; gap: 4px; }
.bp-cost-n b { font-family: var(--bubble); font-weight: 400; font-size: 38px; line-height: 1; }
.bp-cost-n span { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .72); white-space: nowrap; }
.bp-cost p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 479px) { .bp-cost { grid-template-columns: 1fr; } .bp-cost-n { justify-self: start; } }

.bp-upgrade { margin-top: 22px; padding: 26px 22px; background: #fff; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 4px 4px 0 var(--ink); display: grid; gap: 20px; }
.bp-upgrade .eyebrow { color: var(--red-text); font-size: 18px; }
.bp-upgrade h2 { margin-top: 8px; font-family: var(--bubble); font-size: 22px; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.bp-upgrade p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.bp-up-actions { display: grid; gap: 6px; }
.bp-up-actions .btn { width: 100%; }
@media (min-width: 720px) {
  .bp-upgrade { grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 32px 36px; }
  .bp-upgrade h2 { font-size: 26px; }
  .bp-up-actions { justify-items: center; }
  .bp-up-actions .btn { width: auto; min-width: 230px; }
}

/* ---------- Blueprint v2: feel-based mockups, signature feature, loading, deeper result ---------- */
.phone { --pa: #E11D38; --pon: #fff; --pt: #FFE6EA; --pbg: #fff; --pink: #16151E; --pmut: #5F5E6B; --ptile: #fff; --pline: rgba(22,21,30,.12); --phero: #16151E; --phon: #fff; --pr: 14px; --pf: var(--bubble); }
.phone .ph-screen { background: var(--pbg); color: var(--pink); }
.phone .ph-status, .phone .ph-head b, .phone .ph-tile b { color: var(--pink); }
.phone .ph-island { background: #000; }
.phone .ph-bat { border-color: var(--pink); }
.phone .ph-bat::after { background: var(--pink); }
.phone .ph-head small, .phone .ph-sub { color: var(--pmut); }
.phone .ph-head b { font-family: var(--pf); font-weight: 700; letter-spacing: -.01em; }
.feel-bold .ph-head b, .feel-playful .ph-head b { font-weight: 400; }
.phone .ph-icon { background: var(--pa); color: var(--pon); border-radius: calc(var(--pr) - 3px); }
.phone .ph-icon svg { width: 20px; height: 20px; }
.phone .ph-hero { background: var(--phero); color: var(--phon); border-radius: var(--pr); }
.phone .ph-hero small { color: var(--phon); opacity: .7; }
.phone .ph-hero b { font-family: var(--pf); font-weight: 700; font-size: 13px; line-height: 1.3; }
.feel-bold .ph-hero b, .feel-playful .ph-hero b { font-weight: 400; font-size: 12.5px; }
.phone .ph-bar { background: rgba(255,255,255,.2); }
.phone .ph-bar i { background: var(--pbar, var(--pa)); }
.phone .ph-tile { background: var(--ptile); border-color: var(--pline); border-radius: var(--pr); }
.phone .ph-tile span, .phone .ph-tile.t1 span, .phone .ph-tile.t2 span { background: var(--pt); color: var(--pa); border-radius: calc(var(--pr) - 5px); }
.feel-playful .ph-tile.t1 span { background: #FFF1C9; color: #8A5A00; }
.feel-playful .ph-tile.t2 span { background: #DDF6EA; color: #1C7350; }
.feel-dark .ph-tile span { color: var(--pa); }
.phone .ph-tab { border-top-color: var(--pline); }
.phone .ph-tab i { background: var(--pline); }
.phone .ph-tab i.on { background: var(--pa); }
.ph-top { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.ph-backdot { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--pt); }
.ph-top b { font-family: var(--pf); font-size: 15px; line-height: 1.2; font-weight: 700; color: var(--pink); }
.feel-bold .ph-top b, .feel-playful .ph-top b { font-weight: 400; font-size: 14px; }
.ph-sub { display: block; margin: 4px 0 0 30px; font-size: 11px; }
.phone { height: 456px; }
.phone .ph-tile { min-height: 84px; }
.ph-list { display: grid; gap: 8px; margin-top: 16px; }
.ph-item { display: grid; grid-template-columns: 22px 1fr; gap: 9px; align-items: center; padding: 11px 10px; background: var(--ptile); border: 1px solid var(--pline); border-radius: var(--pr); }
.ph-item b { display: block; font-size: 11.5px; line-height: 1.25; color: var(--pink); }
.ph-item small { display: block; font-size: 10px; line-height: 1.3; color: var(--pmut); margin-top: 1px; }
.ph-check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--pline); display: grid; place-items: center; color: var(--pon); }
.ph-check svg { width: 11px; height: 11px; }
.ph-item.done .ph-check { background: var(--pa); border-color: var(--pa); }
.ph-btn { display: block; margin-top: 12px; padding: 10px; text-align: center; border-radius: var(--pr); background: var(--pa); color: var(--pon); font-size: 12px; font-weight: 700; }
.ph-up { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 4px 4px; }
.ph-lock { width: 46px; height: 46px; border-radius: 50%; background: var(--pt); color: var(--pa); display: grid; place-items: center; }
.ph-lock svg { width: 20px; height: 20px; }
.ph-up > b { margin-top: 12px; font-family: var(--pf); font-size: 15px; line-height: 1.25; font-weight: 700; color: var(--pink); }
.feel-bold .ph-up > b, .feel-playful .ph-up > b { font-weight: 400; font-size: 14px; }
.ph-up ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; width: 100%; text-align: left; }
.ph-up li { display: grid; grid-template-columns: 16px 1fr; gap: 7px; align-items: start; font-size: 11px; line-height: 1.35; color: var(--pink); }
.ph-up li svg { width: 12px; height: 12px; margin-top: 2px; color: var(--pa); }
.ph-price { margin-top: auto; padding-top: 12px; font-family: var(--pf); font-size: 20px; font-weight: 700; color: var(--pink); }
.ph-up .ph-btn { width: 100%; }
.ph-up small { margin-top: 8px; font-size: 9.5px; color: var(--pmut); }

/* Feel swatches on the question */
.bp-opt.swatch { grid-template-columns: 64px 1fr 26px; }
.bp-sw { width: 64px; height: 44px; border-radius: 12px; background: var(--pbg); border: 1px solid var(--pline); display: flex; align-items: center; justify-content: center; gap: 5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.bp-sw i { width: 12px; height: 12px; border-radius: 50%; }
.bp-sw i:nth-child(1) { background: var(--pa); }
.bp-sw i:nth-child(2) { background: var(--pt); box-shadow: inset 0 0 0 1px var(--pline); }
.bp-sw i:nth-child(3) { background: var(--pink); }
.bp-opts.bp-tall .bp-opt { min-height: 80px; }
.bp-home-t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bp-field textarea { width: 100%; min-height: 96px; padding: 14px 18px; font: inherit; font-size: 18px; line-height: 1.45; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 16px; resize: vertical; }
.bp-field textarea::placeholder { color: #9A99A6; }
.bp-field textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.bp-other > span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.bp-other i { font-style: normal; font-weight: 500; color: var(--ink-3); }

/* Loading moment */
.bp-load { display: grid; justify-items: center; text-align: center; gap: 4px; padding-top: 44px; padding-bottom: 44px; }
.bp-load .eyebrow { color: var(--red-text); font-size: 18px; margin-top: 22px; }
.bp-load .bp-title { max-width: 18ch; }
.bp-load-art { position: relative; width: 112px; height: 112px; }
.bp-load-art span { position: absolute; inset: 0; border-radius: 30px; border: 2px solid var(--ink); background: #fff; animation: bpFloat 2.4s ease-in-out infinite; }
.bp-load-art span:nth-child(1) { background: var(--pink-soft); transform: rotate(-10deg); }
.bp-load-art span:nth-child(2) { background: var(--tint-2); transform: rotate(6deg); animation-delay: .3s; }
.bp-load-art span:nth-child(3) { background: var(--red-btn); inset: 26px; border-radius: 16px; animation: bpPulse 1.6s ease-in-out infinite; }
@keyframes bpFloat { 50% { translate: 0 -6px; } }
@keyframes bpPulse { 50% { transform: scale(.88); } }
.bp-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; width: 100%; max-width: 340px; }
.bp-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; color: var(--ink-3); transition: color .3s; }
.bp-steps li.now, .bp-steps li.done { color: var(--ink); }
.bp-dot { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: #fff; transition: background .3s, border-color .3s; }
.bp-dot svg { width: 13px; height: 13px; }
.bp-steps li.done .bp-dot { background: var(--red-btn); border-color: var(--red-btn); animation: bpPop .3s ease; }
.bp-steps li.now .bp-dot { border-color: var(--red-btn); border-width: 2px; border-top-color: transparent; animation: bpSpin .9s linear infinite; }
@keyframes bpSpin { to { transform: rotate(360deg); } }
.bp-load .bp-note { margin-top: 22px; }

/* Result v2 */
.bp-res { max-width: 820px; }
.bp-idea { margin-top: 10px; max-width: 46ch; font-size: 15px; font-style: italic; color: var(--ink-2); }
.bp-ideas, .bp-lead-card, .bp-sig { margin-bottom: 18px; }
.bp-idea-list { display: grid; gap: 10px; }
@media (min-width: 720px) { .bp-idea-list { grid-template-columns: repeat(3, 1fr); } }
.bp-idea-c { padding: 16px; border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 6px; align-content: start; }
.bp-idea-c.star { border: 2px solid var(--red-btn); background: var(--pink-soft); }
.bp-star { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red-text); }
.bp-idea-c b { font-size: 16px; line-height: 1.3; }
.bp-idea-c span:last-child { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.bp-small { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.bp-oneline { font-family: var(--bubble); font-size: 21px; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
@media (min-width: 720px) { .bp-oneline { font-size: 25px; } }

.bp-sig { display: grid; gap: 26px; justify-items: center; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--red-btn); }
.bp-sig-copy { width: 100%; }
.bp-sig-name { font-family: var(--bubble); font-size: 27px; line-height: 1.15; letter-spacing: -.015em; color: var(--red-text); }
@media (min-width: 720px) { .bp-sig-name { font-size: 34px; } }
.bp-sig-what { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.bp-sig-dl { margin: 18px 0 0; display: grid; gap: 10px; }
.bp-sig-dl div { padding: 14px 16px; border-radius: 14px; background: var(--tint); }
.bp-sig-dl div + div { background: var(--pink-soft); }
.bp-sig-dl dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.bp-sig-dl dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
@media (min-width: 820px) { .bp-sig { grid-template-columns: 1fr 236px; align-items: center; gap: 40px; justify-items: stretch; } }
.bp-phone { margin: 0; display: grid; justify-items: center; gap: 10px; }
.bp-intro-art figcaption { display: none; }
.bp-phone figcaption { font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: center; }

.bp-phones-wrap { margin: 34px 0 30px; }
.bp-on-grid { justify-content: center; }
.bp-peek { margin: -4px auto 22px; max-width: 46ch; text-align: center; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.bp-phones { display: grid; gap: 26px; justify-items: center; }
@media (min-width: 760px) { .bp-phones { grid-template-columns: repeat(3, 1fr); gap: 16px; } .bp-phones .phone { zoom: .92; } }
@media (max-width: 759px) { .bp-phones .phone { zoom: .9; } }
.bp-noname { margin: 22px auto 0; max-width: 44ch; text-align: center; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.bp-noname b { color: var(--ink); }

.bp-feat em { display: block; margin-top: 6px; font-style: normal; font-size: 14px; line-height: 1.5; color: var(--ink); }
.bp-feat em::before { content: "Why it matters: "; font-weight: 700; color: var(--red-text); }
.bp-feat { align-items: start; }
.bp-from { display: inline-block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red-text); }
.bp-diff { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bp-diff li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.bp-diff li::before { content: "✦"; position: absolute; left: 4px; top: 0; color: var(--red-text); }
.bp-moneyrow { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 640px) { .bp-moneyrow { grid-template-columns: 1fr 1fr; } }
.bp-price, .bp-math { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.bp-price > span, .bp-math > span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.bp-price b { font-family: var(--bubble); font-weight: 400; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.bp-math p { font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.bp-price small, .bp-math small { font-size: 12.5px; color: var(--ink-3); }
.bp-power span { font-size: 14.5px; }
.bp-week { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.bp-week li { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bp-week li:first-child { padding-top: 2px; }
.bp-week li:last-child { border-bottom: 0; padding-bottom: 0; }
.bp-day-l { font-family: var(--pixel); font-size: 19px; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; color: var(--red-text); }
.bp-week p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.bp-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .bp-next { grid-template-columns: 1fr 1fr; } }
.bp-next li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.bp-nn { font-family: var(--pixel); font-size: 20px; line-height: 1.2; color: var(--red-text); }
.bp-next b { display: block; font-size: 16px; }
.bp-next span:not(.bp-nn) { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.bp-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 22px; }
.bp-tools .btn svg { width: 16px; height: 16px; }
.bp-saved { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.bp-saved svg { color: var(--red-text); }
.bp-up-actions .linklike { display: none; }
@media (max-width: 559px) {
  .bp-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .bp-saved, .bp-tools .linklike { grid-column: 1 / -1; justify-self: center; }
  .bp-tools .btn:only-of-type { grid-column: 1 / -1; }
}

@media print {
  .soon-bar, .sidebar, .topbar, .tabbar, .install-banner, .bp-tools, .bp-up-actions, .toast { display: none !important; }
  body { background: #fff !important; }
  .shell { display: block !important; }
  .main { padding: 0 !important; max-width: none !important; }
  .paper, .bp-upgrade { box-shadow: none !important; break-inside: avoid; }
  .bp-res > * { animation: none !important; }
}

/* =====================================================================
   Free preview mode (people who haven't bought)
   ===================================================================== */
button.soon-bar { width: 100%; border: 0; margin: 0; font: inherit; text-align: left; cursor: pointer; }
.preview-bar { background: var(--ink); }
.preview-bar .soon-track span.cta { color: var(--flip); }
.preview-bar:hover .soon-track span.cta, .preview-bar:focus-visible .soon-track span.cta { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.preview-bar:focus-visible { outline: 3px solid var(--flip); outline-offset: -3px; }
.soon-static { display: none; }
.preview-bar .soon-track span::after { display: inline-block; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  .preview-bar .soon-track { display: none; }
  .preview-bar .soon-static { display: block; padding: 8px 16px; text-align: center; font-family: var(--pixel); font-size: 19px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .preview-bar .soon-static b { font-weight: 400; color: var(--flip); margin-left: 10px; }
  .preview-bar .ss-short { display: none; }
  @media (max-width: 640px) { .preview-bar .ss-long { display: none; } .preview-bar .ss-short { display: inline; } }
}

/* Locked chapter: real first paragraph, then a blurred placeholder (not the real text) under a lock card */
.lesson-content.teaser { margin-top: 26px; }
.lock-wall { position: relative; margin-top: 18px; min-height: 340px; }
.lock-fake { display: grid; gap: 13px; filter: blur(4px); opacity: .7; padding-top: 6px; user-select: none; pointer-events: none; }
.lock-fake i { display: block; height: 11px; width: 100%; border-radius: 6px; background: #D9DDE6; }
.lock-fake i.h { height: 16px; margin-top: 14px; background: #C9CDD8; }
.lock-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92%, 400px); display: grid; justify-items: center; gap: 10px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--soft); padding: 24px 22px; }
.lock-card > b { font-family: var(--bubble); font-weight: 400; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.lock-card > span:not(.lock-badge) { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.lock-card .btn { margin-top: 6px; }
.lock-card .linklike { min-height: 40px; }
.video-locked { width: 100%; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; }
.video-locked b { font-family: var(--bubble); font-weight: 400; font-size: 16px; }
.video-locked > span:last-child { font-size: 13px; color: rgba(255, 255, 255, .7); }

/* App Builder: locked download + command */
.dl-locked { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; }
.dl-locked .btn svg { width: 16px; height: 16px; }
.dl-locked > span { font-size: 13.5px; color: var(--ink-3); }
button.say-locked { width: 100%; cursor: pointer; text-align: left; font: inherit; }
.say-locked code { opacity: .55; white-space: nowrap; }
button.say-locked { flex-wrap: wrap; row-gap: 10px; }
.say-locked > span { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 13px; font-weight: 700; border-radius: 8px; padding: 8px 12px; background: var(--red-btn); color: #fff; }
.say-locked > span svg { width: 13px; height: 13px; }

/* Community preview */
.com-preview-ch { pointer-events: none; }
.composer-locked { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.composer-locked .composer-open { display: block; opacity: .7; }
.composer-locked .av { font-size: 18px; color: var(--ink); }
.com-wall { position: relative; min-height: 420px; }
.com-blur { display: grid; gap: 14px; filter: blur(5px); opacity: .8; pointer-events: none; user-select: none; }
.com-lock { top: 160px; }

/* Admin: Blueprints */
.abp { display: grid; gap: 18px; }
.abp-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.abp-count { display: grid; gap: 2px; }
.abp-count b { font-family: var(--bubble); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: -.01em; }
.abp-count span { font-family: var(--pixel); font-size: 19px; letter-spacing: .05em; text-transform: uppercase; }
.abp-count small { font-size: 13px; color: var(--ink-2); }
.abp-sub { display: block; font-size: 14px; margin-bottom: 2px; }

/* Account: avatar button (phone top bar) + account page */
.topbar { gap: 8px; }
.topbar .brand { margin-right: auto; min-width: 0; }
.top-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--flip); color: var(--ink); border: 2px solid var(--ink); font-family: var(--bubble); font-size: 16px; line-height: 1; box-shadow: 2px 2px 0 var(--ink); }
.top-avatar svg { width: 20px; height: 20px; }
.top-avatar.active { background: var(--ink); color: var(--paper); }
.acct { display: grid; gap: 14px; }
.acct-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.acct-av { flex: none; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--flip); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-family: var(--bubble); font-size: 28px; }
.acct-av svg { width: 30px; height: 30px; }
.acct-head .eyebrow { margin-bottom: 4px; }
.acct-name { margin: 0 0 2px; font-size: clamp(26px, 7vw, 34px); line-height: 1.1; overflow-wrap: anywhere; }
.acct-head p { margin: 0; overflow-wrap: anywhere; font-size: 15px; }
.acct-card { display: grid; gap: 12px; justify-items: start; border: 1px solid var(--line); box-shadow: var(--soft-sm); border-radius: 20px; padding: 20px; }
.acct-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.acct-card p b { color: var(--ink); }
.acct-row { display: flex; align-items: center; gap: 12px; width: 100%; }
.acct-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-2); color: var(--ink); }
.acct-ic svg { width: 20px; height: 20px; }
.acct-h { flex: 1; min-width: 0; margin: 0; font-family: var(--bubble); font-weight: 800; font-size: 18px; letter-spacing: -.005em; line-height: 1.2; color: var(--ink); }
.acct-tag { flex: none; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--tint); color: var(--ink-2); border: 1px solid var(--line); }
.acct-tag.on { background: #E6F7EC; color: #13753A; border-color: rgba(19, 117, 58, .22); }
.acct-tag.free { background: var(--pink-soft); color: var(--red-text); border-color: rgba(204, 26, 50, .22); }
.acct-note { font-size: 13.5px !important; color: var(--ink-3) !important; }
.acct-legal { font-size: 14px !important; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; }
.acct-legal a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 960px) { .top-avatar { display: none; } }

/* First-visit welcome */
.welcome-brand { display: flex; align-items: center; gap: 12px; font-family: var(--bubble); font-weight: 800; font-size: 16px; line-height: 1.2; }
.welcome-brand img { border-radius: 14px; border: 1.5px solid var(--ink); }
.tour-inner > p { margin: 0; color: var(--ink-2); font-size: 16px; }
.tour-inner > p.small { font-size: 14px; color: var(--ink-3); text-align: center; }

/* Free preview note (top of preview pages) */
.preview-note { display: grid; gap: 6px; justify-items: start; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red-btn); border-radius: 18px; padding: 18px 20px; box-shadow: var(--soft-sm); margin-bottom: 18px; }
.preview-note .tour-badge { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.preview-note .tour-badge svg { width: 12px; height: 12px; }
.preview-note b { font-size: 17px; line-height: 1.3; }
.preview-note p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; }
.preview-actions .linklike { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Free home: guided tour */
.tour-card { border: 1px solid var(--line); box-shadow: var(--soft); border-radius: 22px; padding: 22px 20px; margin-bottom: 16px; }
.tour-head p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.tour-badge { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--pink-soft); color: var(--red-text); border: 1px solid rgba(204, 26, 50, .22); margin-bottom: 10px; }
.tour-h { font-family: var(--bubble); font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -.005em; margin: 0; color: var(--ink); }
.tour-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.tour-step { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.tour-step.is-now { background: var(--tint); border-color: var(--line-2); }
.tour-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--bubble); font-weight: 800; font-size: 15px; }
.tour-num svg { width: 16px; height: 16px; }
.tour-step.is-done .tour-num { background: var(--red-btn); }
.tour-num-ic { margin-bottom: 10px; background: var(--red-btn); }
.tour-txt { flex: 1; min-width: 0; display: grid; gap: 6px; justify-items: start; }
.tour-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.tour-top b { font-size: 16.5px; line-height: 1.3; }
.tour-time { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.tour-txt p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.tour-txt .btn { margin-top: 6px; }
.tour-step.is-done .tour-txt p { display: none; }
.peeks { display: grid; gap: 10px; margin-top: 18px; }
.peek { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); transition: border-color .15s, background .15s; }
.peek:hover { border-color: var(--line-2); background: var(--tint); }
.peek-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-2); }
.peek-ic svg { width: 20px; height: 20px; }
.peek-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.peek-t b { font-size: 16px; line-height: 1.3; }
.peek-t span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.peek-t .peek-tag { justify-self: start; display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--red-text); background: var(--pink-soft); border-radius: 999px; padding: 4px 10px; white-space: nowrap; line-height: 1.4; }
.peek-tag svg { width: 12px; height: 12px; }
.peek .chev { flex: none; color: var(--ink-3); }
.peek .chev svg { width: 18px; height: 18px; }
.tour-ready { display: grid; gap: 10px; justify-items: start; margin-top: 10px; padding: 24px 20px; border-radius: 22px; background: var(--ink); color: #fff; }
.tour-ready .eyebrow { color: var(--flip); }
.tour-ready .tour-h { color: #fff; }
.tour-ready p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15.5px; line-height: 1.6; }
.tour-list { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; }
.tour-list li { display: flex; gap: 10px; align-items: flex-start; }
.tour-ready .tour-list li p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.tour-ready .tour-list li b { display: inline; color: #fff; font-size: inherit; }
.tour-list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--flip); }
.tour-ready .small { color: rgba(255, 255, 255, .65); }
@media (max-width: 420px) { .peek { padding: 14px 12px; gap: 12px; } }
@media (min-width: 720px) { .tour-card { padding: 28px 28px; } .tour-ready { padding: 30px 28px; } .tour-h { font-size: 24px; } }

/* ================= Home (not joined yet) ================= */
.fx { max-width: 1040px; margin: 0 auto; display: grid; gap: 44px; }
.fx-kicker { font-family: var(--pixel); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--flip); line-height: 1; }
.fx-kicker.ink { color: var(--red-text); }
.fx-h2 { font-family: var(--bubble); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); margin-top: 8px; }

/* Hero */
.fx-hero { position: relative; display: grid; gap: 8px; padding-top: 6px; }
.fx-hero .fx-kicker { color: var(--red-text); }
.fx-h1 { font-family: var(--bubble); font-weight: 800; color: var(--ink); font-size: clamp(40px, 11vw, 68px); line-height: 1.02; letter-spacing: -.02em; margin-top: 12px; }
.fx-h1 span { display: block; color: var(--red); text-shadow: 3px 3px 0 var(--ink); }
.fx-sub { margin-top: 16px; font-size: 17.5px; line-height: 1.55; color: var(--ink-2); max-width: 440px; }
.fx-cta { margin-top: 24px; display: grid; gap: 16px; justify-items: start; }
.fx-btn { font-size: 17px; padding: 15px 26px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.fx-prog { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.fx-bar { width: 96px; height: 9px; border-radius: 99px; background: #fff; border: 1.5px solid var(--ink); overflow: hidden; }
.fx-bar i { display: block; height: 100%; min-width: 6px; background: var(--red-btn); border-radius: 99px; }

/* Hero art: two mini windows */
.fx-art { position: relative; height: 250px; margin: 22px -4px 0; }
.fx-mini { position: absolute; border-radius: 18px; border: 2px solid var(--ink); }
.fx-mini-video { left: 0; top: 26px; width: 62%; background: var(--flip); transform: rotate(-5deg); box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.fx-mini-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; border-bottom: 2px solid var(--ink); font-family: var(--pixel); font-size: 17px; color: var(--ink); line-height: 1; }
.fx-mini-bar span { flex: 1; }
.fx-mini-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; }
.fx-mini-bar i:first-of-type { background: var(--red); }
.fx-mini-screen { height: 128px; background: #1F1D29; display: grid; place-items: center; }
.fx-play { width: 52px; height: 52px; border-radius: 50%; background: var(--flip); display: grid; place-items: center; color: var(--ink); box-shadow: 0 0 0 8px rgba(255,159,195,.18); }
.fx-play svg { width: 22px; height: 22px; margin-left: 3px; }
.fx-mini-bp { right: 0; top: 0; width: 58%; background: #fff; color: var(--ink); padding: 16px 16px 18px; transform: rotate(4deg); box-shadow: 5px 5px 0 var(--red-btn); display: grid; gap: 6px; }
.fx-mini-k { font-family: var(--pixel); font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: var(--red-text); line-height: 1; }
.fx-mini-sig { font-family: var(--bubble); font-weight: 800; font-size: 21px; line-height: 1.1; color: var(--red-btn); margin-top: 2px; }
.fx-mini-line { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.fx-mini-rows { display: grid; gap: 6px; margin-top: 6px; }
.fx-mini-rows i { display: block; height: 9px; border-radius: 99px; background: var(--tint-2); }
.fx-mini-rows i:nth-child(1) { width: 92%; } .fx-mini-rows i:nth-child(2) { width: 74%; } .fx-mini-rows i:nth-child(3) { width: 84%; }
.fx-sticker { position: absolute; left: 18%; bottom: 18px; display: inline-flex; align-items: center; gap: 7px; background: var(--red-btn); color: #fff; font-weight: 700; font-size: 14px; padding: 9px 15px; border-radius: 99px; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-3deg); white-space: nowrap; }
.fx-sticker svg { width: 14px; height: 14px; color: var(--flip); }

/* Section heads */
.fx-sec { display: grid; gap: 20px; }
.fx-sec-head p { margin-top: 10px; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }

/* Top + the 3 free steps, first thing on screen */
.fx-top, .fx-start, .fx > .fx-sec, .fx > .fx-ready, .fx > .push-ask { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }
.fx-top { padding-top: 6px; }
.fx-top .fx-kicker { color: var(--red-text); }
.fx-top .fx-h1 { font-size: clamp(44px, 12vw, 76px); margin-top: 10px; }
.fx-top .fx-sub { margin-top: 12px; max-width: 470px; font-size: 17px; line-height: 1.5; }
.fx-start { display: grid; gap: 12px; margin-top: -18px; }
.fx-start-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fx-start-head b { font-family: var(--pixel); font-weight: 400; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.fx-start-head b span { color: var(--red-text); }
.fx-top .fx-tag { margin-top: 16px; font-size: 18px; font-weight: 600; color: var(--ink); max-width: none; text-wrap: balance; }
.fx-inlink { display: inline; padding: 0; border: 0; background: none; font: inherit; color: var(--red-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fx-rows { display: grid; gap: 12px; }
.fx-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: 3px 3px 0 var(--ink); color: var(--ink); transition: transform .15s, box-shadow .15s; }
.fx-row:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.fx-row.is-done { background: rgba(255,255,255,.72); box-shadow: none; border-color: rgba(19,18,26,.25); }
.fx-row-ic { width: 56px; height: 56px; border-radius: 14px; border: 2px solid var(--ink); display: grid; place-items: center; }
.fx-row-ic svg { width: 26px; height: 26px; }
.fx-read .fx-row-ic { background: var(--flip); color: var(--ink); }
.fx-watch .fx-row-ic { background: var(--ink); color: var(--flip); }
.fx-watch .fx-row-ic svg { margin-left: 3px; }
.fx-plan .fx-row-ic { background: var(--blue); color: var(--red-btn); }
.fx-row-t { display: grid; gap: 3px; min-width: 0; }
.fx-row-meta { font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); }
.fx-row-t b { font-family: var(--bubble); font-weight: 800; font-size: 21px; line-height: 1.15; }
.fx-row-line { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.fx-row-go { display: grid; justify-items: center; gap: 2px; color: var(--ink-3); }
.fx-row-go > svg { width: 18px; height: 18px; }
.fx-row.is-done .fx-row-go { color: #13753A; font-size: 12px; font-weight: 700; }
.fx-row-btn { background: var(--red-btn); color: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 7px 14px; font-size: 14px; font-weight: 700; box-shadow: 2px 2px 0 var(--ink); white-space: nowrap; }
@media (max-width: 759px) { .fx-row-btn { padding: 6px 12px; font-size: 13.5px; } }
@media (max-width: 380px) { .fx-row { grid-template-columns: 48px 1fr auto; gap: 12px; padding: 12px 14px; } .fx-row-ic { width: 48px; height: 48px; } }

/* First 3 moves (old layout) */
.fx-steps { display: grid; gap: 16px; }
.fx-step { display: grid; grid-template-columns: 112px 1fr; background: #fff; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.fx-step:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.fx-step.is-now { box-shadow: 5px 5px 0 var(--red-btn); }
.fx-step-art { position: relative; display: grid; place-items: center; border-right: 2px solid var(--ink); min-height: 150px; }
.fx-read .fx-step-art { background: var(--flip); }
.fx-watch .fx-step-art { background: var(--ink); color: var(--flip); }
.fx-plan .fx-step-art { background: var(--blue); color: var(--red-btn);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; }
.fx-num { position: absolute; top: 10px; left: 12px; font-family: var(--pixel); font-size: 22px; line-height: 1; }
.fx-watch .fx-num { color: rgba(255,255,255,.7); }
.fx-step-ic { width: 54px; height: 54px; display: grid; place-items: center; }
.fx-step-ic svg { width: 40px; height: 40px; }
.fx-watch .fx-step-ic { width: 58px; height: 58px; border-radius: 50%; background: var(--flip); color: var(--ink); }
.fx-watch .fx-step-ic svg { width: 24px; height: 24px; margin-left: 3px; }
.fx-state { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: #fff; color: #13753A; border: 1.5px solid var(--ink); }
.fx-state svg { width: 11px; height: 11px; }
.fx-state.now { background: var(--red-btn); color: #fff; }
.fx-step-body { padding: 18px 18px 18px; display: grid; gap: 6px; align-content: start; }
.fx-time { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--ink-3); text-transform: uppercase; }
.fx-step-body b { font-family: var(--bubble); font-weight: 800; font-size: 19px; line-height: 1.15; letter-spacing: -.005em; }
.fx-step-body p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fx-go { margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--red-text); }
.fx-step.is-done .fx-go { color: var(--ink-3); }

/* Take a look around */
.fx-peeks { display: grid; gap: 14px; }
.fx-peek { display: grid; gap: 6px; justify-items: start; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--soft); transition: transform .15s, box-shadow .15s; }
.fx-peek:hover { transform: translateY(-3px); }
.fx-peek-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; border: 2px solid var(--ink); margin-bottom: 8px; box-shadow: 3px 3px 0 var(--ink); }
.fx-peek-ic svg { width: 24px; height: 24px; }
.p1 .fx-peek-ic { background: var(--flip); }
.p2 .fx-peek-ic { background: var(--blue); }
.p3 .fx-peek-ic { background: #FFE27A; }
.fx-peek b { font-family: var(--bubble); font-weight: 800; font-size: 18px; line-height: 1.2; }
.fx-peek p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fx-peek-go { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--red-text); }
.fx-peek-go svg { width: 13px; height: 13px; }

/* Ready to build */
.fx-ready { position: relative; overflow: hidden; display: grid; gap: 12px; justify-items: start; background: var(--red-btn); color: #fff; border: 2px solid var(--ink); border-radius: 30px; padding: 34px 24px; box-shadow: 6px 6px 0 var(--ink); }
.fx-ready .fx-kicker { color: #fff; opacity: .85; }
.fx-ready .fx-h2 { color: #fff; font-size: 32px; margin-top: 0; }
.fx-ready p { font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.9); max-width: 520px; }
.fx-ready-btn { margin-top: 8px; background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 17px; padding: 15px 24px; }
.fx-ready-note { font-size: 14px; color: rgba(255,255,255,.8); }
.fx-ready-spark { position: absolute; right: -56px; top: -56px; width: 170px; height: 170px; color: rgba(255,255,255,.14); }
.fx-sub { max-width: 400px; }
@media (max-width: 759px) {
  .fx-mini-sig { font-size: 18px; }
  .fx-peek { grid-template-columns: 50px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; padding: 18px; }
  .fx-peek-ic { grid-row: span 3; margin-bottom: 0; }
  .fx-peek-go { margin-top: 4px; }
}
.fx-ready-spark svg { width: 100%; height: 100%; }

@media (min-width: 760px) {
  .fx { gap: 56px; }
  .fx-hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 20px 0 0; gap: 32px; }
  .fx-art { height: 380px; margin: 0; }
  .fx-mini-video { top: 128px; width: 70%; }
  .fx-mini-screen { height: 176px; }
  .fx-mini-bp { width: 62%; top: 0; padding: 20px 20px 22px; }
  .fx-sticker { bottom: 0; }
  .fx-mini-sig { font-size: 25px; }
  .fx-sticker { left: auto; right: 14%; bottom: 6px; }
  .fx-h2 { font-size: 34px; }
  .fx-steps, .fx-peeks { grid-template-columns: repeat(3, 1fr); }
  .fx-step { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .fx-step-art { border-right: 0; border-bottom: 2px solid var(--ink); min-height: 140px; }
  .fx-step-body { padding: 20px 20px 22px; }
  .fx-ready { padding: 48px 44px; }
  .fx-ready .fx-h2 { font-size: 40px; }
}

/* ================= Blueprint looks ================= */
.phone .ph-head b, .phone .ph-hero b, .phone .ph-top b, .phone .ph-up > b, .phone .ph-price { font-weight: var(--pw, 700); }
.feel-dark .ph-hero b, .feel-cherry .ph-hero b { font-size: 15.5px; line-height: 1.2; }
.feel-dark .ph-top b, .feel-cherry .ph-top b, .feel-dark .ph-up > b, .feel-cherry .ph-up > b { font-size: 17px; }
.feel-dark .ph-head b, .feel-cherry .ph-head b { font-size: 16px; }
.feel-lilac .ph-head b, .feel-lilac .ph-top b { letter-spacing: -.02em; }

.bp-looks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.bp-look { position: relative; display: grid; gap: 10px; text-align: left; padding: 10px 10px 14px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 18px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; font: inherit; color: var(--ink); }
.bp-look:hover { border-color: rgba(22, 21, 30, .34); }
.bp-look:active { transform: scale(.985); }
.bp-look.on { border-color: var(--red-btn); box-shadow: inset 0 0 0 1.5px var(--red-btn), 0 6px 18px rgba(204, 26, 50, .12); }
.bp-look-pv { display: grid; gap: 7px; padding: 9px; height: 98px; align-content: start; background: var(--pbg); border: 1px solid var(--pline); border-radius: 12px; overflow: hidden; }
.bp-look-hero { display: flex; align-items: flex-end; justify-content: space-between; height: 52px; padding: 8px 10px; background: var(--phero); border-radius: min(var(--pr), 12px); }
.bp-look-aa { font-family: var(--pf); font-weight: var(--pw, 700); font-size: 26px; line-height: 1; color: var(--phon); }
.bp-look-hero i { width: 22px; height: 8px; border-radius: 99px; background: var(--pbar, var(--pa)); }
.bp-look-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.bp-look-row i { height: 20px; border-radius: min(var(--pr), 8px); background: var(--ptile); border: 1px solid var(--pline); }
.bp-look-row i:first-child { background: var(--pa); border-color: var(--pa); }
.bp-look-row i:nth-child(2) { background: var(--pt); }
.bp-look-t { display: grid; gap: 2px; padding: 0 4px; align-content: start; }
.feel-dark .bp-look-aa, .bp-look[data-bpo=dark] .bp-look-aa, .bp-look[data-bpo=cherry] .bp-look-aa { font-size: 31px; }
.bp-look-t b { font-size: 15px; font-weight: 700; line-height: 1.3; }
.bp-look-t small { font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.bp-look-hot { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red-text); background: var(--pink-soft); border-radius: 99px; padding: 2px 8px; margin-bottom: 3px; }
.bp-look .bp-ck { display: none; }
.bp-look.on .bp-look-t b::after { content: " ✓"; color: var(--red-btn); }
.bp-look.on .bp-ck { background: var(--red-btn); border-color: var(--red-btn); }
.bp-look.on .bp-ck svg { opacity: 1; }
@media (min-width: 720px) { .bp-looks { grid-template-columns: repeat(4, 1fr); } }

/* ================= Blueprint reveal ================= */
.bpr { max-width: 1000px; margin: 0 auto; display: grid; gap: 28px; }
.bpr-head { text-align: center; display: grid; justify-items: center; gap: 6px; padding-top: 8px; }
.bpr-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pixel); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--red-text); }
.bpr-kicker svg { width: 14px; height: 14px; color: var(--red-btn); }
.bpr-kind { font-family: var(--bubble); font-weight: 800; font-size: clamp(32px, 8.5vw, 56px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); margin-top: 8px; max-width: 760px; }
.bpr-who { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.bpr-sketchnote { margin: 12px auto 0; max-width: 420px; font-size: 14px; line-height: 1.45; color: var(--ink-2); padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid rgba(19,18,26,.12); }
.bp-vs { display: grid; gap: 12px; margin: 22px 0 4px; width: 100%; max-width: 380px; text-align: left; }
.bp-vs-col { padding: 14px 16px; border-radius: 14px; background: #F3F6FF; border: 1.5px solid transparent; }
.bp-vs-col.on { background: #fff; border-color: var(--ink, #13121A); box-shadow: 3px 3px 0 var(--ink, #13121A); }
.bp-vs-k { display: block; font-family: var(--mono, "VT323", monospace); font-size: 17px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.bp-vs-col.on .bp-vs-k { color: var(--red-text); }
.bp-vs ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 15px; line-height: 1.4; color: var(--ink); }
@media (min-width: 760px) { .bp-vs { max-width: 420px; } .bp-lead { max-width: 42ch; } }
.bpr-sig { justify-self: center; max-width: 620px; width: 100%; text-align: center; display: grid; gap: 8px; justify-items: center; background: var(--pbg); color: var(--pink); border: 2px solid var(--ink); border-radius: 24px; padding: 24px 22px; box-shadow: 5px 5px 0 var(--ink); }
.bpr-sig-k { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pmut); }
.bpr-sig-name { font-family: var(--pf); font-weight: var(--pw, 700); font-size: clamp(30px, 8vw, 44px); line-height: 1.05; color: var(--pa); }
.bpr-sig p { font-size: 16px; line-height: 1.55; color: var(--pink); max-width: 480px; }
.bpr-phones { display: flex; gap: 18px; justify-content: center; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bpr-phones::-webkit-scrollbar { display: none; }
.bpr-phones .bp-phone { scroll-snap-align: center; flex: none; }
@media (max-width: 759px) { .bpr-phones { justify-content: flex-start; margin: 0 -16px; padding: 6px 16px 14px; } .bpr-phones .phone { zoom: .82; } }
.bpr-ideas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.bpr-ideas span { width: 100%; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.bpr-ideas b { font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.bpr-ideas b.star { border-color: var(--red-btn); color: var(--red-text); }
.bpr-actions { display: grid; justify-items: center; gap: 14px; }
.bpr-open { font-size: 18px; padding: 17px 30px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.bpr-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; }
.bpr-row .btn svg { width: 16px; height: 16px; }

/* Try another look (free recolor) */
.bpr-looks { display: grid; justify-items: center; gap: 10px; }
.bpr-looks > span { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.bpr-looks > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.bpr-look { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: var(--pbg); box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(22,21,30,.08); display: flex; align-items: center; justify-content: center; gap: 3px; cursor: pointer; padding: 0; transition: transform .15s; }
.bpr-look i { width: 13px; height: 13px; border-radius: 50%; }
.bpr-look i:nth-child(1) { background: var(--phero); }
.bpr-look i:nth-child(2) { background: var(--pa); }
.bpr-look:hover { transform: translateY(-2px); }
.bpr-look.on { box-shadow: 0 0 0 2.5px var(--ink); }
.bpr-look:focus-visible { outline: 3px solid var(--red-btn); outline-offset: 3px; }

/* One refinement, tucked behind a quiet link */
.bpr-refine { display: grid; justify-items: center; }
.bpr-fresh { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px auto 22px; color: #4A4957; }
.bpr-fresh span { font-size: 13px; }
.bpr-refine-open { font-size: 15px; }
.bpr-refine-box { display: none; width: 100%; max-width: 560px; margin-top: 4px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 20px 22px; gap: 12px; box-shadow: 4px 4px 0 var(--ink); }
.bpr-refine.open .bpr-refine-open { display: none; }
.bpr-refine.open .bpr-refine-box { display: grid; }
.bpr-refine-box label { display: grid; gap: 4px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.bpr-refine-box label b { font-size: 17px; color: var(--ink); }
.bpr-refine-box textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; resize: vertical; }
.bpr-refine-box textarea:focus { outline: none; border-color: var(--ink); }
.bpr-refine-box .btn { justify-self: start; }

/* Here's what Claude heard */
.bp-heard { margin: 20px 0 0; display: grid; border-top: 1px solid var(--line); }
.bp-heard-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.bp-heard-row dt { grid-column: 1; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.bp-heard-row dd { grid-column: 1; margin: 0; font-size: 16.5px; line-height: 1.45; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.bp-heard-row .linklike { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 14.5px; }
.bp-heard-row .bp-sw { width: 42px; height: 28px; border-radius: 8px; flex: none; gap: 3px; }
.bp-heard-row .bp-sw i { width: 8px; height: 8px; }
.bp-sketch { margin-top: 18px; padding: 13px 16px; border-radius: 12px; background: #F3F6FF; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* ================= One-page Blueprint (816 x 1056, letter) ================= */
.bpp { width: 816px; box-sizing: border-box; padding: 40px 44px 32px; background: var(--pbg); color: var(--pink); font-family: "DM Sans", system-ui, sans-serif; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: left; }
.bpp p { margin: 0; }
.bpp-head { background: var(--phero); color: var(--phon); border-radius: 22px; padding: 26px 30px 28px; display: grid; gap: 6px; }
.bpp-top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.bpp-head h1 { margin: 12px 0 6px; font-family: var(--pf); font-weight: var(--pw, 700); font-size: 44px; line-height: 1.15; letter-spacing: -.01em; color: var(--phon); }
.bpp-who { font-size: 19px; line-height: 1.4; opacity: .9; }
.bpp-one { margin-top: 8px !important; font-size: 15.5px; line-height: 1.5; opacity: .82; max-width: 620px; }
.bpp-k { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pmut); margin-bottom: 8px; }
.bpp-sig { display: grid; grid-template-columns: minmax(0, 1fr) 166px; gap: 30px; align-items: center; background: var(--ptile); border: 1px solid var(--pline); border-radius: 22px; padding: 22px 30px 22px 28px; }
.bpp-sig-name { display: block; font-family: var(--pf); font-weight: var(--pw, 700); font-size: 38px; line-height: 1.15; color: var(--pa); margin-bottom: 10px; }
.bpp-sig-copy > p { font-size: 15px; line-height: 1.55; }
.bpp-why { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--pline); }
.bpp-why span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pmut); }
.bpp-why p { font-size: 14px; line-height: 1.5; margin-top: 4px !important; }
.bpp-sig-phone .bp-phone { margin: 0; }
.bpp-sig-phone .bp-phone figcaption { display: none; }
.bpp-sig-phone { width: 166px; height: 320px; overflow: visible; }
.bpp-sig-phone .bp-phone { display: block; width: 166px; height: 320px; }
.bpp-sig-phone .phone { transform: scale(.7); transform-origin: top left; box-shadow: none; }
.bpp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; min-height: 0; }
.bpp-box { background: var(--ptile); border: 1px solid var(--pline); border-radius: 22px; padding: 20px 22px; min-height: 0; }
.bpp-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bpp-feats li { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: start; }
.bpp-fi { width: 30px; height: 30px; border-radius: 9px; background: var(--pt); color: var(--pa); display: grid; place-items: center; }
.bpp-fi svg { width: 16px; height: 16px; }
.bpp-feats b { display: block; font-size: 14.5px; line-height: 1.3; }
.bpp-feats p { font-size: 13px; line-height: 1.45; color: var(--pmut); margin-top: 2px !important; }
.bpp-money { display: grid; gap: 10px; }
.bpp-money > div { border-radius: 14px; padding: 11px 14px; background: var(--pbg); border: 1px solid var(--pline); }
.bpp-money em { font-style: normal; display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--pt); color: var(--pa); margin-bottom: 5px; }
.bpp-money > div:nth-child(2) em { background: var(--pa); color: var(--pon); }
.bpp-money b { display: block; font-size: 14.5px; line-height: 1.3; }
.bpp-money p { font-size: 13px; line-height: 1.45; color: var(--pmut); margin-top: 2px !important; }
.bpp-price { margin-top: 12px; display: grid; gap: 4px; padding: 13px 16px 14px; border-radius: 14px; background: var(--pa); color: var(--pon); }
.bpp-price span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.bpp-price b { font-family: var(--pf); font-weight: var(--pw, 700); font-size: 24px; line-height: 1.2; }
.bpp-math { margin-top: 8px !important; font-size: 12.5px; color: var(--pmut); line-height: 1.45; }
.bpp-week ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bpp-week li { background: var(--ptile); border: 1px solid var(--pline); border-radius: 16px; padding: 12px 14px; }
.bpp-week li b { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pa); margin-bottom: 4px; }
.bpp-week li p { font-size: 12.5px; line-height: 1.45; }
.bpp-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid var(--pline); font-size: 13px; color: var(--pmut); }
.bpp-foot b { color: var(--pink); }
.bpp-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--pink); white-space: nowrap; }
.bpp-brand img { border-radius: 6px; }
.feel-dark .bpp-head h1, .feel-cherry .bpp-head h1 { font-size: 52px; }
.feel-dark .bpp-sig-name, .feel-cherry .bpp-sig-name { font-size: 42px; }

/* ---- v2: picture-led page. Always a light page; phones carry the look. (Overrides the rules above.) ---- */
.bpp { padding: 44px 44px 32px; gap: 30px; }
.bpp-head { background: none; color: var(--pink); padding: 0; border-radius: 0; gap: 4px; }
.bpp-top { opacity: 1; color: var(--pmut); align-items: center; }
.bpp-tag { background: var(--pa); color: var(--pon); padding: 5px 11px; border-radius: 99px; letter-spacing: .1em; }
.bpp-head h1 { color: var(--pink); font-size: 50px; line-height: 1.2; margin: 18px 0 8px; }
.bpp-who { font-size: 20px; color: var(--pmut); opacity: 1; }
.bpp-k { display: inline-flex; align-items: center; gap: 6px; }
.bpp-k svg { width: 12px; height: 12px; color: var(--pa); }

/* Phones on the page */
.bpp-ph { width: 184px; height: 356px; flex: none; }
.bpp-ph .bp-phone { display: block; width: 184px; height: 356px; margin: 0; }
.bpp-ph .bp-phone figcaption { display: none; }
.bpp-ph .phone { transform: scale(.78); transform-origin: top left; box-shadow: none; }

.bpp-band { background: var(--pt); border-radius: 26px; padding: 30px 26px 26px; }
.bpp-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bpp-row3 figure { margin: 0; display: grid; justify-items: center; gap: 14px; text-align: center; }
.bpp-row3 figcaption { font-size: 13px; line-height: 1.45; color: var(--pmut); max-width: 200px; }
.bpp-row3 figcaption b { display: block; font-size: 14.5px; color: var(--pink); margin-bottom: 2px; }

.bpp-feature { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 36px; align-items: center; padding: 0 12px; }
.bpp-feature.flip { grid-template-columns: minmax(0, 1fr) 184px; }
.bpp-feature-copy { display: grid; gap: 10px; align-content: center; }
.bpp-big { font-family: var(--pf); font-weight: var(--pw, 700); font-size: 40px; line-height: 1.25; color: var(--pa); margin-bottom: 4px; }
/* The PDF drawing tool mis-spaces tightened letters, so the page uses normal spacing. */
.bpp .ph-head b, .bpp .ph-top b, .bpp .ph-hero b, .bpp .ph-lock-time, .bpp-head h1, .bpp-big { letter-spacing: 0 !important; }
.bpp .ph-head b { line-height: 1.3; overflow: visible; text-overflow: clip; }
.bpp-tag { background: none !important; color: var(--pa) !important; padding: 0 !important; font-size: 13px; }
.bpp .ph-lock-time { line-height: 1.25; margin-bottom: 30px; }
.feel-dark .bpp-big, .feel-cherry .bpp-big, .feel-dark .bpp-head h1, .feel-cherry .bpp-head h1 { font-size: 54px; }
.bpp-feature-copy > p { font-size: 16px; line-height: 1.55; color: var(--pink); }
.bpp-love { font-size: 14.5px; line-height: 1.5; color: var(--pmut); padding: 12px 16px; border-left: 3px solid var(--pa); background: var(--ptile); border-radius: 0 12px 12px 0; }
.bpp-love span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pa); margin-bottom: 3px; }
.bpp-flow { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); align-items: stretch; gap: 8px; }
.bpp-flow > div { background: var(--ptile); border: 1px solid var(--pline); border-radius: 16px; padding: 14px; display: grid; gap: 6px; align-content: start; }
.bpp-flow > div.paid { background: var(--pa); border-color: var(--pa); color: var(--pon); }
.bpp-flow em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.bpp-flow b { font-size: 15.5px; line-height: 1.3; }
.bpp-arrow { align-self: center; text-align: center; font-size: 22px; font-weight: 700; color: var(--pa); }
.bpp-price { margin-top: 4px; background: var(--ptile); color: var(--pink); border: 1px solid var(--pline); }
.bpp-price span { color: var(--pmut); opacity: 1; }
.bpp-price b { color: var(--pa); font-size: 28px; }
.bpp-math { margin-top: 0 !important; font-size: 13.5px; }

.bpp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bpp-tile { background: var(--ptile); border: 1px solid var(--pline); border-radius: 18px; padding: 16px 14px; display: grid; gap: 6px; align-content: start; }
.bpp-ti { width: 44px; height: 44px; border-radius: 13px; background: var(--pt); color: var(--pa); display: grid; place-items: center; margin-bottom: 4px; }
.bpp-ti svg { width: 22px; height: 22px; }
.bpp-tile b { font-size: 14.5px; line-height: 1.3; }
.bpp-tile p { font-size: 12.5px; line-height: 1.45; color: var(--pmut); }

.bpp-week ol { position: relative; gap: 14px; }
.bpp-week ol::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--pline); }
.bpp-week li { position: relative; background: none; border: 0; padding: 0; }
.bpp-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--pa); border: 3px solid var(--pbg); box-sizing: border-box; margin-bottom: 10px; position: relative; }
.bpp-week li b { font-size: 12px; }
.bpp-week li p { font-size: 13px; color: var(--pink); }

.bpp-more-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bpp-idea { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--ptile); border: 1px solid var(--pline); border-radius: 18px; padding: 16px; }
.bpp-idea .bpp-ti { margin: 0; }
.bpp-idea b { display: block; font-size: 15px; line-height: 1.3; margin-bottom: 3px; }
.bpp-idea p { font-size: 13px; line-height: 1.45; color: var(--pmut); }
.bpp-note { margin-top: 10px !important; font-size: 13px; color: var(--pmut); }

/* Lock screen + home screen phones */
.phone.ph-is-lock .ph-screen { background: var(--phero); color: var(--phon); }
.phone.ph-is-lock .ph-status, .phone.ph-is-home .ph-status { color: var(--phon); }
.phone.ph-is-lock .ph-bat { border-color: var(--phon); }
.phone.ph-is-lock .ph-bat::after { background: var(--phon); }
.ph-lock-scr { flex: 1; display: grid; align-content: start; justify-items: center; padding-top: 22px; }
.ph-lock-date { font-size: 12px; font-weight: 600; opacity: .85; }
.ph-lock-time { font-family: var(--pf); font-weight: var(--pw, 700); font-size: 62px; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 26px; }
.ph-note { width: 100%; box-sizing: border-box; display: grid; grid-template-columns: 30px 1fr; gap: 9px; align-items: start; padding: 11px 11px 12px; border-radius: 18px; background: var(--ptile); color: var(--pink); box-shadow: 0 8px 18px -10px rgba(0,0,0,.4); text-align: left; }
.ph-note-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--pa); color: var(--pon); display: grid; place-items: center; }
.ph-note-ic svg { width: 16px; height: 16px; }
.ph-note-top { display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--pmut); margin-bottom: 2px; }
.ph-note-top b { font-weight: 700; color: var(--pmut); }
.ph-note-top i { font-style: normal; }
.ph-note-t { display: block; font-size: 12px; line-height: 1.35; font-weight: 700; color: var(--pink); }
.ph-note small { display: block; font-size: 10.5px; line-height: 1.35; color: var(--pmut); margin-top: 2px; }
.phone.ph-is-home .ph-screen { background: var(--phero); }
.ph-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; padding: 22px 8px 0; }
.ph-app { display: grid; justify-items: center; gap: 5px; }
.ph-app i { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.ph-app em { width: 30px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.22); }
.ph-app.me i { background: #FFFFFF; color: var(--pa); box-shadow: 0 0 0 3px var(--phon), 0 10px 20px -8px rgba(0,0,0,.5); }
.feel-dark .ph-app.me i { background: var(--pa); color: var(--pon); }
.ph-app.me i svg { width: 22px; height: 22px; }
.ph-app.me em { width: auto; height: auto; background: none; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--phon); }
.ph-dock { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 8px; border-radius: 20px; background: rgba(255,255,255,.14); }
.ph-dock i { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.2); }
.bpr-phones .phone.ph-is-lock .ph-lock-time { font-size: 62px; }

/* Viewer + offscreen stage for the PDF */
.bpv { position: fixed; inset: 0; z-index: 9999; background: var(--blue); display: flex; flex-direction: column; }
.bpv[hidden] { display: none; }
body.bpv-on { overflow: hidden; }
.bpv-bar { display: flex; align-items: center; gap: 12px; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.bpv-bar b { flex: 1; font-family: var(--bubble); font-weight: 800; font-size: 16px; }
.bpv-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--tint); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.bpv-scroll { padding-top: 16px !important; }
.bpv-scroll { flex: 1; overflow: auto; padding: 4px 12px calc(24px + env(safe-area-inset-bottom)); }
.bpv-fit { margin: 0 auto; position: relative; }
.bpv-page { width: 816px; transform-origin: top left; background: var(--paper); position: absolute; top: 0; left: 0; border-radius: 10px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.bpp-stage { position: fixed; left: -10000px; top: 0; width: 816px; pointer-events: none; }

/* ================= App screens v2: drawn at real iPhone size, then scaled ================= */
.apw { --s: .57; position: relative; flex: none; width: calc(414px * var(--s)); height: calc(868px * var(--s)); }
.ap { position: absolute; top: 0; left: 0; width: 414px; height: 868px; box-sizing: border-box; padding: 12px; border-radius: 66px; background: #111114; box-shadow: inset 0 0 0 2px #2E2E36, inset 0 0 0 5px #0B0B0D; transform: scale(var(--s)); transform-origin: top left; }
.ap-scr { position: relative; width: 390px; height: 844px; border-radius: 55px; overflow: hidden; display: flex; flex-direction: column; background: var(--pbg); color: var(--pink); font-family: "DM Sans", system-ui, sans-serif; text-align: left; -webkit-font-smoothing: antialiased; }
.ap svg { display: block; }
.ap-island { position: absolute; z-index: 5; top: 11px; left: 50%; width: 126px; height: 37px; margin-left: -63px; border-radius: 20px; background: #000; }
.ap-bar { position: absolute; z-index: 5; bottom: 8px; left: 50%; width: 140px; height: 5px; margin-left: -70px; border-radius: 3px; background: currentColor; opacity: .85; }
.ap-status { flex: none; height: 54px; box-sizing: border-box; padding: 18px 30px 0 52px; display: flex; justify-content: space-between; align-items: flex-start; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ap-sig { display: flex; align-items: center; gap: 7px; }
.ap-sig svg:first-child { width: 19px; height: 19px; }
.ap-sig svg:last-child { width: 27px; height: 13px; }
.ap-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 14px 22px 0; }
.ap-title { font-family: var(--pf); font-weight: var(--pw, 700); font-size: 31px; line-height: 1.15; color: var(--pink); }
.ap-sub { margin: 6px 0 0; font-size: 16px; line-height: 1.4; color: var(--pmut); }

/* App home */
.ap-hello { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.ap-hello small { display: block; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--pmut); text-transform: uppercase; }
.ap-hello b { display: block; margin-top: 4px; font-family: var(--pf); font-weight: var(--pw, 700); font-size: 33px; line-height: 1.1; color: var(--pink); }
.ap-av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--pt); color: var(--pa); }
.ap-av svg { width: 22px; height: 22px; }
.ap-hero { margin-top: 22px; padding: 22px 22px 20px; border-radius: calc(var(--pr) * 1.7); background: var(--phero); color: var(--phon); display: grid; gap: 12px; }
.ap-pill { justify-self: start; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 99px; background: rgba(255,255,255,.18); color: var(--phon); }
.ap-hero b { font-family: var(--pf); font-weight: var(--pw, 700); font-size: 25px; line-height: 1.2; }
.ap-prog { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.ap-prog span { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.ap-prog i { display: block; height: 100%; border-radius: 99px; background: var(--pbar, var(--pa)); }
.ap-prog em { font-style: normal; font-size: 14px; font-weight: 700; opacity: .85; }
.ap-sect { margin: 26px 0 12px; font-size: 19px; font-weight: 700; color: var(--pink); }
.ap-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ap-tile { display: grid; gap: 14px; align-content: space-between; min-height: 112px; box-sizing: border-box; padding: 16px; border-radius: calc(var(--pr) * 1.5); background: var(--ptile); border: 1px solid var(--pline); }
.ap-tile span { width: 46px; height: 46px; border-radius: calc(var(--pr) * 1.1); display: grid; place-items: center; background: var(--pt); color: var(--pa); }
.ap-tile span svg { width: 24px; height: 24px; }
.ap-tile b { font-size: 16.5px; font-weight: 700; line-height: 1.25; color: var(--pink); }
.ap-tabs { flex: none; display: flex; justify-content: space-around; padding: 10px 14px 30px; margin-top: auto; border-top: 1px solid var(--pline); background: var(--ptile); }
.ap-tabs span { display: grid; justify-items: center; gap: 4px; width: 74px; color: var(--pmut); opacity: .75; }
.ap-tabs span.on { color: var(--pa); opacity: 1; }
.ap-tabs svg { width: 26px; height: 26px; }
.ap-tabs em { font-style: normal; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ap-light .ap-bar { color: var(--pink); }

/* List screen (signature feature) */
.ap-nav { display: flex; justify-content: space-between; margin: 4px 0 18px; }
.ap-nav span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--pt); color: var(--pa); }
.ap-nav svg { width: 20px; height: 20px; }
.ap-list { display: grid; gap: 12px; margin-top: 22px; }
.ap-item { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: center; padding: 16px 18px; border-radius: calc(var(--pr) * 1.4); background: var(--ptile); border: 1px solid var(--pline); }
.ap-item b { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--pink); }
.ap-item small { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.35; color: var(--pmut); }
.ap-ck { width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--pline); display: grid; place-items: center; color: var(--pon); }
.ap-ck svg { width: 16px; height: 16px; }
.ap-item.done .ap-ck { background: var(--pa); border-color: var(--pa); }
.ap-btn { display: flex; align-items: center; justify-content: center; height: 56px; margin: 22px 0 18px; border-radius: calc(var(--pr) * 1.4); background: var(--pa); color: var(--pon); font-size: 17.5px; font-weight: 700; line-height: 1; text-align: center; }

/* Upgrade */
.ap-up { align-items: center; text-align: center; padding-bottom: 34px; }
.ap-x { align-self: flex-end; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--pt); color: var(--pmut); }
.ap-x svg { width: 17px; height: 17px; }
.ap-badge { margin-top: 18px; width: 86px; height: 86px; border-radius: 28px; display: grid; place-items: center; background: var(--pa); color: var(--pon); box-shadow: 0 16px 30px -16px rgba(0,0,0,.45); }
.ap-badge svg { width: 42px; height: 42px; }
.ap-up .ap-title { margin-top: 24px; font-size: 29px; text-align: center; }
.ap-up ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; width: 100%; text-align: left; }
.ap-up li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 16.5px; line-height: 1.4; color: var(--pink); }
.ap-up li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pt); color: var(--pa); margin-top: -1px; }
.ap-up li span svg { width: 14px; height: 14px; }
.ap-pay { margin-top: auto; width: 100%; display: grid; justify-items: center; }
.ap-plan { margin-top: 30px; width: 100%; box-sizing: border-box; display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: calc(var(--pr) * 1.4); background: var(--ptile); border: 2.5px solid var(--pa); text-align: left; }
.ap-plan b { display: block; font-size: 17px; font-weight: 700; color: var(--pink); }
.ap-plan small { display: block; margin-top: 2px; font-size: 14px; color: var(--pmut); }
.ap-radio { width: 26px; height: 26px; box-sizing: border-box; border-radius: 50%; border: 8px solid var(--pa); background: var(--ptile); }
.ap-plan .ap-price { font-family: var(--pf); font-weight: var(--pw, 700); font-size: 24px; line-height: 1.1; color: var(--pa); white-space: nowrap; }
.ap-pay .ap-btn { width: 100%; margin: 16px 0 12px; }
.ap-pay small { font-size: 13.5px; color: var(--pmut); }

/* Lock screen + home screen (wallpaper = their hero color) */
.ap-wall .ap-scr { background: var(--phero); color: var(--phon); }
.ap-wall .ap-scr::before, .ap-wall .ap-scr::after { content: ""; position: absolute; border-radius: 50%; background: var(--phon); opacity: .07; }
.ap-wall .ap-scr::before { width: 520px; height: 520px; left: -200px; top: 330px; }
.ap-wall .ap-scr::after { width: 380px; height: 380px; right: -180px; top: -90px; }
.ap-lock { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 26px 18px 0; }
.ap-ld { font-size: 21px; font-weight: 600; opacity: .9; }
.ap-lt { font-family: var(--pf); font-weight: var(--pw, 700); font-size: 104px; line-height: 1.1; letter-spacing: -.02em; }
.feel-dark .ap-lt, .feel-cherry .ap-lt { font-size: 120px; }
.ap-stack { position: relative; width: 100%; margin-top: 150px; }
.ap-note { position: relative; z-index: 2; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 15px 16px 16px; border-radius: 26px; background: rgba(255,255,255,.9); color: #16151E; box-shadow: 0 14px 30px -18px rgba(0,0,0,.5); }
.ap-appic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--pa); color: var(--pon); }
.feel-soft .ap-appic, .feel-matcha .ap-appic, .feel-cherry .ap-appic, .feel-clean .ap-appic { background: var(--phero); }
.ap-appic svg { width: 25px; height: 25px; }
.ap-nt { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ap-nt b { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.ap-nt i { font-style: normal; font-size: 14px; color: #6B6B73; }
.ap-note p { margin: 3px 0 0; font-size: 16px; line-height: 1.38; color: #2B2A33; }
.ap-ghost { position: absolute; left: 12px; right: 12px; height: 30px; border-radius: 22px; background: rgba(255,255,255,.55); }
.ap-ghost.g1 { bottom: -10px; z-index: 1; }
.ap-ghost.g2 { left: 24px; right: 24px; bottom: -19px; z-index: 0; background: rgba(255,255,255,.32); }
.ap-lockbtns { margin-top: auto; width: 100%; display: flex; justify-content: space-between; padding: 0 30px 46px; box-sizing: border-box; }
.ap-lockbtns span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.24); color: var(--phon); }
.ap-lockbtns svg { width: 24px; height: 24px; }
.ap-spring { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: 30px 22px 0; }
.ap-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 26px; column-gap: 8px; }
.ap-app { display: grid; justify-items: center; gap: 7px; }
.ap-app i { position: relative; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px -8px rgba(0,0,0,.45); }
.ap-app i svg { width: 34px; height: 34px; }
.ap-app em { font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--phon); white-space: nowrap; }
.ap-app.me i { background: var(--pa); color: var(--pon); box-shadow: 0 0 0 3px var(--phon), 0 12px 24px -10px rgba(0,0,0,.6); }
.feel-soft .ap-app.me i, .feel-matcha .ap-app.me i, .feel-cherry .ap-app.me i, .feel-clean .ap-app.me i, .feel-butter .ap-app.me i, .feel-lilac .ap-app.me i { background: #fff; color: var(--phero); }
.feel-lilac .ap-app.me i { background: var(--phon); color: #16141F; }
.ap-app.me i svg { width: 32px; height: 32px; }
.ap-app.me em { font-weight: 700; }
.ap-badgedot { position: absolute; top: -7px; right: -7px; min-width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; background: #FF3B30; color: #fff; font-size: 14px; font-weight: 700; font-family: "DM Sans", system-ui, sans-serif; line-height: 1; border: 2px solid var(--phero); }
.ap-search { align-self: center; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 99px; background: rgba(255,255,255,.2); color: var(--phon); font-size: 15px; font-weight: 600; }
.ap-search svg { width: 15px; height: 15px; }
.ap-dock { margin: 14px -8px 26px; padding: 14px 16px; border-radius: 34px; background: rgba(255,255,255,.2); display: flex; justify-content: space-between; }
.ap-dock i { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; box-shadow: 0 6px 14px -8px rgba(0,0,0,.45); }
.ap-dock i svg { width: 34px; height: 34px; }

/* 3D graphics */
.emo { display: block; width: 100%; height: 100%; object-fit: contain; }
.ap-hero { position: relative; overflow: hidden; }
.ap-hero > b, .ap-hero > .ap-pill { position: relative; z-index: 1; }
.ap-hero > b { padding-right: 96px; }
.ap-hero-emo { position: absolute; right: -8px; top: -4px; width: 124px; height: 124px; transform: rotate(8deg); filter: drop-shadow(0 12px 18px rgba(0,0,0,.3)); }
/* Real photos */
.bpp-credit { margin: 10px 0 0; font-size: 11px; color: var(--pmut); text-align: right; opacity: .8; }
.ap-hero.has-photo { padding: 0; gap: 0; }
.ap-hero-ph { position: relative; height: 150px; background: var(--pt); }
.ap-hero-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap-hero-ph .ap-pill { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: #16151E; }
.ap-hero-tx { display: grid; gap: 12px; padding: 16px 20px 18px; }
.ap-hero-tx b { font-size: 23px; }
.ap-photo .ap-scr { background: #2A2A2E; color: #fff; }
.ap-photo .ap-scr::before, .ap-photo .ap-scr::after { display: none; }
.ap-wallph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ap-wallshade { position: absolute; inset: 0; z-index: 0; background: rgba(12,12,16,.32); }
.ap-photo .ap-status { position: relative; z-index: 1; }
.ap-photo .ap-app em { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.ap-photo .ap-search, .ap-photo .ap-dock { background: rgba(255,255,255,.24); color: #fff; }
.ap-photo .ap-badgedot { border-color: #fff; }
.ap-photo .ap-wallshade { background: rgba(12,12,16,.18); }
.ap-photo .ap-lockbtns span { color: #fff; background: rgba(0,0,0,.3); }
.ap-photo .ap-lt, .ap-photo .ap-ld { text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.ap-tile.has-emo span { width: 58px; height: 58px; background: var(--pt); padding: 7px; box-sizing: border-box; }
.ap-item.has-emo { grid-template-columns: 58px 1fr 28px; padding: 12px 14px 12px 12px; }
.ap-thumb { width: 58px; height: 58px; border-radius: calc(var(--pr) * 1.1); background: var(--pt); padding: 8px; box-sizing: border-box; }
.ap-item.has-emo .ap-ck { width: 28px; height: 28px; }
.ap-item.has-emo b { font-size: 16.5px; }
.ap-badge.has-emo { background: var(--pt); padding: 12px; box-sizing: border-box; width: 104px; height: 104px; }
.bpp-ti.has-emo { width: 56px; height: 56px; padding: 6px; box-sizing: border-box; }

/* Sizes per place */
.bpp-ph { width: auto; height: auto; }
.bpp-ph .apw { --s: .445; }
.bpr-phones .apw { --s: .57; }
@media (max-width: 759px) { .bpr-phones .apw { --s: .52; } }
.bp-phone { display: grid; justify-items: center; gap: 10px; margin: 0; }
