@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: dark;
  --bg: #090909;
  --surface: #121212;
  --surface-2: #181818;
  --line: rgba(255, 255, 255, 0.11);
  --muted: #999995;
  --text: #f7f7f2;
  --lime: #d9ff43;
  --lime-soft: rgba(217, 255, 67, 0.14);
  --coral: #ff6b4a;
  --error: #ff705f;
  --radius-lg: 28px;
  --radius-md: 20px;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.08), transparent 35rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  opacity: 0.09;
  filter: blur(120px);
  pointer-events: none;
}

.ambient-one {
  top: 8%;
  right: -18rem;
  background: var(--lime);
}

.ambient-two {
  bottom: -18rem;
  left: -15rem;
  background: #765bff;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 10px;
  background: var(--lime);
  color: #090909;
}

.brand-mark svg {
  width: 23px;
  fill: currentColor;
}

.brand-mark svg path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 2.4;
}

.local-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: #bebeba;
  font-size: 0.78rem;
  font-weight: 600;
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.extension-nav {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--lime);
  color: #090909;
  font-size: 0.77rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.extension-nav:hover {
  transform: translateY(-1px);
  background: #e4ff75;
}

.extension-nav.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: #cececa;
}

.extension-nav.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(217, 255, 67, 0.65);
}

main {
  padding: 62px 0 40px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(340px, 1.2fr) minmax(280px, 0.8fr);
  column-gap: 10%;
  align-items: end;
  margin-bottom: 48px;
}

.eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 16px;
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.intro h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.1vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1.06;
}

.intro h1 span {
  color: var(--lime);
}

.intro-copy {
  max-width: 31rem;
  margin: 0 0 8px;
  color: #adada9;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.9;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(370px, 0.82fr) minmax(470px, 1.18fr);
  min-height: 550px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 18, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
}

.source-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 52px);
  border-right: 1px solid var(--line);
}

.method-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.step-number {
  flex: 0 0 auto;
  padding-top: 4px;
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
}

.method-heading h2 {
  margin: 0 0 7px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.method-heading p,
.helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.primary-button {
  display: grid;
  grid-template-columns: 24px 1fr 20px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  border: 0;
  border-radius: 16px;
  padding: 0 20px;
  background: var(--lime);
  color: #0b0b0a;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: #e3ff72;
  box-shadow: 0 14px 30px rgba(217, 255, 67, 0.14);
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.drop-zone:focus-visible,
.result-button:focus-visible,
.again-button:focus-visible,
.stop-button:focus-visible {
  outline: 3px solid rgba(217, 255, 67, 0.36);
  outline-offset: 3px;
}

.primary-button svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.primary-button .button-arrow {
  width: 19px;
}

.primary-button:disabled {
  background: #2c2c2a;
  color: #777773;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.helper {
  margin-top: 12px;
  padding-left: 4px;
}

.or-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 31px 0;
}

.or-divider span {
  height: 1px;
  background: var(--line);
}

.or-divider em {
  color: #6f6f6b;
  font-size: 0.72rem;
  font-style: normal;
}

.method-block.compact .method-heading {
  margin-bottom: 17px;
}

.drop-zone {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: var(--lime);
  background: var(--lime-soft);
}

.drop-zone.is-dragging {
  transform: scale(1.01);
}

.drop-icon {
  width: 42px;
  fill: currentColor;
  color: #c9c9c4;
}

.drop-icon path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.drop-zone strong,
.drop-zone span {
  display: block;
}

.drop-zone strong {
  margin-bottom: 5px;
  font-size: 0.92rem;
}

.drop-zone span {
  color: var(--muted);
  font-size: 0.73rem;
}

kbd {
  display: inline-block;
  min-width: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom-color: rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #cfcfca;
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  text-align: center;
}

.mobile-paste {
  display: none !important;
}

.secondary-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.06);
  color: #ddd;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.11);
}

.preview-panel {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 550px;
  flex-direction: column;
  padding: 19px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    #0d0d0d;
  background-size: 28px 28px;
}

.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  padding: 0 3px;
  color: #71716d;
  font-family: "DM Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.scan-state {
  display: flex;
  gap: 7px;
  align-items: center;
  letter-spacing: 0;
}

.scan-state span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #595956;
}

.scan-state b {
  color: #858580;
  font-weight: 500;
}

.scan-state.is-active span {
  background: var(--lime);
  box-shadow: 0 0 10px rgba(217, 255, 67, 0.75);
  animation: pulse 1.2s ease-in-out infinite;
}

