@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Inter+Tight:wght@600;700;800;900&family=JetBrains+Mono:wght@400;500;600&family=Playfair+Display:ital,wght@1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --paper: #efe7d2;
  --paper-warm: #ece4cf;
  --paper-dark: #ddd2b6;
  --bone: #f7f1de;
  --ink: #15140f;
  --ink-soft: #2a2620;
  --ink-mute: #5a5448;
  --ink-faint: #8b8676;
  --coral: #ed6f5c;
  --coral-soft: #f08e7c;
  --mustard: #e9b94a;
  --olive: #6e7448;
  --line: rgba(21, 20, 15, 0.16);
  --line-strong: rgba(21, 20, 15, 0.28);
  --shadow: 0 26px 60px rgba(77, 59, 30, 0.14);
  --shadow-soft: 0 16px 36px rgba(77, 59, 30, 0.1);
  --container: 1360px;
  --pad: clamp(20px, 4.5vw, 64px);
  --radius-card: 18px;
  --radius-soft: 14px;
  --focus: 0 0 0 4px rgba(237, 111, 92, 0.28);
}

* { box-sizing: border-box; }

html { min-height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(106, 92, 56, 0.08), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(237, 111, 92, 0.09), transparent 24rem),
    linear-gradient(135deg, var(--paper) 0%, var(--paper-warm) 62%, var(--paper) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 20, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 20, 15, 0.026) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 78%);
}

::selection { background: var(--ink); color: var(--bone); }

[hidden], .hidden, .is-hidden { display: none !important; }

button, input, select, textarea { font: inherit; }
button, summary, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 0; box-shadow: var(--focus); }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--coral); }

.shell {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 0 var(--pad) 58px;
}

.od-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.od-meta span:nth-child(2) { justify-self: center; }
.od-meta span:last-child { justify-self: end; }
.od-meta i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--coral);
  animation: od-pulse 2.4s ease-in-out infinite;
}

.od-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  color: rgba(21, 20, 15, 0.38);
  font-family: 'Inter Tight', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .42em;
  text-transform: uppercase;
  pointer-events: none;
}

.od-rail-left { left: 0; border-right: 1px solid var(--line); }
.od-rail-right { right: 0; border-left: 1px solid var(--line); }
.od-rail-left { writing-mode: vertical-rl; transform: rotate(180deg); }
.od-rail-right { writing-mode: vertical-rl; }

.sec-rule {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  margin: 0 0 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-faint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sec-rule span:first-child {
  color: var(--coral);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

.hero {
  min-height: calc(100svh - 38px);
  padding: 20px 0 46px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  color: var(--bone);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  box-shadow: 8px 8px 0 rgba(21, 20, 15, .09);
}

#languageSelect {
  width: auto;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 34px 0 14px;
  background: transparent;
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(38px, 5vw, 74px);
  align-items: stretch;
  min-height: calc(100svh - 148px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0 20px;
  color: var(--coral);
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--coral);
}

h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.055em;
  text-wrap: balance;
}

h1::after { content: "."; color: var(--coral); }

.subhead {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.54;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
}

.trust-row span:first-child::before {
  content: "★";
  margin-right: 8px;
  color: var(--mustard);
}

.status-card {
  position: relative;
  align-self: stretch;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 16px;
  align-items: start;
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(247, 241, 222, .96), rgba(236, 228, 207, .82)),
    var(--bone);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.status-card::before,
.status-card::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--ink);
  opacity: .42;
}

.status-card::before { top: 16px; left: 16px; border-top: 1px solid; border-left: 1px solid; }
.status-card::after { right: 16px; bottom: 16px; border-right: 1px solid; border-bottom: 1px solid; }

.status-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--ink-faint);
}

.status-dot.good { background: var(--olive); animation: od-pulse 2.4s ease-in-out infinite; }
.status-dot.bad { background: var(--coral); }

.status-card strong {
  display: block;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.045em;
}

.status-card p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--ink-mute);
}

.small-button,
#openLocalButton {
  grid-column: 3;
  grid-row: 1;
}

