@font-face { font-family: 'Instrument Serif'; font-display: swap; src: url('../fonts/instrument-serif.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-display: swap; src: url('../fonts/instrument-serif-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('../fonts/inter.woff2') format('woff2'); }
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --canvas: #fbfbfd;
  --ink: #1d1d1f;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #8a2be2;
  --accent-hover: #7516d1;
  --on-accent: #ffffff;
  --grad: linear-gradient(90deg, #9328fa 0%, #ff2d92 55%, #ff9500 100%);
  --nav: rgba(255, 255, 255, 0.78);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 50px rgba(0, 0, 0, 0.08);
  --bezel: #1d1d1f;
  --radius: 28px;
  --wrap: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-alt: #0f0f11;
    --surface: #1c1c1e;
    --canvas: #161618;
    --ink: #ececf0;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383a;
    --accent: #b57bff;
    --accent-hover: #c99bff;
    --on-accent: #120326;
    --nav: rgba(0, 0, 0, 0.72);
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 50px rgba(0, 0, 0, 0.6);
    --bezel: #2c2c2e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #0f0f11;
  --surface: #1c1c1e;
  --canvas: #161618;
  --ink: #ececf0;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --line: #38383a;
  --accent: #b57bff;
  --accent-hover: #c99bff;
  --on-accent: #120326;
  --nav: rgba(0, 0, 0, 0.72);
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 50px rgba(0, 0, 0, 0.6);
  --bezel: #2c2c2e;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0 0 0.4em; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif; }
h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.center { text-align: center; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap-wide { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  z-index: 10;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}
.pill:hover { background: var(--accent-hover); }
.pill-small { min-height: 34px; padding: 0 16px; font-size: 14px; }
.pill-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.pill-ghost:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.more { color: var(--accent); font-weight: 500; text-decoration: none; font-size: 1.05rem; }
.more:hover { text-decoration: underline; }
.text-btn {
  border: 0;
  padding: 8px 4px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.text-btn:hover { color: var(--text); }
.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.icon-btn:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .i-sun, .icon-btn[aria-pressed="true"] .i-moon { display: none; }
.icon-btn[aria-pressed="true"] .i-sun { display: block; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.header-row { display: flex; align-items: center; gap: 14px; min-height: 52px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px; margin-right: auto; }
.brand img { border-radius: 7px; }
.site-header nav ul, .site-footer nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--text); opacity: 0.8; text-decoration: none; font-size: 14px; }
.site-header nav a:hover { opacity: 1; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 7vw, 88px); overflow-x: clip; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
h1 { font-size: clamp(3rem, 1.4rem + 7vw, 6.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.045em; margin-bottom: 18px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); color: var(--muted); max-width: 30em; margin: 0 auto; line-height: 1.4; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin: 30px 0 0; }

.stage { position: relative; margin: clamp(40px, 6vw, 64px) 0 0; }
#hero-canvas {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  background: var(--canvas);
  box-shadow: var(--shadow);
  touch-action: none;
  cursor: crosshair;
}
.hint {
  position: absolute;
  top: 18px;
  right: 22px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  transition: opacity 0.3s;
}
.hint.gone { opacity: 0; }
.stage-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  min-height: 36px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}
.chips button:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.chips button[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
.stage-actions { display: flex; gap: 14px; }
.stores { color: var(--muted); font-size: 14px; margin: 26px auto 0; width: min(var(--wrap), 100% - 40px); }

/* Sections */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.alt { background: var(--bg-alt); }
[id] { scroll-margin-top: 64px; }
.head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.sub { color: var(--muted); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.45; margin: 0 auto; max-width: 34em; }
.sub.wide { max-width: 42em; }

/* Brush tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.tiles li { padding: 14px 14px 22px; border-radius: var(--radius); background: var(--bg-alt); }
.tiles canvas { display: block; width: 100%; border-radius: 18px; background: var(--canvas); margin-bottom: 16px; }
.tiles h3, .tiles p { padding-inline: 10px; }
.tiles h3 { margin-bottom: 2px; }
.tiles p { color: var(--muted); margin: 0; font-size: 15px; }

/* Devices: a realistic iPad Pro, Apple Pencil and iPhone, with the real app UI inside. */
.devices { position: relative; width: min(1000px, 100%); margin: 0 auto; padding-bottom: 3%; }
.ipad-pro {
  position: relative;
  width: 86%;
  margin: 0;
  padding: 1.9%;
  border-radius: 4.6% / 6.4%;
  background: #0a0a0b;
  /* Aluminium edge, a hairline highlight, then a soft table shadow. */
  box-shadow:
    0 0 0 1px #1c1c1e,
    0 0 0 4px var(--alu),
    0 0 0 5px var(--alu-edge),
    0 40px 60px -30px rgba(0, 0, 0, 0.45),
    0 18px 30px -18px rgba(0, 0, 0, 0.35);
}
.ipad-cam { position: absolute; top: 0.75%; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3a4a6a, #0a0a0b 60%); }
.ipad-screen, .iphone-screen { position: relative; overflow: hidden; background: #17151c; }
.ipad-screen { border-radius: 2.6% / 3.6%; aspect-ratio: 4 / 3; }
:root { --alu: #d6d7db; --alu-edge: #a8a9ad; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --alu: #4a4a4f; --alu-edge: #2c2c2f; } }
:root[data-theme="dark"] { --alu: #4a4a4f; --alu-edge: #2c2c2f; }

/* The mini app UI, matching the real app's dark chrome. */
.ui { position: absolute; inset: 0; display: flex; flex-direction: column; color: #f4f1ea; font-size: clamp(6px, 1.05vw, 11px); font-weight: 600; }
.ui-top { display: flex; align-items: center; justify-content: space-between; height: 7.5%; padding: 0 2%; }
.ui-brand { display: flex; align-items: center; gap: 0.6em; }
.ui-brand img { width: 1.7em; height: 1.7em; border-radius: 0.4em; }
.ui-btns { display: flex; align-items: center; gap: 0.6em; }
.ui-btns i { width: 2.6em; height: 2.6em; border-radius: 0.7em; background: #23202a; }
.ui-btns b { padding: 0.6em 1.2em; border-radius: 0.7em; background: #ffd23f; color: #1f1a08; font-weight: 800; }
.ui-main { flex: 1; display: flex; gap: 1%; padding: 0 1.5% 1%; min-height: 0; }
.ui-tools { display: flex; flex-direction: column; gap: 4%; width: 7%; padding-top: 1%; }
.ui-tools canvas { display: block; width: 100%; border-radius: 0.5em; background: #fbf8f1; box-shadow: 0 0 0 1px #2e2a36; }
.ui-tools canvas.on { box-shadow: 0 0 0 2px #ffd23f; }
#pad-canvas { flex: 1; min-width: 0; height: 100%; border-radius: 0.9em; }
.ui-bottom { display: flex; align-items: center; gap: 0.8em; height: 7%; padding: 0 2%; }
.ui-bottom span { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); }
.ui-bottom span:first-child { box-shadow: 0 0 0 2px #17151c, 0 0 0 3.5px #ffd23f; }
.ui-bottom em { flex: 0 0 12%; height: 0.35em; margin-left: 4%; border-radius: 1em; background: linear-gradient(90deg, #ffd23f 30%, #3a3545 30%); }

.pencil { position: absolute; width: 52%; left: 30%; bottom: -1%; rotate: -14deg; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.28)); z-index: 2; }

.iphone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 23%;
  margin: 0;
  padding: 1.1%;
  border-radius: 15% / 7.2%;
  background: #0a0a0b;
  box-shadow:
    0 0 0 1px #1c1c1e,
    0 0 0 3.5px var(--alu),
    0 0 0 4.5px var(--alu-edge),
    0 30px 40px -20px rgba(0, 0, 0, 0.5);
  z-index: 3;
}
/* Side buttons. */
.iphone::before, .iphone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: var(--alu-edge); }
.iphone::before { left: -6px; top: 22%; height: 9%; box-shadow: 0 -32px 0 -1px var(--alu-edge); }
.iphone::after { right: -6px; top: 28%; height: 14%; }
.iphone-screen { border-radius: 13% / 6.2%; aspect-ratio: 9 / 19.5; }
.ui-phone { background: #fbf8f1; color: #1d1d1f; }
.status { display: flex; justify-content: space-between; align-items: center; height: 6.5%; padding: 0 9%; font-size: clamp(6px, 0.9vw, 10px); font-weight: 700; }
.status-icons { display: flex; gap: 0.35em; align-items: center; }
.status-icons i { display: block; background: #1d1d1f; }
.status-icons .sig { width: 1.3em; height: 0.8em; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.status-icons .wifi { width: 1.1em; height: 0.8em; border-radius: 1em 1em 0 0; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.status-icons .bat { width: 1.7em; height: 0.85em; border-radius: 0.25em; }
.island { position: absolute; top: 1.6%; left: 50%; width: 32%; height: 3.8%; translate: -50% 0; border-radius: 1em; background: #000; }
#phone-canvas { display: block; flex: 1; width: 100%; min-height: 0; }
.ui-row { flex-direction: row; width: auto; gap: 3%; padding: 3% 5% 7%; justify-content: center; background: #17151c; }
.ui-row canvas { width: 17%; }

.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: clamp(48px, 6vw, 72px) auto 0; max-width: 960px; }
.specs strong { display: block; font-size: 1.05rem; font-weight: 650; margin-bottom: 4px; }
.specs span { color: var(--muted); font-size: 15px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.cell { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: var(--bg-alt); }
.cell p { color: var(--muted); margin: 0; }
.art { width: 100%; max-width: 260px; height: 120px; margin-bottom: 22px; overflow: visible; }
.art * { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; }
.art .onion-a { stroke: #ff3b30; opacity: 0.45; }
.art .onion-b { stroke: #34c759; opacity: 0.45; }
.art .fill-card { fill: color-mix(in srgb, #ff2d92 30%, var(--bg-alt)); }
.art .fill-card2 { fill: color-mix(in srgb, #9328fa 30%, var(--bg-alt)); }
.formats { display: flex; flex-wrap: wrap; gap: 10px; height: 120px; align-content: center; margin-bottom: 22px; }
.formats span { padding: 10px 18px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; font-size: 1.1rem; }
.formats span:nth-child(1) { color: #c8166b; }
.formats span:nth-child(2) { color: #1a63d6; }
.formats span:nth-child(3) { color: #1d7a37; }
.formats span:nth-child(4) { color: #a35400; }
.privacy-mark { display: grid; place-items: center; width: 120px; height: 120px; margin-bottom: 22px; }
.privacy-mark svg { width: 84px; height: 84px; fill: none; stroke: #34c759; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto 28px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 34px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.4rem; }
.price { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; }
.price span { font-size: 1.1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-sub { color: var(--muted); margin-bottom: 24px; }
.plan .pill { margin-top: auto; }
.plan-pro { box-shadow: var(--shadow), inset 0 0 0 2px var(--accent); }
.plan-note { margin: auto 0 0; font-size: 14px; color: var(--muted); }
.badge { position: absolute; top: 30px; right: 30px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 650; }

.compare-wrap { max-width: 820px; margin: 0 auto; overflow-x: auto; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 22px; text-align: left; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.compare tbody th { font-weight: 500; }
.compare td { color: var(--muted); width: 26%; }
.compare .pro-col { color: var(--text); font-weight: 600; background: color-mix(in srgb, var(--accent) 7%, transparent); }
.compare thead .pro-col { color: var(--accent); }
.yes { color: #34c759; font-weight: 700; font-size: 1.1rem; }
.no { color: var(--muted); }

/* Line boil poses */
.poses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0 auto; max-width: 900px; }
.poses li { text-align: center; color: var(--muted); font-size: 15px; }
.poses canvas { display: block; width: 100%; border-radius: 22px; background: var(--bg-alt); margin-bottom: 10px; }
.pose-live canvas { box-shadow: inset 0 0 0 2px var(--accent); }
.pose-live span { color: var(--accent); font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.12rem;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  rotate: 45deg;
  translate: 0 -3px;
}
.faq details[open] > summary::after { rotate: -135deg; translate: 0 3px; }
@media (prefers-reduced-motion: no-preference) {
  .faq summary::after { transition: rotate 0.25s, translate 0.25s; }
}
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 40em; }

/* Final */
.final img { margin: 0 auto 26px; border-radius: 22px; box-shadow: var(--shadow); }
.final .sub { margin-bottom: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 13px; background: var(--bg-alt); }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-row p { margin: 0; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header nav { display: none; }
}
@media (max-width: 640px) {
  .bento, .plans { grid-template-columns: 1fr; }
  .tiles { gap: 10px; }
  .tiles li { padding: 8px 8px 14px; border-radius: 20px; }
  .tiles canvas { border-radius: 14px; margin-bottom: 10px; }
  .tiles h3 { font-size: 1rem; }
  .tiles h3, .tiles p { padding-inline: 4px; }
  .tiles p { font-size: 13px; }
  .poses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare th, .compare td { padding: 13px 14px; }
  .stage-bar { justify-content: center; }
  .chips { justify-content: center; }
  .hint { display: none; }
}

/* Pro labels and the extra brushes line */
.pro { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0; vertical-align: 2px; }
.more-brushes { text-align: center; color: var(--muted); margin: 28px auto 0; max-width: 40em; }

/* Sound and camera */
.dark-band { background: #000; color: #f5f5f7; --muted: #a1a1a6; }
.dark-band .eyebrow { color: #c99bff; }
.movie { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.movie figure { margin: 0; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--radius); background: #161618; }
.movie figcaption { margin-top: 20px; }
.movie figcaption p { color: #a1a1a6; margin: 0; }
.viewfinder { position: relative; border-radius: 16px; overflow: hidden; }
#cam-canvas { display: block; width: 100%; }
.rec { position: absolute; top: 12px; left: 14px; display: flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff453a; }
.corner { position: absolute; width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, 0.85); }
.corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; display: none; }
.corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.wave-card { display: grid; gap: 22px; padding: 22px; border-radius: 16px; background: #1f1f22; }
.wave-head { display: flex; align-items: center; gap: 12px; }
.wave-head strong { display: block; }
.wave-head small { color: #a1a1a6; }
.play { width: 40px; height: 40px; border-radius: 50%; background: #b57bff; clip-path: circle(50%); position: relative; }
.play::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 13px solid #120326; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.bars { display: flex; align-items: center; gap: 3px; height: 90px; }
.bars i { flex: 1; height: calc(var(--h) * 1%); border-radius: 3px; background: linear-gradient(#ff2d92, #9328fa); transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .bars.live i { animation: bar 1.2s ease-in-out infinite alternate; }
  .bars.live i:nth-child(3n) { animation-delay: -0.4s; }
  .bars.live i:nth-child(3n + 1) { animation-delay: -0.8s; }
}
@keyframes bar { from { scale: 1 0.55; } to { scale: 1 1; } }
.paused .bars.live i { animation-play-state: paused; }

@media (max-width: 900px) {
  .movie { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ipad-pro { width: 100%; }
  .iphone { position: relative; width: 46%; margin: 36px auto 0; right: auto; }
  .pencil { width: 70%; left: 15%; bottom: auto; top: 40%; rotate: -8deg; z-index: 4; }
  .devices { padding-bottom: 0; }
}

/* ---------- Premium, editorial pass ---------- */
:root {
  --bg: #f5f3ee;
  --bg-alt: #ecE9e2;
  --surface: #fbfaf7;
  --text: #17151b;
  --muted: #625e69; /* 5.0:1 on --bg-alt (was 4.48) */
  --line: #d9d5cc;
  --accent: #17151b;
  --accent-hover: #000000;
  --on-accent: #ffffff;
  --brand: #7a2fd1;
  --pro-bg: #e8dcba;
  --pro-ink: #3a2e0c;
  --nav: rgba(245, 243, 238, 0.82);
  --shadow: 0 1px 2px rgba(30, 24, 40, 0.05), 0 20px 50px rgba(30, 24, 40, 0.09);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --muted: #a8a4ae; --accent: #f3f3f4; --accent-hover: #ffffff; --on-accent: #121214; --brand: #b98bff; --pro-bg: #3a3322; --pro-ink: #e8d7a6; --bg: #0c0c0d; --bg-alt: #141416; --surface: #1b1b1e; }
}
:root[data-theme="dark"] { --muted: #a8a4ae; --accent: #f3f3f4; --accent-hover: #ffffff; --on-accent: #121214; --brand: #b98bff; --pro-bg: #3a3322; --pro-ink: #e8d7a6; --bg: #0c0c0d; --bg-alt: #141416; --surface: #1b1b1e; }

body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-feature-settings: "cv11", "ss01"; }
h1, h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.02em; }
h1 { font-size: clamp(3.4rem, 1.6rem + 8vw, 8rem); line-height: 0.95; }
h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); line-height: 1; }
h1 em, h2 em { font-style: italic; color: var(--brand); }
h3 { font-family: Inter, sans-serif; font-weight: 600; letter-spacing: -0.015em; }
.eyebrow { color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.lede, .sub { font-weight: 400; }
a, .more { color: var(--text); }
.more { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pill { font-weight: 600; letter-spacing: -0.01em; }
.pill-ghost { color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.pill-ghost:hover { background: var(--surface); }
.badge, .pro { background: var(--pro-bg); color: var(--pro-ink); }
.compare .pro-col { background: color-mix(in srgb, var(--text) 4%, transparent); }
.compare thead .pro-col { color: var(--text); }
.plan-pro { box-shadow: var(--shadow), inset 0 0 0 1.5px var(--text); }
.pose-live canvas { box-shadow: inset 0 0 0 1.5px var(--brand); }
.pose-live span { color: var(--brand); }
.bars i { background: var(--brand); opacity: 0.85; }
.dark-band .eyebrow { color: #a1a1a6; }
.dark-band h2 em { color: #c4a0ff; }
.chips button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.tiles li, .cell { background: var(--surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent); }
.tiles canvas { background: #fbf8f1; }
/* The device mockups mirror the app's new neutral look. */
.ui-btns b { background: #f3f3f4; color: #121214; }
.ui-tools canvas.on { box-shadow: 0 0 0 2px #f3f3f4; }
.ui-bottom span:first-child { box-shadow: 0 0 0 2px #121214, 0 0 0 3.5px #f3f3f4; }
.ui-bottom em { background: linear-gradient(90deg, #f3f3f4 30%, #3a3a40 30%); }
.ipad-screen, .iphone-screen, .ui-row { background: #121214; }

/* Store badges */
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 0; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 18px 0 14px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px #a6a6a6;
  transition: transform 0.15s, box-shadow 0.15s;
}
.store-badge:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #fff; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; text-align: left; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; }
.store-badge { min-height: 54px; }
.store-badge-img { display: inline-flex; border-radius: 10px; transition: transform 0.15s; }
.store-badge-img:hover { transform: translateY(-1px); }
.store-badge-img img { display: block; height: 54px; width: auto; }
.store-badge-img.apple img { height: 54px; } /* same visible height as the Google Play badge */
.site-footer .legal { flex-basis: 100%; font-size: 12px; color: var(--muted); margin: 0; }

/* Screenshot tour: real app screens in a swipeable rail (no auto-rotation). */
.tour { overflow: hidden; }
.tour-rail { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.tour-track {
  list-style: none; margin: 0; padding: 8px max(20px, calc((100% - var(--wrap)) / 2)) 28px;
  display: flex; gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100% - var(--wrap)) / 2));
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.tour-track::-webkit-scrollbar { display: none; }
.tour-track:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 12px; }
.tour-track li { flex: 0 0 clamp(200px, 26vw, 270px); scroll-snap-align: start; }
.tour-track img {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 26px; background: var(--bg-alt);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 2px 6px rgba(0, 0, 0, 0.06), 0 22px 44px rgba(29, 29, 31, 0.14);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}
.tour-track li:hover img { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 30px 56px rgba(29, 29, 31, 0.18); }
.tour-nav { display: flex; justify-content: center; gap: 12px; }
.tour-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: transform 0.15s ease-out, background 0.15s;
}
.tour-btn svg { width: 22px; height: 22px; }
.tour-btn:hover { background: var(--bg-alt); }
.tour-btn:active { transform: scale(0.94); }
.tour-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tour-btn[disabled] { opacity: 0.35; cursor: default; }
.buy-note { margin-top: 28px; font-size: 1rem; }
#pricing .store-row { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  .tour-track { scroll-behavior: auto; }
  .tour-track img, .tour-btn { transition: none; }
  .tour-track li:hover img { transform: none; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .formats span:nth-child(1) { color: #ff6bb0; }
  :root:not([data-theme="light"]) .formats span:nth-child(2) { color: #7fb0ff; }
  :root:not([data-theme="light"]) .formats span:nth-child(3) { color: #5fd47e; }
  :root:not([data-theme="light"]) .formats span:nth-child(4) { color: #ffb04d; }
}
:root[data-theme="dark"] .formats span:nth-child(1) { color: #ff6bb0; }
:root[data-theme="dark"] .formats span:nth-child(2) { color: #7fb0ff; }
:root[data-theme="dark"] .formats span:nth-child(3) { color: #5fd47e; }
:root[data-theme="dark"] .formats span:nth-child(4) { color: #ffb04d; }