.scan-state.is-active b {
  color: var(--lime);
}

.scan-state.is-success span {
  background: var(--lime);
}

.scan-state.is-success b {
  color: #d7f279;
}

.scan-state.is-error span {
  background: var(--error);
}

.scan-state.is-error b {
  color: #ff9b8d;
}

.preview-stage {
  position: relative;
  display: grid;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 19px;
  margin-top: 14px;
  background: rgba(4, 4, 4, 0.68);
  place-items: center;
}

.empty-state,
.error-state,
.result-state {
  width: 100%;
  padding: 34px;
  text-align: center;
}

.scanner-glyph {
  position: relative;
  width: 154px;
  height: 154px;
  margin: 0 auto 25px;
  color: #343432;
}

.scanner-glyph svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  padding: 22px;
}

.scanner-glyph .corner,
.scan-frame .corner {
  position: absolute;
  width: 25px;
  height: 25px;
  border-color: var(--lime);
  border-style: solid;
}

.corner.c1 {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.corner.c2 {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
}

.corner.c3 {
  right: 0;
  bottom: 0;
  border-width: 0 2px 2px 0;
}

.corner.c4 {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
}

.scanner-glyph i,
.scan-frame i {
  position: absolute;
  right: 7px;
  left: 7px;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(217, 255, 67, 0.75);
  animation: scan 2.4s ease-in-out infinite;
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.empty-state p {
  margin: 0;
  color: #777773;
  font-size: 0.79rem;
}

.media-state {
  position: absolute;
  inset: 0;
  background: #050505;
}

.media-state video,
.media-state img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scan-frame {
  position: absolute;
  inset: 12%;
  pointer-events: none;
}

.scanning-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  display: flex;
  gap: 8px;
  align-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(5, 5, 5, 0.78);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  color: #e6e6e1;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.scanning-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.1s ease-in-out infinite;
}

.result-state {
  max-width: 570px;
  text-align: left;
}

.result-check {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 25px;
  border-radius: 16px;
  background: var(--lime);
  color: #090909;
  place-items: center;
}

.result-check svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.result-kicker {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 0.69rem;
  letter-spacing: 0.09em;
}

.result-kicker span + span {
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 9px;
  color: #898985;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-state h2 {
  margin: 0 0 19px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.055em;
}

.result-value {
  max-height: 150px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.045);
  color: #dfdfda;
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  user-select: text;
}

.result-actions {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}

.result-button {
  display: inline-flex;
  min-height: 44px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #eee;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.result-button:hover {
  background: rgba(255, 255, 255, 0.11);
}

.result-button.open {
  border-color: var(--lime);
  background: var(--lime);
  color: #090909;
}

.result-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.again-button {
  margin-top: 23px;
  border: 0;
  border-bottom: 1px solid #777;
  padding: 2px 0 5px;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  font-size: 0.76rem;
}

.again-button:hover {
  border-color: var(--text);
  color: var(--text);
}

.error-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  border: 1px solid rgba(255, 112, 95, 0.4);
  border-radius: 16px;
  background: rgba(255, 112, 95, 0.09);
  color: var(--error);
  font-family: "DM Mono", monospace;
  font-size: 1.25rem;
  place-items: center;
}

.error-state h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.error-state p {
  max-width: 340px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.again-button.light {
  margin-top: 24px;
}

.stop-button {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(12, 12, 12, 0.82);
  color: #ddd;
  cursor: pointer;
  font-size: 0.74rem;
  backdrop-filter: blur(12px);
}

.stop-button span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--coral);
}

.extension-section {
  margin-top: 32px;
  scroll-margin-top: 20px;
}

.permission-note {
  margin: 15px 4px 0;
  color: #858580;
  font-size: 0.78rem;
  line-height: 1.75;
}

.windows-section {
  margin-top: 48px;
}

.extension-card.windows-card {
  border-color: rgba(127, 104, 255, 0.35);
  background:
    radial-gradient(circle at 0 0, rgba(112, 88, 255, 0.19), transparent 30rem),
    radial-gradient(circle at 100% 100%, rgba(217, 255, 67, 0.07), transparent 24rem),
    #101011;
}

.platform-heading {
  display: flex;
  gap: 10px;
  align-items: center;
}

.extension-copy .platform-heading .eyebrow {
  margin: 0;
}

.beta-pill {
  border: 1px solid rgba(217, 255, 67, 0.35);
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(217, 255, 67, 0.08);
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.platform-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -7px 0 23px;
}

