:root {
  color-scheme: dark;
  --bg: #080d18;
  --bg-raised: #0d1423;
  --panel: #101a2d;
  --panel-raised: #141f34;
  --field: #0b1322;
  --field-hover: #101b2e;
  --line: rgba(198, 211, 240, 0.14);
  --line-strong: rgba(198, 211, 240, 0.24);
  --text: #f6f8ff;
  --text-soft: #c4ccdc;
  --muted: #8c98b0;
  --accent: #7b87ff;
  --accent-bright: #9ba4ff;
  --accent-soft: rgba(123, 135, 255, 0.14);
  --mint: #59dcb1;
  --mint-soft: rgba(89, 220, 177, 0.12);
  --amber: #f7c66d;
  --danger: #ff9c8a;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 9% -4%, rgba(91, 102, 214, 0.16), transparent 34rem),
    radial-gradient(circle at 93% 18%, rgba(41, 129, 172, 0.11), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 100; top: -100px; left: 18px; padding: 10px 14px; color: var(--bg); border-radius: var(--radius-xs); background: var(--text); font-weight: 800; }
.skip-link:focus { top: 18px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  width: min(100% - 64px, 1320px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-size: 20px; font-weight: 850; letter-spacing: -0.055em; }
.brand-mark { width: 28px; height: 28px; color: var(--accent); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-word { letter-spacing: -0.07em; }
.brand-plus { margin-left: -6px; color: var(--accent-bright); font-size: 1.22em; font-weight: 900; letter-spacing: -0.12em; line-height: 1; text-shadow: 0 0 18px rgba(123, 135, 255, 0.3); }
.top-nav { display: flex; gap: 28px; color: var(--muted); font-size: 13px; font-weight: 680; }
.top-nav a, .header-cta, .site-footer a { transition: color 160ms ease; }
.top-nav a:hover, .header-cta:hover, .site-footer a:hover { color: var(--accent-bright); }
.header-cta { color: var(--text-soft); font-size: 13px; font-weight: 780; }
.header-cta span { margin-left: 4px; color: var(--accent-bright); font-size: 16px; }
.header-actions { display: inline-flex; align-items: center; gap: 18px; }
.pro-header-button, .pro-preview-chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 9px; color: var(--accent-bright); border: 1px solid rgba(155,164,255,.3); border-radius: 999px; background: var(--accent-soft); font-size: 10px; font-weight: 820; letter-spacing: .035em; }
.pro-header-button { min-height: 32px; }
.pro-header-button:hover, .pro-preview-chip:hover { color: #fff; border-color: rgba(155,164,255,.68); background: rgba(123,135,255,.24); }
.pro-header-button span { color: var(--text-soft); font-weight: 700; }
.theme-control { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 760; }
.theme-control-label { letter-spacing: .02em; }
.theme-control select { min-height: 32px; padding: 6px 26px 6px 9px; color: var(--text-soft); border: 1px solid var(--line); border-radius: 7px; appearance: none; background-color: var(--field); background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%); background-position: calc(100% - 13px) 13px, calc(100% - 8px) 13px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; font-size: 11px; font-weight: 750; cursor: pointer; outline: none; }
.theme-control select:hover { border-color: var(--line-strong); background-color: var(--field-hover); }
.theme-control select:focus { border-color: var(--accent-bright); box-shadow: 0 0 0 3px var(--accent-soft); }

.hero {
  position: relative;
  width: min(100% - 64px, 1320px);
  min-height: 500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-copy { padding: 76px 0; }
.eyebrow, .surface-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(89, 220, 177, 0.1); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 24px; color: var(--text); font-size: clamp(56px, 7vw, 98px); line-height: 0.9; letter-spacing: -0.085em; font-weight: 850; }
h1 em, h2 em { color: var(--accent-bright); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.07em; }
.hero-intro { max-width: 510px; margin-bottom: 30px; color: var(--text-soft); font-size: 17px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.button {
  min-height: 42px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--field);
  box-shadow: none;
  font-size: 13px;
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(155, 164, 255, 0.54); color: var(--text); background: var(--field-hover); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22); }
.button:disabled { cursor: not-allowed; opacity: 0.42; }
.button-primary { color: #fff; border-color: var(--accent); background: linear-gradient(135deg, #6977f4, #8a95ff); box-shadow: 0 10px 25px rgba(85, 100, 241, 0.27); }
.button-primary:hover:not(:disabled) { background: linear-gradient(135deg, #7987ff, #a0a9ff); box-shadow: 0 14px 30px rgba(85, 100, 241, 0.34); }
.button-dark { color: #fff; border-color: rgba(255, 255, 255, 0.28); background: #1b2842; }
.button-quiet { min-height: 36px; padding: 7px 10px; color: var(--text-soft); background: transparent; box-shadow: none; }
.button-large { min-height: 48px; padding-inline: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-soft); font-size: 13px; font-weight: 760; }
.text-link span { color: var(--accent-bright); font-size: 18px; transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(3px); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 17px; padding: 0; margin: 35px 0 0; list-style: none; color: var(--muted); font-size: 11px; font-weight: 700; }
.hero-notes li { display: flex; align-items: center; gap: 7px; }
.hero-notes li::before { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); content: ""; }

.hero-art { position: relative; min-height: 420px; }
.hero-art::before { position: absolute; inset: 45px 4% 32px 8%; border: 1px solid rgba(155, 164, 255, 0.26); border-radius: 48% 52% 46% 54%; background: radial-gradient(circle at 45% 45%, rgba(123, 135, 255, 0.26), rgba(12, 20, 37, 0) 58%); transform: rotate(-8deg); content: ""; }
.hero-art::after { position: absolute; inset: 75px 16% 60px 20%; border: 1px solid rgba(89, 220, 177, 0.19); border-radius: 50%; transform: rotate(20deg); content: ""; }
.orbit { position: absolute; border: 1px solid rgba(176, 190, 225, 0.14); border-radius: 50%; }
.orbit-one { width: 310px; height: 310px; top: 65px; left: 13%; transform: rotate(31deg); }
.orbit-two { width: 420px; height: 275px; top: 105px; right: -3%; transform: rotate(-21deg); }
.floating-card { position: absolute; z-index: 2; width: 190px; padding: 13px; border: 1px solid rgba(183, 198, 233, 0.22); border-radius: var(--radius-sm); background: rgba(20, 31, 52, 0.92); box-shadow: var(--shadow); transform: rotate(var(--r)); }
.card-png { --r: -9deg; top: 96px; left: 9%; }
.card-jpg { --r: 8deg; right: 8%; bottom: 77px; }
.file-type { display: block; margin-bottom: 10px; color: var(--accent-bright); font-size: 10px; font-weight: 850; letter-spacing: 0.12em; }
.floating-card small { display: block; margin-top: 10px; color: var(--text-soft); font-size: 10px; font-weight: 650; }
.mini-landscape { position: relative; height: 108px; overflow: hidden; border-radius: var(--radius-xs); background: #4e70a5; }
.mini-transparent { background-color: #172135; background-image: linear-gradient(45deg, rgba(255,255,255,.12) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.12) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,.12) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.12) 75%); background-position: 0 0, 0 9px, 9px -9px, -9px 0; background-size: 18px 18px; }
.mini-landscape i, .mini-landscape b { position: absolute; bottom: -12px; display: block; background: #50bf9b; transform: rotate(45deg); }
.mini-landscape i { left: 16px; width: 70px; height: 70px; }
.mini-landscape b { right: 3px; width: 88px; height: 88px; background: #2e846c; }
.mini-white { background: #dfe8fb; }
.mini-white::before { position: absolute; top: 12px; right: 14px; width: 17px; height: 17px; border-radius: 50%; background: var(--amber); content: ""; }
.conversion-stamp { position: absolute; z-index: 4; top: 46%; left: 43%; display: flex; align-items: center; gap: 9px; padding: 8px 12px; color: var(--text); border: 1px solid rgba(183, 198, 233, 0.27); border-radius: 999px; background: rgba(11, 19, 34, 0.92); box-shadow: var(--shadow); font-size: 10px; font-weight: 850; letter-spacing: 0.08em; }
.conversion-stamp strong { color: var(--mint); font-size: 15px; }

.converter-section { width: min(100% - 64px, 1320px); margin: 0 auto; padding: 84px 0 78px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.section-heading h2, .side-header h2, .how-heading h2, .privacy-section h2 { margin-bottom: 0; color: var(--text); font-size: clamp(34px, 4vw, 52px); line-height: 0.98; letter-spacing: -0.07em; }
.section-note { max-width: 235px; margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.converter-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 390px); gap: 16px; align-items: start; }
.workspace {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #111b2d 0%, #0d1525 100%);
  box-shadow: var(--shadow);
}
.studio-workspace { display: flex; flex-direction: column; gap: 18px; }
.workspace-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 15px; border-bottom: 1px solid var(--line); }
.workspace-label { color: var(--text-soft); font-size: 11px; font-weight: 820; letter-spacing: 0.085em; }
.workspace-signals { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.pro-preview-chip { min-height: 27px; padding: 4px 8px; font-size: 9px; }
.pro-preview-chip > span { color: #fff; font-size: 8px; font-weight: 900; letter-spacing: .09em; }
.local-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; color: var(--mint); border: 1px solid rgba(89, 220, 177, 0.22); border-radius: 999px; background: var(--mint-soft); font-size: 10px; font-weight: 800; letter-spacing: 0.02em; }
.local-badge span { color: var(--mint); font-size: 8px; }

.upload-surface, .recipe-surface, .studio-panel { margin: 0; }
.surface-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.surface-heading .surface-kicker { margin-bottom: 5px; color: var(--accent-bright); font-size: 10px; }
.surface-heading h3 { margin: 0; color: var(--text); font-size: 18px; letter-spacing: -0.035em; }
.surface-tag { padding: 5px 8px; color: var(--text-soft); border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); font-size: 10px; font-weight: 750; }
.recipe-heading > p { max-width: 290px; margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; text-align: right; }

.drop-zone {
  position: relative;
  min-height: 245px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-soft);
  border: 1px dashed rgba(156, 174, 218, 0.42);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 40%, rgba(123,135,255,.1), transparent 55%),
    #0b1322;
  outline: none;
  text-align: center;
  transition: border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease, transform 170ms ease;
}
.drop-zone::before { position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.035); border-radius: 11px; content: ""; pointer-events: none; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: var(--accent-bright); background: radial-gradient(circle at 50% 40%, rgba(123,135,255,.17), transparent 58%), #0d172a; box-shadow: inset 0 0 0 3px rgba(123,135,255,.09), 0 10px 28px rgba(0,0,0,.2); transform: translateY(-1px); }
.upload-icon { width: 54px; height: 54px; padding: 12px; display: grid; place-items: center; color: var(--accent-bright); border: 1px solid rgba(155,164,255,.36); border-radius: 14px; background: linear-gradient(145deg, rgba(123,135,255,.2), rgba(123,135,255,.06)); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.drop-zone strong { margin-top: 15px; color: var(--text); font-size: 17px; letter-spacing: -0.025em; }
.drop-zone > span { margin-top: 5px; color: var(--text-soft); font-size: 13px; }
.drop-zone small { max-width: 530px; margin-top: 13px; color: var(--muted); font-size: 11px; font-weight: 600; }
.clipboard-hint { display: inline-flex; align-items: center; gap: 4px; margin-top: 11px !important; color: var(--accent-bright) !important; font-size: 10px !important; font-weight: 760; }
.clipboard-hint kbd { min-width: 18px; padding: 2px 5px; color: var(--text-soft); border: 1px solid var(--line-strong); border-bottom-color: rgba(155,164,255,.52); border-radius: 4px; background: var(--field); font-family: inherit; font-size: 9px; line-height: 1.2; }
.folder-button { margin-top: 12px; padding: 0; color: var(--accent-bright); border: 0; background: transparent; font-size: 11px; font-weight: 760; }
.folder-button:hover { color: #fff; text-decoration: underline; }

.recipe-surface { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #0b1322; }
.controls-row { display: grid; grid-template-columns: 1.32fr 1fr 1fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #0d1728; }
.controls-row > * { min-width: 0; padding: 16px; border-right: 1px solid var(--line); background: transparent; }
.controls-row > *:last-child { border-right: 0; }
.quality-control { grid-column: auto; background: linear-gradient(135deg, rgba(123,135,255,.11), transparent 78%) !important; }
.quality-control label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--text-soft); font-size: 12px; font-weight: 760; }
.quality-control output, .range-inline output { color: var(--accent-bright); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; margin: 0; accent-color: var(--accent-bright); }
.quality-control.is-disabled { opacity: .46; }
.quality-control.is-disabled input { cursor: not-allowed; }
.range-labels { display: flex; justify-content: space-between; margin-top: 7px; color: var(--muted); font-size: 10px; }
.compact-control label, .background-control label, .studio-field label, .control-kicker { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.pro-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 17px; padding: 2px 5px; margin-left: 5px; vertical-align: 1px; color: var(--accent-bright); border: 1px solid rgba(155,164,255,.28); border-radius: 999px; background: var(--accent-soft); font-size: 8px; font-weight: 900; letter-spacing: .07em; line-height: 1; text-transform: uppercase; }
.folder-button .pro-badge, .button .pro-badge { margin-left: 1px; }
.compact-control small, .studio-field small { display: block; min-height: 28px; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.compact-control select, .target-inputs input, .target-inputs select, .studio-heading select, .studio-field select, .studio-field input {
  width: 100%;
  min-height: 43px;
  padding: 9px 33px 9px 11px;
  color: var(--text);
  border: 1px solid rgba(198,211,240,.2);
  border-radius: var(--radius-xs);
  background-color: var(--field);
  font-size: 12px;
  font-weight: 700;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.compact-control select, .target-inputs select, .studio-heading select, .studio-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%); background-position: calc(100% - 15px) 18px, calc(100% - 10px) 18px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; }
.compact-control select:hover, .target-inputs input:hover, .target-inputs select:hover, .studio-heading select:hover, .studio-field select:hover, .studio-field input:hover { border-color: rgba(155,164,255,.55); background-color: var(--field-hover); }
.compact-control select:focus, .target-inputs input:focus, .target-inputs select:focus, .studio-heading select:focus, .studio-field select:focus, .studio-field input:focus { border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(123,135,255,.18); }
.target-inputs { display: grid; grid-template-columns: minmax(0, 1fr) 70px; gap: 7px; }
.target-inputs input, .target-inputs select { padding-left: 10px; }
.target-inputs select { padding-right: 23px; background-position: calc(100% - 13px) 18px, calc(100% - 8px) 18px; }
.background-editor { display: flex; align-items: center; gap: 9px; min-height: 43px; }
.background-editor input, .studio-field input[type="color"] { width: 43px; min-height: 43px; padding: 3px; border: 1px solid rgba(198,211,240,.22); border-radius: var(--radius-xs); background: var(--field); cursor: pointer; }
.background-editor output { color: var(--text-soft); font-size: 11px; font-weight: 720; letter-spacing: .03em; }

.recipe-more-settings, .production-settings { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.025); }
.recipe-more-settings { margin-top: 12px; }
.recipe-more-settings summary, .production-settings > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 15px; cursor: pointer; list-style: none; color: var(--text-soft); font-size: 12px; font-weight: 760; }
.recipe-more-settings summary::-webkit-details-marker, .production-settings > summary::-webkit-details-marker { display: none; }
.recipe-more-settings summary::after, .production-settings > summary::after { width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 auto; color: var(--accent-bright); border: 1px solid rgba(155,164,255,.22); border-radius: 50%; background: var(--accent-soft); font-size: 15px; content: "+"; }
.recipe-more-settings[open] summary::after, .production-settings[open] > summary::after { content: "−"; }
.recipe-more-settings summary small, .production-settings > summary small { color: var(--muted); font-size: 10px; font-weight: 620; text-align: right; }
.recipe-more-settings[open] summary, .production-settings[open] > summary { border-bottom: 1px solid var(--line); }
.recipe-advanced-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 15px; }
.responsive-control-slot { display: none; }

.production-settings { order: 7; }
.production-settings > summary { padding: 16px; }
.studio-panel { padding: 0; background: transparent; }
.studio-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.studio-heading .control-kicker { margin-bottom: 5px; color: var(--accent-bright); }
.studio-heading h3 { margin: 0; color: var(--text); font-size: 17px; letter-spacing: -0.03em; }
.studio-heading select { width: min(270px, 44%); }
.studio-grid, .batch-grid { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 14px; padding: 17px; }
.batch-grid { grid-template-columns: minmax(220px, 1.45fr) minmax(165px, .85fr); border-top: 1px solid var(--line); }
.studio-field small { min-height: 0; }
.check-control { display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 0; color: var(--text-soft); font-size: 11px; font-weight: 680; }
.check-control input { width: 16px; height: 16px; accent-color: var(--accent-bright); }
.recipe-manager { display: grid; grid-template-columns: minmax(185px, 1.1fr) minmax(160px, 1fr) minmax(160px, 1fr) minmax(165px, .9fr); gap: 14px; align-items: end; padding: 0 17px 17px; border-top: 1px solid var(--line); }
.recipe-manager-copy { align-self: center; }
.recipe-manager-copy .control-kicker { margin-bottom: 5px; color: var(--accent-bright); }
.recipe-manager-copy h4 { margin: 0 0 5px; color: var(--text); font-size: 14px; letter-spacing: -.025em; }
.recipe-manager-copy p:last-child { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.recipe-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.recipe-actions .button { min-height: 36px; padding: 7px 9px; font-size: 10px; white-space: nowrap; }
.popular-recipes { padding: 17px; border-top: 1px solid var(--line); }
.popular-recipes-copy { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.popular-recipes-copy .control-kicker { margin: 0; color: var(--accent-bright); }
.popular-recipes-copy h4 { margin: 0 auto 0 0; color: var(--text); font-size: 14px; letter-spacing: -.025em; }
.popular-recipes-copy p:last-child { max-width: 355px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: right; }
.popular-recipe-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.popular-recipe { min-width: 0; padding: 10px; color: var(--text-soft); border: 1px solid var(--line); border-radius: var(--radius-xs); background: rgba(255,255,255,.025); text-align: left; transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease; }
.popular-recipe strong { display: block; overflow: hidden; color: var(--text); font-size: 11px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.popular-recipe span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 650; }
.popular-recipe:hover { border-color: rgba(155,164,255,.58); background: var(--accent-soft); transform: translateY(-1px); }
.popular-recipe:focus-visible { outline-offset: 1px; }
.creator-tools { margin: 0 17px 17px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(0,0,0,.11); }
.creator-tools summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 15px; cursor: pointer; list-style: none; color: var(--text-soft); font-size: 12px; font-weight: 760; }
.creator-tools summary::-webkit-details-marker { display: none; }
.creator-tools summary::after { width: 22px; height: 22px; display: grid; place-items: center; color: var(--accent-bright); border: 1px solid rgba(155,164,255,.22); border-radius: 50%; background: var(--accent-soft); font-size: 15px; content: "+"; }
.creator-tools[open] summary { border-bottom: 1px solid var(--line); }
.creator-tools[open] summary::after { content: "−"; }
.creator-tools summary small { color: var(--muted); font-size: 10px; font-weight: 620; text-align: right; }
.creator-grid, .watermark-panel { display: grid; grid-template-columns: repeat(3, minmax(135px, 1fr)); gap: 14px; padding: 15px; }
.watermark-panel { padding-top: 0; }
.range-inline { display: flex; align-items: center; gap: 8px; min-height: 42px; }
.range-inline input { min-width: 0; flex: 1; }
.range-inline output { min-width: 36px; color: var(--accent-bright); font-size: 10px; font-weight: 790; text-align: right; }
.watermark-repeat { align-self: end; }
.privacy-report { margin: 0 17px 17px; padding: 11px 13px; color: var(--mint); border: 1px solid rgba(89,220,177,.18); border-radius: var(--radius-xs); background: var(--mint-soft); font-size: 10px; line-height: 1.45; }
.activity-history { margin: 0 17px 17px; border: 1px solid var(--line); border-radius: var(--radius-xs); background: rgba(255,255,255,.018); }
.history-toggle { display: flex; align-items: flex-start; gap: 9px; padding: 13px 14px; cursor: pointer; }
.history-toggle input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--accent-bright); }
.history-toggle strong { display: block; color: var(--text-soft); font-size: 11px; font-weight: 780; }
.history-toggle small { display: block; max-width: 680px; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.activity-log { border-top: 1px solid var(--line); }
.activity-log summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; cursor: pointer; list-style: none; color: var(--text-soft); font-size: 11px; font-weight: 750; }
.activity-log summary::-webkit-details-marker { display: none; }
.activity-count { display: inline-grid; min-width: 21px; height: 21px; place-items: center; color: var(--accent-bright); border: 1px solid rgba(155,164,255,.24); border-radius: 999px; background: var(--accent-soft); font-size: 10px; font-variant-numeric: tabular-nums; }
.activity-empty { margin: 0; padding: 0 14px 12px; color: var(--muted); font-size: 10px; }
.activity-list { display: grid; gap: 7px; margin: 0; padding: 0 14px 12px; list-style: none; }
.activity-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.025); }
.activity-entry strong { overflow: hidden; color: var(--text-soft); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.activity-entry span { color: var(--muted); font-size: 9px; line-height: 1.4; }
.activity-entry time { color: var(--muted); font-size: 9px; text-align: right; white-space: nowrap; }
.activity-clear { margin: 0 14px 14px; font-size: 10px; }
.capability-note { order: 8; margin: -6px 1px 0; padding: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.is-pro-locked { position: relative; filter: saturate(.62); }
.is-pro-locked::after { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; color: var(--text-soft); border-radius: inherit; background: rgba(8,13,24,.6); font-size: 11px; font-weight: 760; content: "Pro feature"; }

.progress-area { order: 5; padding: 14px 0; border-top: 1px solid var(--line); }
.progress-labels { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: var(--text-soft); font-size: 11px; font-weight: 700; }
.progress-labels span:last-child { color: var(--accent-bright); font-variant-numeric: tabular-nums; }
.progress-track { width: 100%; height: 8px; overflow: hidden; border-radius: 99px; background: rgba(198,211,240,.13); }
.progress-bar { width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #b1b8ff); transition: width 180ms ease; }
.queue-surface { order: 3; }
.queue-surface:has(.empty-files), .queue-surface:has(#fileList:empty) { display: none; }
.selection-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 11px; border-top: 1px solid var(--line); }
.selection-header h3 { display: inline; margin: 0; color: var(--text); font-size: 15px; letter-spacing: -0.025em; }
.selection-header h3 span { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; margin-left: 5px; border-radius: 50%; color: #fff; background: var(--accent); font-size: 10px; vertical-align: 1px; }
.selection-header p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.file-list, .results-list { margin: 0; padding: 0; list-style: none; }
.file-list { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(0,0,0,.12); }
.file-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; padding: 13px; border-bottom: 1px solid var(--line); }
.file-row:last-child { border-bottom: 0; }
.file-icon { display: grid; width: 32px; height: 35px; place-items: center; color: var(--accent-bright); border: 1px solid rgba(155,164,255,.22); border-radius: 7px; background: var(--accent-soft); font-size: 8px; font-weight: 850; letter-spacing: .05em; }
.file-name { min-width: 0; overflow: hidden; color: var(--text-soft); font-size: 12px; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
.file-size { color: var(--muted); font-size: 10px; white-space: nowrap; }
.file-state { padding: 5px 8px; color: var(--text-soft); border-radius: 999px; background: rgba(255,255,255,.07); font-size: 9px; font-weight: 780; white-space: nowrap; }
.file-state[data-phase="converting-"] { color: #c5cbff; background: var(--accent-soft); }
.file-state[data-phase="retrying-"], .file-state[data-phase="using-browser-fallback-"] { color: var(--amber); background: rgba(247,198,109,.11); }
.file-state[data-phase="converted"] { color: var(--mint); background: var(--mint-soft); }
.file-state[data-phase="needs-attention"] { color: var(--danger); background: rgba(255,156,138,.1); }
.remove-file { width: 27px; height: 27px; padding: 0; color: var(--muted); border: 0; border-radius: 50%; background: transparent; font-size: 18px; line-height: 1; }
.remove-file:hover { color: var(--text); background: rgba(255,255,255,.1); }
.empty-files { padding: 25px 10px; color: var(--muted); font-size: 12px; text-align: center; }
.action-row { order: 4; display: flex; flex-wrap: wrap; gap: 9px; padding-top: 16px; border-top: 1px solid var(--line); }
.action-row .button-primary { min-width: 195px; }
.status { order: 6; min-height: 18px; margin: -10px 1px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.status.is-error { color: var(--danger); }
.status.is-success { color: var(--mint); }
.studio-workspace:has(.file-row) .upload-surface { padding-bottom: 0; }
.studio-workspace:has(.file-row) .drop-zone { min-height: 108px; padding: 17px; }
.studio-workspace:has(.file-row) .upload-icon { width: 38px; height: 38px; padding: 8px; border-radius: 10px; }
.studio-workspace:has(.file-row) .drop-zone strong { margin-top: 7px; font-size: 14px; }
.studio-workspace:has(.file-row) .drop-zone small { display: none; }

.conversion-side { min-width: 0; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(145deg, #111b2d, #0b1322); box-shadow: var(--shadow); }
.results-desk { position: sticky; top: 18px; align-self: start; }
.side-header { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.side-header .eyebrow { margin-bottom: 7px; color: var(--accent-bright); }
.side-header h2 { color: var(--text); font-size: 27px; }
.empty-result { display: grid; min-height: 225px; place-items: center; padding: 20px 0; color: var(--muted); text-align: center; }
.empty-mark { display: block; margin-bottom: 15px; color: var(--accent-bright); font-size: 46px; line-height: .5; }
.empty-result p { max-width: 235px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.results-list { display: grid; gap: 11px; margin-top: 18px; }
.result-row { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.035); }
.result-row.is-error { border-color: rgba(255,156,138,.5); }
.result-thumb { width: 62px; height: 62px; object-fit: cover; border-radius: var(--radius-xs); background: #fff; }
.result-icon { display: grid; width: 62px; height: 62px; place-items: center; color: var(--danger); border: 1px solid rgba(255,156,138,.4); border-radius: var(--radius-xs); font-size: 22px; }
.result-name { overflow: hidden; margin: 1px 0 5px; color: var(--text); font-size: 11px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.result-detail { margin: 0; color: var(--text-soft); font-size: 10px; line-height: 1.45; }
.result-saving { margin-top: 6px; color: var(--mint); font-size: 10px; font-weight: 750; }
.result-privacy { margin: 6px 0 0; color: #9ad9c4; font-size: 9px; }
.result-error { color: var(--danger); }
.result-actions { margin-top: 9px; }
.result-download { padding: 0; color: var(--accent-bright); border: 0; background: transparent; font-size: 10px; font-weight: 780; }
.result-download:hover { color: #fff; text-decoration: underline; }
.result-summary { margin: 18px 0 0; padding-top: 15px; color: var(--mint); border-top: 1px solid var(--line); font-size: 11px; line-height: 1.5; }

.compare-dialog { width: min(920px, calc(100% - 30px)); max-height: min(780px, calc(100% - 30px)); padding: 22px; color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.compare-dialog::backdrop { background: rgba(1,4,10,.74); }
.compare-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.compare-dialog-head h2 { margin: 0; font-size: 29px; letter-spacing: -0.06em; }
.compare-dialog-head .eyebrow { margin-bottom: 6px; }
.compare-stage { position: relative; width: min(100%, 760px); aspect-ratio: 4 / 3; margin: 0 auto; overflow: hidden; border-radius: var(--radius-sm); background: #0a1020; }
.compare-stage > img, .compare-after-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; background: repeating-conic-gradient(#172137 0 25%, #111a2c 0 50%) 50% / 16px 16px; }
.compare-after-wrap { position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; border-right: 2px solid var(--accent-bright); }
.compare-after-wrap img { width: 200%; max-width: none; }
.compare-label { position: absolute; bottom: 10px; padding: 5px 8px; border-radius: 5px; color: #fff; background: rgba(6,10,18,.8); font-size: 10px; font-weight: 800; }
.before-label { right: 10px; }
.after-label { left: 10px; background: var(--accent); }
.compare-range { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; width: min(100%, 760px); margin: 16px auto 0; color: var(--text-soft); font-size: 11px; font-weight: 720; }
.compare-range input { width: 100%; }

.pro-dialog { width: min(940px, calc(100% - 30px)); max-height: min(820px, calc(100% - 30px)); padding: 24px; overflow: auto; color: var(--text); border: 1px solid rgba(155,164,255,.4); border-radius: var(--radius-lg); background: linear-gradient(145deg, #111b2f, #0b1220); box-shadow: 0 32px 90px rgba(0,0,0,.58); }
.pro-dialog::backdrop { background: rgba(2,5,12,.76); backdrop-filter: blur(5px); }
.pro-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pro-dialog-head .eyebrow { margin-bottom: 7px; color: var(--accent-bright); }
.pro-dialog-head h2 { margin: 0; color: var(--text); font-size: clamp(30px, 4vw, 48px); line-height: .95; letter-spacing: -.07em; }
.pro-dialog-head h2 em { color: var(--accent-bright); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.pro-feature-message { max-width: 630px; margin: 20px 0 16px; color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.pro-preview-notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; border: 1px solid rgba(155,164,255,.25); border-radius: var(--radius-xs); background: var(--accent-soft); }
.pro-preview-notice .pro-badge { flex: 0 0 auto; margin: 1px 0 0; }
.pro-preview-notice p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.5; }
.pro-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.pro-plan-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.025); }
.pro-plan-card.is-pro { border-color: rgba(155,164,255,.42); background: linear-gradient(150deg, rgba(123,135,255,.17), rgba(255,255,255,.025)); }
.pro-plan-card .control-kicker { margin-bottom: 8px; color: var(--muted); }
.pro-plan-card.is-pro .control-kicker { color: var(--accent-bright); }
.pro-plan-card h3 { margin: 0 0 13px; color: var(--text); font-size: 18px; letter-spacing: -.04em; }
.pro-plan-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--text-soft); font-size: 11px; line-height: 1.4; }
.pro-plan-card li { position: relative; padding-left: 15px; }
.pro-plan-card li::before { position: absolute; left: 0; color: var(--mint); content: "•"; }
.pro-privacy-boundary { display: grid; gap: 5px; padding: 14px; border: 1px solid rgba(89,220,177,.22); border-radius: var(--radius-xs); background: var(--mint-soft); }
.pro-privacy-boundary strong { color: var(--mint); font-size: 12px; }
.pro-privacy-boundary span { color: var(--text-soft); font-size: 11px; line-height: 1.5; }
.pro-dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; }

.proof-strip { width: min(100% - 64px, 1320px); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.proof-strip article { min-height: 195px; padding: 30px 30px 28px 0; border-right: 1px solid var(--line); }
.proof-strip article + article { padding-left: 30px; }
.proof-strip article:last-child { border-right: 0; }
.proof-number { display: block; margin-bottom: 30px; color: var(--accent-bright); font-size: 11px; font-weight: 850; }
.proof-strip h3 { margin-bottom: 9px; color: var(--text); font-size: 18px; letter-spacing: -0.045em; }
.proof-strip p { max-width: 300px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.how-section { width: min(100% - 64px, 1320px); margin: 0 auto; padding: 105px 0; }
.how-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: end; margin-bottom: 52px; }
.how-heading h2 { max-width: 780px; }
.how-heading > p { max-width: 290px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.steps li { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.steps span { display: inline-grid; width: 28px; height: 28px; margin-bottom: 23px; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: 11px; font-weight: 850; }
.steps h3 { margin-bottom: 9px; color: var(--text); font-size: 20px; letter-spacing: -0.055em; }
.steps p { max-width: 260px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.privacy-section { width: min(100% - 64px, 1320px); min-height: 300px; margin: 0 auto 85px; padding: 44px; display: grid; grid-template-columns: 150px 1fr .72fr; gap: 44px; align-items: center; overflow: hidden; color: #fff; border: 1px solid rgba(155,164,255,.35); border-radius: var(--radius-lg); background: radial-gradient(circle at 82% 18%, rgba(123,135,255,.35), transparent 30%), linear-gradient(135deg, #19275c, #0e1730); box-shadow: var(--shadow); }
.privacy-section .eyebrow { color: var(--mint); }
.privacy-section h2 { font-size: clamp(34px, 4vw, 54px); }
.privacy-section h2 em { color: var(--mint); }
.privacy-copy { max-width: 305px; margin: 30px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }
.privacy-stamp { position: relative; width: 128px; height: 128px; display: grid; place-items: center; border: 1px solid var(--mint); border-radius: 50%; transform: rotate(-12deg); }
.privacy-stamp::before { position: absolute; inset: 8px; border: 1px dashed rgba(89,220,177,.65); border-radius: inherit; content: ""; }
.privacy-stamp span { color: var(--mint); font-size: 18px; font-weight: 850; line-height: .9; letter-spacing: -0.06em; text-align: center; }
.site-footer { width: min(100% - 64px, 1320px); margin: 0 auto; padding: 0 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.site-footer p { margin: 0; }
.site-footer > a:last-child { font-weight: 720; }

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-raised: #fbfcff;
  --panel: #ffffff;
  --panel-raised: #f7f9fe;
  --field: #f6f8fc;
  --field-hover: #edf1ff;
  --line: rgba(28, 46, 77, 0.14);
  --line-strong: rgba(28, 46, 77, 0.23);
  --text: #15243a;
  --text-soft: #42546e;
  --muted: #6e7e95;
  --accent: #5368dc;
  --accent-bright: #4058cb;
  --accent-soft: rgba(83, 104, 220, 0.12);
  --mint: #168866;
  --mint-soft: rgba(22, 136, 102, 0.1);
  --amber: #9d6508;
  --danger: #c94747;
  --shadow: 0 24px 56px rgba(30, 49, 79, 0.12);
}
:root[data-theme="light"] body { background: radial-gradient(circle at 9% -4%, rgba(84, 104, 220, 0.12), transparent 34rem), radial-gradient(circle at 93% 18%, rgba(32, 141, 127, 0.09), transparent 30rem), var(--bg); }
:root[data-theme="light"] .button-dark { color: var(--text); border-color: var(--line-strong); background: var(--panel-raised); }
:root[data-theme="light"] .workspace, :root[data-theme="light"] .conversion-side { background: linear-gradient(145deg, #ffffff 0%, #f3f6fb 100%); }
:root[data-theme="light"] .recipe-surface { background: #f8faff; }
:root[data-theme="light"] .controls-row { background: #f4f7fc; }
:root[data-theme="light"] .surface-tag, :root[data-theme="light"] .recipe-more-settings, :root[data-theme="light"] .production-settings, :root[data-theme="light"] .studio-heading { background: rgba(255,255,255,.76); }
:root[data-theme="light"] .creator-tools, :root[data-theme="light"] .file-list { background: rgba(232, 238, 248, .72); }
:root[data-theme="light"] .file-state { background: rgba(48, 67, 102, .09); }
:root[data-theme="light"] .result-row { background: rgba(255,255,255,.82); }
:root[data-theme="light"] .drop-zone { border-color: rgba(75, 96, 140, .42); background: radial-gradient(circle at 50% 40%, rgba(83,104,220,.11), transparent 55%), #f8faff; }
:root[data-theme="light"] .drop-zone::before { border-color: rgba(31, 52, 87, .07); }
:root[data-theme="light"] .drop-zone:hover, :root[data-theme="light"] .drop-zone.is-dragging { background: radial-gradient(circle at 50% 40%, rgba(83,104,220,.17), transparent 58%), #f0f4ff; box-shadow: inset 0 0 0 3px rgba(83,104,220,.08), 0 10px 28px rgba(30,49,79,.1); }
:root[data-theme="light"] .folder-button:hover, :root[data-theme="light"] .result-download:hover { color: var(--text); }
:root[data-theme="light"] .remove-file:hover { background: rgba(48, 67, 102, .09); }
:root[data-theme="light"] .floating-card { border-color: rgba(55, 76, 120, .22); background: rgba(255,255,255,.94); }
:root[data-theme="light"] .mini-transparent { background-color: #dce4f2; background-image: linear-gradient(45deg, rgba(54,73,110,.14) 25%, transparent 25%), linear-gradient(-45deg, rgba(54,73,110,.14) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(54,73,110,.14) 75%), linear-gradient(-45deg, transparent 75%, rgba(54,73,110,.14) 75%); }
:root[data-theme="light"] .conversion-stamp { border-color: rgba(55,76,120,.24); background: rgba(255,255,255,.92); }
:root[data-theme="light"] .hero-art::before { border-color: rgba(83,104,220,.22); background: radial-gradient(circle at 45% 45%, rgba(83,104,220,.17), rgba(255,255,255,0) 58%); }
:root[data-theme="light"] .orbit { border-color: rgba(71,91,132,.15); }
:root[data-theme="light"] .compare-stage { background: #e9eef7; }
:root[data-theme="light"] .compare-stage > img, :root[data-theme="light"] .compare-after-wrap img { background: repeating-conic-gradient(#d7dfeb 0 25%, #eef2f7 0 50%) 50% / 16px 16px; }
:root[data-theme="light"] .compare-label { background: rgba(21,36,58,.82); }
:root[data-theme="light"] .pro-dialog { background: linear-gradient(145deg, #ffffff, #f4f7fc); box-shadow: 0 28px 75px rgba(24,43,75,.22); }
:root[data-theme="light"] .pro-plan-card { background: rgba(255,255,255,.78); }
:root[data-theme="light"] .pro-plan-card.is-pro { background: linear-gradient(150deg, rgba(83,104,220,.14), rgba(255,255,255,.88)); }
:root[data-theme="light"] .pro-plan-card .control-kicker { color: #354863; }
:root[data-theme="light"] .pro-privacy-boundary strong { color: #0c6048; }
:root[data-theme="light"] .is-pro-locked::after { background: rgba(244,247,251,.72); }


:focus-visible { outline: 3px solid rgba(155,164,255,.58); outline-offset: 3px; }

@media (max-width: 1180px) {
  .converter-layout { grid-template-columns: 1fr; }
  .results-desk { position: static; }
  .results-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { min-height: 380px; transform: scale(.9); transform-origin: right center; }
}
@media (max-width: 930px) {
  .controls-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .controls-row > * { border-bottom: 1px solid var(--line); }
  .controls-row > *:nth-child(2n) { border-right: 0; }
  .controls-row > *:nth-last-child(-n + 2) { border-bottom: 0; }
  .studio-grid, .creator-grid, .watermark-panel { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .batch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-manager { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-manager-copy { grid-column: span 2; }
}
@media (max-width: 700px) {
  .site-header, .hero, .converter-section, .proof-strip, .how-section, .privacy-section, .site-footer { width: min(100% - 30px, 1320px); }
  .site-header { min-height: 68px; gap: 8px; }
  .top-nav { display: none; }
  .header-actions { gap: 8px; }
  .pro-header-button { min-width: 31px; padding: 5px 7px; font-size: 9px; }
  .pro-header-button span { display: none; }
  .theme-control-label { display: none; }
  .theme-control select { min-height: 30px; min-width: 72px; padding: 5px 23px 5px 8px; background-position: calc(100% - 12px) 12px, calc(100% - 7px) 12px; }
  .header-cta { font-size: 12px; white-space: nowrap; }
  .hero { display: block; min-height: 0; padding-bottom: 22px; }
  .hero-copy { padding: 54px 0 18px; }
  h1 { font-size: clamp(52px, 16vw, 78px); }
  .hero-intro { font-size: 16px; }
  .hero-art { min-height: 250px; margin: 0 -18px; transform: scale(.68); transform-origin: center; }
  .converter-section { padding: 58px 0 55px; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-note { margin-top: 12px; }
  .workspace { padding: 15px; border-radius: var(--radius); }
  .studio-workspace { gap: 16px; }
  .workspace-topline { padding-bottom: 12px; }
  .workspace-label { max-width: 58%; line-height: 1.35; }
  .workspace-signals { max-width: 42%; gap: 5px; }
  .local-badge { padding: 4px 6px; font-size: 9px; }
  .pro-preview-chip { padding: 4px 6px; font-size: 8px; }
  .surface-heading h3 { font-size: 17px; }
  .recipe-heading { display: block; }
  .recipe-heading > p { margin-top: 8px; text-align: left; }
  .drop-zone { min-height: 210px; padding: 24px 15px; }
  .controls-row, .recipe-advanced-grid, .studio-grid, .batch-grid, .recipe-manager, .creator-grid, .watermark-panel { grid-template-columns: 1fr; }
  .controls-row > * { border-right: 0; }
  .controls-row > *:not(:last-child) { border-bottom: 1px solid var(--line); }
  .controls-row > *:last-child { border-bottom: 0; }
  .compact-control small { min-height: 0; }
  .recipe-more-settings summary small, .production-settings > summary small { max-width: 145px; }
  .studio-heading { display: block; }
  .studio-heading select { width: 100%; margin-top: 12px; }
  .creator-tools { margin: 0 14px 14px; }
  .privacy-report { margin: 0 14px 14px; }
  .activity-history { margin: 0 14px 14px; }
  .popular-recipes { padding: 14px; }
  .popular-recipes-copy { display: block; }
  .popular-recipes-copy h4 { margin-top: 4px; }
  .popular-recipes-copy p:last-child { margin-top: 7px; text-align: left; }
  .popular-recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-manager-copy { grid-column: auto; }
  .selection-header { align-items: flex-start; }
  .file-row { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .file-size, .file-state { grid-column: 2; justify-self: start; }
  .remove-file { grid-row: 1 / span 2; grid-column: 3; }
  .action-row { display: grid; grid-template-columns: 1fr; }
  .studio-workspace:has(.file-row) .action-row { position: sticky; bottom: 0; z-index: 20; margin: 0 -15px -15px; padding: 12px 15px 15px; border-top: 1px solid var(--line); background: rgba(16,26,45,.97); box-shadow: 0 -12px 25px rgba(0,0,0,.28); }
  :root[data-theme="light"] .studio-workspace:has(.file-row) .action-row { background: rgba(248,250,255,.97); box-shadow: 0 -12px 25px rgba(30,49,79,.12); }
  .action-row .button-primary, .button-large { width: 100%; min-width: 0; }
  .conversion-side { padding: 20px; border-radius: var(--radius); }
  .results-list { grid-template-columns: 1fr; }
  .empty-result { min-height: 175px; }
  .compare-dialog { padding: 16px; }
  .compare-dialog-head h2 { font-size: 24px; }
  .compare-range { grid-template-columns: 1fr; gap: 6px; }
  .pro-dialog { padding: 17px; }
  .pro-dialog-head h2 { font-size: 31px; }
  .pro-plan-grid { grid-template-columns: 1fr; }
  .pro-dialog-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .pro-dialog-actions .button, .pro-dialog-actions .text-link { justify-content: center; width: 100%; }
  .proof-strip, .steps { grid-template-columns: 1fr; }
  .proof-strip article, .proof-strip article + article { min-height: 0; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip article:last-child { border-bottom: 0; }
  .proof-number { margin-bottom: 17px; }
  .how-section { padding: 74px 0; }
  .how-heading { grid-template-columns: 1fr; margin-bottom: 34px; }
  .how-heading > p { margin: 0; }
  .steps { gap: 29px; }
  .steps span { margin-bottom: 15px; }
  .privacy-section { min-height: 0; margin-bottom: 64px; padding: 30px 24px; grid-template-columns: 1fr; gap: 24px; }
  .privacy-stamp { width: 94px; height: 94px; }
  .privacy-stamp span { font-size: 14px; }
  .privacy-copy { margin: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Public PixPress+ Pro launch route */
.pro-main { width: min(100% - 64px, 1320px); margin: 0 auto; }
.pro-page .site-header .top-nav a[aria-current="page"] { color: var(--accent-bright); }
.pro-hero { min-height: 580px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); gap: 60px; align-items: center; padding: 88px 0 76px; border-bottom: 1px solid var(--line); }
.pro-hero-copy h1 { max-width: 700px; margin-bottom: 25px; font-size: clamp(55px, 6.7vw, 92px); }
.pro-lede { max-width: 570px; margin: 0 0 31px; color: var(--text-soft); font-size: 18px; line-height: 1.6; }
.pro-preview-notice { max-width: 570px; display: flex; align-items: flex-start; gap: 10px; margin-top: 30px; padding: 12px 14px; border: 1px solid rgba(89,220,177,.24); border-radius: var(--radius-xs); background: var(--mint-soft); }
.pro-preview-notice p { margin: 0; color: var(--text-soft); font-size: 12px; line-height: 1.5; }
.pro-preview-notice strong { color: var(--mint); }
.pro-preview-dot { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(89,220,177,.11); }

.pro-stage { position: relative; min-height: 385px; padding: 20px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--panel-raised), var(--field)); box-shadow: var(--shadow); }
.pro-stage::before { position: absolute; width: 330px; height: 330px; top: -170px; right: -95px; border: 1px solid rgba(155,164,255,.25); border-radius: 50%; box-shadow: 0 0 0 42px rgba(123,135,255,.04), 0 0 0 85px rgba(123,135,255,.025); content: ""; }
.pro-stage::after { position: absolute; inset: auto -38px 42px 50px; height: 1px; background: linear-gradient(90deg, transparent, rgba(155,164,255,.35), transparent); content: ""; }
.pro-stage-top { position: relative; z-index: 1; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 820; letter-spacing: .13em; }
.pro-stage-top span:last-child { color: var(--mint); }
.pro-stage-flow { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 9px; align-items: center; margin-top: 103px; }
.pro-stage-flow > i { color: var(--accent-bright); font-style: normal; font-size: 19px; }
.pro-stage-flow article { min-height: 142px; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(8,13,24,.5); box-shadow: 0 12px 26px rgba(0,0,0,.15); }
:root[data-theme="light"] .pro-stage-flow article { background: rgba(255,255,255,.6); }
.pro-stage-flow article:nth-of-type(1) { transform: translateY(-22px); }
.pro-stage-flow article:nth-of-type(3) { transform: translateY(17px); }
.pro-stage-flow .pro-stage-accent { border-color: rgba(155,164,255,.5); background: linear-gradient(145deg, rgba(123,135,255,.24), rgba(123,135,255,.08)); }
.pro-stage-index { margin-bottom: auto; color: var(--muted); font-size: 9px; font-weight: 840; letter-spacing: .12em; }
.pro-stage-flow strong { color: var(--text); font-size: 16px; letter-spacing: -.035em; }
.pro-stage-flow small { display: block; margin-top: 4px; color: var(--text-soft); font-size: 10px; }
.pro-stage-signal { position: absolute; z-index: 2; left: 20px; bottom: 18px; display: flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 10px; }
.pro-stage-signal span { color: var(--mint); font-size: 14px; }
.pro-stage-signal p { margin: 0; }

.pro-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 108px; border-bottom: 1px solid var(--line); }
.pro-principles article { min-height: 248px; padding: 41px 32px 42px 0; border-right: 1px solid var(--line); }
.pro-principles article + article { padding-left: 32px; }
.pro-principles article:last-child { border-right: 0; }
.pro-principles > article > span { display: inline-grid; width: 27px; height: 27px; place-items: center; margin-bottom: 27px; color: var(--accent-bright); border: 1px solid rgba(155,164,255,.34); border-radius: 50%; background: var(--accent-soft); font-size: 9px; font-weight: 840; }
.pro-principles h2 { max-width: 280px; margin-bottom: 12px; color: var(--text); font-size: 20px; line-height: 1.08; letter-spacing: -.05em; }
.pro-principles p { max-width: 300px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.pro-compare, .pro-capability-section { padding: 0 0 112px; }
.pro-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: 55px; align-items: end; margin-bottom: 33px; }
.pro-section-heading .eyebrow { margin-bottom: 12px; }
.pro-section-heading h2, .pro-launch-callout h2 { margin-bottom: 0; color: var(--text); font-size: clamp(36px, 4.3vw, 58px); line-height: .98; letter-spacing: -.075em; }
.pro-section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.pro-plan-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pro-plan-page-card { position: relative; min-height: 410px; display: flex; flex-direction: column; padding: 31px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--panel); }
.pro-plan-page-card.is-pro { border-color: rgba(155,164,255,.52); background: linear-gradient(145deg, rgba(123,135,255,.18), var(--panel)); box-shadow: 0 22px 55px rgba(64,77,209,.14); }
.pro-plan-kicker { margin-bottom: 13px; color: var(--mint); font-size: 10px; font-weight: 840; letter-spacing: .13em; text-transform: uppercase; }
.pro-plan-page-card h3 { max-width: 360px; margin-bottom: 10px; color: var(--text); font-size: 30px; line-height: 1; letter-spacing: -.06em; }
.pro-plan-page-card > p:not(.pro-plan-kicker) { max-width: 420px; color: var(--text-soft); font-size: 14px; line-height: 1.55; }
.pro-plan-page-card ul { display: grid; gap: 10px; padding: 0; margin: 19px 0 26px; color: var(--text-soft); list-style: none; font-size: 12px; line-height: 1.4; }
.pro-plan-page-card li { position: relative; padding-left: 18px; }
.pro-plan-page-card li::before { position: absolute; left: 0; color: var(--mint); content: "✓"; }
.pro-plan-page-card .button { align-self: flex-start; margin-top: auto; }
.pro-plan-banner { position: absolute; top: 21px; right: -27px; width: 108px; padding: 5px 0; color: #fff; background: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-align: center; transform: rotate(38deg); }
.pro-no-price { display: inline-block; margin-top: auto; color: var(--accent-bright); font-size: 11px; font-weight: 750; }

.pro-capability-section { border-top: 1px solid var(--line); padding-top: 104px; }
.pro-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pro-capability-grid article { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.018); }
.capability-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; margin-bottom: 27px; color: var(--accent-bright); border: 1px solid rgba(155,164,255,.3); border-radius: 10px; background: var(--accent-soft); font-size: 20px; }
.pro-capability-grid h3 { margin-bottom: 9px; color: var(--text); font-size: 19px; letter-spacing: -.04em; }
.pro-capability-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.58; }
.pro-launch-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; margin-bottom: 76px; padding: 40px; border: 1px solid rgba(155,164,255,.35); border-radius: var(--radius-lg); background: linear-gradient(115deg, rgba(123,135,255,.17), rgba(89,220,177,.07)); }
.pro-launch-callout h2 { max-width: 760px; margin-bottom: 16px; font-size: clamp(30px, 3.8vw, 48px); }
.pro-launch-callout p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.62; }
.pro-launch-callout .button { white-space: nowrap; }
.pro-footer { margin-top: 0; }

/* Staged public policy and support routes */
.public-main { width: min(100% - 64px, 1120px); margin: 0 auto; }
.public-page-hero { max-width: 780px; padding: 92px 0 44px; }
.public-page-hero .eyebrow { margin-bottom: 15px; }
.public-page-hero h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(48px, 6vw, 78px); }
.public-page-hero > p:last-child { max-width: 650px; margin: 0; color: var(--text-soft); font-size: 17px; line-height: 1.62; }
.draft-notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; margin: 0 0 42px; padding: 16px 18px; border: 1px solid rgba(247,198,109,.36); border-radius: var(--radius-sm); background: rgba(247,198,109,.08); }
.draft-notice > span { padding: 4px 7px; color: var(--amber); border: 1px solid rgba(247,198,109,.36); border-radius: 999px; font-size: 9px; font-weight: 880; letter-spacing: .09em; line-height: 1.1; text-transform: uppercase; }
.draft-notice p { margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.55; }
.policy-layout { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 56px; padding-bottom: 96px; }
.policy-index { position: sticky; top: 22px; align-self: start; display: grid; gap: 11px; padding: 18px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.policy-index a { color: var(--muted); font-size: 12px; font-weight: 720; transition: color 160ms ease; }
.policy-index a:hover { color: var(--accent-bright); }
.policy-content { min-width: 0; }
.policy-content section { padding: 0 0 45px; margin: 0 0 44px; border-bottom: 1px solid var(--line); }
.policy-content section:last-child { margin-bottom: 0; border-bottom: 0; }
.policy-kicker { margin: 0 0 12px; color: var(--mint); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.policy-content h2 { max-width: 640px; margin-bottom: 15px; color: var(--text); font-size: clamp(28px, 3.2vw, 40px); line-height: 1; letter-spacing: -.065em; }
.policy-content p { max-width: 720px; margin: 0 0 14px; color: var(--text-soft); font-size: 15px; line-height: 1.72; }
.policy-content p:last-child { margin-bottom: 0; }
.inline-link { color: var(--accent-bright); font-weight: 760; text-decoration: underline; text-decoration-color: rgba(155,164,255,.4); text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px; }
.footer-links a { font-weight: 720; }
:root[data-theme="light"] .draft-notice { background: rgba(247,198,109,.12); }

@media (max-width: 760px) {
  .public-main { width: min(100% - 30px, 1120px); }
  .public-page-hero { padding: 58px 0 32px; }
  .public-page-hero h1 { font-size: clamp(44px, 14vw, 64px); }
  .public-page-hero > p:last-child { font-size: 16px; }
  .draft-notice { grid-template-columns: 1fr; gap: 10px; margin-bottom: 32px; }
  .draft-notice > span { justify-self: start; }
  .policy-layout { grid-template-columns: 1fr; gap: 24px; padding-bottom: 66px; }
  .policy-index { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; padding: 14px 0; }
  .policy-content section { padding-bottom: 34px; margin-bottom: 33px; }
  .policy-content p { font-size: 14px; line-height: 1.66; }
  .footer-links { justify-content: flex-start; }
}

:root[data-theme="light"] .pro-stage { background: linear-gradient(145deg, #ffffff, #edf2fb); box-shadow: 0 22px 55px rgba(30,49,79,.11); }
:root[data-theme="light"] .pro-stage-flow article { background: rgba(255,255,255,.75); }
:root[data-theme="light"] .pro-stage-flow .pro-stage-accent { background: linear-gradient(145deg, rgba(123,135,255,.17), rgba(123,135,255,.05)); }
:root[data-theme="light"] .pro-capability-grid article { background: rgba(255,255,255,.57); }

@media (max-width: 900px) {
  .pro-hero { grid-template-columns: 1fr; gap: 38px; min-height: 0; }
  .pro-stage { max-width: 650px; }
  .pro-section-heading { grid-template-columns: 1fr; gap: 15px; }
  .pro-section-heading > p { max-width: 510px; }
  .pro-launch-callout { grid-template-columns: 1fr; gap: 25px; }
  .pro-launch-callout .button { justify-self: start; }
}
@media (max-width: 700px) {
  .pro-main { width: min(100% - 30px, 1320px); }
  .pro-hero { padding: 55px 0 50px; }
  .pro-hero-copy h1 { font-size: clamp(48px, 15vw, 68px); }
  .pro-lede { font-size: 16px; }
  .pro-stage { min-height: 330px; padding: 15px; }
  .pro-stage-flow { grid-template-columns: 1fr; gap: 7px; margin-top: 42px; }
  .pro-stage-flow > i { display: none; }
  .pro-stage-flow article, .pro-stage-flow article:nth-of-type(1), .pro-stage-flow article:nth-of-type(3) { min-height: 63px; padding: 11px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; transform: none; }
  .pro-stage-index { margin: 0; }
  .pro-stage-flow small { margin: 0; text-align: right; }
  .pro-stage-signal { bottom: 12px; left: 15px; }
  .pro-principles { grid-template-columns: 1fr; margin-bottom: 67px; }
  .pro-principles article, .pro-principles article + article { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pro-principles article:last-child { border-bottom: 0; }
  .pro-principles > article > span { margin-bottom: 17px; }
  .pro-compare, .pro-capability-section { padding-bottom: 68px; }
  .pro-section-heading h2, .pro-launch-callout h2 { font-size: clamp(31px, 10vw, 45px); }
  .pro-plan-page-grid, .pro-capability-grid { grid-template-columns: 1fr; }
  .pro-plan-page-card { min-height: 0; padding: 25px; }
  .pro-plan-page-card h3 { font-size: 28px; }
  .pro-capability-section { padding-top: 66px; }
  .pro-capability-grid article { min-height: 0; padding: 22px; }
  .pro-launch-callout { margin-bottom: 54px; padding: 26px 22px; }
  .pro-launch-callout .button { width: 100%; }
}
