@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fbfaf8;
  --bg-soft: #f6f3ee;
  --surface: #ffffff;
  --ink: #171512;
  --ink-soft: #38342f;
  --muted: #746e65;
  --muted-light: #9c958c;
  --line: #e8e3dc;
  --line-strong: #d9d2c8;
  --red: #f04a3c;
  --red-deep: #dd3528;
  --red-soft: #fff0ec;
  --peach: #ffe4d9;
  --sage: #e7f2ea;
  --green: #2e8b57;
  --charcoal: #171512;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 2px 8px rgba(35, 27, 20, 0.04);
  --shadow-md: 0 18px 40px -24px rgba(35, 27, 20, 0.2);
  --shadow-lg: 0 40px 90px -50px rgba(35, 27, 20, 0.32);
  --font-sans: 'Manrope', 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--red);
  color: #fff;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

svg[viewBox="0 0 24 24"] {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 14px 0;
  transition: padding 0.35s var(--ease), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(251, 250, 248, 0.82);
  border-bottom-color: rgba(216, 209, 199, 0.7);
  box-shadow: 0 10px 30px -26px rgba(35, 27, 20, 0.3);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 14px -7px rgba(240, 74, 60, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-7deg) translateY(-1px);
  box-shadow: 0 10px 22px -9px rgba(240, 74, 60, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: right 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.shortcut-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.shortcut-hint kbd {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 18px -12px rgba(23, 21, 18, 0.6);
  transition: transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(240, 74, 60, 0.75);
}

.nav-cta:hover .icon {
  transform: translateX(3px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 150px 0 76px;
  text-align: center;
  isolation: isolate;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #fdfcf9 0%, var(--bg) 74%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(70, 56, 43, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 56, 43, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 70% 62% at 50% 34%, #000 5%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 34%, #000 5%, transparent 76%);
  opacity: 0.7;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.aurora--red {
  width: 520px;
  height: 460px;
  left: 50%;
  top: -170px;
  margin-left: -420px;
  background: rgba(255, 122, 95, 0.2);
  animation: blobDrift 16s ease-in-out infinite alternate;
}

.aurora--peach {
  width: 460px;
  height: 420px;
  right: -80px;
  top: 180px;
  background: rgba(255, 189, 148, 0.2);
  animation: blobDrift 21s ease-in-out infinite alternate-reverse;
}

.aurora--blue {
  width: 500px;
  height: 400px;
  left: -160px;
  top: 300px;
  background: rgba(174, 202, 255, 0.17);
  animation: blobDrift 19s ease-in-out infinite alternate;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(85, 69, 54, 0.09);
  border-radius: 50%;
}

.orbit-ring--one {
  width: 900px;
  height: 900px;
  left: 50%;
  top: -420px;
  margin-left: -450px;
}

.orbit-ring--two {
  width: 1280px;
  height: 1280px;
  left: 50%;
  top: -610px;
  margin-left: -640px;
  border-color: rgba(85, 69, 54, 0.055);
}

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: 980px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(210, 201, 190, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 16px -12px rgba(35, 27, 20, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43a46b;
  box-shadow: 0 0 0 4px rgba(67, 164, 107, 0.12);
  animation: pulseDot 2.8s ease-in-out infinite;
}

.badge-sep {
  width: 1px;
  height: 10px;
  background: var(--line-strong);
  margin: 0 1px;
}

.hero-title {
  margin: 26px auto 22px;
  font-size: clamp(52px, 7.4vw, 90px);
  line-height: 0.98;
  letter-spacing: -0.068em;
  font-weight: 800;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  position: relative;
  display: inline-block;
  margin-top: 3px;
  padding-bottom: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  background-image: linear-gradient(90deg, var(--red), var(--red));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 3px;
  animation: underlineIn 1.1s 0.9s var(--ease) forwards;
}

.hero-title-accent::after {
  content: '✳';
  display: inline-block;
  margin-left: 0.09em;
  color: var(--red);
  font-family: var(--font-sans);
  font-size: 0.24em;
  font-weight: 500;
  vertical-align: 0.6em;
  animation: spinSlow 18s linear infinite;
}

.hero-copy {
  max-width: 630px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.012em;
}

.hero-enter {
  opacity: 0;
  animation: heroIn 0.9s var(--ease) forwards;
  animation-delay: var(--delay, 0ms);
}

/* Download box */

.download-box {
  width: min(790px, 100%);
  margin: 34px auto 0;
  padding: 7px;
  border: 1px solid rgba(218, 210, 199, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 30px 60px -42px rgba(35, 27, 20, 0.42),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.download-box:focus-within {
  border-color: rgba(240, 74, 60, 0.55);
  box-shadow:
    0 34px 70px -42px rgba(35, 27, 20, 0.5),
    0 0 0 4px rgba(240, 74, 60, 0.08);
  transform: translateY(-1px);
}

.download-box.is-loading {
  pointer-events: none;
}

.url-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
}

.url-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.download-box:focus-within .url-icon {
  background: var(--red-soft);
  color: var(--red);
}

.url-icon .icon {
  width: 19px;
  height: 19px;
}

#urlInput {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 6px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
}

#urlInput::placeholder {
  color: var(--muted-light);
  font-weight: 500;
}

.paste-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.paste-btn .icon {
  width: 15px;
  height: 15px;
}

.paste-btn:hover {
  border-color: var(--line-strong);
  background: var(--bg-soft);
  color: var(--ink);
}

.fetch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 21px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 10px 20px -12px rgba(23, 21, 18, 0.65);
  transition: transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
}

.fetch-btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.fetch-btn:hover:not(:disabled) {
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px rgba(240, 74, 60, 0.8);
}

.fetch-btn:hover:not(:disabled) .fetch-arrow {
  transform: translateX(3px);
}

.fetch-btn:disabled {
  cursor: wait;
  opacity: 0.9;
}

.btn-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.download-box.is-loading .btn-spinner {
  display: block;
}

.download-box.is-loading .fetch-arrow {
  display: none;
}

.download-box.is-loading .fetch-btn {
  background: var(--ink-soft);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px 6px 14px;
  border-top: 1px solid rgba(232, 227, 220, 0.7);
  margin-top: 1px;
}

.works-with {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}

.works-label {
  margin-right: 3px;
  font-weight: 600;
}

.works-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 700;
}

.works-pill .icon {
  width: 12px;
  height: 12px;
  color: var(--red);
}

.form-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43a46b;
  box-shadow: 0 0 0 3px rgba(67, 164, 107, 0.1);
}

.inline-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(790px, 100%);
  margin: 12px auto 0;
  padding: 12px 14px;
  border: 1px solid #ffd2ca;
  border-radius: 13px;
  background: #fff6f4;
  color: #8e2c24;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  animation: errorIn 0.35s var(--ease);
}

