
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
:root {
  --bg: #070b1a; --bg-2: #0b1126; --surface: #0f1730; --surface-2: #131d3a; --border: #1f2a4d; --border-2: #2b3a6b;
  --text: #e8edf7; --text-2: #b4bfd6; --text-3: #8d99b8; --accent: #22d3ee; --accent-2: #67e8f9; --accent-ink: #04121f;
  --heart: #ff5e7e; --tone: var(--accent);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --display: "Space Grotesk", "Inter", "Segoe UI Variable Display", system-ui, sans-serif;
  --mono: "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); overflow-x: hidden;
  background-image: radial-gradient(900px 500px at 85% -10%, rgba(34, 211, 238, .14), transparent 60%),
    radial-gradient(800px 500px at -10% 10%, rgba(167, 139, 250, .12), transparent 60%);
  background-repeat: no-repeat; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; margin: 0; }
code { font-family: var(--mono); font-size: .92em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: .1em .4em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(34, 211, 238, .35); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--text-3); }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(16px, calc((100% - 1160px) / 2)); background: rgba(7, 11, 26, .78); backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(43, 58, 107, .5); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(34, 211, 238, .5), 0 0 18px rgba(34, 211, 238, .35); }
.brand b { font: 700 20px/1 var(--display); }
.brand span { font: 500 14px/1 var(--display); color: var(--text-3); }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.top nav a { color: var(--text-2); }
.top nav a:hover { color: var(--text); text-decoration: none; }
.top nav a.heart { color: var(--heart); font-weight: 600; }

.hero { padding: 72px 0 48px; }
.eyebrow { font: 600 13px/1 var(--display); text-transform: uppercase; letter-spacing: .16em; color: var(--accent); margin: 0 0 18px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); font-weight: 700; max-width: 14ch; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, #22d3ee, #a78bfa 55%, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 60ch; margin: 18px 0 0; }
.hero-btns { margin-top: 28px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 30px 0 0; color: var(--text-3); font-size: 14px; }
.trust li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); margin-right: 9px; vertical-align: 2px; }
.trust b { color: var(--text); font-weight: 600; }

.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px;
  border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: 600 15px/1 var(--font); text-decoration: none !important;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { border-color: var(--accent-line, #3b5aa0); background: var(--surface-2); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 24px rgba(34, 211, 238, .3); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.ghost { background: transparent; }
.btn.heart { color: #fff; background: linear-gradient(135deg, #ff5e7e, #e0457b); border-color: transparent; box-shadow: 0 6px 22px rgba(255, 94, 126, .25); }
.btn.heart:hover { filter: brightness(1.08); }
.btn.big { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn.soon { cursor: default; color: var(--text-2); background: rgba(15, 23, 48, .6); border-style: dashed; font-weight: 500; }
.btn.soon:hover { transform: none; background: rgba(15, 23, 48, .6); border-color: var(--border-2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 10px rgba(251, 191, 36, .7); flex: none; }
.dot.live { background: #34d399; box-shadow: 0 0 10px rgba(52, 211, 153, .7); }
.ms-badge { display: inline-block; line-height: 0; border-radius: 6px; transition: transform .15s; }
.ms-badge:hover { transform: translateY(-1px); }
.ms-badge.big img { width: 182px; height: 50px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--tone), transparent); opacity: .9; }
.card:hover { border-color: color-mix(in srgb, var(--tone) 45%, var(--border)); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 40px color-mix(in srgb, var(--tone) 14%, transparent); transform: translateY(-2px); }
.shot { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 70%), #0a1024; border-bottom: 1px solid var(--border); }
.shot img { position: absolute; left: 18px; top: 18px; width: calc(100% - 36px); height: calc(100% - 18px); object-fit: contain; object-position: center bottom; filter: drop-shadow(0 -4px 30px rgba(0, 0, 0, .55)); transition: transform .35s; }
.card:hover .shot img { transform: scale(1.02); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-head { display: flex; align-items: center; gap: 14px; }
.icon { border-radius: 12px; flex: none; }
.icon.sm { width: 36px; height: 36px; border-radius: 9px; }
.icon.lg { width: 72px; height: 72px; border-radius: 18px; filter: drop-shadow(0 6px 22px color-mix(in srgb, var(--tone) 35%, transparent)); }
.card h3 { font-size: 24px; }
.card h3 a { color: var(--text); }
.status { margin: 4px 0 0; font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 7px; }
.pitch { color: var(--text-2); margin: 14px 0 0; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--tone); border-bottom: 2px solid var(--tone); transform: rotate(-45deg); }
.ticks.plus li::before { content: "+"; border: 0; transform: none; top: 0; left: 3px; width: auto; height: auto; color: #fbbf24; font-weight: 700; }
.price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.price .free { font: 700 22px/1 var(--display); }
.pro-chip { font-size: 13px; font-weight: 600; color: #fde68a; background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .35); padding: 5px 10px; border-radius: 999px; }
.card .btns { margin-top: 16px; }
.more { margin-top: auto; padding-top: 16px; font-size: 14px; }

.band { margin-top: 88px; }
.sec { font-size: clamp(26px, 3.4vw, 36px); }
.sec-sub { color: var(--text-3); margin: 8px 0 0; }
.pro-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 36px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(251, 191, 36, .08), rgba(167, 139, 250, .08) 60%, rgba(34, 211, 238, .06)); border: 1px solid var(--border-2); }
.pro-box h2 { font-size: 32px; }
.pro-box p { color: var(--text-2); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 56px; background: rgba(7, 11, 26, .55); border: 1px solid var(--border); border-radius: 14px; color: var(--text-2); }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font: 700 14px/1 var(--display); color: var(--accent-ink); background: #fbbf24; }
.steps b { color: var(--text); }

.soon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.soon-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg-2); color: var(--text); text-decoration: none !important; transition: border-color .2s, transform .2s; }
.soon-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.soon-shot { aspect-ratio: 16 / 10; overflow: hidden; background: #0a1024; border-bottom: 1px solid var(--border); }
.soon-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: .85; }
.soon-body { display: flex; gap: 12px; padding: 14px 16px 16px; }
.soon-body h3 { font-size: 16px; }
.soon-body p { margin: 4px 0 0; color: var(--text-3); font-size: 14px; line-height: 1.45; }

.kofi { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 94, 126, .14), rgba(167, 139, 250, .08)); border: 1px solid rgba(255, 94, 126, .3); }
.kofi h2 { font-size: 28px; }
.kofi p { color: var(--text-2); margin: 8px 0 0; max-width: 56ch; }
.cli { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; border-radius: 18px; border: 1px dashed var(--border-2); }
.cli h2 { font-size: 22px; }
.cli p { color: var(--text-3); margin: 6px 0 0; }
.cli code { font-size: 17px; padding: 12px 16px; color: var(--accent-2); white-space: nowrap; }

