:root {
  --paper: #eaf1eb;
  --paper-deep: #d9e6dc;
  --card: #fffdf6;
  --card-soft: #f3f7ef;
  --ink: #14211e;
  --muted: #65736d;
  --line: #26332f;
  --soft-line: #cbd9d0;
  --accent: #0f9f8f;
  --accent-dark: #07665d;
  --accent-soft: #caf3ec;
  --green: #19705d;
  --green-soft: #def3e5;
  --warning: #a63b26;
  --pop: #f3b43e;
  --pop-soft: #fbe7b5;
  --stage: #12201d;
  --stage-soft: #20322d;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-soft: 3px 3px 0 var(--ink);
}

::selection { color: var(--ink); background: var(--accent-soft); }
:focus-visible { outline-color: var(--accent-dark); }
.site-footer :focus-visible,
.referral-card :focus-visible,
.share-prompt :focus-visible,
.hero-deck :focus-visible,
.preview-stage :focus-visible { outline-color: var(--accent-soft); }

body {
  background-image:
    linear-gradient(rgba(20, 33, 30, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 30, .032) 1px, transparent 1px),
    radial-gradient(circle at 87% 7%, rgba(15, 159, 143, .19), transparent 27rem),
    radial-gradient(circle at 5% 36%, rgba(243, 180, 62, .13), transparent 25rem);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.format-mark {
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 4px;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--accent);
}
.format-mark i,
.format-mark i:nth-child(1),
.format-mark i:nth-child(4) {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  color: var(--ink);
  background: var(--card);
  border: 0;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}
.format-mark i:nth-child(1) { background: var(--pop); }
.format-mark i:nth-child(2) { background: var(--accent-soft); }
.format-mark i:nth-child(3) { background: #e3f2ec; }
.format-mark i:nth-child(4) { color: var(--card); background: var(--accent); }
.format-mark.small { width: 36px; height: 36px; padding: 3px; gap: 1px; box-shadow: none; }
.format-mark.small i { font-size: 7px; }

.hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(38px, 8vw, 104px);
  padding-block: clamp(52px, 7.5vw, 92px) 72px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(54px, 7.8vw, 94px);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero h1 em { color: var(--accent-dark); }
.hero h1 em::after {
  height: .24em;
  bottom: .04em;
  background: var(--pop);
  opacity: .55;
  transform: rotate(-1.2deg);
}
.hero .eyebrow span { color: var(--card); background: var(--accent-dark); }
.hero-lead { max-width: 690px; }
.hero-facts span { background: rgba(255, 253, 246, .68); }

.hero-deck {
  position: relative;
  width: min(100%, 398px);
  justify-self: end;
  padding: 12px;
  color: #f8f2e3;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 12px 12px 0 var(--accent);
  transform: rotate(1.4deg);
}
.deck-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 11px;
  color: #a8bbb3;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .12em;
}
.deck-head strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-soft);
  font-size: 7.5px;
  font-weight: 600;
}
.deck-head strong i {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(15, 159, 143, .18);
}
.deck-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 9px;
  background: var(--stage-soft);
  border: 1px solid #3d554e;
  border-radius: 14px;
}
.deck-file {
  position: relative;
  min-width: 0;
  padding: 8px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid #0b1714;
  border-radius: 10px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .32);
}
.deck-file-target { background: #f2fbf4; }
.deck-art {
  position: relative;
  aspect-ratio: 1 / 1.03;
  overflow: hidden;
  background: linear-gradient(155deg, #b8e9df 0 39%, #f5d790 40% 58%, #176b60 59% 100%);
  border: 1px solid #1b2925;
  border-radius: 7px;
}
.deck-art::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 36%;
  aspect-ratio: 1;
  left: 14%;
  top: 13%;
  background: var(--pop);
  border: 1px solid rgba(20, 33, 30, .58);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(243, 180, 62, .13);
}
.deck-art::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 43% -12% -8%;
  background: #0c4c45;
  clip-path: polygon(0 66%, 18% 43%, 36% 60%, 55% 21%, 73% 55%, 88% 36%, 100% 58%, 100% 100%, 0 100%);
}
.deck-file-target .deck-art { filter: saturate(.92) contrast(1.03); }
.deck-file-target .deck-art::after { background: #0d695f; }
.deck-art > span {
  position: absolute;
  z-index: 4;
  top: 6px;
  right: 6px;
  padding: 3px 5px;
  color: var(--card);
  background: rgba(20, 33, 30, .82);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .08em;
}
.deck-file > strong {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.2;
}
.deck-file > small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.35;
  white-space: nowrap;
}
.deck-file > em {
  position: absolute;
  z-index: 5;
  right: -8px;
  top: 55%;
  padding: 4px 6px;
  color: var(--ink);
  background: var(--pop);
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .34);
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  transform: rotate(-5deg);
}
.deck-switch {
  display: grid;
  justify-items: center;
  gap: 4px;
}
.deck-switch span { width: 1px; height: 16px; background: #4e6a62; }
.deck-switch b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
  background: var(--accent);
  border: 1px solid #07110f;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
}
.deck-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 4px 1px;
  color: #91a69e;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .08em;
}
.deck-foot strong { color: var(--pop); font-size: 7.5px; }