.inline-error-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: #ffe3de;
  color: var(--red-deep);
}

.inline-error-icon .icon {
  width: 14px;
  height: 14px;
}

.inline-error-close {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: auto;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #b2544b;
  flex: none;
}

.inline-error-close:hover {
  background: #ffe3de;
}

.inline-error-close .icon {
  width: 14px;
  height: 14px;
}

.recent-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.recent-label {
  color: var(--muted-light);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recent-list {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.recent-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 190px;
  padding: 4px 9px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.recent-chip:hover {
  border-color: var(--line-strong);
  background: #fff;
  transform: translateY(-1px);
}

.recent-chip img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.recent-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-clear {
  border: 0;
  background: transparent;
  color: var(--muted-light);
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recent-clear:hover {
  color: var(--ink);
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-proof .icon {
  width: 13px;
  height: 13px;
  color: var(--green);
  stroke-width: 2.4;
}

.hero-platform-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
  color: var(--muted-light);
  font-size: 10.5px;
  font-weight: 600;
}

.hero-platform-links > span {
  margin-right: 2px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.platform-link:hover {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.platform-link--instagram:hover { color: #c13584; }
.platform-link--facebook:hover { color: #1877f2; }
.platform-link--reddit:hover { color: #ff4500; }

.scroll-cue {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin: 58px auto 0;
  color: var(--muted-light);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--line-strong), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 1px;
  height: 10px;
  background: var(--red);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

/* Floating decorations */

.hero-float {
  position: absolute;
  top: 250px;
  z-index: 3;
  width: 242px;
  pointer-events: none;
}

.hero-float--left {
  left: max(24px, calc(50% - 660px));
}

.hero-float--right {
  right: max(24px, calc(50% - 660px));
  top: 360px;
}

.float-card {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(215, 207, 197, 0.85);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 50px -30px rgba(35, 27, 20, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: floatCard 7s ease-in-out infinite;
}

.hero-float--left .float-card {
  transform: rotate(-5deg);
}

.hero-float--right .float-card {
  transform: rotate(4deg);
  animation-delay: -2.5s;
}

.float-thumb {
  position: relative;
  height: 108px;
  border-radius: 11px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 236, 202, 0.95), transparent 26%),
    linear-gradient(140deg, #b9c7b7 0%, #7c9a94 42%, #3e5e63 100%);
}

.float-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.17) 41%, transparent 58%),
    radial-gradient(ellipse at 22% 82%, rgba(29, 50, 46, 0.7), transparent 55%);
}

.float-thumb-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(23, 21, 18, 0.18);
}

.float-thumb-play svg {
  width: 13px;
  height: 13px;
  margin-left: 1px;
}

.float-thumb-time {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(15, 14, 12, 0.72);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.float-card-body {
  padding: 9px 4px 3px;
  text-align: left;
}

.float-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.float-channel {
  margin-top: 1px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
}

.float-progress {
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.float-progress i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.float-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.float-meta span:first-child {
  color: var(--red-deep);
}

.float-sticker {
  margin-top: 22px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  animation: floatSticker 6s ease-in-out infinite;
}

.float-sticker--red {
  width: 64px;
  margin-left: 22px;
  padding: 8px 7px;
  background: var(--red);
  color: #fff;
  transform: rotate(7deg);
  box-shadow: 0 10px 24px -12px rgba(240, 74, 60, 0.8);
}

.float-sticker--paper {
  width: 86px;
  margin-left: auto;
  margin-right: 12px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  background: #fffdf8;
  color: var(--muted);
  transform: rotate(-5deg);
  animation-delay: -2s;
}

.float-sticker--paper span {
  color: var(--ink);
  font-size: 13px;
}

.float-card--audio {
  padding: 13px 13px 11px;
}

.float-audio-head {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
}

.float-audio-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: none;
  border-radius: 9px;
  background: var(--red-soft);
  color: var(--red);
}

.float-audio-icon svg {
  width: 15px;
  height: 15px;
}

.float-audio-head div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.float-audio-head strong {
  font-size: 10px;
  line-height: 1.4;
}

.float-audio-head div span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
}

.float-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green);
}

.float-check svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
}

.waveform i {
  display: block;
  width: 3px;
  height: 40%;
  border-radius: 99px;
  background: currentColor;
  transform-origin: center;
  animation: waveBar 1.6s ease-in-out infinite alternate;
}

.waveform i:nth-child(3n) { height: 78%; animation-delay: -0.4s; }
.waveform i:nth-child(4n) { height: 58%; animation-delay: -0.8s; }
.waveform i:nth-child(5n) { height: 92%; animation-delay: -1.1s; }
.waveform i:nth-child(7n) { height: 34%; animation-delay: -0.2s; }

.waveform--mini {
  height: 34px;
  margin: 9px 1px 4px;
  color: var(--red);
  gap: 2px;
}

.waveform--mini i {
  flex: 1;
  width: auto;
}

/* Format marquee */

.format-strip {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-top: 1px solid #2a2620;
  border-bottom: 1px solid #2a2620;
  background: #171512;
  color: #f5f0e7;
  padding: 15px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.marquee-group i {
  color: var(--red);
  font-style: normal;
  font-size: 9px;
}

/* ---------- Loading skeleton ---------- */

.skeleton-section {
  padding-top: 64px;
}

.skeleton-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.skeleton {
  display: block;
  border-radius: 8px;
  background: linear-gradient(100deg, #f0ece6 20%, #faf8f4 38%, #f0ece6 56%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}

.skeleton-media {
  min-height: 420px;
  border-radius: 0;
}

.skeleton-body {
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.skeleton-line {
  height: 12px;
}

.skeleton-line--short {
  width: 30%;
}

.skeleton-line--title {
  width: 88%;
  height: 25px;
  margin: 4px 0;
}

.skeleton-tabs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.skeleton-tabs span {
  flex: 1;
  height: 44px;
  border-radius: 10px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.skeleton-grid span {
  height: 76px;
  border-radius: 12px;
}

.skeleton-button {
  height: 58px;
  border-radius: 14px;
  margin-top: 10px;
}

.skeleton-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.mini-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid var(--line);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ---------- Result / preview ---------- */

.result-section {
  padding-top: 74px;
  scroll-margin-top: 84px;
  animation: sectionIn 0.55s var(--ease);
}

.section-heading-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(240, 74, 60, 0.1);
}

.eyebrow-dot--pulse {
  animation: pulseDot 1.8s ease-in-out infinite;
}

.section-title {
  margin-top: 9px;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-title--big {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.section-copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.008em;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.text-btn .icon {
  width: 14px;
  height: 14px;
}

.text-btn:hover {
  color: var(--ink);
}

.preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.preview-media {
  position: relative;
  min-height: 540px;
  background: #0f0e0d;
  overflow: hidden;
  isolation: isolate;
}

.preview-media::before {
  content: '';
  position: absolute;
  inset: -24px;
  z-index: 0;
  background-image: var(--thumb, none);
  background-position: center;
  background-size: cover;
  filter: blur(28px) brightness(0.52) saturate(1.15);
  transform: scale(1.14);
  opacity: 0.95;
}

.preview-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(15, 14, 12, 0.2), transparent 28%, transparent 72%, rgba(15, 14, 12, 0.5)),
    linear-gradient(100deg, rgba(15, 14, 12, 0.18), transparent 45%);
  pointer-events: none;
}

.preview-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.duration-pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(15, 14, 12, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.media-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 8px 30px rgba(15, 14, 12, 0.2);
}

.media-play::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: playPulse 3s ease-out infinite;
}

.media-play svg {
  width: 25px;
  height: 25px;
  margin-left: 3px;
}

.media-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(15, 14, 12, 0.38);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-content {
  display: flex;
  flex-direction: column;
  padding: 36px 38px 32px;
}

.channel-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.channel-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f2b26, #5d554b);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.channel-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.channel-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.verified-icon {
  width: 12px;
  height: 12px;
  color: #4a7fda;
}

.channel-sub {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 5px;
  background: #ffe8e5;
  color: #c83324;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.live-pill span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseDot 1.4s ease-in-out infinite;
}

.preview-title {
  display: -webkit-box;
  margin-top: 16px;
  overflow: hidden;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.038em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 15px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.video-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.video-stats .icon {
  width: 12.5px;
  height: 12.5px;
  color: var(--muted-light);
}

.resolution-stat span {
  color: var(--ink-soft);
}

.mode-tabs {
  display: flex;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.mode-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  height: 41px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}

.mode-tab .icon {
  width: 15px;
  height: 15px;
}

.mode-tab .tab-suffix {
  color: var(--muted-light);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.mode-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(35, 27, 20, 0.07), 0 0 0 1px rgba(35, 27, 20, 0.03);
}

.mode-tab.is-active .tab-suffix {
  color: var(--red-deep);
}

.mode-tab:not(.is-active):hover {
  color: var(--ink-soft);
}

.mode-tab:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.text-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.text-btn:disabled:hover {
  color: var(--muted);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.quality-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  padding: 11px 12px 10px 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.quality-card:hover {
  border-color: var(--line-strong);
  background: #fffdfa;
  transform: translateY(-1px);
}

.quality-card.is-selected {
  border-color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.quality-radio {
  position: absolute;
  left: 11px;
  top: 14px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quality-card.is-selected .quality-radio {
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--red);
}

.q-label {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.q-sub {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.q-size {
  margin-top: 3px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 600;
}

.audio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audio-grid .quality-card {
  min-height: 64px;
}

.resolution-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.5;
}

.resolution-note .icon {
  width: 11px;
  height: 11px;
  margin-top: 1px;
  color: var(--muted-light);
}

.clip-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fcfaf6;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.clip-panel:has(.switch input:checked) {
  border-color: #f3c0b8;
  background: #fff9f7;
}

.clip-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.clip-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 8px;
  background: #f1ece4;
  color: var(--muted);
}

.clip-icon .icon {
  width: 14px;
  height: 14px;
}

.clip-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.clip-copy strong {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.clip-copy span {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
}

.switch {
  position: relative;
  display: inline-flex;
  margin-left: auto;
  flex: none;
}

.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.switch-track {
  width: 36px;
  height: 21px;
  border-radius: 99px;
  background: #dcd6cc;
  transition: background 0.25s ease;
  position: relative;
}

.switch-track::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 21, 18, 0.22);
  transition: transform 0.3s var(--ease-spring);
}

.switch input:checked + .switch-track {
  background: var(--red);
}

.switch input:checked + .switch-track::after {
  transform: translateX(15px);
}

.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.clip-fields {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 12px 12px 51px;
  animation: clipIn 0.3s var(--ease);
}

.time-field {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.time-field input {
  width: 68px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.time-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(240, 74, 60, 0.08);
}

.time-sep {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 600;
}

.clip-hint {
  flex-basis: 100%;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 500;
}

.clip-hint.is-error {
  color: var(--red-deep);
  font-weight: 700;
}

.download-cta-row {
  margin-top: auto;
  padding-top: 18px;
}

.primary-download {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 9px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 16px 30px -20px rgba(23, 21, 18, 0.75);
  transition: background 0.3s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.primary-download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.1) 46%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.primary-download:hover:not(:disabled) {
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 20px 36px -20px rgba(240, 74, 60, 0.75);
}

.primary-download:hover:not(:disabled)::before {
  transform: translateX(120%);
}

.primary-download:disabled {
  cursor: wait;
  opacity: 0.78;
}

.download-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

.download-icon .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.primary-download:hover:not(:disabled) .download-icon {
  background: rgba(255, 255, 255, 0.17);
}

.download-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

#downloadBtnLabel {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#downloadBtnSize {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9.5px;
  font-weight: 600;
}

.download-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.62);
  transition: transform 0.25s var(--ease), color 0.2s ease;
}

.download-arrow .icon {
  width: 17px;
  height: 17px;
}

.primary-download:hover:not(:disabled) .download-arrow {
  color: #fff;
  transform: translateX(3px);
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted-light);
  font-size: 9.5px;
  font-weight: 600;
}

.secure-note .icon {
  width: 11px;
  height: 11px;
  color: var(--green);
}

/* ---------- Downloads ---------- */

.downloads-section {
  padding-top: 76px;
  padding-bottom: 28px;
  scroll-margin-top: 84px;
}

.section-subcopy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.job-card {
  position: relative;
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  animation: jobIn 0.5s var(--ease);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.job-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.job-card.is-downloading {
  border-color: #f0d8d1;
  background: linear-gradient(100deg, #fff 52%, #fffaf7);
}

.job-card.is-complete {
  border-color: #d9e8dd;
  background: linear-gradient(100deg, #fff 65%, #f6fbf7);
}

.job-card.is-error {
  border-color: #f3d1cb;
  background: #fffaf9;
}

.job-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 13px;
  background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px rgba(23, 21, 18, 0.05);
}

.job-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-thumb-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(20, 18, 16, 0.26);
  color: #fff;
}

.job-thumb-overlay .icon {
  width: 19px;
  height: 19px;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
}

.job-thumb-overlay.is-done {
  background: rgba(33, 104, 65, 0.6);
}

.job-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 2px 0;
}

.job-top {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.job-title {
  min-width: 0;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 4px 8px;
  border: 1px solid #ece6dd;
  border-radius: 6px;
  background: #f8f5f0;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

.job-card.is-downloading .job-tag {
  border-color: #f6d8d1;
  background: var(--red-soft);
  color: #b34a3c;
}

.job-tag .icon {
  width: 9px;
  height: 9px;
}

.job-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.job-status-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-status-copy .status-dot {
  flex: none;
}

.job-card.is-downloading .status-dot,
.job-card.is-queued .status-dot {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(240, 74, 60, 0.1);
  animation: pulseDot 1.9s ease-in-out infinite;
}

.job-card.is-complete .status-dot {
  box-shadow: 0 0 0 3px rgba(67, 164, 107, 0.1);
}

.job-card.is-error .status-dot {
  background: #d36a59;
  box-shadow: 0 0 0 3px rgba(211, 106, 89, 0.1);
}

.job-stats {
  flex: none;
  color: var(--ink-soft);
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
}

.job-progress-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
}

.job-progress {
  position: relative;
  flex: 1;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #efece6;
}

.job-progress-fill {
  position: relative;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ff8064);
  transition: width 0.4s var(--ease);
}

.job-percent {
  flex: none;
  min-width: 38px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  text-align: right;
}

.job-percent.is-done {
  color: var(--green);
}

.job-card.is-downloading .job-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.42) 45%, transparent 65%);
  background-size: 200% 100%;
  animation: progressShine 1.4s linear infinite;
}

