/* Slicewave marketing site. Tokens from brand/BRAND.md. Dark only. */
:root {
  --ink: #0B0B10; --panel: #14151C; --panel-2: #1C1E27; --line: #2A2D39;
  --fg: #ECEEF4; --muted: #9AA1B2;
  --teal: #20E3C2; --teal-ink: #04201B; --violet: #7C5CFF; --violet-text: #A893FF;
  --orange: #FF8A1F; --red: #FF3D5A; --blue: #5AA9FF;
  --r: 14px; --r-in: 12px;
  --head: "Space Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  -webkit-tap-highlight-color: transparent;
  margin: 0; background: var(--ink); color: var(--fg);
  font: 400 16px/1.6 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, canvas { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
b { font-weight: 600; color: var(--fg); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--teal); color: var(--teal-ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
section { padding: 72px 0; position: relative; }
.small { font-size: 14px; color: var(--muted); }
.sub { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 60ch; }

/* wordmark */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); min-height: 44px; }
.wordmark { font: 700 19px/1 var(--head); letter-spacing: .06em; white-space: nowrap; }
.wordmark span { color: var(--teal); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--teal); color: var(--teal-ink); font: 600 16px/1 var(--body); text-decoration: none;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
  box-shadow: 0 0 0 0 rgba(32, 227, 194, 0);
}
@media (hover: hover) { .btn:hover { box-shadow: 0 6px 28px -6px rgba(32, 227, 194, .55); } }
.btn:active { transform: scale(.97); }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
@media (hover: hover) { .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--muted); } }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 16, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(42, 45, 57, .6); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.top nav { margin-left: auto; }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); text-decoration: none; font-size: 15px; border-radius: 999px; }
.nav a:hover { color: var(--fg); background: var(--panel); }
@media (max-width: 819px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* hero */
.hero { padding: 40px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 80vw; height: 80vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .22), rgba(32, 227, 194, .07) 55%, transparent 72%);
  pointer-events: none;
}
.hero-in { display: grid; gap: 36px; position: relative; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(20, 21, 28, .7); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 61, 90, .6); animation: rec 1.6s infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 90, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 61, 90, 0); } }
.hero h1 { font-size: clamp(44px, 12.5vw, 92px); font-weight: 700; letter-spacing: -.035em; margin: 20px 0 18px; line-height: .98; }
.hero h1 em { font-style: normal; background: linear-gradient(60deg, var(--teal), #8f7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 18px; color: #C5CAD6; max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }

.demo { margin: 0 auto; position: relative; width: 100%; max-width: 620px; }
.demo canvas { width: 100%; height: auto; aspect-ratio: 640 / 560; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset; }
.demo-cap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.kp { display: inline-flex; align-items: center; gap: 6px; }
.k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.k-o { background: var(--orange); } .k-r { background: var(--red); } .k-b { background: var(--blue); }

@media (min-width: 980px) {
  .hero { padding: 72px 0 88px; }
  .hero-in { grid-template-columns: 1.08fr 1fr; align-items: center; gap: 48px; }
  .hero h1 { font-size: clamp(60px, 5.4vw, 78px); }
}

/* the two tools */
.tools { padding: 8px 0 24px; }
.tool-pair { display: grid; gap: 14px; position: relative; }
.tool { padding: 28px 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.tool h3 { font-size: clamp(30px, 8vw, 44px); font-weight: 700; letter-spacing: -.02em; margin: 10px 0 14px; }
.tool p:last-child { color: var(--muted); }
.label { font: 600 13px/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.tool-shorts .label { color: var(--violet-text); }
.tool-music { background: linear-gradient(160deg, rgba(32, 227, 194, .10), transparent 50%), var(--panel); }
.tool-shorts { background: linear-gradient(200deg, rgba(124, 92, 255, .14), transparent 50%), var(--panel); }
.cut-line { display: none; }
@media (min-width: 820px) {
  .tool-pair { grid-template-columns: 1fr 1fr; gap: 0; }
  .tool { padding: 40px 48px 44px; }
  .tool h3 { font-size: clamp(30px, 3.9vw, 44px); }
  .tool-music { border-radius: var(--r) 0 0 var(--r); clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%); padding-right: 64px; }
  .tool-shorts { border-radius: 0 var(--r) var(--r) 0; clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%); margin-left: -16px; padding-left: 72px; }
  .cut-line { display: block; position: absolute; left: calc(50% - 22px); top: -14px; bottom: -14px; width: 3px; background: var(--red); border-radius: 3px; transform: skewX(-7deg); box-shadow: 0 0 22px rgba(255, 61, 90, .7); z-index: 2; }
}

/* timecode section markers */
.tc { font: 600 13px/1 var(--head); letter-spacing: .14em; color: var(--orange); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tc::after { content: ""; height: 10px; flex: 1; max-width: 240px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px); }
section h2 { font-size: clamp(34px, 7.5vw, 56px); font-weight: 700; letter-spacing: -.025em; }

/* how it works */
.how-grid { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 820px) { .how-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.steps { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; }
.steps-h { margin-bottom: 8px; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; font: 600 15px/1.2 var(--head); }
.pill-t { background: rgba(32, 227, 194, .12); color: var(--teal); }
.pill-v { background: rgba(124, 92, 255, .16); color: var(--violet-text); }
.steps ol { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 18px 0 18px 56px; color: var(--muted); border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 16px; font: 700 28px/1 var(--head); color: var(--fg); }
.steps li b { display: block; margin-bottom: 4px; font-size: 17px; }

/* features */
.grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.card:hover { border-color: #3a3f50; transform: translateY(-2px); }
.card h3 { font-size: 19px; font-weight: 600; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.ic { display: block; height: 22px; width: 36px; position: relative; }
.ic::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(currentColor, currentColor) 0 60% / 4px 40% no-repeat,
  linear-gradient(currentColor, currentColor) 8px 30% / 4px 70% no-repeat,
  linear-gradient(currentColor, currentColor) 16px 0 / 4px 100% no-repeat,
  linear-gradient(currentColor, currentColor) 24px 40% / 4px 60% no-repeat,
  linear-gradient(currentColor, currentColor) 32px 70% / 4px 30% no-repeat; border-radius: 2px; }
.ic-o { color: var(--orange); } .ic-r { color: var(--red); } .ic-t { color: var(--teal); } .ic-v { color: var(--violet); } .ic-b { color: var(--blue); }

/* made for */
.made-grid { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 820px) { .made-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.who { padding: 26px 22px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--panel)); position: relative; overflow: hidden; }
.who::before { content: ""; position: absolute; left: 22px; top: 0; width: 44px; height: 3px; background: var(--teal); }
.who:nth-child(2)::before { background: var(--orange); }
.who:nth-child(3)::before { background: var(--violet); }
.who h3 { font-size: 22px; margin: 6px 0 10px; }
.who p { color: var(--muted); }

/* compare */
.cmp { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 820px) { .cmp { grid-template-columns: 1fr 1fr; gap: 14px; } }
.cmp-col { border-radius: var(--r); padding: 24px 22px; border: 1px solid var(--line); }
.cmp-col h3 { font-size: 20px; margin-bottom: 10px; }
.cmp-col ul { list-style: none; margin: 0; padding: 0; }
.cmp-col li { padding: 11px 0 11px 30px; position: relative; border-top: 1px solid var(--line); }
.cmp-col li:first-child { border-top: 0; }
.cmp-hand { background: var(--panel); }
.cmp-hand h3 { color: var(--muted); }
.cmp-hand li { color: var(--muted); }
.cmp-hand li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 2px; background: #6B7285; }
.cmp-bc { background: linear-gradient(150deg, rgba(32, 227, 194, .09), rgba(124, 92, 255, .08)), var(--panel); border-color: rgba(32, 227, 194, .35); }
.cmp-bc li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 13px; border: solid var(--teal); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.cmp-note { margin-top: 16px; }

/* pricing */
.beta-banner { margin-top: 28px; padding: 26px 22px; border-radius: var(--r); background: linear-gradient(45deg, rgba(32, 227, 194, .16), rgba(124, 92, 255, .16)), var(--panel); border: 1px solid rgba(32, 227, 194, .35); display: grid; gap: 18px; }
.beta-banner h3 { font-size: 26px; margin-bottom: 6px; }
.beta-banner p { color: #C5CAD6; }
@media (min-width: 820px) { .beta-banner { grid-template-columns: 1fr auto; align-items: center; padding: 30px 34px; } }
.pricing .sub { margin-top: 32px; }
.tiers { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 820px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.tier { border-radius: var(--r); padding: 24px 22px; border: 1px dashed #3a3f50; background: var(--panel); }
.tier-hi { border-style: solid; border-color: rgba(124, 92, 255, .55); }
.tier-tag { display: inline-block; font: 600 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); border: 1px solid rgba(255, 138, 31, .45); padding: 5px 9px; border-radius: 999px; }
.tier h3 { font-size: 24px; margin: 14px 0 4px; }
.price { font: 600 18px/1.3 var(--head); color: var(--muted); margin-bottom: 12px; }
.tier ul { margin: 0; padding: 0 0 0 18px; color: var(--muted); font-size: 15px; }
.tier li { padding: 4px 0; }
.tier li::marker { color: var(--teal); }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq h2 { margin-bottom: 24px; }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font: 600 18px/1.35 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform .18s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 64ch; }

/* join */
.join { padding-bottom: 96px; }
.join::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 100%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--red), transparent); }
.form { margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px 18px; display: grid; gap: 18px; }
@media (min-width: 600px) { .form { padding: 32px; } }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, legend { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
input[type=email], input[type=text] {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px/1.3 var(--body); color: var(--fg);
  background: var(--panel-2); border: 1.5px solid var(--line); border-radius: var(--r-in); outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
input::placeholder { color: #7E8598; }
input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(32, 227, 194, .2); }
input[aria-invalid=true] { border-color: var(--red); }
.err { color: #FF7A8E; font-size: 14px; min-height: 0; margin-top: 6px; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--panel-2); color: #C5CAD6; font-size: 15px; transition: all .15s var(--ease); }
.chip input:checked + span { border-color: var(--teal); background: rgba(32, 227, 194, .12); color: var(--fg); }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { font-weight: 500; }
.status:empty { display: none; }
.status.ok { color: var(--teal); }
.status.bad { color: #FF7A8E; }
.form .small a { color: var(--teal); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 14px; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--fg); }
@media (min-width: 820px) { .foot-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; } .foot-links { justify-content: center; } }

/* privacy page */
.doc { padding: 48px 0 80px; }
.doc h1 { font-size: clamp(38px, 8vw, 56px); margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc p, .doc li { color: #C5CAD6; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }

/* hit pulse used by JS on the CTA when the demo lands a big hit (decorative) */
@keyframes hit { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