.platform-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.035);
  color: #aaa9a5;
  font-size: 0.68rem;
  font-weight: 600;
}

.extension-card {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(410px, 1.1fr);
  gap: clamp(40px, 7vw, 92px);
  border: 1px solid rgba(217, 255, 67, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 0 0, rgba(217, 255, 67, 0.13), transparent 28rem),
    #11110f;
}

.extension-copy .eyebrow {
  margin-bottom: 14px;
}

.extension-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.1;
}

.extension-copy > p:not(.eyebrow) {
  max-width: 31rem;
  margin: 22px 0 26px;
  color: #a8a8a3;
  font-size: 0.94rem;
  line-height: 1.85;
}

.download-button {
  display: inline-flex;
  min-height: 55px;
  gap: 11px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 18px;
  background: var(--lime);
  color: #090909;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  background: #e4ff75;
  box-shadow: 0 14px 30px rgba(217, 255, 67, 0.13);
}

.download-button:focus-visible,
.extension-nav:focus-visible {
  outline: 3px solid rgba(217, 255, 67, 0.36);
  outline-offset: 3px;
}

.download-button svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.install-note {
  display: block;
  margin-top: 11px;
  color: #72726e;
  font-size: 0.7rem;
}

.install-steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.install-steps li:last-child {
  border-bottom: 0;
}

.install-steps li > span {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(217, 255, 67, 0.28);
  border-radius: 11px;
  background: rgba(217, 255, 67, 0.07);
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 0.76rem;
  place-items: center;
}

.install-steps strong {
  display: block;
  margin: 0 0 5px;
  font-size: 0.9rem;
}

.install-steps p {
  margin: 0;
  color: #8e8e89;
  font-size: 0.76rem;
  line-height: 1.65;
}

.install-steps code {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 5px;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #cfcfca;
  font-family: "DM Mono", monospace;
  font-size: 0.69rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  color: #70706c;
  font-size: 0.74rem;
}

footer p {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
}

footer svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

footer > span {
  font-family: "DM Mono", monospace;
  letter-spacing: 0.05em;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100% - 48px));
  transform: translateY(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  padding: 13px 17px;
  background: #f4f4ef;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  color: #111;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

[hidden] {
  display: none !important;
}

@keyframes scan {
  0%,
  100% {
    top: 8px;
    opacity: 0.55;
  }
  50% {
    top: calc(100% - 10px);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 920px) {
  .intro {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .intro-copy {
    max-width: 38rem;
  }

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

  .source-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .preview-panel {
    min-height: 500px;
  }

  .extension-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 600px) {
  .app-shell {
    width: min(100% - 28px, 1240px);
  }

  .topbar {
    min-height: 72px;
  }

  .local-badge {
    display: none;
  }

  .extension-nav {
    padding: 9px 11px;
    font-size: 0.7rem;
  }

  .chrome-link {
    display: none;
  }

  main {
    padding-top: 42px;
  }

  .intro {
    margin-bottom: 31px;
  }

  .intro h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .intro-copy {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .workspace {
    border-radius: 22px;
  }

  .source-panel {
    padding: 30px 22px;
  }

  .primary-button {
    min-height: 60px;
  }

  .drop-zone {
    grid-template-columns: 37px 1fr;
    gap: 13px;
    padding: 16px;
  }

  .drop-icon {
    width: 37px;
  }

  .secondary-button {
    grid-column: 1 / -1;
    min-height: 43px;
  }

  .desktop-paste {
    display: none !important;
  }

  .mobile-paste {
    display: block !important;
  }

  .preview-panel {
    min-height: 450px;
    padding: 13px;
  }

  .empty-state,
  .error-state,
  .result-state {
    padding: 26px 21px;
  }

  .result-actions {
    flex-wrap: wrap;
  }

  .result-button {
    flex: 1;
  }

  .stop-button {
    right: 26px;
    bottom: 26px;
  }

  .extension-section {
    margin-top: 19px;
  }

  .extension-card {
    border-radius: 22px;
    padding: 31px 22px;
  }

  .extension-copy h2 {
    font-size: clamp(2rem, 11.5vw, 3.1rem);
  }

  .download-button {
    width: 100%;
  }

  .install-steps li {
    grid-template-columns: 35px 1fr;
    gap: 12px;
  }

  .install-steps li > span {
    width: 33px;
    height: 33px;
  }

  footer {
    min-height: 80px;
  }

  footer > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