.job-progress.is-indeterminate .job-progress-fill {
  width: 34% !important;
  background: linear-gradient(90deg, rgba(240, 74, 60, 0.2), var(--red), #ff8064);
  transition: none;
  animation: indeterminateBar 1.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.job-card.is-complete .job-progress-fill {
  background: linear-gradient(90deg, #3a9363, #6bc28c);
}

.job-card.is-error .job-progress-fill {
  background: #e08b80;
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.job-action-btn .icon {
  width: 13px;
  height: 13px;
}

.job-action-btn:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.job-action-btn.is-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.job-action-btn.is-ghost:hover {
  border-color: #efc8c2;
  background: #fff5f3;
  color: var(--red-deep);
  transform: none;
}

.job-icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.job-icon-btn .icon {
  width: 14px;
  height: 14px;
}

.job-icon-btn:hover {
  border-color: #efc8c2;
  background: #fff5f3;
  color: var(--red-deep);
}

.job-error-message {
  margin-top: 8px;
  color: #a44339;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.job-error-message strong {
  font-weight: 800;
}

.queue-wait {
  color: var(--muted);
  font-style: italic;
}

/* ---------- Platforms ---------- */

.platforms-section {
  padding: 96px 0 88px;
  background: #fff;
  scroll-margin-top: 72px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 206px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.platform-icon svg {
  width: 23px;
  height: 23px;
}

.platform-card--youtube .platform-icon {
  background: #ff2d2d;
  color: #fff;
}

.platform-card--instagram .platform-icon {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 48%, #6228d7 100%);
  color: #fff;
}

.platform-card--facebook .platform-icon {
  background: #1877f2;
  color: #fff;
}

.platform-card--reddit .platform-icon {
  background: #ff4500;
  color: #fff;
}

.platform-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 20px;
}

.platform-copy strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.platform-copy > span {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
}

.platform-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.platform-state--live {
  border-color: #d8eadf;
  background: #f1faf4;
  color: #2c7d51;
}

.platform-state--live span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3d9a64;
  animation: pulseDot 2.4s ease-in-out infinite;
}

.platform-arrow {
  position: absolute;
  right: 20px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-light);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}

.platform-arrow svg {
  width: 13px;
  height: 13px;
}

.platform-card:hover .platform-arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: rotate(-35deg);
}

.platform-disclaimer {
  margin-top: 18px;
  color: var(--muted-light);
  font-size: 9.5px;
  font-weight: 500;
  text-align: center;
}

/* ---------- Section headings / features ---------- */

.features {
  padding: 118px 0 120px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 240, 232, 0.65), transparent 70%),
    var(--bg-soft);
  scroll-margin-top: 70px;
}