.app-hero { padding-top: 40px; }
.app-hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.back { display: inline-block; font-size: 14px; color: var(--text-3); margin-bottom: 18px; }
.app-title { display: flex; align-items: center; gap: 18px; }
.app-hero h1 { font-size: clamp(34px, 5vw, 54px); }
.blurb { color: var(--text-3); margin: 14px 0 0; }
.note { color: var(--text-3); font-size: 14px; margin: 14px 0 0; }
.app-hero-shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px color-mix(in srgb, var(--tone) 16%, transparent); background: #0a1024; }
.app-hero-shot img { width: 100%; max-height: 560px; object-fit: contain; }

.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 2px 14px; margin-top: 4px; scrollbar-color: var(--border-2) transparent; }
.g-item { flex: 0 0 min(640px, 86%); margin: 0; scroll-snap-align: start; }
.g-item.tall { flex-basis: min(330px, 70%); }
.g-item a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #0a1024; transition: border-color .2s; }
.g-item a:hover { border-color: var(--tone); }
.g-item figcaption { color: var(--text-3); font-size: 14px; margin-top: 10px; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 50; background: rgba(3, 6, 16, .92); padding: 4vmin; place-items: center; cursor: zoom-out; }
.lightbox:target { display: grid; }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }

.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.tier { padding: 26px 28px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg-2); }
.tier.pro { border-color: rgba(251, 191, 36, .35); background: linear-gradient(180deg, rgba(251, 191, 36, .07), var(--bg-2) 60%); }
.tier h3 { font-size: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.tag { font: 600 12px/1 var(--font); color: var(--text-2); border: 1px solid var(--border-2); padding: 5px 9px; border-radius: 999px; }
.tier.pro .tag { color: #fde68a; border-color: rgba(251, 191, 36, .4); }
.tier .muted { margin: 10px 0 0; font-size: 14px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fact { padding: 22px 24px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg-2); }
.fact h3 { font-size: 18px; margin-bottom: 10px; }
.fact ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 15px; display: grid; gap: 6px; }
.fact p { color: var(--text-2); font-size: 15px; margin: 0 0 8px; }

.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.mini { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text); text-decoration: none !important; transition: border-color .2s; }
.mini:hover { border-color: var(--tone); }
.mini b { display: block; font-family: var(--display); }
.mini span { color: var(--text-3); font-size: 14px; line-height: 1.45; }

.prose h2 { font-size: 24px; margin: 36px 0 10px; scroll-margin-top: 80px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }

/* the front page */
.home-hero { padding-top: 56px; }
.home-hero-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.home-hero h1 { max-width: 13ch; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 34px 0 0; max-width: 640px; }
.stats li { padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: rgba(15, 23, 48, .55); }
.stats b { display: block; font: 700 30px/1 var(--display); color: var(--accent-2); text-shadow: 0 0 18px rgba(34, 211, 238, .45); }
.stats span { display: block; margin-top: 6px; color: var(--text-3); font-size: 13px; line-height: 1.35; }
.orb { position: relative; width: min(340px, 80vw); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.orb img { position: relative; width: 72%; height: auto; border-radius: 50%; box-shadow: 0 0 0 2px rgba(34, 211, 238, .55), 0 0 60px rgba(34, 211, 238, .35), 0 0 140px rgba(167, 139, 250, .25); }
.orb-ring { position: absolute; inset: 2%; border-radius: 50%; border: 1px dashed rgba(34, 211, 238, .35); animation: spin 40s linear infinite; }
.orb-ring.r2 { inset: 10%; border: 1px solid transparent; border-top-color: rgba(167, 139, 250, .7); border-right-color: rgba(244, 114, 182, .45); animation-duration: 9s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.top-gap { margin-top: 28px; }
.menu-cmd { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; padding: 22px 24px; border-radius: 18px;
  border: 1px solid var(--accent-line, rgba(34, 211, 238, .4)); background: linear-gradient(135deg, rgba(34, 211, 238, .10), rgba(167, 139, 250, .06)); }
.menu-cmd b { display: block; font: 700 20px/1.2 var(--display); }
.menu-cmd span { color: var(--text-3); font-size: 14px; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.tool { display: flex; flex-direction: column; padding: 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg-2); transition: border-color .2s; }
.tool:hover { border-color: var(--border-2); }
.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool h3 { font-size: 17px; }
.tool p { color: var(--text-3); font-size: 14px; line-height: 1.5; margin: 8px 0 14px; flex: 1; }
.tag.admin { color: #fde68a; border-color: rgba(251, 191, 36, .4); }
.cmd { display: flex; align-items: stretch; border: 1px solid var(--border-2); border-radius: 10px; overflow: hidden; background: #060a18; }
.cmd code { flex: 1; min-width: 0; border: 0; border-radius: 0; background: none; padding: 10px 12px; color: var(--accent-2); white-space: nowrap; overflow-x: auto; font-size: 14px; }
.cmd.big code { font-size: 17px; padding: 13px 16px; }
.copy { flex: none; border: 0; border-left: 1px solid var(--border-2); background: var(--surface-2); color: var(--text-2); font: 600 13px/1 var(--font); padding: 0 14px; cursor: pointer; transition: background .15s, color .15s; }
.copy:hover { background: var(--surface); color: var(--text); }
.copy.done { color: #34d399; }

/* each app's own color (classes, not style attributes: the CSP allows no inline styles) */
.t-speak { --tone: #34d399; }
.t-watermark { --tone: #22d3ee; }
.t-audio-switcher { --tone: #a78bfa; }
.t-image-viewer { --tone: #f472b6; }
.t-notepad { --tone: #fbbf24; }

.foot { margin-top: 100px; border-top: 1px solid var(--border); background: rgba(11, 17, 38, .6); }
.foot-in { padding: 32px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; }
.foot-brand img { border-radius: 50%; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.foot-links a { color: var(--text-2); }
.fine { flex-basis: 100%; margin: 0; color: var(--text-3); font-size: 12px; }

@media (max-width: 980px) {
  .cards, .tiers, .app-hero-in, .pro-box { grid-template-columns: 1fr; }
  .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts, .mini-grid { grid-template-columns: 1fr; }
  .home-hero-in { grid-template-columns: 1fr; }
  .orb { width: min(220px, 56vw); order: -1; }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .top nav a:not(.heart) { display: none; }
  .hero { padding: 44px 0 32px; }
  .band { margin-top: 64px; }
  .soon-grid, .tools, .stats { grid-template-columns: 1fr; }
  .stats li { display: flex; align-items: baseline; gap: 12px; }
  .stats span { margin: 0; }
  .menu-cmd { flex-direction: column; align-items: stretch; padding: 20px; }
  .cmd.big code { font-size: 15px; }
  .card-body { padding: 18px; }
  .btns .btn, .btns .ms-badge { flex: 1 1 100%; }
  .ms-badge img { margin-inline: auto; }
  .kofi, .cli { flex-direction: column; align-items: stretch; padding: 24px 20px; }
  .cli code { white-space: normal; text-align: center; }
  .pro-box { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
