/* ReelEditor.ai: one shared stylesheet. No frameworks, no external fonts. */

:root {
  --ink: #0B0B12;
  --ink-2: #1B1830;
  --ink-3: #26223F;
  --violet: #8B5CF6;
  --blue: #3B82F6;
  --violet-l: #A78BFA;
  --blue-l: #60A5FA;
  --spark: #DDD6FE;
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --text: #1D1D1F;
  --text-2: #6E6E73;
  --line: rgba(0, 0, 0, .1);
  --line-dark: rgba(255, 255, 255, .12);
  --on-dark: #F5F5F7;
  --on-dark-2: #A9A9B8;
  /* buttons use a slightly deeper pair so white text passes AA */
  --btn-a: #7A4FF3;
  --btn-b: #2F6BEA;
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--blue) 100%);
  --grad-l: linear-gradient(100deg, var(--violet-l) 0%, var(--blue-l) 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 22px;
  --wrap: 1120px;
  --nav-h: 56px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2 { text-wrap: balance; }
main { display: block; background: var(--surface); }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .nav :focus-visible { outline-color: var(--blue-l); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 10px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 760px); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-block;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  background: linear-gradient(100deg, #7C4DF0, #2F6BEA);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.dark .eyebrow { background-image: var(--grad-l); }
h1 {
  font-size: clamp(42px, 7.2vw, 88px);
  line-height: 1.03; letter-spacing: -.038em; font-weight: 700;
}
h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.07; letter-spacing: -.032em; font-weight: 700;
}
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.012em; font-weight: 650; }
.lede { font-size: clamp(18px, 2.1vw, 23px); line-height: 1.45; color: var(--text-2); letter-spacing: -.008em; }
.dark .lede { color: var(--on-dark-2); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dark .grad-text { background-image: var(--grad-l); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 17px; font-weight: 600; letter-spacing: -.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  color: #fff; background-image: linear-gradient(100deg, var(--btn-a), var(--btn-b));
  box-shadow: 0 6px 22px -8px rgba(91, 90, 240, .7);
}
.btn-primary:hover { box-shadow: 0 10px 28px -8px rgba(91, 90, 240, .85); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ececf2; }
.btn-ghost { color: var(--text); border-color: rgba(0, 0, 0, .22); background: transparent; }
.btn-ghost:hover { background: rgba(0, 0, 0, .05); }
.dark .btn-ghost, .btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .32); }
.dark .btn-ghost:hover, .btn-ghost-dark:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 34px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 32px; font-size: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(11, 11, 18, .88);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.nav-in { width: min(100% - 40px, var(--wrap)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.brand img { width: 28px; height: 28px; }
.wordmark { font-size: 18px; font-weight: 650; letter-spacing: -.02em; color: #fff; }
.wordmark .ai { background: var(--grad-l); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 26px; margin-right: 8px; }
.links a { font-size: 14px; color: #D2D2DC; text-decoration: none; transition: color .2s; }
.links a:hover, .links a[aria-current="page"] { color: #fff; }
.links .only-mobile { display: none; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn {
  display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px;
  cursor: pointer; position: relative; color: #fff;
}
.menu-btn span, .menu-btn span::before {
  position: absolute; left: 11px; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease);
}
.menu-btn span { top: 19px; }
.menu-btn span::before { content: ""; left: 0; top: 0; transform: translateY(-6px); }
.menu-btn span::after { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transform: translateY(6px); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-in { gap: 10px; }
  .nav-cta .btn-ghost-dark { display: none; }
  .js .menu-btn { display: block; }
  .links { flex-wrap: wrap; gap: 6px 18px; position: absolute; left: 0; right: 0; top: var(--nav-h); }
  .js .links {
    flex-direction: column; gap: 0; padding: 6px 20px 20px; margin: 0;
    background: rgba(11, 11, 18, .97); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .js .links.open { opacity: 1; transform: none; visibility: visible; }
  .js .links a { font-size: 21px; font-weight: 600; letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line-dark); color: #fff; }
  .links .only-mobile { display: block; }
  .no-js .nav-in { flex-wrap: wrap; height: auto; padding: 8px 0; }
  .no-js .nav { height: auto; }
  .no-js .links { position: static; order: 3; width: 100%; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head h2 + p { margin-top: 18px; }
.bg-soft { background: var(--bg); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: #fff; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 50% -6%, rgba(124, 92, 255, .24), transparent 70%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 55%);
  overflow: hidden; padding-top: clamp(56px, 8vw, 104px);
}
.hero-copy { text-align: center; max-width: 880px; margin-inline: auto; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { max-width: 640px; margin: 0 auto 34px; }
.hero .btn-row { justify-content: center; }
.hero-fine { margin-top: 18px; font-size: 14px; color: var(--on-dark-2); }
.hero-fine b { color: #fff; font-weight: 600; }
.stage {
  position: relative; margin-top: clamp(48px, 6vw, 80px);
  display: flex; justify-content: center;
}
.stage .mac {
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  margin-bottom: -2px;
}
.stage .mac { margin-right: 180px; }
.stage .phone { position: absolute; right: 1%; bottom: -70px; z-index: 2; width: clamp(190px, 21vw, 262px); }
.stage-note { position: absolute; right: 1%; bottom: -100px; width: clamp(190px, 21vw, 262px); margin: 0; text-align: center; font-size: 12px; color: var(--on-dark-2, #8E8E93); }
@media (max-width: 1060px) { .stage .mac { margin-right: 60px; } }
@media (max-width: 760px) {
  .stage { margin-top: 40px; }
  .stage .mac { display: none; }
  .stage { flex-direction: column; align-items: center; }
  .stage .phone { position: relative; right: auto; bottom: auto; width: min(66vw, 264px); margin-bottom: 0; }
  .stage-note { position: static; width: auto; margin: 10px 0 -40px; }
}

/* ---------- phone mock ---------- */
.phone {
  container-type: inline-size;
  aspect-ratio: 9 / 18.6; border-radius: 17% / 8.2%; padding: 3.6%;
  background: linear-gradient(145deg, #3a3a44, #121217 40%, #2b2b33);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 40px 80px -24px rgba(0, 0, 0, .65), 0 14px 30px -12px rgba(0, 0, 0, .5);
  position: relative;
}
.phone::before { /* island */
  content: ""; position: absolute; z-index: 5; top: 6.4cqw; left: 50%; transform: translateX(-50%);
  width: 26cqw; height: 7.4cqw; border-radius: 99px; background: #050507;
}
.screen { width: 100%; height: 100%; border-radius: 13.6cqw; overflow: hidden; position: relative; background: var(--ink); isolation: isolate; }

/* the reel inside a phone */
.reel { position: absolute; inset: 0; background: linear-gradient(180deg, #2A2350 0%, #171433 52%, #0B0B12 100%); }
.reel::before { /* soft light behind the speaker */
  content: ""; position: absolute; left: -20%; right: -20%; top: 12%; height: 60%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .45), transparent);
}
.reel-person { position: absolute; left: 14%; right: 14%; bottom: 0; width: 72%; height: auto; }
/* (A real creator mid-sentence, darkened a little at the top and bottom so the title and captions read.) */
.reel-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: 1; }
.reel-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .55) 100%); }
.reel-title {
  position: absolute; z-index: 3; top: 20cqw; left: 8cqw; right: 8cqw; text-align: center;
  font-size: 8.4cqw; line-height: 1.08; font-weight: 750; letter-spacing: -.03em; color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.reel-title em { font-style: normal; background: var(--grad-l); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reel-pop {
  position: absolute; z-index: 3; right: 7cqw; top: 46cqw; width: 36cqw; padding: 2.2cqw; border-radius: 4cqw;
  background: #fff; transform: rotate(4deg); box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
}
.reel-pop i { display: block; height: 14cqw; border-radius: 2.4cqw; background: linear-gradient(135deg, #C4B5FD, #93C5FD); }
.reel-pop b { display: block; height: 2cqw; border-radius: 2cqw; background: #D4D4DC; margin-top: 2cqw; width: 80%; }
.reel-pop b + b { width: 55%; }
.reel-caps {
  position: absolute; z-index: 3; left: 6cqw; right: 6cqw; bottom: 30cqw; text-align: center;
  font-size: 8cqw; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.reel-caps .w { display: inline-block; margin: 0 .5cqw; }
.reel-caps .hl { color: var(--spark); }
.reel-bar { position: absolute; z-index: 3; left: 6cqw; right: 6cqw; bottom: 11cqw; height: 1.2cqw; border-radius: 2cqw; background: rgba(255, 255, 255, .22); }
.reel-bar::after { content: ""; position: absolute; inset: 0; width: 38%; border-radius: inherit; background: #fff; }
.reel-ui { position: absolute; z-index: 3; right: 4cqw; bottom: 30cqw; display: grid; gap: 4cqw; }
.reel-ui i { width: 7cqw; height: 7cqw; border-radius: 50%; background: rgba(255, 255, 255, .85); display: block; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .reel-caps .w { animation: capw 5s infinite; }
  .reel-caps .w:nth-child(2) { animation-delay: .5s; }
  .reel-caps .w:nth-child(3) { animation-delay: 1s; }
  .reel-caps .w:nth-child(4) { animation-delay: 1.5s; }
  .reel-pop { animation: popin 6s var(--ease) infinite; }
  .reel-bar::after { animation: prog 6s linear infinite; }
}
@keyframes capw { 0%, 8% { opacity: .45; transform: translateY(1cqw); } 14%, 70% { opacity: 1; transform: none; } 100% { opacity: 1; } }
@keyframes popin { 0%, 12% { transform: rotate(10deg) scale(.7); opacity: 0; } 20%, 80% { transform: rotate(4deg) scale(1); opacity: 1; } 90%, 100% { transform: rotate(4deg) scale(.96); opacity: 0; } }
@keyframes prog { from { width: 6%; } to { width: 96%; } }

/* ---------- mac window mock ---------- */
.mac {
  container-type: inline-size; width: min(100%, 940px);
  border-radius: 14px; background: #17151F; color: #E7E7EE;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.mac > div { font-size: 1.25cqw; line-height: 1.35; }
.mac-bar { display: flex; align-items: center; height: 3.6cqw; padding: 0 1.6cqw; background: #211E2C; border-bottom: 1px solid rgba(255, 255, 255, .07); position: relative; }
.mac-bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; margin-right: .7cqw; background: #FF5F57; }
.mac-bar i:nth-child(2) { background: #FEBC2E; }
.mac-bar i:nth-child(3) { background: #28C840; }
.mac-bar span { position: absolute; left: 0; right: 0; text-align: center; font-size: 1.15cqw; color: #A9A9B8; pointer-events: none; }
.mac-body { display: grid; grid-template-columns: 17cqw 1fr 24cqw; min-height: 44cqw; }
.mac-side { padding: 2cqw 1.4cqw; border-right: 1px solid rgba(255, 255, 255, .07); background: #1B1826; }
.mac-side h6 { margin: 0 0 1cqw; font-size: 1cqw; font-weight: 600; color: #7E7C92; text-transform: uppercase; letter-spacing: .08em; }
.mac-side li { padding: .8cqw 1cqw; border-radius: .8cqw; color: #BDBCCB; margin-bottom: .2cqw; }
.mac-side li.on { background: rgba(139, 92, 246, .22); color: #fff; }
.mac-main { padding: 2cqw 2.2cqw; }
.mac-main h5 { margin: 0 0 1.6cqw; font-size: 1.7cqw; font-weight: 650; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.mac-main h5 small { font-size: 1.1cqw; font-weight: 500; color: #8F8DA3; }
.sb { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; }
.sb .p { min-width: 0; }
.sb .f { aspect-ratio: 9 / 13; border-radius: .9cqw; position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); }
.sb .f::after { /* a face */
  content: ""; position: absolute; left: 25%; right: 25%; bottom: -26%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.sb .f::before { content: ""; position: absolute; left: 31%; width: 38%; aspect-ratio: 1; top: 28%; border-radius: 50%; background: rgba(255, 255, 255, .11); }
.sb .a { background: linear-gradient(180deg, #34296B, #1A1638); }
.sb .b { background: linear-gradient(180deg, #243A78, #151B3A); }
.sb .c { background: linear-gradient(180deg, #472A78, #1E1438); }
.sb .d { background: linear-gradient(180deg, #2C3F86, #171A3D); }
/* (Real frames of the video: the storyboard shows what the edit looks like, punch-ins zoomed in.) */
.sb .f.ph { background: #15131f url("assets/reels/creator-home-260.jpg") 50% 30% / cover no-repeat; }
.sb .f.ph.zoom { background-size: 165%; background-position: 50% 24%; }
.sb .f.ph::before, .sb .f.ph::after { display: none; }
.sb .cap { position: absolute; left: 12%; right: 12%; bottom: 10%; height: .9cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .9); z-index: 2; }
.sb .cap::after { content: ""; position: absolute; left: 20%; right: 20%; top: 140%; height: .9cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .55); }
.sb .pop { position: absolute; z-index: 2; right: 8%; top: 12%; width: 42%; aspect-ratio: 1.2; border-radius: .7cqw; background: #fff; transform: rotate(5deg); }
.sb .pop::after { content: ""; position: absolute; inset: 14%; border-radius: .4cqw; background: linear-gradient(135deg, #C4B5FD, #93C5FD); }
.sb .ttl { position: absolute; z-index: 2; left: 10%; right: 10%; top: 12%; height: 1.5cqw; border-radius: .5cqw; background: rgba(255, 255, 255, .92); }
.sb .ttl::after { content: ""; position: absolute; left: 14%; right: 14%; top: 140%; height: 1.5cqw; border-radius: .5cqw; background: var(--grad-l); }
.sb .logo { position: absolute; z-index: 2; left: 50%; top: 18%; width: 30%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #fff; }
.sb .logo::after { content: ""; position: absolute; inset: 26%; border-radius: .4cqw; background: var(--ink); }
.sb .n { position: absolute; z-index: 3; left: .6cqw; top: .6cqw; width: 2cqw; height: 2cqw; border-radius: 50%; background: rgba(0, 0, 0, .55); font-size: 1cqw; text-align: center; line-height: 2cqw; color: #fff; }
.sb .l { margin-top: .8cqw; font-size: 1.05cqw; color: #BDBCCB; line-height: 1.3; }
.sb .t { display: block; margin-top: .3cqw; font-size: .95cqw; color: #7E7C92; }
.mac-foot { margin-top: 1.8cqw; display: flex; justify-content: flex-end; }
.mock-btn { padding: .8cqw 1.8cqw; border-radius: 99px; font-weight: 600; color: #fff; background: linear-gradient(100deg, var(--btn-a), var(--btn-b)); font-size: 1.2cqw; }
.mac-chat { border-left: 1px solid rgba(255, 255, 255, .07); padding: 2cqw 1.6cqw; display: flex; flex-direction: column; gap: 1.2cqw; background: #1B1826; }
.mac-chat h6 { margin: 0; font-size: 1cqw; font-weight: 600; color: #7E7C92; text-transform: uppercase; letter-spacing: .08em; }
.bubble { padding: 1cqw 1.3cqw; border-radius: 1.4cqw; max-width: 92%; font-size: 1.2cqw; line-height: 1.4; }
.bubble.me { align-self: flex-end; background: linear-gradient(100deg, var(--btn-a), var(--btn-b)); color: #fff; border-bottom-right-radius: .4cqw; }
.bubble.ai { align-self: flex-start; background: #2A2638; color: #E7E7EE; border-bottom-left-radius: .4cqw; }
.chat-input { margin-top: auto; border: 1px solid rgba(255, 255, 255, .13); border-radius: 99px; padding: .9cqw 1.4cqw; color: #7E7C92; font-size: 1.15cqw; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g3, .g2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--radius); padding: 32px; }
.bg-soft .card { background: #fff; }
.ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(145deg, var(--ink-2), var(--ink)); color: var(--violet-l);
}
.ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 16px; line-height: 1.5; }

/* steps */
.steps { counter-reset: s; }
.step { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.step-vis { height: 232px; display: grid; place-items: center; background: linear-gradient(180deg, #ECEBF4, #E3E6F3); position: relative; overflow: hidden; }
.step-txt { padding: 28px 30px 32px; }
.step-n { font-size: 14px; font-weight: 700; color: #7C4DF0; margin-bottom: 8px; display: block; letter-spacing: .02em; }
.step-txt p { color: var(--text-2); }

/* tiny mock bits used in the step visuals */
.files { display: flex; gap: 12px; transform: rotate(-3deg); }
.file { width: 74px; aspect-ratio: 9 / 14; border-radius: 12px; background: linear-gradient(180deg, #3A2F78, #1B1830); position: relative; box-shadow: 0 10px 24px -10px rgba(27, 24, 48, .6); overflow: hidden; }
.file:nth-child(2) { transform: translateY(14px) rotate(3deg); background: linear-gradient(180deg, #2B4690, #171B3E); }
.file:nth-child(3) { transform: translateY(-6px) rotate(-2deg); background: linear-gradient(180deg, #5A33A0, #221541); }
.file::before { content: ""; position: absolute; left: 28%; width: 44%; aspect-ratio: 1; top: 24%; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.file::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 14px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .6); }
.file span { position: absolute; z-index: 2; top: 6px; right: 6px; font-size: 9px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .45); padding: 1px 5px; border-radius: 5px; }
.dropzone { position: absolute; inset: 22px; border: 2px dashed rgba(124, 77, 240, .45); border-radius: 18px; }
.mini-sb { display: grid; grid-template-columns: repeat(4, 56px); gap: 8px; }
.mini-sb i { aspect-ratio: 9 / 14; border-radius: 9px; background: linear-gradient(180deg, #3A2F78, #1B1830); display: block; position: relative; }
.mini-sb i:nth-child(2n) { background: linear-gradient(180deg, #2B4690, #171B3E); }
.mini-sb i::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 10px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .7); }
.mini-sb i:nth-child(3)::before { content: ""; position: absolute; right: 8%; top: 12%; width: 40%; aspect-ratio: 1.2; border-radius: 4px; background: #fff; transform: rotate(5deg); }
.badge-ok { position: absolute; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .3); }
.badge-ok svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.4; background: linear-gradient(135deg, var(--violet), var(--blue)); border-radius: 50%; padding: 3px; }
.send { display: flex; align-items: center; gap: 22px; }
.send .phone { width: 96px; flex: none; }
.qr { width: 92px; height: 92px; border-radius: 12px; background: #fff; padding: 9px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .3); }
.chip { color: var(--text); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .3); }
.stack { display: grid; gap: 10px; justify-items: start; }

/* ---------- features ---------- */
.feature-card { border: 1px solid var(--line); }
.bg-soft .feature-card { border: 0; }

/* spotlight rows */
.spot { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.spot + .spot { margin-top: clamp(72px, 10vw, 140px); }
.spot.flip .spot-copy { order: 2; }
.spot h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.spot-copy p { color: var(--text-2); font-size: 19px; }
.spot-copy .eyebrow { color: transparent; font-size: 14px; }
.spot-copy p + p { margin-top: 14px; }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--violet), var(--blue)); }
.spot-vis { position: relative; }
.panel-dark {
  background: linear-gradient(160deg, var(--ink-2), var(--ink)); border-radius: 28px; padding: clamp(20px, 3vw, 36px);
  color: var(--on-dark); position: relative; overflow: hidden;
}
.panel-dark::before { content: ""; position: absolute; width: 70%; height: 70%; left: -10%; top: -20%; background: radial-gradient(closest-side, rgba(139, 92, 246, .28), transparent); }
.chat { position: relative; display: grid; gap: 12px; }
.chat .bubble { font-size: 16px; padding: 13px 18px; border-radius: 20px; max-width: 88%; }
.chat .bubble.me { border-bottom-right-radius: 6px; justify-self: end; }
.chat .bubble.ai { border-bottom-left-radius: 6px; justify-self: start; }
.chat .mini-sb { grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.chat-sb { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 8px; }
.chat-sb i { aspect-ratio: 9 / 14; border-radius: 8px; background: linear-gradient(180deg, #3A2F78, #1B1830); border: 1px solid rgba(255, 255, 255, .1); position: relative; display: block; }
.chat-sb i:nth-child(2n) { background: linear-gradient(180deg, #2B4690, #171B3E); }
.chat-sb i::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 8px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .7); }
.chat-sb i.hit { outline: 2px solid var(--violet-l); outline-offset: 2px; }
.chat-sb i.hit::before { content: ""; position: absolute; left: 50%; top: 18%; width: 38%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #fff; }
.chat-sb i.hit { overflow: hidden; }

.style-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.src-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.src-tiles i { aspect-ratio: 9 / 14; border-radius: 12px; background: linear-gradient(180deg, #3A2F78, #1B1830); position: relative; display: block; border: 1px solid rgba(255, 255, 255, .1); }
.src-tiles i:nth-child(2n) { background: linear-gradient(180deg, #2B4690, #171B3E); }
.src-tiles i:nth-child(3n) { background: linear-gradient(180deg, #5A33A0, #221541); }
.src-tiles i::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 12px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .65); }
.src-tiles i::before { content: ""; position: absolute; inset: 10px 10px auto auto; width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.arrow-r { width: 40px; height: 40px; color: var(--violet-l); }
.arrow-r svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.style-card { background: #fff; color: var(--text); border-radius: 18px; padding: 18px; display: grid; gap: 10px; }
.style-card b { font-size: 15px; letter-spacing: -.01em; }
.style-card .row { display: flex; justify-content: space-between; gap: 12px; text-align: right; font-size: 13px; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 9px; }
.style-card .row span:first-child { text-align: left; }
.style-card .row span:last-child { color: var(--text); font-weight: 600; }
.cap-label { position: relative; font-size: 13px; color: var(--on-dark-2); margin-top: 16px; }

.send-vis { display: flex; gap: clamp(16px, 3vw, 32px); align-items: center; justify-content: center; }
.send-vis .phone { width: min(40%, 200px); flex: none; }
.send-side { display: grid; gap: 14px; }
.notif {
  background: rgba(255, 255, 255, .92); color: var(--text); border-radius: 5.5cqw; padding: 3.6cqw; position: absolute; left: 5cqw; right: 5cqw; top: 66cqw; z-index: 4;
  font-size: 6cqw; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); display: flex; gap: 3cqw; align-items: center;
}
.notif img { width: 11cqw; height: 11cqw; border-radius: 2.6cqw; flex: none; }
.notif b { display: block; font-size: 5.6cqw; line-height: 1.2; }
.notif span { color: var(--text-2); font-size: 5cqw; }
.lock-time { position: absolute; z-index: 3; top: 22cqw; left: 0; right: 0; text-align: center; color: #fff; font-size: 24cqw; font-weight: 300; letter-spacing: -.04em; }
.lock-bg { position: absolute; inset: 0; background: linear-gradient(170deg, #5B3FD0, #2858C8 60%, #14224F); }
.caption-card { background: #fff; color: var(--text); border-radius: 18px; padding: 18px 20px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); position: relative; max-width: 300px; }
.caption-card small { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.caption-card p { font-size: 15px; line-height: 1.4; color: var(--text); }
.caption-card .copy { margin-top: 12px; display: inline-block; font-size: 13px; font-weight: 600; color: #fff; padding: 6px 14px; border-radius: 99px; background: linear-gradient(100deg, var(--btn-a), var(--btn-b)); }

@media (max-width: 860px) {
  .spot { grid-template-columns: 1fr; }
  .spot.flip .spot-copy { order: 0; }
  .style-flow { grid-template-columns: 1fr; }
  .arrow-r { transform: rotate(90deg); margin-inline: auto; }
}

/* ---------- formats ---------- */
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px max(20px, calc((100vw - var(--wrap)) / 2)) 28px; margin-inline: 0; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.fmt { flex: 0 0 min(78vw, 280px); scroll-snap-align: center; background: #fff; border-radius: var(--radius); padding: 20px 20px 26px; }
.fmt-vis { height: 190px; border-radius: 14px; margin-bottom: 20px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--ink-3), var(--ink)); }
.fmt h3 { font-size: 19px; margin-bottom: 6px; }
.fmt p { font-size: 15px; color: var(--text-2); line-height: 1.45; }
.fmt .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.fmt .tags span { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--bg); color: #4a4a50; }
/* little format drawings */
.fv { position: absolute; display: block; }
.fv.face { left: 50%; transform: translateX(-50%); bottom: -38px; width: 98px; height: 98px; border-radius: 50%; background: rgba(255, 255, 255, .11); }
.fv.face::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: -62px; width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.fv.bar { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .88); left: 50%; transform: translateX(-50%); }
.fv.bar.g { background: var(--grad-l); }
.fv.card { width: 70px; height: 56px; border-radius: 9px; background: #fff; }
.fv.card::after { content: ""; position: absolute; inset: 8px; border-radius: 5px; background: linear-gradient(135deg, #C4B5FD, #93C5FD); }
.fv.half { width: 50%; top: 0; bottom: 0; }
.fv.half i { position: absolute; left: 50%; transform: translateX(-50%); bottom: -22px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.fv.time { font: 700 12px var(--mono); color: #fff; background: rgba(255, 255, 255, .18); padding: 3px 8px; border-radius: 6px; }

/* ---------- privacy block ---------- */
.privacy { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.privacy h2 { margin-bottom: 18px; }
.privacy-list { display: grid; gap: 14px; }
.privacy-list li { display: flex; gap: 16px; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.privacy-list svg { flex: none; width: 26px; height: 26px; stroke: var(--violet-l); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.privacy-list b { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.privacy-list span { color: var(--on-dark-2); font-size: 15px; line-height: 1.45; display: block; }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; } }

/* ---------- need ---------- */
.need { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.need .card { padding: 36px; }
.need h3 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 4px; }
.need .sub { color: var(--text-2); margin-bottom: 22px; }
.need ul { display: grid; gap: 10px; }
.need li { display: flex; gap: 10px; font-size: 16px; }
.need li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; stroke: #7C4DF0; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.need-note { margin-top: 24px; text-align: center; font-size: 19px; color: var(--text); letter-spacing: -.01em; }
.need-note b { font-weight: 650; }
@media (max-width: 760px) { .need { grid-template-columns: 1fr; } .need .card { padding: 28px; } }

/* ---------- pricing ---------- */
.price-wrap { max-width: 560px; margin-inline: auto; }
.founder-note {
  display: flex; gap: 12px; align-items: center; justify-content: center; text-align: left;
  margin-bottom: 18px; padding: 12px 18px; border-radius: 16px;
  background: linear-gradient(100deg, rgba(139, 92, 246, .12), rgba(59, 130, 246, .12));
  border: 1px solid rgba(124, 77, 240, .3); color: #3B2A8A; font-size: 15px; line-height: 1.35;
}
.founder-note svg { flex: none; width: 20px; height: 20px; fill: #7C4DF0; }
.founder-note b { font-weight: 700; }
.price-card { background: linear-gradient(165deg, var(--ink-2), var(--ink)); color: var(--on-dark); border-radius: 30px; padding: clamp(28px, 5vw, 48px); position: relative; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(27, 24, 48, .7); }
.price-card::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 80%; height: 80%; background: radial-gradient(closest-side, rgba(139, 92, 246, .3), transparent); }
.price-card > * { position: relative; }
.price-card h3 { color: #fff; font-size: 17px; font-weight: 600; color: var(--on-dark-2); letter-spacing: 0; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 6px; }
.price b { font-size: clamp(64px, 12vw, 88px); line-height: 1; letter-spacing: -.045em; color: #fff; font-weight: 700; }
.price span { font-size: 20px; color: var(--on-dark-2); }
.price-sub { color: var(--on-dark-2); font-size: 16px; margin-bottom: 26px; }
.price-list { display: grid; gap: 12px; margin-bottom: 30px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.price-list li { display: flex; gap: 12px; font-size: 16px; color: #E7E7EE; }
.price-list svg { flex: none; width: 20px; height: 20px; margin-top: 3px; stroke: var(--violet-l); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.price-card .btn-row { flex-direction: column; }
.price-card .btn { width: 100%; }
.price-card .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .32); }
.price-card .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.price-fine { margin-top: 22px; font-size: 14px; color: var(--on-dark-2); line-height: 1.5; text-align: center; }
.price-extra { margin-top: 20px; display: grid; gap: 12px; }
.price-extra div { padding: 18px 22px; border-radius: 18px; background: #fff; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.price-extra b { color: var(--text); font-weight: 650; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: clamp(18px, 2.2vw, 21px); font-weight: 600; letter-spacing: -.015em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq .ans { padding: 0 44px 26px 0; color: var(--text-2); font-size: 17px; line-height: 1.6; }
.faq .ans p + p { margin-top: 12px; }
.faq a, .legal a, .ans a { color: #5B3FD8; text-underline-offset: 3px; }

/* ---------- final cta ---------- */
.final { text-align: center; background: radial-gradient(700px 320px at 50% 0%, rgba(124, 92, 255, .22), transparent 70%), var(--ink); }
.final img { width: 96px; height: 96px; margin: 0 auto 28px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.final h2 { margin-bottom: 16px; }
.final .lede { margin: 0 auto 32px; max-width: 560px; }

/* ---------- footer ---------- */
.footer { background: var(--bg); color: var(--text-2); font-size: 13px; padding: 48px 0 40px; border-top: 1px solid var(--line); }
.foot-top { display: flex; flex-wrap: wrap; gap: 28px 64px; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.foot-brand { max-width: 300px; }
.foot-brand .wordmark { color: var(--text); font-size: 17px; }
.foot-brand .wordmark .ai { background-image: var(--grad); }
.foot-brand p { margin-top: 10px; line-height: 1.5; }
.foot-cols { display: flex; gap: clamp(32px, 7vw, 88px); flex-wrap: wrap; }
.foot-cols h4 { font-size: 12px; font-weight: 650; color: var(--text); margin-bottom: 10px; }
.foot-cols li { margin-bottom: 7px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: var(--text); text-decoration: underline; }
.foot-bot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; line-height: 1.5; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); text-align: center; background: radial-gradient(800px 360px at 50% -10%, rgba(124, 92, 255, .22), transparent 70%), linear-gradient(180deg, var(--ink-2), var(--ink) 70%); }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); margin-bottom: 18px; }
.page-hero .lede { max-width: 600px; margin: 0 auto 32px; }
.dl-meta { margin-top: 18px; font-size: 14px; color: var(--on-dark-2); }
.dl-meta .dot { margin: 0 8px; opacity: .5; }
.dl-icon { width: 120px; height: 120px; margin: 0 auto 28px; filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .55)); }

/* install steps */
.install { counter-reset: i; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.istep { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; counter-increment: i; }
.istep .step-vis { height: 190px; }
.istep .step-txt { padding: 24px 26px 28px; }
.istep h3 { font-size: 19px; margin-bottom: 6px; }
.istep h3::before { content: counter(i); display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 700; background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); vertical-align: 1px; }
.istep p { font-size: 15px; color: var(--text-2); }
@media (max-width: 900px) { .install { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .install { grid-template-columns: 1fr; } }
.v-dmg { display: grid; justify-items: center; gap: 10px; }
.v-dmg .disk { width: 88px; height: 88px; border-radius: 22px; background: linear-gradient(160deg, #D8D9E3, #A9ABBB); display: grid; place-items: center; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .4); }
.v-dmg .disk img { width: 56px; height: 56px; }
.v-dmg code { font: 600 12px var(--mono); color: #4A4A55; background: rgba(255, 255, 255, .7); padding: 4px 10px; border-radius: 8px; }
.v-drag { display: flex; align-items: center; gap: 14px; }
.v-drag img { width: 72px; height: 72px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); }
.folder { width: 80px; height: 66px; border-radius: 10px; background: linear-gradient(180deg, #7DB7F8, #3F86E8); position: relative; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 12px 24px -12px rgba(30, 80, 190, .6); margin-top: 8px; }
.folder::before { content: ""; position: absolute; left: 0; top: -8px; width: 34px; height: 12px; border-radius: 6px 6px 0 0; background: #6BA8F2; }
.v-dialog { width: 78%; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .4); display: grid; gap: 9px; justify-items: center; text-align: center; }
.v-dialog img { width: 38px; height: 38px; }
.v-dialog b { font-size: 14px; }
.v-dialog .mock-btn { font-size: 12px; padding: 7px 16px; width: 100%; text-align: center; }
.v-dialog .link { font-size: 12px; color: #5B3FD8; font-weight: 600; }
.v-setup { width: 82%; background: #fff; border-radius: 16px; padding: 14px 16px; display: grid; gap: 9px; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .4); font-size: 13px; }
.v-setup div { display: flex; align-items: center; gap: 9px; }
.v-setup svg { width: 18px; height: 18px; flex: none; stroke: #fff; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--violet), var(--blue)); }
.v-setup div.todo svg { background: #D9D9E0; }
.v-setup div.todo { color: var(--text-2); }
.v-open img { width: 84px; height: 84px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); animation: none; }
@media (prefers-reduced-motion: no-preference) { .v-open img { animation: bounce 2.4s var(--ease) infinite; } }
@keyframes bounce { 0%, 50%, 100% { transform: none; } 20% { transform: translateY(-14px); } 35% { transform: translateY(0); } 42% { transform: translateY(-5px); } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.reqs li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.reqs li:last-child { border-bottom: 0; }
.reqs li b { min-width: 118px; font-weight: 600; }
.reqs li span { color: var(--text-2); }
.email-mock { background: var(--bg); border-radius: 14px; padding: 16px 18px; font-size: 14px; margin-top: 18px; border: 1px solid var(--line); }
.email-mock small { display: block; color: var(--text-2); font-size: 12px; margin-bottom: 8px; }
.email-mock code { display: inline-block; margin-top: 6px; font: 600 14px var(--mono); letter-spacing: .04em; background: #fff; border: 1px dashed rgba(124, 77, 240, .5); padding: 6px 12px; border-radius: 8px; color: #3B2A8A; }

/* ---------- legal ---------- */
.legal-head { padding: clamp(48px, 7vw, 88px) 0 28px; border-bottom: 1px solid var(--line); background: var(--bg); }
.legal-head h1 { font-size: clamp(36px, 5.4vw, 60px); margin-bottom: 10px; }
.legal-head p { color: var(--text-2); }
.draft-note {
  margin-bottom: 24px; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600;
  background: #FFF4D6; color: #6B4A00; border: 1px solid #F2D488;
}
.legal { padding-block: 48px clamp(72px, 9vw, 120px); }
.legal h2 { font-size: 24px; letter-spacing: -.02em; margin: 44px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #3a3a40; font-size: 16.5px; line-height: 1.65; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 12px; display: grid; gap: 8px; }
.legal .tldr { background: var(--bg); border-radius: 18px; padding: 20px 24px; margin-bottom: 36px; }
.legal .tldr p { color: var(--text); }
.legal .placeholder { background: #EFEAFE; border-radius: 5px; padding: 0 5px; font-weight: 600; color: #3B2A8A; }
.oss { display: grid; gap: 14px; margin-top: 8px; }
.oss li { list-style: none; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; }
.legal .oss { padding-left: 0; }
.oss b { font-size: 18px; letter-spacing: -.01em; }
.oss .lic { float: right; font: 600 12px var(--mono); background: var(--bg); padding: 3px 9px; border-radius: 7px; color: #4a4a50; }
.oss p { margin-top: 6px; font-size: 15.5px; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- small icon helpers ---------- */
.arrow-dl { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }
.chip svg { width: 16px; height: 16px; stroke: #7C4DF0; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.founder-note svg { stroke: none; }

@media (min-width: 900px) {
  .strip { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; width: min(100% - 40px, var(--wrap)); margin-inline: auto; padding: 8px 0 0; gap: 20px; }
  .fmt { flex: none; }
}
@media (max-width: 860px) { .src-tiles { grid-template-columns: repeat(6, 1fr); gap: 6px; } .src-tiles i { border-radius: 8px; } }

/* Thank-you after buying on the site: download, then open the app (it activates itself). */
.thanks { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(10, 10, 18, .55); backdrop-filter: blur(8px); }
.thanks[hidden] { display: none; }
/* (Anything hidden stays hidden, whatever its own display says.) */
[hidden] { display: none !important; }
.thanks-card { width: min(480px, 100%); background: var(--surface); color: var(--text); border-radius: 20px; padding: 32px 28px 22px; text-align: center; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.thanks-card h2 { margin: 14px 0 18px; font-size: 22px; letter-spacing: -.02em; }
.thanks-card ol { text-align: left; margin: 0; padding-left: 20px; display: grid; gap: 16px; }
.thanks-card li .btn { display: flex; justify-content: center; margin-top: 8px; }
.thanks-note { margin: 18px 0 8px; font-size: 13px; color: var(--text-2); }
.thanks .link { background: none; border: 0; color: var(--text-2); font: inherit; cursor: pointer; padding: 6px; }
.thanks-card img { margin: 0 auto; }
.thanks-card ol { list-style: decimal; }
.thanks-card li::marker { font-weight: 700; color: var(--text-2); }
/* Sending the link to a Mac (a phone or a PC pressed Download). */
.send-btns { display: grid; gap: 10px; margin: 18px 0 6px; }
.send-btns .btn { justify-content: center; }
.send-done { margin: 8px 0 0; font-size: 13px; color: var(--text-2); word-break: break-all; }

/* The download starting by itself (download.html?start=1), and the EU ad-measurement question (track.js). */
.dl-starting { margin: 14px auto 0; max-width: 520px; font-size: 14px; color: var(--on-dark-2); }
.consent {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; width: min(640px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 16px;
  background: rgba(20, 20, 26, 0.94); color: #fff; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.6); backdrop-filter: blur(16px);
  font-size: 14px; line-height: 1.45;
}
.consent p { margin: 0; flex: 1; }
.consent a { color: inherit; text-decoration: underline; }
.consent-btns { display: flex; gap: 8px; flex: none; }
@media (max-width: 560px) { .consent { flex-direction: column; align-items: stretch; } .consent-btns { justify-content: flex-end; } }

/* ---- Examples: the app's styles, each drawn the way it really looks (site/index.html #examples) ---- */
@font-face { font-family: "TikTok Sans"; font-weight: 600; src: url("assets/fonts/tiktok-sans-600.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "TikTok Sans"; font-weight: 800; src: url("assets/fonts/tiktok-sans-800.woff2") format("woff2"); font-display: swap; }
.showcase { padding-top: clamp(56px, 7vw, 96px); }
.reel-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.reel-card { margin: 0; min-width: 0; }
.rc-frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #111; isolation: isolate;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 20px 44px -20px rgba(11, 11, 18, .6); container-type: inline-size;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.rc-frame > img, .rc-frame .an-top img, .rc-frame .iv-half img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-frame > img { position: absolute; inset: 0; object-position: 50% 30%; }
.reel-card figcaption { margin-top: 12px; font-size: 14px; color: var(--text-2); text-align: center; }
.reel-card figcaption b { color: var(--text); font-weight: 650; }
.showcase .cap-label { color: var(--text-2); margin-top: 28px; }
@media (hover: hover) { .reel-card:hover .rc-frame { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 28px 54px -20px rgba(11, 11, 18, .65); } }

/* Minimal: TikTok's own text boxes and outlined white captions, in TikTok Sans */
.st-minimal { font-family: "TikTok Sans", var(--font); }
.mn-title { position: absolute; top: 11cqw; left: 6cqw; right: 6cqw; display: flex; flex-direction: column; align-items: center; gap: .6cqw; }
.mn-title span { background: #fff; color: #111; font-weight: 800; font-size: 7.6cqw; line-height: 1.12; padding: .9cqw 2.6cqw 1.2cqw; border-radius: 2cqw; letter-spacing: -.01em; }
.mn-caps {
  position: absolute; left: 6cqw; right: 6cqw; bottom: 22cqw; text-align: center; color: #fff; font-weight: 600; font-size: 8.4cqw; line-height: 1.12;
  -webkit-text-stroke: 1.1cqw #000; paint-order: stroke fill; text-shadow: 0 .4cqw 1cqw rgba(0, 0, 0, .35);
}

/* Animated: the speaker on top, a motion-graphics panel below, the caption on the line between */
.st-animated { background: #0d0c1a; }
.an-top { position: absolute; inset: 0 0 44% 0; overflow: hidden; }
.an-top img { object-position: 50% 26%; }
.an-panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: 44%; padding: 9cqw 6cqw 6cqw; display: grid; gap: 2.6cqw; align-content: start;
  background: radial-gradient(120% 90% at 20% 0%, rgba(139, 92, 246, .35), transparent 60%), #0d0c1a;
}
.an-row { display: grid; grid-template-columns: 7.4cqw 1fr; align-items: center; column-gap: 3cqw; padding: 2.2cqw 3cqw; border-radius: 3cqw; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .55); font-weight: 700; font-size: 5.4cqw; position: relative; overflow: hidden; }
.an-row i { width: 7.4cqw; height: 7.4cqw; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 4.4cqw; background: rgba(255, 255, 255, .1); color: #fff; }
.an-row em { position: absolute; left: 0; bottom: 0; height: .9cqw; width: 0; background: var(--grad); }
.an-row.on { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: 0 0 0 .4cqw rgba(139, 92, 246, .7) inset; }
.an-row.on i { background: var(--grad); }
.an-row.on em { width: 62%; }
.an-caps { position: absolute; left: 6cqw; right: 6cqw; top: 56%; transform: translateY(-50%); z-index: 2; text-align: center; color: #fff; font-weight: 800; font-size: 7cqw; text-shadow: 0 .4cqw 1.6cqw rgba(0, 0, 0, .6); }
.an-caps b { background: var(--grad); padding: 0 1.6cqw; border-radius: 1.6cqw; }

/* Magazine: a giant serif word behind her (the app's person cut-out), warm grade, a cover line, serif captions in a box */
.st-magazine .mg-bg, .st-magazine .mg-cut { filter: sepia(.22) saturate(1.12) contrast(1.05) brightness(.96); }
.mg-word {
  position: absolute; left: 0; right: 0; top: 19cqw; text-align: center; z-index: 1; white-space: nowrap; text-shadow: 0 .6cqw 3cqw rgba(60, 40, 20, .35);
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 26cqw; line-height: .9; letter-spacing: -.035em; color: #F4E9D8;
}
.mg-cut { position: absolute; inset: 0; z-index: 2; object-position: 50% 30%; -webkit-mask-image: url("assets/reels/founder-mask.png"); mask-image: url("assets/reels/founder-mask.png"); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.mg-frame { position: absolute; inset: 3.2cqw; z-index: 3; border: .5cqw solid rgba(244, 233, 216, .85); border-radius: 1.2cqw; pointer-events: none; }
.mg-issue { position: absolute; top: 7cqw; left: 0; right: 0; z-index: 3; text-align: center; color: #F4E9D8; font-family: ui-serif, "New York", Georgia, serif; font-size: 3.4cqw; letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 0 1.4cqw rgba(40, 25, 10, .7); }
.mg-issue span { opacity: .75; margin-left: 1.4cqw; }
.mg-caps { position: absolute; left: 9cqw; right: 9cqw; bottom: 17cqw; z-index: 3; text-align: center; color: #F4E9D8; font-family: ui-serif, "New York", Georgia, serif; font-style: italic; font-size: 6.6cqw; line-height: 1.18; background: rgba(20, 14, 10, .78); padding: 2cqw 3cqw 2.4cqw; border-radius: .8cqw; }

/* Voice-over + b-roll: no face, small white captions, the voice as a waveform */
.br-chip { position: absolute; top: 6cqw; left: 6cqw; display: inline-flex; align-items: center; gap: 1.6cqw; padding: 1.6cqw 3cqw 1.6cqw 2.4cqw; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 4.4cqw; font-weight: 650; backdrop-filter: blur(6px); }
.br-chip svg { width: 4.6cqw; height: 4.6cqw; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.st-broll::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.br-caps { position: absolute; z-index: 1; left: 10cqw; right: 10cqw; bottom: 24cqw; text-align: center; color: #fff; font-weight: 650; font-size: 5.6cqw; line-height: 1.25; text-shadow: 0 0 .6cqw rgba(0, 0, 0, .8), 0 .4cqw 1.6cqw rgba(0, 0, 0, .6); }
.br-wave { position: absolute; z-index: 1; left: 14cqw; right: 14cqw; bottom: 10cqw; height: 8cqw; display: flex; align-items: center; gap: 1.4cqw; }
.br-wave i { flex: 1; height: 30%; border-radius: 1cqw; background: rgba(255, 255, 255, .85); }
.br-wave i:nth-child(3n) { height: 70%; } .br-wave i:nth-child(4n) { height: 95%; } .br-wave i:nth-child(5n) { height: 50%; }

/* Interview: host above, guest below, names and jobs on screen, the speaker's caption on the line */
.st-interview { display: grid; grid-template-rows: 1fr 1fr; gap: .6cqw; background: #000; }
.iv-half { position: relative; overflow: hidden; }
.iv-half img { object-position: 50% 28%; }
.iv-half.talking::after { content: ""; position: absolute; inset: 0; box-shadow: 0 0 0 .9cqw #FDE047 inset; border-radius: 0; }
.iv-tag { position: absolute; left: 4cqw; bottom: 4.4cqw; display: grid; padding: 1.4cqw 3cqw 1.6cqw; border-radius: 1.6cqw; background: rgba(255, 255, 255, .94); color: #111; border-left: 1.2cqw solid var(--violet); }
.iv-tag b { font-size: 4.8cqw; line-height: 1.1; }
.iv-tag span { font-size: 3.6cqw; color: #555; }
.iv-caps { position: absolute; left: 6cqw; right: 6cqw; top: 50%; transform: translateY(-50%); text-align: center; color: #fff; font-weight: 800; font-size: 7cqw; text-shadow: 0 0 .8cqw rgba(0, 0, 0, .9), 0 .4cqw 1.6cqw rgba(0, 0, 0, .7); }

/* Tutorial: the app's screen full frame, step 1 highlighted, the face in a ringed bubble */
.st-tutorial { background: linear-gradient(180deg, #E9E7F5, #D9D6EE); }
.tu-app { position: absolute; left: 5cqw; right: 5cqw; top: 22cqw; bottom: 34cqw; border-radius: 3cqw; background: #fff; box-shadow: 0 3cqw 8cqw -3cqw rgba(30, 20, 80, .35); overflow: hidden; transform: rotate(-1deg); }
.tu-bar { height: 7cqw; display: flex; align-items: center; gap: 1.4cqw; padding-left: 3cqw; background: #F3F2F8; border-bottom: .3cqw solid #E4E2EE; }
.tu-bar i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #D6D3E4; }
.tu-body { display: grid; grid-template-columns: 26% 1fr; height: calc(100% - 7cqw); }
.tu-side { background: #F7F6FB; padding: 4cqw 3cqw; display: grid; gap: 3cqw; align-content: start; border-right: .3cqw solid #EEECF5; }
.tu-side b { height: 2.4cqw; border-radius: 2cqw; background: #E2DFEE; }
.tu-side b:first-child { background: #CFC6FB; }
.tu-main { padding: 5cqw 5cqw; display: grid; gap: 3cqw; align-content: start; position: relative; height: 100%; }
.tu-line { height: 3cqw; border-radius: 2cqw; background: #E6E4EF; }
.tu-line.w70 { width: 70%; } .tu-line.w45 { width: 45%; }
.tu-card { height: 24cqw; border-radius: 2.4cqw; background: linear-gradient(135deg, #C4B5FD, #93C5FD); }
.tu-rows { display: grid; gap: 2.4cqw; margin-top: 3cqw; }
.tu-rows i { display: grid; grid-template-columns: 6cqw 1fr; gap: 2.4cqw; align-items: center; }
.tu-rows i::before { content: ""; width: 6cqw; height: 6cqw; border-radius: 1.6cqw; background: #EDEAF7; }
.tu-rows i::after { content: ""; height: 2.6cqw; border-radius: 2cqw; background: #ECEAF3; width: 80%; }
.tu-rows i:nth-child(2)::after { width: 60%; } .tu-rows i:nth-child(3)::after { width: 70%; }
.tu-btn { justify-self: end; margin-top: 2cqw; padding: 2.2cqw 4.4cqw; border-radius: 2cqw; background: #6D5DF6; color: #fff; font-weight: 700; font-size: 4.6cqw; box-shadow: 0 0 0 1.4cqw rgba(253, 224, 71, .9); }
.tu-step { position: absolute; left: 7cqw; top: 9cqw; width: 11cqw; height: 11cqw; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 6.4cqw; box-shadow: 0 2cqw 4cqw -1cqw rgba(109, 93, 246, .6); }
.tu-face { position: absolute; right: 6cqw; top: 6cqw; width: 27cqw; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1.2cqw #fff, 0 0 0 2cqw #6D5DF6, 0 2cqw 5cqw -1cqw rgba(0, 0, 0, .35); }
.tu-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.tu-caps { position: absolute; left: 6cqw; right: 6cqw; bottom: 14cqw; text-align: center; color: #1B1830; font-weight: 800; font-size: 7.4cqw; }
.tu-caps b { color: #6D5DF6; }

/* Story: words appear one by one, the newest in yellow, a soft cinematic grade */
.st-story > img { filter: contrast(1.06) saturate(.92); }
.st-story::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.sy-caps { position: absolute; left: 6cqw; right: 6cqw; bottom: 22cqw; z-index: 1; text-align: center; color: #fff; font-weight: 800; font-size: 9cqw; line-height: 1.1; text-shadow: 0 0 .8cqw rgba(0, 0, 0, .9), 0 .4cqw 1.8cqw rgba(0, 0, 0, .6); }
.sy-caps span:last-child { color: #FDE047; }

/* Just cut: nothing drawn on the picture, a timeline of what was taken out */
.jc-chip { position: absolute; top: 6cqw; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 1.6cqw 3.4cqw; border-radius: 99px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 4.4cqw; font-weight: 650; backdrop-filter: blur(6px); }
.jc-track { position: absolute; left: 6cqw; right: 6cqw; bottom: 8cqw; height: 9cqw; display: flex; gap: .8cqw; align-items: stretch; padding: 1.4cqw; border-radius: 2.4cqw; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
.jc-track i { flex: 3; border-radius: 1cqw; background: linear-gradient(180deg, #A78BFA, #6D5DF6); }
.jc-track s { flex: 1; border-radius: 1cqw; background: repeating-linear-gradient(135deg, rgba(248, 113, 113, .85) 0 1.2cqw, rgba(248, 113, 113, .35) 1.2cqw 2.4cqw); }

@media (prefers-reduced-motion: no-preference) {
  .an-row.on em { animation: anfill 3s var(--ease) infinite; }
  .sy-caps span { animation: syword 4s infinite; opacity: 0; }
  .sy-caps span:nth-child(2) { animation-delay: .35s; } .sy-caps span:nth-child(3) { animation-delay: .7s; } .sy-caps span:nth-child(4) { animation-delay: 1.05s; } .sy-caps span:nth-child(5) { animation-delay: 1.4s; }
  .br-wave i { animation: brwave 1.1s ease-in-out infinite; transform-origin: center; }
  .br-wave i:nth-child(2n) { animation-delay: .15s; } .br-wave i:nth-child(3n) { animation-delay: .3s; } .br-wave i:nth-child(5n) { animation-delay: .45s; }
  .jc-track s { animation: jcgone 4s var(--ease) infinite; }
  .tu-btn { animation: tupulse 2s ease-in-out infinite; }
}
@keyframes anfill { 0% { width: 0; } 70%, 100% { width: 100%; } }
@keyframes syword { 0%, 6% { opacity: 0; transform: translateY(1cqw); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes brwave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes jcgone { 0%, 35% { flex-grow: 1; opacity: 1; } 60%, 100% { flex-grow: 0; opacity: 0; margin: 0 -.4cqw; } }
@keyframes tupulse { 0%, 100% { box-shadow: 0 0 0 1.4cqw rgba(253, 224, 71, .9); } 50% { box-shadow: 0 0 0 2.6cqw rgba(253, 224, 71, .35); } }

@media (max-width: 980px) {
  /* (A row to swipe through on a phone, each reel a comfortable size.) */
  .reel-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 4px 20px 8px; scrollbar-width: none; }
  .reel-row::-webkit-scrollbar { display: none; }
  .reel-card { flex: 0 0 min(52vw, 240px); scroll-snap-align: start; }
}