.section-heading {
  max-width: 720px;
}

.section-heading--center {
  margin: 0 auto;
  text-align: center;
}

.section-heading--center .section-copy {
  max-width: 520px;
  margin: 17px auto 0;
}

.section-heading .section-title {
  margin-top: 13px;
}

.section-heading .section-copy {
  margin-top: 16px;
}

.section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  max-width: none;
}

.section-heading--split .section-copy {
  max-width: 390px;
  margin-bottom: 6px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  padding: 28px;
  border: 1px solid #e3ddd3;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: #d4ccc0;
  box-shadow: 0 28px 50px -38px rgba(35, 27, 20, 0.38);
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.bento-4k {
  grid-column: span 7;
  min-height: 388px;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
}

.bento-audio {
  grid-column: span 5;
  background: #fdf8f2;
}

.bento-clip {
  grid-column: span 5;
}

.bento-queue {
  grid-column: span 7;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
}

.bento-private {
  grid-column: span 6;
  background: #f7faf7;
}

.bento-keyboard {
  grid-column: span 6;
  background: #fbf9f4;
}

.bento-copy {
  position: relative;
  z-index: 2;
  max-width: 370px;
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-kicker .icon {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.bento-card h3 {
  margin-top: 13px;
  font-size: clamp(25px, 2.5vw, 33px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.bento-card p {
  max-width: 410px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: -0.005em;
}

.bento-card kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 800;
  vertical-align: 1px;
}

.bento-card .key-plus {
  margin: 0 2px;
  color: var(--muted-light);
  font-size: 10px;
}

/* 4K visual */

.resolution-visual {
  position: relative;
  flex: 1;
  min-width: 220px;
  min-height: 290px;
}

.res-halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}

.res-halo--one {
  width: 190px;
  height: 190px;
  right: 20px;
  top: 20px;
  background: rgba(255, 169, 131, 0.32);
}

.res-halo--two {
  width: 160px;
  height: 160px;
  right: 92px;
  bottom: 10px;
  background: rgba(255, 218, 168, 0.35);
}

.res-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(220, 210, 198, 0.9);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 40px -28px rgba(35, 27, 20, 0.42);
  font-weight: 800;
  text-align: left;
  letter-spacing: -0.04em;
}

.res-chip--back {
  right: 18px;
  top: 25px;
  width: 128px;
  height: 78px;
  padding: 13px;
  color: var(--muted);
  font-size: 18px;
  transform: rotate(9deg);
  opacity: 0.8;
}

.res-chip--mid {
  right: 72px;
  top: 84px;
  width: 145px;
  height: 88px;
  padding: 14px;
  color: var(--ink-soft);
  font-size: 21px;
  transform: rotate(-4deg);
}

.res-chip--front {
  right: 20px;
  top: 158px;
  width: 186px;
  height: 120px;
  padding: 19px;
  border-color: #efc2b4;
  background: linear-gradient(145deg, #fffdfb, #fff4ee);
  transform: rotate(3deg);
  animation: chipFloat 6s ease-in-out infinite;
}

.res-chip--front strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 45px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--red-deep);
}

.res-chip--front span {
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.res-spark {
  position: absolute;
  right: 2px;
  top: 0;
  color: var(--red);
  animation: spinSlow 16s linear infinite;
}

.res-spark svg {
  width: 20px;
  height: 20px;
}

/* Audio visual */

.audio-visual {
  position: relative;
  padding-top: 20px;
}

.waveform--large {
  height: 80px;
  gap: 4px;
  color: var(--red);
}

.waveform--large i {
  flex: 1;
  width: auto;
  background: linear-gradient(180deg, #ff7c66, var(--red-deep));
  opacity: 0.85;
}

.audio-tags {
  display: flex;
  gap: 5px;
  margin-top: 16px;
}

.audio-tags span {
  padding: 4px 7px;
  border: 1px solid #efd9ca;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.68);
  color: #a75c43;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* Clip visual */

.clip-visual {
  position: relative;
  padding: 24px 0 0;
}

.clip-ruler {
  display: flex;
  justify-content: space-between;
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.clip-track {
  position: relative;
  height: 52px;
  margin-top: 7px;
  border: 1px solid #e4ded4;
  border-radius: 9px;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent 15px, rgba(89, 73, 58, 0.08) 15px, rgba(89, 73, 58, 0.08) 16px),
    #fbf8f3;
  overflow: visible;
}

.clip-fill {
  position: absolute;
  left: 26%;
  right: 22%;
  top: -1px;
  bottom: -1px;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  background: rgba(240, 74, 60, 0.12);
}

.clip-handle {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 7px;
  border-radius: 3px;
  background: var(--red);
  box-shadow: 0 2px 6px rgba(240, 74, 60, 0.3);
}

.clip-handle::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  width: 3px;
  height: 10px;
  margin-top: -5px;
  border-left: 1px solid rgba(255, 255, 255, 0.55);
  border-right: 1px solid rgba(255, 255, 255, 0.55);
}

.clip-handle--left {
  left: calc(26% - 3px);
}

.clip-handle--right {
  right: calc(22% - 3px);
}

.clip-readout {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.clip-readout i {
  width: 20px;
  height: 1px;
  background: var(--line-strong);
}

/* Queue visual */

.queue-visual {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 250px;
}

.queue-window {
  width: 100%;
  padding: 12px;
  border: 1px solid #e4ded4;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 36px -30px rgba(35, 27, 20, 0.35);
}

.queue-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px 10px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
}

.queue-count {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-deep);
  font-size: 7.5px;
}

.queue-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 6px;
  border-top: 1px solid #f0ebe4;
}

.queue-thumb {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 7px;
  background: linear-gradient(140deg, #ced7c3, #6e8b82);
}

.queue-thumb--two {
  background: linear-gradient(140deg, #e1cdb5, #a47755);
}

.queue-thumb--three {
  background: linear-gradient(140deg, #c7c9d6, #62677e);
}

.queue-info {
  flex: 1;
  min-width: 0;
}

.queue-info strong {
  display: block;
  overflow: hidden;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-progress {
  display: block;
  height: 3px;
  margin-top: 4px;
  border-radius: 99px;
  background: #eee8e0;
  overflow: hidden;
}

.queue-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ff8e72);
}

.queue-status {
  flex: none;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.queue-row--done .queue-progress i {
  background: #54a578;
}

.queue-status .icon {
  width: 10px;
  height: 10px;
  color: var(--green);
  stroke-width: 2.6;
}

/* Privacy visual */

.shield-visual {
  position: relative;
  align-self: center;
  width: 160px;
  height: 140px;
  margin-top: 4px;
}

.shield-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(58, 126, 82, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.shield-ring--one {
  width: 108px;
  height: 108px;
  animation: ringPulse 4s ease-in-out infinite;
}

.shield-ring--two {
  width: 150px;
  height: 150px;
  border-style: dashed;
  opacity: 0.7;
  animation: spinSlow 32s linear infinite;
}

.shield-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #d7e8dc;
  border-radius: 18px;
  background: linear-gradient(145deg, #fafffb, #e7f4eb);
  color: #34875a;
  box-shadow: 0 16px 30px -20px rgba(37, 104, 65, 0.4);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.shield-core svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shield-badge {
  position: absolute;
  right: -2px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border: 1px solid #d7e8dc;
  border-radius: 7px;
  background: #fff;
  color: #3d7d55;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: rotate(5deg);
}

.shield-badge .icon {
  width: 9px;
  height: 9px;
}

/* Keyboard visual */

.keyboard-visual {
  margin-top: 22px;
}

.keyboard-keys {
  display: flex;
  align-items: center;
  gap: 8px;
}

.key {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #d8d0c5;
  border-bottom-width: 3px;
  border-radius: 9px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 10px -8px rgba(35, 27, 20, 0.3);
}

.key--wide {
  min-width: 64px;
}

.keyboard-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 600;
}

.typing-caret {
  width: 1px;
  height: 11px;
  background: var(--red);
  animation: blink 1.1s step-end infinite;
}

/* ---------- How it works ---------- */

.how {
  padding: 118px 0 110px;
  background: #fff;
  scroll-margin-top: 70px;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.step {
  position: relative;
  padding: 28px 26px 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.step:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: 19px;
  right: 23px;
  color: #ddd6cb;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 45px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red);
}

.step-icon .icon {
  width: 17px;
  height: 17px;
}

.step h3 {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.step-tag {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.promise-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise {
  display: flex;
  flex-direction: column;
  padding: 25px 26px;
  border-right: 1px solid var(--line);
}

.promise:last-child {
  border-right: 0;
}

.promise strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.promise span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 118px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  scroll-margin-top: 70px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 116px;
}

.faq-intro .section-copy {
  max-width: 300px;
  margin-top: 18px;
}

.faq-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 280px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
}

.faq-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--green);
}

.accordion {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 21px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
  text-align: left;
}

.faq-question:hover {
  color: var(--red-deep);
}

.faq-plus {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.faq-plus .icon {
  width: 11px;
  height: 11px;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 580px;
  padding: 0 34px 22px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.faq-answer strong {
  color: var(--ink-soft);
  font-weight: 700;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding-top: 100px;
  padding-bottom: 100px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 76px 40px 68px;
  border-radius: 30px;
  background: #15130f;
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.cta-glow {
  position: absolute;
  left: 50%;
  top: -260px;
  z-index: -1;
  width: 760px;
  height: 600px;
  margin-left: -380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 74, 60, 0.4), transparent 66%);
  filter: blur(50px);
}

.cta-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 72%);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.5);
}

.eyebrow--light .eyebrow-dot {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(240, 74, 60, 0.16);
}

.cta-card h2 {
  max-width: 670px;
  margin: 18px auto 0;
  font-size: clamp(37px, 5.4vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.cta-card h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #ffb6a5;
}

.cta-card p {
  max-width: 440px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 13.5px;
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 53px;
  margin-top: 28px;
  padding: 0 21px;
  border: 0;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}

.cta-button .icon {
  width: 15px;
  height: 15px;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: var(--red);
  color: #fff;
}

.cta-arrow {
  margin-left: 2px;
  transition: transform 0.25s var(--ease);
}

.cta-button:hover .cta-arrow {
  transform: translateX(3px);
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-top: 54px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 92px;
}

.footer-heading {
  margin-bottom: 4px;
  color: var(--muted-light);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links span:not(.footer-heading) {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 19px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
}

.footer-bottom p,
.footer-bottom > span {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.6;
}

.footer-heart {
  color: var(--red);
  font-size: 8px;
}

/* ---------- Toasts ---------- */

.toast-region {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(330px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 45px -25px rgba(35, 27, 20, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: auto;
  animation: toastIn 0.45s var(--ease);
}

.toast.is-leaving {
  animation: toastOut 0.3s ease forwards;
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green);
}

.toast-icon .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}

.toast.is-error .toast-icon {
  background: #ffe8e4;
  color: var(--red-deep);
}

.toast strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
}

.toast span {
  color: var(--muted);
}

/* ---------- Motion ---------- */

body.motion-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

body.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes underlineIn {
  to { background-size: 100% 3px; }
}

@keyframes blobDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(34px, 22px, 0) scale(1.06); }
  100% { transform: translate3d(-18px, 42px, 0) scale(0.96); }
}

@keyframes floatCard {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes floatSticker {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 6px; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes shimmer {
  from { background-position: 140% 0; }
  to { background-position: -40% 0; }
}

@keyframes waveBar {
  from { transform: scaleY(0.35); opacity: 0.6; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes scrollDrop {
  0% { top: -10px; opacity: 0; }
  25% { opacity: 1; }
  80% { top: 36px; opacity: 1; }
  100% { top: 36px; opacity: 0; }
}

@keyframes playPulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

@keyframes chipFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.96); opacity: 0.9; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 0.5; }
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes progressShine {
  from { background-position: 200% 0; }
  to { background-position: -60% 0; }
}

@keyframes indeterminateBar {
  0% { transform: translateX(-130%); }
  100% { transform: translateX(330%); }
}

@keyframes sectionIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes jobIn {
  from { opacity: 0; transform: translateY(10px) scale(0.995); }
  to { opacity: 1; transform: none; }
}

@keyframes clipIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@keyframes errorIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes toastOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(8px) scale(0.98); }
}

@keyframes skeletonPulse {
  from { opacity: 0.65; }
  to { opacity: 1; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero-float {
    opacity: 0.55;
    transform: scale(0.9);
  }

  .hero-float--left {
    left: -40px;
  }

  .hero-float--right {
    right: -38px;
  }
}

@media (max-width: 1020px) {
  .hero-float {
    display: none;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-4k,
  .bento-audio,
  .bento-clip,
  .bento-queue,
  .bento-private,
  .bento-keyboard {
    grid-column: span 6;
  }

  .bento-4k,
  .bento-queue {
    grid-column: span 12;
  }

  .faq-grid {
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .preview-card,
  .skeleton-card {
    grid-template-columns: 1fr;
  }

  .preview-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .preview-content {
    padding: 30px;
  }

  .skeleton-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .section-heading--split {
    display: block;
  }

  .section-heading--split .section-copy {
    max-width: 500px;
    margin-top: 18px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 0;
  }

  .promise-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .promise:nth-child(2) {
    border-right: 0;
  }

  .promise:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro .section-copy {
    max-width: 480px;
  }
}

@media (max-width: 760px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-header {
    padding: 10px 0;
  }

  .shortcut-hint {
    display: none;
  }

  .hero {
    padding-top: 126px;
    padding-bottom: 54px;
  }

  .hero-title {
    font-size: clamp(47px, 11vw, 68px);
  }

  .hero-copy {
    font-size: 15.5px;
  }

  .download-box {
    margin-top: 28px;
  }

  .url-row {
    flex-wrap: wrap;
    padding: 5px;
    gap: 6px;
  }

  .url-icon {
    display: none;
  }

  #urlInput {
    flex: 1 1 100%;
    height: 49px;
    padding: 0 9px;
    font-size: 14.5px;
  }

  .paste-btn {
    flex: 0 0 auto;
    height: 44px;
  }

  .fetch-btn {
    flex: 1;
    height: 44px;
  }

  .form-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 10px;
  }

  .form-note {
    display: none;
  }

  .hero-proof {
    gap: 7px 14px;
    font-size: 10.5px;
  }

  .scroll-cue {
    display: none;
  }

  .bento-4k,
  .bento-audio,
  .bento-clip,
  .bento-queue,
  .bento-private,
  .bento-keyboard {
    grid-column: span 12;
  }

  .bento-4k,
  .bento-queue {
    flex-direction: column;
  }

  .bento-card {
    min-height: 0;
    padding: 24px;
  }

  .bento-4k {
    min-height: 460px;
  }

  .resolution-visual {
    min-height: 230px;
    width: 100%;
  }

  .res-chip--front {
    right: 12%;
  }

  .res-chip--mid {
    right: 27%;
  }

  .res-chip--back {
    right: 6%;
  }

  .queue-visual {
    min-width: 0;
    margin-top: 22px;
  }

  .features,
  .how,
  .faq {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .platforms-section {
    padding-top: 78px;
    padding-bottom: 68px;
  }

  .platform-grid {
    margin-top: 32px;
  }

  .section-title--big {
    font-size: clamp(35px, 9vw, 48px);
  }

  .bento {
    margin-top: 36px;
  }

  .footer-top {
    flex-direction: column;
    gap: 36px;
    padding-top: 42px;
  }

  .footer-links {
    gap: 40px;
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cta-card {
    padding: 54px 24px 48px;
    border-radius: 24px;
  }

  .final-cta {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .job-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px 16px;
    min-height: 0;
    padding: 15px;
  }

  .job-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 2px;
  }

  .job-action-btn {
    height: 36px;
  }

  .job-percent {
    font-size: 9.5px;
  }

  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-content {
    padding: 25px 22px 24px;
  }

  .preview-title {
    font-size: 21px;
  }

  .section-heading-inline {
    align-items: flex-end;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 30px;
  }

  .result-section,
  .downloads-section {
    padding-top: 54px;
  }

  .skeleton-body {
    padding: 24px;
  }

  .skeleton-media {
    aspect-ratio: 16 / 9;
  }

  .toast-region {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 16.5px;
  }

  .nav-cta {
    height: 39px;
    padding: 0 13px;
    font-size: 11.5px;
  }

  .nav-cta .icon {
    display: none;
  }

  .hero-badge {
    gap: 6px;
    padding: 7px 11px;
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: clamp(43px, 12vw, 56px);
    letter-spacing: -0.06em;
  }

  .hero-copy {
    font-size: 14px;
  }

  .works-with {
    font-size: 10px;
  }

  .works-pill {
    font-size: 9px;
  }

  .quality-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audio-grid {
    grid-template-columns: 1fr;
  }

  .video-stats {
    gap: 6px 10px;
    font-size: 10px;
  }

  .mode-tab .tab-suffix {
    display: none;
  }

  .clip-fields {
    padding-left: 13px;
  }

  .primary-download {
    min-height: 56px;
  }

  .promise-row {
    grid-template-columns: 1fr 1fr;
  }

  .promise {
    padding: 20px 16px;
  }

  .promise strong {
    font-size: 29px;
  }

  .promise span {
    font-size: 9px;
  }

  .footer-links {
    gap: 28px;
  }

  .footer-links > div {
    min-width: 70px;
  }

  .cta-card h2 {
    font-size: 35px;
  }

  .bento-card h3 {
    font-size: 26px;
  }

  .res-chip--front {
    width: 164px;
    height: 108px;
    right: 4%;
  }

  .res-chip--front strong {
    font-size: 38px;
  }

  .res-chip--mid {
    width: 126px;
    height: 78px;
    right: 24%;
    font-size: 18px;
  }

  .res-chip--back {
    width: 110px;
    height: 68px;
    font-size: 16px;
  }

  .job-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 13px;
    border-radius: 16px;
  }

  .job-thumb {
    border-radius: 10px;
  }

  .job-title {
    font-size: 12.5px;
  }

  .job-top {
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  .job-tag {
    display: none;
  }

  .job-status-row {
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 8.5px;
  }

  .job-stats {
    font-size: 8.5px;
  }

  .job-progress-row {
    gap: 8px;
    margin-top: 10px;
  }

  .job-actions {
    justify-content: stretch;
  }

  .job-action-btn {
    flex: 1;
    justify-content: center;
  }

  .toast-region {
    width: calc(100vw - 32px);
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 168px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  body.motion-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-enter {
    opacity: 1;
  }

  .hero-title-accent {
    background-size: 100% 3px;
  }
}
