/* Say it Pretty website: landing, sign-in, admin, legal pages.
   Brand palette: blue #97B9DA, pink #F1C1C8, ivory #F4F1EC. The app itself stays dark (a teleprompter reads best on black). */
:root {
  --ink: #F4F1EC;        /* ivory page */
  --panel: #FFFFFF;      /* cards */
  --line: #E6DFD6;
  --text: #29313D;       /* deep slate, the readable partner of the pastel blue */
  --muted: #687180;
  --dim: #A4A9B0;
  --blue: #97B9DA; --pink: #F1C1C8;
  --blue-ink: #4C77A1;   /* blue dark enough for text and links on ivory */
  --cue: #B65D6F;        /* pink dark enough for small accent text on ivory */
  --live: #3ddc84; --tally: #ff3b30;
  --f-read: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-prompt: "Atkinson Hyperlegible", system-ui, sans-serif;
  --f-script: "Allura", "Snell Roundhand", cursive;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.55 var(--f-read); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--blue-ink); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cue); outline-offset: 2px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.container { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }

.nav { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--f-read); color: var(--text); text-decoration: none; }
.brand img { height: 56px; width: auto; display: block; }
.auth .brand img { height: 72px; }
.brand .brand-sub { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.script { font-family: var(--f-script); font-weight: 400; color: var(--cue); font-size: 1.35em; line-height: .8; letter-spacing: 0; padding-right: .06em; }
.mark { width: 22px; height: 14px; position: relative; flex: none; }
.mark::before { content: ""; position: absolute; left: 0; top: 2px; border: 5px solid transparent; border-left: 7px solid var(--cue); }
.mark::after { content: ""; position: absolute; left: 9px; right: 0; top: 6px; height: 2px; background: var(--text); border-radius: 2px; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav .links a:not(.btn) { color: var(--muted); text-decoration: none; padding: 8px; font-size: 15px; }
.nav .links a:not(.btn):hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #3d443f; }
.btn:hover { border-color: #cfc6bb; }
.btn.primary { background: var(--pink); border-color: var(--pink); color: var(--text); box-shadow: 0 6px 18px -8px rgba(182,93,111,.45); }
.btn.primary:hover { filter: brightness(.97); }
.btn.big { padding: 14px 24px; font-size: 17px; }
.btn:disabled { opacity: .6; cursor: default; }

/* hero */
.hero { padding: 56px 0 24px; display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; padding-top: 72px; } }
.eyebrow { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 16px; }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.05; margin: 0 0 20px; letter-spacing: -.02em; font-weight: 700; }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: #4a5361; margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta small { color: var(--muted); font-size: 14px; width: 100%; }

/* the moving prompter demo */
.demo { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; background: #0d0f0e; color: #eeebe2; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(41,49,61,.45), 0 0 0 8px #fff, 0 0 0 9px var(--line); }
.demo-text { position: absolute; left: 0; right: 0; top: 0; padding: 0 8%; font-family: var(--f-prompt); font-size: clamp(20px, 3.2vw, 30px); line-height: 1.45; transform: translateY(var(--y, 0)); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.demo-text p { margin: 0 0 .6em; }
.demo-text .w { transition: color .3s; }
.demo-text .w.read { color: #4b514c; }
.demo-text .cue { display: inline-block; font: 500 .45em/1.3 var(--f-mono); color: var(--pink); border: 1px solid rgba(241,193,200,.5); border-radius: 4px; padding: .2em .5em; vertical-align: .4em; letter-spacing: .03em; text-transform: uppercase; }
.demo-line { position: absolute; left: 0; right: 0; top: 38%; height: 0; }
.demo-line::before, .demo-line::after { content: ""; position: absolute; top: -9px; border: 9px solid transparent; }
.demo-line::before { left: 0; border-left: 12px solid var(--pink); }
.demo-line::after { right: 0; border-right: 12px solid var(--pink); }
.demo-fade { position: absolute; inset: 0; background: linear-gradient(#0d0f0e 0, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 62%, rgba(0,0,0,.85) 100%); pointer-events: none; }
.demo-hud { position: absolute; left: 14px; top: 12px; display: flex; align-items: center; gap: 8px; font: 12px var(--f-mono); color: #eeebe2; }
.demo-hud i { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 1.4s infinite; }
.demo-hud.quiet i { background: var(--pink); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
@media (prefers-reduced-motion: reduce) { .demo-text { transition: none; } .demo-hud i { animation: none; } }

section.band { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--panel); padding: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature .k { font: 500 11px/1 var(--f-mono); color: var(--blue-ink); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 12px; }

.plans { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 820px; }
@media (min-width: 700px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--panel); display: flex; flex-direction: column; gap: 14px; }
.plan.pro { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink) inset, 0 24px 48px -28px rgba(182,93,111,.4); }
.plan h3 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.plan .tag { font: 500 11px/1 var(--f-mono); color: var(--text); background: var(--pink); padding: 4px 8px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.price { font-size: 40px; font-weight: 700; line-height: 1; }
.price small { font-size: 15px; color: var(--muted); font-weight: 400; }
.price-alt { color: var(--muted); font-size: 14px; margin-top: -6px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; flex: 1; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.plan li.no { color: var(--dim); }
.plan li.no::before { background: var(--dim); }

.faq { display: grid; gap: 0; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.faq p { color: #4a5361; margin: 10px 0 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .container { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
footer a { color: var(--muted); }
footer .sp { margin-left: auto; }

/* auth */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth { width: min(400px, 100%); display: grid; gap: 18px; }
.auth .brand { justify-self: center; margin-bottom: 8px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 14px; }
.card h1 { font-size: 24px; margin: 0; }
.card p { margin: 0; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; color: var(--muted); }
.in { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; outline: none; font-size: 16px; }
.in:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(151,185,218,.35); }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.g-btn { width: 100%; background: #fff; color: #1f1f1f; border-color: var(--line); }
.g-btn:hover { filter: brightness(.96); }
.msg { min-height: 1.4em; font-size: 14px; color: #c0392b; }
.msg.ok { color: #1e8a50; }
.muted { color: var(--muted); font-size: 14px; }
.small-links { text-align: center; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
.refbox summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.refbox .in { margin-top: 8px; }

/* admin */
.admin { padding-bottom: 48px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 32px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.tile b { display: block; font-size: 28px; line-height: 1.1; }
.tile span { color: var(--muted); font-size: 13px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--f-mono); }
.form-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }
h3.sec { margin: 32px 0 12px; font-size: 18px; }

.legal { max-width: 720px; padding-bottom: 64px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
.legal p, .legal li { color: #4a5361; }
.draft { border: 1px solid var(--pink); background: rgba(241,193,200,.18); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.nav .links a { white-space: nowrap; }
@media (max-width: 480px) { .nav .links a[href="#pricing"] { display: none; } .nav .links { gap: 4px; } }

/* soft brand wash behind the hero */
body { background: radial-gradient(900px 500px at 85% -10%, rgba(241,193,200,.35), transparent 60%), radial-gradient(800px 500px at -10% 10%, rgba(151,185,218,.30), transparent 60%), var(--ink) no-repeat; background-color: var(--ink); }
section.band h2 .script { font-size: 1.4em; }
footer .brand img { height: 34px; }
@media (max-width: 480px) { .brand img { height: 46px; } .auth .brand img { height: 64px; } }

/* ---------- three-step demo: Write · Say it · Post it ---------- */
.d3 { position: relative; display: flex; flex-direction: column; gap: 12px; }
.d3-steps { display: flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; align-self: flex-start; box-shadow: 0 10px 30px -20px rgba(41,49,61,.4); }
.d3-step { border: 0; background: transparent; border-radius: 999px; padding: 8px 14px 8px 8px; display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--f-read); color: var(--muted); cursor: pointer; }
.d3-step b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--f-mono); background: var(--ink); color: var(--muted); }
.d3-step.on { background: var(--text); color: #fff; }
.d3-step.on b { background: var(--pink); color: var(--text); }
.d3-screen { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; background: #0d0f0e; color: #eeebe2; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(41,49,61,.45), 0 0 0 8px #fff, 0 0 0 9px var(--line); }
.d3-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.d3-scene.on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.d3-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.d3-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--pink)); }

/* 1 write */
.d3-scene[data-scene="0"] { padding: 6%; display: flex; flex-direction: column; gap: 12px; }
.d3-ask { display: flex; align-items: center; gap: 10px; background: #161a18; border: 1px solid #272c29; border-radius: 12px; padding: 12px 14px; font-size: clamp(14px, 1.7vw, 17px); min-height: 48px; }
.d3-spark { color: var(--pink); font-size: 1.1em; }
.d3-caret { width: 2px; height: 1.1em; background: var(--pink); animation: blink 1s steps(1) infinite; }
.d3.typed .d3-caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.d3-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.d3-chips span { font-size: 12px; border: 1px solid #272c29; border-radius: 999px; padding: 5px 10px; color: #8b918b; }
.d3-chips span.on { border-color: rgba(241,193,200,.55); color: var(--pink); }
.d3-doc { flex: 1; min-height: 0; overflow: hidden; background: #161a18; border: 1px solid #272c29; border-radius: 12px; padding: 14px 16px; position: relative; }
.d3-writing { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--pink); font: 500 13px/1 var(--f-mono); }
.d3-writing i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--pink); border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.d3-title { font: 700 clamp(16px, 2vw, 20px)/1.25 var(--f-read); margin-bottom: 8px; min-height: 1.25em; }
.d3-body { font: 400 clamp(13px, 1.55vw, 15.5px)/1.5 var(--f-prompt); color: #d6d3cb; }
.d3-body p { margin: 0 0 .6em; }
.d3-body .cue, .d3-prompt .cue { display: inline-block; font: 500 .7em/1.3 var(--f-mono); color: var(--pink); border: 1px solid rgba(241,193,200,.5); border-radius: 4px; padding: .2em .5em; letter-spacing: .03em; text-transform: uppercase; }
.d3-prompt .cue { font-size: .45em; vertical-align: .4em; }

/* 2 say it (reuses the prompter demo styles) */
.d3-prompt .demo-text { font-size: clamp(20px, 3vw, 30px); }
.d3-rec { position: absolute; right: 14px; top: 12px; display: flex; align-items: center; gap: 6px; font: 12px var(--f-mono); background: rgba(0,0,0,.55); border-radius: 999px; padding: 4px 10px; }
.d3-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--tally); animation: blink 1.2s steps(1) infinite; }

/* 3 post it */
.d3-post { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr; gap: 5%; align-items: center; padding: 5% 6%; }
.d3-phone { position: relative; height: 100%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; border: 3px solid #2a2f2c; background: #1b2230; }
/* an out-of-focus studio behind the speaker: soft gradient, drifting bokeh lights, gentle vignette */
.d3-scenebg { position: absolute; inset: 0; background:
  radial-gradient(80% 55% at 30% 20%, rgba(151,185,218,.9), transparent 70%),
  radial-gradient(70% 50% at 80% 75%, rgba(241,193,200,.85), transparent 70%),
  linear-gradient(160deg, #3b4c66 0%, #6a6f8f 45%, #b08a99 100%); }
.d3-scenebg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(10,12,18,.55) 100%); }
.d3-scenebg i { position: absolute; border-radius: 50%; filter: blur(2px); background: radial-gradient(circle, rgba(255,255,255,.75), rgba(255,255,255,.15) 60%, transparent 70%); animation: drift 9s ease-in-out infinite alternate; }
.d3-scenebg i:nth-child(1) { width: 26%; aspect-ratio: 1; left: 8%; top: 12%; opacity: .55; }
.d3-scenebg i:nth-child(2) { width: 16%; aspect-ratio: 1; left: 66%; top: 8%; opacity: .45; animation-delay: -3s; }
.d3-scenebg i:nth-child(3) { width: 34%; aspect-ratio: 1; left: 58%; top: 34%; opacity: .3; animation-delay: -5s; }
.d3-scenebg i:nth-child(4) { width: 12%; aspect-ratio: 1; left: 18%; top: 44%; opacity: .5; animation-delay: -1s; }
.d3-scenebg i:nth-child(5) { width: 20%; aspect-ratio: 1; left: 30%; top: 72%; opacity: .35; animation-delay: -7s; background: radial-gradient(circle, rgba(241,193,200,.9), rgba(241,193,200,.2) 60%, transparent 70%); }
.d3-scenebg i:nth-child(6) { width: 9%; aspect-ratio: 1; left: 78%; top: 62%; opacity: .6; animation-delay: -4s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(6%, -8%) scale(1.12); } }
/* the bits that make it read as a Reel / TikTok */
.d3-reel { position: absolute; inset: 0; color: #fff; }
.d3-reelbar { position: absolute; left: 6%; right: 6%; top: 3.5%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.d3-reelbar i { display: block; height: 100%; width: 0; background: #fff; }
.d3-scene.on .d3-reelbar i { animation: reel 7.2s linear forwards; }
@keyframes reel { to { width: 100%; } }
.d3-side { position: absolute; right: 5%; bottom: 16%; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.d3-side span { display: grid; justify-items: center; gap: 2px; }
.d3-side svg { width: clamp(14px, 1.7vw, 20px); height: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.d3-side b { font: 600 9px/1 var(--f-read); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.d3-handle { position: absolute; left: 6%; bottom: 5%; display: flex; align-items: center; gap: 6px; font: 600 11px/1 var(--f-read); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.d3-handle i { width: 18px; height: 18px; border-radius: 50%; background: url("/mark.svg") center / 80% no-repeat, #F4F1EC; border: 1.5px solid #fff; }
.d3-cap { position: absolute; left: 8%; right: 16%; top: 52%; text-align: center; line-height: 1.15; font-size: clamp(13px, 2vw, 19px); }
.d3-cap span { display: inline-block; transition: transform .15s ease, color .15s, background .15s; padding: 0 .12em; border-radius: .2em; }
.d3-cap.cs-bold { font-family: "Montserrat", system-ui, sans-serif; font-weight: 800; color: #fff; -webkit-text-stroke: .1em #000; paint-order: stroke fill; text-shadow: 0 .08em .2em rgba(0,0,0,.5); }
.d3-cap.cs-bold span.on { color: #ffd400; transform: scale(1.08); }
.d3-cap.cs-pop { font-family: "Poppins", system-ui, sans-serif; font-weight: 700; color: #fff; text-shadow: 0 .06em .2em rgba(0,0,0,.6); }
.d3-cap.cs-pop span.on { background: #7c3aed; }
.d3-cap.cs-karaoke { font-family: "Anton", "Impact", system-ui, sans-serif; color: #fff; -webkit-text-stroke: .08em #000; paint-order: stroke fill; letter-spacing: .02em; font-size: clamp(15px, 2.3vw, 22px); }
.d3-cap.cs-karaoke span.said { color: #3ddc84; }
.d3-cap.cs-pretty { font-family: "Poppins", system-ui, sans-serif; font-weight: 700; color: #29313D; }
.d3-cap.cs-pretty span { background: rgba(244,241,236,.92); }
.d3-cap.cs-pretty span.on { background: #F1C1C8; }
.d3-toast { position: absolute; left: 50%; bottom: 6%; transform: translate(-50%, 12px); opacity: 0; white-space: nowrap; background: #fff; color: #29313D; font: 600 12px/1 var(--f-read); padding: 8px 12px; border-radius: 999px; transition: all .3s ease; }
.d3-toast.on { opacity: 1; transform: translate(-50%, 0); }
.d3-panel { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.d3-lbl { font: 500 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #8b918b; margin-top: 4px; }
.d3-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.d3-presets .p { border: 1px solid #272c29; background: #000; border-radius: 8px; padding: 8px 6px; text-align: center; font-size: 12px; transition: border-color .2s, box-shadow .2s; }
.d3-presets .p.on { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink); }
.d3-presets .cs-bold { font: 800 12px "Montserrat", sans-serif; color: #ffd400; }
.d3-presets .cs-pop { font: 700 12px "Poppins", sans-serif; color: #fff; background: #7c3aed; }
.d3-presets .cs-karaoke { font: 400 13px "Anton", Impact, sans-serif; color: #3ddc84; letter-spacing: .03em; }
.d3-presets .cs-pretty { font: 700 12px "Poppins", sans-serif; color: #29313D; background: #F1C1C8; }
.d3-fonts { display: flex; flex-wrap: wrap; gap: 5px; }
.d3-fonts span { border: 1px solid #272c29; border-radius: 6px; padding: 5px 8px; font-size: 12px; color: #cfcbc3; transition: border-color .2s; }
.d3-fonts span.on { border-color: var(--pink); color: #fff; }
.d3-colors { display: flex; gap: 7px; flex-wrap: wrap; }
.d3-colors i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #272c29; transition: box-shadow .2s; }
.d3-colors i.on { box-shadow: 0 0 0 2px #0d0f0e, 0 0 0 4px var(--pink); }
.d3-export { margin-top: 8px; align-self: flex-start; background: var(--pink); color: #1d2430; border-radius: 999px; padding: 8px 14px; font: 700 13px/1 var(--f-read); transition: transform .2s; }
.d3-export.on { transform: scale(.94); filter: brightness(.95); }
@media (max-width: 640px) {
  .d3-screen { aspect-ratio: 4 / 5; }
  .d3-steps { align-self: stretch; justify-content: space-between; }
  .d3-step { padding-right: 10px; font-size: 13px; }
  .d3-post { grid-template-columns: 1fr; grid-template-rows: 58% 1fr; gap: 10px; padding: 5%; justify-items: center; }
  .d3-phone { height: 100%; }
  .d3-panel { width: 100%; gap: 6px; }
  .d3-presets { grid-template-columns: repeat(4, 1fr); }
  .d3-fonts, .d3-lbl:nth-of-type(2) { display: none; }
  .d3-presets .p { padding: 6px 2px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .d3-scenebg i, .d3-scene.on .d3-reelbar i { animation: none; } .d3-scene, .d3-cap span, .d3-toast { transition: none; } .d3-caret, .d3-rec i, .d3-writing i { animation: none; } }