.conv-studio {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 28px;
  scroll-margin-top: 24px;
}
.intake-card,
.output-card { padding: clamp(21px, 3vw, 31px); border-radius: 20px; }
.intake-card { background: rgba(255, 253, 246, .97); }
.output-card {
  position: sticky;
  top: 22px;
  background: rgba(255, 253, 246, .98);
  box-shadow: 6px 6px 0 var(--accent);
}
.intake-card .card-heading h2,
.output-card .card-heading h2 { letter-spacing: -.035em; }
.intake-card .status-pill { background: var(--accent-soft); border-color: #79bdb3; }
.intake-card .status-pill.is-ok { color: var(--ink); background: var(--accent); border-color: var(--ink); }
.premium-state { background: var(--paper); }
body.is-premium .premium-state { color: var(--card); background: var(--green); border-color: var(--green); }

.conv-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  margin: 20px 0 21px;
  padding: 4px;
  background: var(--paper);
  border-color: var(--line);
  border-radius: 11px;
}
.mode-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13px;
}
.mode-tab.is-active { box-shadow: 3px 3px 0 var(--accent); }
.tab-premium {
  display: inline-block;
  padding: 2px 5px;
  color: var(--ink);
  background: var(--pop);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: 1px;
}

.upload-zone {
  padding: 11px;
  background: var(--card-soft);
  border: 1.5px dashed #80958c;
  border-radius: 14px;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.upload-zone.is-dragover {
  background: var(--accent-soft);
  border-color: var(--accent-dark);
  box-shadow: inset 0 0 0 2px rgba(15, 159, 143, .2);
}
.upload-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 7px;
  cursor: pointer;
}
.upload-main > span:last-child { display: grid; gap: 4px; min-width: 0; }
.upload-main strong { font-size: 15px; }
.upload-main small { color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.upload-plus {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  background: var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--accent);
}
.upload-plus i {
  position: absolute;
  width: 17px;
  height: 2px;
  background: var(--accent-soft);
  border-radius: 2px;
}
.upload-plus i:last-child { transform: rotate(90deg); }
.upload-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 7px 2px;
  border-top: 1px dashed var(--soft-line);
}
.upload-actions .button { box-shadow: none; }
.upload-actions .text-button { color: var(--muted); }
.batch-counter {
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.file-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 11px;
  padding: 8px 10px;
  background: var(--card);
  border: 1px solid var(--soft-line);
  border-radius: 10px;
}
.file-thumb {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: cover;
  background: var(--paper-deep);
  border: 1px solid var(--ink);
  border-radius: 7px;
}
.file-copy { display: grid; gap: 2px; min-width: 0; flex: 1; }
.file-copy strong {
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-copy small { color: var(--muted); font-family: var(--font-mono); font-size: 9.5px; }
.file-badge {
  flex: 0 0 auto;
  padding: 4px 7px;
  color: var(--card);
  background: var(--accent-dark);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.batch-locked {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 18px;
  background: var(--pop-soft);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--pop);
}
.batch-lock-number {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--pop);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.batch-locked strong { display: block; font-size: 15px; }
.batch-locked p { margin: 6px 0 12px; color: #5f5036; font-size: 12px; line-height: 1.7; }
.batch-locked .button { background: var(--card); }

.batch-list {
  display: grid;
  gap: 7px;
  max-height: 410px;
  margin-top: 12px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.batch-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 7px;
  background: var(--card);
  border: 1px solid var(--soft-line);
  border-radius: 9px;
  transition: border-color .15s ease, background .15s ease;
}
.batch-item.is-selected { border-color: var(--accent-dark); background: #f1fbf7; box-shadow: inset 3px 0 0 var(--accent); }
.batch-item.is-done { border-color: #8dc9ae; }
.batch-item.is-error { border-color: #d29080; background: #fff4ef; }
.batch-thumb {
  width: 46px;
  height: 46px;
  padding: 0;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  cursor: pointer;
}
.batch-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.batch-info {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.batch-info strong {
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.batch-info small {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.batch-state {
  justify-self: start;
  margin-top: 2px;
  padding: 1px 5px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.5;
}
.batch-item.is-done .batch-state { color: #fff; background: var(--green); }
.batch-item.is-error .batch-state { color: #fff; background: var(--warning); }
.batch-download,
.batch-remove {
  min-height: 38px;
  padding: 6px 8px;
  color: var(--accent-dark);
  background: var(--card-soft);
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.batch-download:disabled { opacity: .38; cursor: not-allowed; }
.batch-remove { color: var(--muted); background: transparent; border-color: transparent; }
.batch-remove:hover:not(:disabled) { color: var(--warning); background: #fff1ed; }
.batch-empty { margin-top: 12px; padding: 22px 16px; font-size: 11.5px; }
.batch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed var(--soft-line);
}
.batch-actions span { color: var(--muted); font-size: 9.5px; line-height: 1.5; }

.settings-block { margin-top: 27px; padding-top: 24px; }
.format-block { margin-top: 24px; }
.settings-title { margin-bottom: 15px; }
.settings-title h3 { font-weight: 700; }
.settings-title h3 .lock-dot { margin-left: 4px; }
.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.format-option {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 86px;
  padding: 12px 11px;
  text-align: left;
  background: var(--card-soft);
  border: 1.5px solid var(--soft-line);
  border-radius: 10px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.format-option:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--ink); }
.format-option > span { font-family: var(--font-mono); font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.format-option > small { color: var(--muted); font-size: 9.5px; }
.format-option > em {
  margin-top: auto;
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: .01em;
}
.format-option.is-active { color: var(--card); background: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); }
.format-option.is-active > small { color: #b9cbc4; }
.format-option.is-active > em { color: var(--accent-soft); }
.format-option.is-active::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.format-option:disabled { opacity: .48; cursor: not-allowed; }
.format-option.is-unsupported > em { color: var(--warning); }

.preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.preset-row > span { margin-right: 2px; color: var(--muted); font-size: 9.5px; }
.preset-row button {
  min-height: 38px;
  padding: 6px 9px;
  color: var(--accent-dark);
  background: transparent;
  border: 1px dashed #95aaa1;
  border-radius: 100px;
  font-size: 9.5px;
  cursor: pointer;
}
.preset-row button b { margin-left: 2px; font-family: var(--font-mono); font-size: 8.5px; }
.preset-row button:hover:not(:disabled) { background: var(--accent-soft); border-style: solid; }
.preset-row button:disabled { opacity: .45; cursor: not-allowed; }

.range-field { margin-top: 2px; }
.range-field > span { font-size: 10px; }
.range-field output { color: var(--accent-dark); font-size: 12px; font-weight: 700; }
input[type="range"] { accent-color: var(--accent); }

.resize-block .field { margin-top: 11px; }
.resize-fields { margin-top: 11px; }
.number-field {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #fffdf8;
  border: 1.5px solid #8a7b68;
  border-radius: 10px;
}
.number-field input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.number-field input:focus { box-shadow: none; }
.number-field em {
  display: flex;
  align-items: center;
  padding: 0 11px 0 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
}
.resize-block .lock-note { margin: 14px 0 9px; }
.resize-block .mini-note { margin-top: 8px; }

.preview-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 268px;
  aspect-ratio: 4 / 3;
  margin-top: 3px;
  overflow: hidden;
  background-color: #e7e3d6;
  background-image:
    linear-gradient(45deg, rgba(20, 33, 30, .045) 25%, transparent 25%, transparent 75%, rgba(20, 33, 30, .045) 75%),
    linear-gradient(45deg, rgba(20, 33, 30, .045) 25%, transparent 25%, transparent 75%, rgba(20, 33, 30, .045) 75%);
  background-position: 0 0, 9px 9px;
  background-size: 18px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
}
.preview-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 24%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(20, 33, 30, .12));
}
.preview-stage > img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
}
.preview-empty {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 24px;
  color: var(--ink);
  text-align: center;
}
.preview-empty-formats { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.preview-empty-formats b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 42px;
  color: var(--card);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .05em;
  box-shadow: 3px 3px 0 var(--accent);
  transform: rotate(-2deg);
}
.preview-empty-formats b:last-child { background: var(--accent-dark); transform: rotate(2deg); }
.preview-empty-formats i { color: var(--accent-dark); font-family: var(--font-mono); font-size: 17px; font-style: normal; }
.preview-empty strong { font-family: var(--font-display); font-size: 19px; letter-spacing: -.02em; }
.preview-empty small { max-width: 250px; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.preview-badge {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--pop);
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: 2px 2px 0 rgba(20, 33, 30, .32);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
}
.preview-stage.has-output .preview-badge { color: var(--card); background: var(--green); border-color: var(--green); }
.preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
}
.preview-meta span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-meta span:last-child { flex: 0 0 auto; color: var(--accent-dark); font-weight: 700; }

.output-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 13px;
  padding: 8px;
  background: var(--card-soft);
  border: 1px solid var(--soft-line);
  border-radius: 9px;
}
.output-summary > div { display: grid; gap: 1px; min-width: 0; padding: 0 5px; border-right: 1px dashed var(--soft-line); }
.output-summary > div:last-child { border-right: 0; }
.output-summary span { color: var(--muted); font-size: 8px; }
.output-summary strong {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.run-button { margin-top: 14px; min-height: 50px; font-size: 14px; }
.run-button b { font-weight: 700; }
.output-card > .button-quiet { margin-top: 8px; min-height: 46px; }
#result {
  min-height: 48px;
  margin-top: 14px;
  padding: 11px 13px;
  background: #f5f2e7;
  border: 1px dashed #afa38f;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
}
#result.is-ready { color: var(--ink); background: var(--accent-soft); border-style: solid; border-color: #82c4ba; box-shadow: inset 3px 0 0 var(--accent); }
#result.is-stale { color: var(--muted); background: #f4efe2; border-style: dashed; box-shadow: none; }
#result.is-error { color: #8b2b18; background: #fff0ea; border-style: solid; border-color: #dda08f; }
.result-meta { min-height: 18px; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.privacy-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 9.5px;
}
.privacy-line span { color: var(--green); font-size: 7px; }

.quick-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.quick-facts > div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1px 4px;
  align-items: center;
  padding: 9px 7px;
  background: rgba(255, 253, 246, .72);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
}
.quick-facts span { grid-row: 1 / 3; color: var(--accent-dark); font-family: var(--font-mono); font-size: 8px; }
.quick-facts strong { font-size: 9.5px; line-height: 1.3; }
.quick-facts small { color: var(--muted); font-size: 7.5px; line-height: 1.35; }

.suite-strip {
  display: grid;
  grid-template-columns: 1.13fr .93fr .94fr;
  margin-top: 30px;
  overflow: hidden;
  color: #f6f0e4;
  background: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--accent);
}
.suite-strip article { position: relative; padding: 26px 28px; }
.suite-strip article + article { border-left: 1px solid #3c4c47; }
.suite-strip article::before { content: ""; position: absolute; left: 28px; top: 0; width: 42px; height: 3px; background: var(--accent); }
.suite-strip article:nth-child(2)::before { background: var(--pop); }
.suite-strip article:nth-child(3)::before { background: #85c9be; }
.suite-strip span { color: #99afa7; font-family: var(--font-mono); font-size: 8px; letter-spacing: .15em; }
.suite-strip h2 { margin: 9px 0 8px; color: #fffaf0; font-family: var(--font-display); font-size: 23px; letter-spacing: -.03em; }
.suite-strip p { margin: 0; color: #b9c5c0; font-size: 11px; line-height: 1.78; }

@media (max-width: 900px) {
  .output-card { position: static; }
}

@media (max-width: 700px) {
  .hero { gap: 36px; padding-top: 46px; }
  .hero h1 { font-size: clamp(46px, 15.6vw, 70px); }
  .hero-deck { width: min(100%, 430px); justify-self: start; box-shadow: 8px 8px 0 var(--accent); }
  .conv-studio { gap: 22px; }
  .intake-card, .output-card { padding: 20px; }
  .output-card { box-shadow: 4px 4px 0 var(--accent); }
  .format-grid { gap: 7px; }
  .format-option { min-height: 82px; padding: 10px 9px; }
  .format-option > span { font-size: 15px; }
  .format-option > small { font-size: 8.5px; }
  .format-option > em { font-size: 7px; }
  .batch-locked { align-items: flex-start; gap: 13px; padding: 15px; }
  .batch-lock-number { width: 62px; height: 62px; font-size: 28px; }
  .batch-item { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .batch-download { grid-column: 3; grid-row: 1; }
  .batch-remove { grid-column: 3; grid-row: 2; min-height: 30px; padding: 3px 8px; }
  .suite-strip { grid-template-columns: 1fr; }
  .suite-strip article + article { border-left: 0; border-top: 1px solid #3c4c47; }
  .suite-strip article { padding: 23px 24px; }
  .suite-strip h2 { font-size: 21px; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts > div { grid-template-columns: 28px 1fr auto; grid-template-rows: auto; align-items: center; }
  .quick-facts span { grid-row: auto; }
  .quick-facts small { text-align: right; }
  .upload-actions { align-items: stretch; flex-direction: column; gap: 2px; }
  .upload-actions .button { width: 100%; }
  .upload-actions .text-button { align-self: flex-start; }
}

@media (max-width: 420px) {
  .hero-deck { padding: 9px; border-radius: 20px; }
  .deck-body { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); padding: 7px; gap: 3px; }
  .deck-file { padding: 6px; }
  .deck-file > strong { font-size: 10.5px; }
  .deck-file > small { font-size: 6.5px; }
  .deck-switch b { width: 24px; height: 24px; font-size: 13px; }
  .deck-switch span { height: 11px; }
  .deck-foot { font-size: 6.5px; }
  .deck-head { font-size: 7px; }
  .intake-card, .output-card { padding: 17px; }
  .format-option { min-height: 78px; padding: 9px 8px; }
  .format-option > span { font-size: 13px; }
  .format-option > small { font-size: 8px; }
  .format-option > em { font-size: 6.5px; }
  .format-option.is-active::after { width: 15px; height: 15px; top: 6px; right: 6px; font-size: 9px; }
  .preset-row button { min-height: 36px; }
  .batch-item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 6px; }
  .batch-thumb { width: 40px; height: 40px; }
  .batch-download, .batch-remove { padding-inline: 6px; font-size: 9px; }
  .preview-stage { min-height: 230px; }
  .preview-empty strong { font-size: 17px; }
  .output-summary { gap: 2px; padding: 7px 5px; }
  .output-summary > div { padding: 0 3px; }
  .output-summary strong { font-size: 9.5px; }
  .suite-strip article { padding: 21px 19px; }
  .suite-strip h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-deck { transform: none; }
  .deck-file > em { transform: none; }
}