.helper-address {
  grid-column: 2 / -1;
  display: grid;
  gap: 9px;
  margin-top: 8px;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.helper-address > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.helper-address small,
.hint {
  color: var(--ink-faint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: none;
}

.workbench {
  padding: 64px 0 0;
}

.paste-box,
.preview-card,
.actions-card,
.player-card,
.progress-card,
.help-strip article {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bone);
  box-shadow: var(--shadow-soft);
}

.paste-box {
  padding: clamp(20px, 3vw, 30px);
}

.paste-box label,
.option-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  margin-top: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-soft);
  background: rgba(247, 241, 222, .86);
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

input:hover,
select:hover,
textarea:hover { border-color: rgba(21, 20, 15, .4); background: var(--paper); }
input:focus,
select:focus,
textarea:focus { outline: 0; border-color: var(--coral); box-shadow: var(--focus); background: var(--bone); }
input::placeholder { color: var(--ink-faint); }

#urlInput {
  min-height: clamp(64px, 7vw, 82px);
  border-radius: 18px;
  padding: 18px 20px;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 800;
  letter-spacing: -.025em;
}

button,
.button,
.ghost,
summary {
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: 12px 18px;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.01em;
  text-align: center;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

button:hover,
.ghost:hover,
summary:hover {
  transform: translateY(-1px);
  background: rgba(21, 20, 15, .04);
  box-shadow: 0 12px 26px rgba(77, 59, 30, .1);
}

button:active { transform: translateY(0); box-shadow: none; }
button:disabled { cursor: not-allowed; opacity: .48; transform: none; box-shadow: none; }

#checkButton,
#saveHelperOrigin,
.action.primary:first-child,
.quick-actions button:first-child {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--bone);
  box-shadow: 0 14px 26px rgba(237, 111, 92, .22);
}

#checkButton::after,
#saveHelperOrigin::after,
.quick-actions button:first-child::after {
  content: "↗";
  margin-left: 10px;
}

#checkButton:hover,
#saveHelperOrigin:hover,
.quick-actions button:first-child:hover {
  background: var(--coral-soft);
  color: var(--bone);
}

.main-panel {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  margin-top: 18px;
}

.preview-card,
.actions-card {
  padding: clamp(18px, 2.5vw, 28px);
}

.thumb-wrap {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(221, 210, 182, .78), rgba(247, 241, 222, .9));
}

.thumb-wrap::before,
.thumb-wrap::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 1;
  border-color: var(--coral);
}

.thumb-wrap::before { top: 12px; left: 12px; border-top: 1px solid; border-left: 1px solid; }
.thumb-wrap::after { right: 12px; bottom: 12px; border-right: 1px solid; border-bottom: 1px solid; }

#thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(.98);
}

.thumb-empty {
  display: grid;
  gap: 8px;
  place-items: center;
  padding: 24px;
  color: var(--ink-mute);
  text-align: center;
}

.thumb-empty span {
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.025em;
}

.thumb-empty small {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-faint);
}

.video-meta { margin-top: 16px; }
#videoTitle {
  display: block;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
}
#videoMeta { margin: 8px 0 0; color: var(--ink-mute); font-family: 'JetBrains Mono', monospace; font-size: 12px; }

.examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.examples button { min-height: 36px; padding: 8px 12px; color: var(--ink-mute); font-size: 12px; }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.action {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 116px;
  border-radius: var(--radius-card);
  padding: 16px;
  text-align: left;
}

.action span {
  width: fit-content;
  color: var(--coral);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
}

.action b {
  color: inherit;
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
}

.action small { color: inherit; opacity: .72; font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; }
.quick-actions button:first-child span { color: var(--bone); }

.more-actions,
.options {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(247, 241, 222, .58);
  overflow: hidden;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--coral); font-family: 'Playfair Display', serif; font-size: 24px; }
details[open] summary::after { content: "-"; }

.save-grid,
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 12px 12px;
}

.save-grid .action { min-height: 76px; }
.option-grid { padding-top: 2px; }

