@font-face { font-family: "Fredoka"; src: url(fonts/fredoka-latin-standard-normal.woff2) format("woff2"); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; src: url(fonts/fredoka-latin-ext-standard-normal.woff2) format("woff2"); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
/* Latin-extended faces repeat each weight exactly, so they join the latin faces instead of
   shadowing them (a "600 700" range face would win the match and drop digits and spaces). */
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin-ext-400-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin-ext-600-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }

:root {
  --paper: #FBF9FF; --ink: #2A1463; --ink-2: #5A4D86; --line: #E5DDF7; --lilac-soft: #F1ECFF;
  --sun: #FFD23F; --pink: #FF5DA2; --blue: #2D5BFF; --orange: #FF7A1A; --lilac: #C9B6FF;
  --display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 600; font-stretch: 112.5%; letter-spacing: -0.01em; margin-bottom: 14px; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 600; }
.lede { color: var(--ink-2); font-size: 19px; max-width: 64ch; margin: 0 0 32px; }
.muted { color: var(--ink-2); margin: 4px 0 0; }
.small { font-size: 15px; }
.hidden { display: none !important; }
.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; }
section[id] { scroll-margin-top: 84px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 17px/1 var(--display); padding: 15px 24px; border-radius: 999px; border: 2.5px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; text-decoration: none; transition: transform .12s ease, background .12s ease; }
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn:active { transform: scale(.97); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--lilac-soft); border-color: var(--ink); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn.sun:hover { background: #FFE070; border-color: #FFE070; }
.btn.small { padding: 11px 18px; font-size: 16px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish.light { color: #fff; }
.pill { display: inline-block; font: 600 13px/1 var(--body); padding: 5px 9px; border-radius: 999px; vertical-align: 2px; }
.pill.pro { background: var(--sun); color: var(--ink); }
.pill.free { background: var(--lilac-soft); color: var(--ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251, 249, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1.5px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 26px/1 var(--display); font-stretch: 112.5%; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 38px; height: 38px; }
.menu { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.menu > a:not(.btn), .menu .linkish { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.menu > a:not(.btn):hover, .menu .linkish:hover { color: var(--blue); }
.menu-toggle { display: none; margin-left: auto; font: 600 16px var(--display); background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; }

/* Hero */
.hero { padding: 64px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(52px, 7.2vw, 96px); line-height: .94; font-weight: 700; font-stretch: 125%; letter-spacing: -0.02em; margin-bottom: 26px; }
.hero-copy > p { font-size: 20px; color: var(--ink-2); max-width: 54ch; margin: 0 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; font-weight: 600; }
.facts li { display: flex; align-items: center; gap: 12px; }
.dot { width: 16px; height: 16px; border-radius: 6px 6px 6px 2px; flex: none; }
.dot.sun { background: var(--sun); } .dot.pink { background: var(--pink); } .dot.blue { background: var(--blue); }
.hero-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.stage-bubble { position: absolute; width: 118%; aspect-ratio: 1.05; top: 2%; left: -9%; background: var(--sun); border-radius: 42% 46% 40% 48% / 46% 40% 50% 42%; z-index: -1; }
.stage-bubble::after { content: ""; position: absolute; left: 12%; bottom: -5%; width: 22%; height: 22%; background: var(--sun); clip-path: polygon(0 100%, 20% 0, 100% 30%); }
.stage-note { margin: 18px 0 0; font-size: 15px; color: var(--ink); font-weight: 600; }

/* Phone frame and deck */
.phone { position: relative; margin: 0; width: min(330px, 78vw); aspect-ratio: 9 / 16; border-radius: 34px; border: 9px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(42, 20, 99, .55); }
.phone.big { width: min(400px, 88vw, 100%); }
.phone canvas { display: block; width: 100%; height: 100%; }
.segments { position: absolute; z-index: 2; top: 9px; left: 10px; right: 10px; display: flex; gap: 4px; }
.segments i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .45); overflow: hidden; position: relative; }
.segments i b { position: absolute; inset: 0; width: 0; background: #fff; }
.tap { position: absolute; top: 0; bottom: 0; width: 35%; background: transparent; border: 0; z-index: 3; cursor: pointer; }
.tap.prev { left: 0; } .tap.next { right: 0; width: 65%; }
.tap:focus-visible { outline-offset: -6px; }
.locked-cta { position: absolute; z-index: 4; left: 0; right: 0; bottom: 9%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.deck-controls { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; color: var(--ink); font: 700 20px/1 var(--display); cursor: pointer; }
.round:hover { background: var(--lilac-soft); }
.counter { font-weight: 600; color: var(--ink-2); margin-left: 6px; }

/* How it works */
.how { padding: 72px 0; background: var(--ink); color: #fff; }
.how h2 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 64px; height: 56px; margin-bottom: 18px; border-radius: 22px 22px 22px 6px; font: 700 30px/1 var(--display); color: var(--ink); background: var(--sun); }
.steps li:nth-child(2)::before { background: var(--pink); }
.steps li:nth-child(3)::before { background: var(--lilac); }
.steps h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.steps p { margin: 0; color: #DCD3F7; }

/* Tool */
.make { padding: 88px 0; }
.tool { background: #fff; border: 2.5px solid var(--ink); border-radius: 36px; padding: 28px; }
.drop { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 24px; border-radius: 28px; background: var(--lilac-soft); border: 2.5px dashed var(--lilac); cursor: pointer; }
.drop.over { background: #FFF6D1; border-color: var(--sun); }
.drop-icon svg { width: 76px; height: 76px; fill: var(--pink); }
.drop-icon .arrow { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.drop-title { font: 600 clamp(24px, 3vw, 32px)/1.1 var(--display); }
.drop-sub { color: var(--ink-2); max-width: 52ch; margin-bottom: 8px; }
.drop-alt { text-align: center; margin: 16px 0 0; color: var(--ink-2); }
.drop-error { text-align: center; color: #B4233A; font-weight: 600; min-height: 1em; margin: 10px 0 0; }
.working { text-align: center; padding: 60px 20px; }
.working p { font: 600 22px var(--display); margin: 18px 0; }
.typing { display: inline-flex; gap: 8px; padding: 18px 22px; border-radius: 26px 26px 26px 8px; background: var(--lilac-soft); }
.typing i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.bar { height: 10px; background: var(--lilac-soft); border-radius: 99px; overflow: hidden; max-width: 420px; margin: 0 auto; }
.bar div { height: 100%; width: 0; background: var(--pink); border-radius: 99px; transition: width .2s; }
.choices { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.choices button { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 20px; border: 2px solid var(--line); background: #fff; font: 600 18px var(--body); color: var(--ink); cursor: pointer; }
.choices button:hover { border-color: var(--ink); background: var(--lilac-soft); }
.choices small { color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.deck-layout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 44px; align-items: start; }
.deck-layout > * { min-width: 0; }
.viewer { display: flex; flex-direction: column; align-items: center; }
.panel h3 { font-size: 30px; font-stretch: 112.5%; line-height: 1.1; overflow-wrap: anywhere; }
.sample-note { background: var(--lilac-soft); padding: 10px 14px; border-radius: 16px 16px 16px 4px; margin: 0 0 16px; font-weight: 600; }
.field { margin-top: 18px; display: grid; gap: 6px; max-width: 360px; }
.field label { font-weight: 600; }
select { font: 500 17px var(--body); color: var(--ink); padding: 11px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.video-box { margin-top: 28px; padding: 20px; border-radius: 24px; background: var(--lilac-soft); }
.video-box h4 { font-size: 20px; font-weight: 600; }
.video-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.field select { width: 100%; }
.video-row select { flex: 1 1 220px; min-width: 0; max-width: 100%; }
.video-box .bar { margin: 14px 0 0; max-width: none; background: #fff; }
.check { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.upsell { margin-top: 24px; padding: 22px; border-radius: 26px 26px 26px 8px; background: var(--ink); color: #fff; display: grid; gap: 14px; justify-items: start; }
.upsell p { margin: 0; font: 600 20px/1.3 var(--display); }
.upsell .linkish { color: #fff; font-size: 15px; }
.pro-on { margin-top: 20px; font-weight: 600; padding: 10px 14px; border-radius: 16px; background: #FFF3C4; }
#startOver { margin-top: 22px; font-size: 16px; }

/* Before and after */
.before { padding: 88px 0; background: #fff; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.ba { display: grid; grid-template-columns: 1fr 70px 1.1fr; gap: 20px; align-items: center; }
.ba figure { margin: 0; }
.ba figcaption { font: 600 18px var(--display); margin-bottom: 10px; }
.raw pre { margin: 0; height: 430px; overflow: auto; padding: 18px; border-radius: 22px; background: #F4F2F8; color: #3D3557; font: 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.ba-arrow svg { width: 70px; fill: none; stroke: var(--pink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.mini-cards { display: flex; gap: 12px; }
.mini-cards canvas { width: calc(33.3% - 8px); aspect-ratio: 9 / 16; border-radius: 16px; display: block; }
.mini-cards canvas:nth-child(2) { transform: translateY(-14px) rotate(1.5deg); }
.mini-cards canvas:nth-child(3) { transform: rotate(-1.5deg); }
.gallery-title { margin-top: 72px; font-size: 30px; font-stretch: 112.5%; }
.gallery { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gallery li { margin: 0; }
.gallery canvas { width: 100%; aspect-ratio: 9 / 16; border-radius: 16px; display: block; }
.gallery p { margin: 8px 0 0; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 6px; align-items: center; }

/* Guides */
.guides { padding: 88px 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs button { font: 600 16px var(--display); padding: 11px 18px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.guide { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; background: #fff; border-radius: 30px; padding: 30px; border: 2px solid var(--line); }
.guide[hidden] { display: none; }
.guide ol { margin: 0; padding-left: 26px; display: grid; gap: 12px; }
.guide li::marker { font: 700 18px var(--display); color: var(--pink); }
.mock { width: 260px; justify-self: center; border-radius: 30px; border: 8px solid var(--ink); background: #F4F2F8; padding: 16px 12px; display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.mock-head { font: 600 15px var(--display); text-align: center; padding: 6px 0 10px; }
.mock-row { background: #fff; padding: 10px 12px; border-radius: 12px; color: #4A4366; }
.mock-row.warn { color: #C0392B; }
.mock .hit { background: var(--sun); color: var(--ink); box-shadow: 0 0 0 3px var(--ink) inset; }
.mock-sheet { margin-top: 8px; display: grid; gap: 6px; padding: 10px; border-radius: 16px; background: #E9E4F5; }
.mock-sheet span { padding: 9px 12px; border-radius: 12px; background: #fff; text-align: center; }

/* Privacy */
.privacy-band { padding: 80px 0; background: var(--pink); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 26px; }
.three h3 { font-size: 24px; margin-bottom: 8px; }
.three p { margin: 0; }

/* Pricing */
.pricing { padding: 88px 0; }
.plans { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; align-items: stretch; max-width: 940px; }
.plan { border-radius: 32px; padding: 30px; border: 2.5px solid var(--ink); background: #fff; display: flex; flex-direction: column; }
.plan.pro { background: var(--sun); border-radius: 32px 32px 32px 10px; }
.plan h3 { font-size: 26px; }
.price { font: 700 56px/1 var(--display); font-stretch: 125%; margin: 14px 0 18px; }
.price small { font: 600 20px var(--body); color: var(--ink-2); }
.plan.pro .price small { color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { padding-left: 30px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 15px; border-radius: 7px 7px 7px 2px; background: var(--pink); }
.plan.pro li::before { background: var(--ink); }
.plan .btn { margin-top: auto; }
.testmode { margin: 18px 0 0; padding: 12px 16px; border-radius: 16px; background: #E6EDFF; color: #213A99; font-weight: 600; max-width: 940px; }
.fine { color: var(--ink-2); font-size: 15px; max-width: 80ch; margin-top: 22px; }

/* FAQ */
.faq { padding: 40px 0 96px; }
details { border-bottom: 2px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 2px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 600 20px/1.3 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 600 26px/1 var(--display); color: var(--pink); }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--ink-2); max-width: 70ch; }

/* Footer */
footer { background: var(--ink); color: #D9D0F5; padding: 56px 0 40px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.brand.light { color: #fff; }
footer h4 { color: #fff; font-size: 17px; margin-bottom: 10px; }
footer a { color: #D9D0F5; text-decoration: none; display: block; margin: 6px 0; overflow-wrap: anywhere; }
footer a:hover { color: #fff; }
footer p { margin: 12px 0 0; max-width: 34ch; }
footer .legal { grid-column: 1 / -1; max-width: none; border-top: 1px solid #44307F; padding-top: 18px; font-size: 14px; color: #B3A7DA; }

/* Dialogs */
dialog { border: 0; border-radius: 28px; padding: 28px; width: min(460px, calc(100% - 32px)); color: var(--ink); }
dialog::backdrop { background: rgba(42, 20, 99, .5); }
dialog h3 { font-size: 26px; }
dialog input { width: 100%; margin: 16px 0 6px; padding: 14px; border-radius: 14px; border: 2px solid var(--line); font: 600 16px var(--body); }
.msg { min-height: 24px; margin: 6px 0; font-weight: 600; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.keybox { margin: 16px 0; padding: 14px; border-radius: 14px; background: var(--lilac-soft); border: 2px dashed var(--ink); font: 600 16px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-stage { margin-top: 10px; }
  .deck-layout { grid-template-columns: minmax(0, 1fr); }
  .viewer { width: 100%; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .ba { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
  .three, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--paper); border-bottom: 1.5px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .menu.open { display: flex; }
  .menu > a:not(.btn), .menu .linkish { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .menu .btn { margin-top: 14px; }
  .hero { padding: 36px 0 56px; }
  .hero-copy > p { font-size: 18px; }
  .tool { padding: 14px; border-radius: 28px; }
  .drop { padding: 34px 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .guide { grid-template-columns: 1fr; padding: 20px; }
  .make, .before, .guides, .pricing { padding: 64px 0; }
  .how { padding: 56px 0; }
  .raw pre { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .typing i { animation: none; opacity: .7; }
  .btn { transition: none; }
}