.player-card,
.progress-card {
  margin-top: 18px;
  padding: clamp(18px, 2.5vw, 26px);
}

.player-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

#playerTitle,
.progress-card strong,
.help-strip strong {
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.02em;
}

video,
audio {
  display: block;
  width: 100%;
  border-radius: var(--radius-soft);
  background: var(--ink);
}

.progress-card {
  display: grid;
  gap: 14px;
  background: var(--paper-dark);
}

#statusText { margin: 6px 0 0; color: var(--ink-mute); }
#statusText[data-type="error"] { color: #8b2f23; }
#statusText[data-type="ok"] { color: var(--olive); }

.jobs {
  display: grid;
  gap: 10px;
}

.job {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: var(--bone);
  padding: 12px;
}

.job p { margin: 0; color: var(--ink-mute); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.job a {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.help-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding-top: 72px;
}

.help-strip .sec-rule {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.help-strip article {
  min-height: 156px;
  padding: 18px;
}

.help-strip article::before {
  content: counter(help-counter, decimal-leading-zero);
  counter-increment: help-counter;
  display: block;
  margin-bottom: 24px;
  color: var(--coral);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
}

.help-strip { counter-reset: help-counter; }
.help-strip p { margin: 8px 0 0; color: var(--ink-mute); font-size: 13px; line-height: 1.45; }

.od-footer {
  padding: 74px 0 0;
}

.od-footer strong {
  display: block;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(70px, 13vw, 180px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.075em;
}

.od-footer strong::after { content: ""; display: inline-block; width: .12em; height: .12em; margin-left: .04em; border-radius: 999px; background: var(--coral); }

@keyframes od-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-row,
  .hero-grid,
  .workbench,
  .help-strip article,
  .od-footer {
    animation: od-rise .58s cubic-bezier(.2,.8,.2,1) both;
  }
  .hero-grid { animation-delay: .04s; }
  .workbench { animation-delay: .08s; }
  .help-strip article:nth-of-type(2) { animation-delay: .04s; }
  .help-strip article:nth-of-type(3) { animation-delay: .08s; }
  .help-strip article:nth-of-type(4) { animation-delay: .12s; }
  .help-strip article:nth-of-type(5) { animation-delay: .16s; }
  @keyframes od-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 1279px) {
  .od-rail { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .status-card { min-height: auto; }
  .main-panel { grid-template-columns: 1fr; }
  .help-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shell { padding-inline: 16px; padding-bottom: 40px; }
  .od-meta { grid-template-columns: 1fr; gap: 4px; padding: 8px 0; }
  .od-meta span:nth-child(2), .od-meta span:last-child { justify-self: start; }
  .brand-row { align-items: flex-start; gap: 12px; }
  .brand { font-size: 13px; }
  .hero { min-height: auto; padding-bottom: 30px; }
  .eyebrow { margin-top: 28px; }
  h1 { font-size: clamp(46px, 15vw, 70px); }
  .subhead { font-size: 16px; }
  .status-card { grid-template-columns: 10px 1fr; padding: 18px; }
  .small-button, #openLocalButton { grid-column: 2; grid-row: auto; width: fit-content; }
  .helper-address { grid-column: 1 / -1; }
  .helper-address > div,
  .input-row { grid-template-columns: 1fr; }
  #urlInput { min-height: 62px; font-size: 16px; }
  .quick-actions,
  .save-grid,
  .option-grid,
  .help-strip { grid-template-columns: 1fr; }
  .action { min-height: 78px; }
  .sec-rule { grid-template-columns: 42px 1fr; }
  .sec-rule span:last-child { display: none; }
  .help-strip article { min-height: auto; }
}

@media (max-width: 420px) {
  .brand-row { flex-direction: column; }
  #languageSelect { width: 100%; }
  h1 { font-size: 44px; }
}

/* Consumer mode override: hide design-system scaffolding and backend mechanics. */
.od-rail,
.od-meta,
.sec-rule,
.od-footer {
  display: none !important;
}

.shell {
  padding-top: clamp(14px, 3vw, 30px);
}

.hero {
  min-height: auto;
  padding-bottom: 24px;
}

.hero-grid {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  align-items: center;
}

.eyebrow {
  margin-top: 22px;
}

.status-card {
  min-height: auto;
  grid-template-columns: 10px 1fr;
  align-self: center;
}

.status-card strong {
  font-size: clamp(30px, 4vw, 48px);
}

.status-card p {
  font-size: 16px;
}

.workbench {
  padding-top: 22px;
}

.help-strip {
  padding-top: 34px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Consumer-first layout: the URL box is the product. */
.hero-grid {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.hero-grid > div:first-child {
  display: grid;
  justify-items: center;
}

.trust-row {
  justify-content: center;
}

.workbench {
  max-width: 980px;
  margin-inline: auto;
}

.paste-box {
  border-color: rgba(237, 111, 92, .42);
  box-shadow: 0 24px 60px rgba(77, 59, 30, .16);
}

@media (max-width: 760px) {
  .shell {
    padding-top: 10px;
  }

  .brand-row {
    min-height: 44px;
  }

  .brand {
    font-size: 12px;
  }

  .brand span {
    width: 32px;
    height: 32px;
    box-shadow: 5px 5px 0 rgba(21, 20, 15, .08);
  }

  .hero {
    padding: 4px 0 8px;
  }

  .eyebrow {
    margin: 12px 0 10px;
  }

  h1 {
    max-width: 350px;
    font-size: clamp(36px, 11.5vw, 48px);
    line-height: .92;
  }

  .subhead {
    max-width: 360px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.38;
  }

  .trust-row {
    margin-top: 12px;
    gap: 6px;
  }

  .trust-row span {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 10px;
  }

  .workbench {
    padding-top: 8px;
  }

  .paste-box {
    width: min(100%, 390px);
    margin: 0 auto;
    padding: 14px;
    border-radius: 20px;
  }

  .paste-box label {
    text-align: center;
  }

  #urlInput {
    min-height: 58px;
    text-align: center;
  }

  #checkButton {
    min-height: 54px;
    font-size: 16px;
  }

  .hint {
    margin-bottom: 0;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .eyebrow,
  .trust-row {
    display: none;
  }

  h1 {
    margin-top: 10px;
    max-width: 330px;
    font-size: clamp(31px, 9.6vw, 40px);
  }

  .subhead {
    max-width: 330px;
    margin-top: 8px;
    font-size: 13px;
  }

  .paste-box {
    margin-top: 6px;
  }
}

.answer-section {
  max-width: 980px;
  margin: 34px auto 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(247, 241, 222, .82);
  box-shadow: var(--shadow-soft);
}

.answer-section h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.05em;
}

.answer-section > p {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.answer-section > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.answer-section article {
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  padding: 16px;
  background: var(--bone);
}

.answer-section h3 {
  margin: 0 0 10px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 900;
}

.answer-section ul {
  margin: 0;
  padding-left: 19px;
  color: var(--ink-mute);
}

.answer-section li + li {
  margin-top: 6px;
}

@media (max-width: 760px) {
  .answer-section > div {
    grid-template-columns: 1fr;
  }
}

.support-toast {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 20;
  width: min(330px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(21, 20, 15, .22);
  border-radius: 22px;
  background: var(--bone);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(77, 59, 30, .22);
}

.support-toast small {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  border: 1px solid rgba(237, 111, 92, .32);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--coral);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.support-toast strong {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.support-toast p {
  margin: 8px 0 14px;
  color: var(--ink-mute);
  font-size: 14px;
}

.support-toast a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--coral);
  color: var(--bone);
  padding: 10px 14px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.support-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 34px;
  min-height: 34px;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink-faint);
  padding: 0;
  font-size: 22px;
}

.support-close:hover {
  transform: none;
  box-shadow: none;
  background: rgba(21, 20, 15, .06);
}

@media (max-width: 760px) {
  .support-toast {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}
