:root {
  --bg: #050b14;
  --bg-soft: #091523;
  --panel: rgba(11, 25, 41, 0.88);
  --panel-solid: #0b1929;
  --panel-light: #10243a;
  --line: rgba(158, 208, 230, 0.14);
  --line-strong: rgba(95, 229, 255, 0.32);
  --text: #f4fbff;
  --muted: #9fb3c5;
  --cyan: #59e6ff;
  --cyan-deep: #1eb8d2;
  --violet: #9e79ff;
  --lime: #c4ff64;
  --danger: #ff889a;
  --success: #71f0b1;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --shell: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }

html {
  width: 100%;
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  min-width: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(108, 75, 213, 0.11), transparent 30rem),
    radial-gradient(circle at 5% 40%, rgba(49, 218, 244, 0.08), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

button, textarea, input { max-width: 100%; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { color: #041016; background: var(--cyan); }

.shell { width: var(--shell); min-width: 0; margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #041016;
  background: var(--cyan);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 11, 20, 0.88);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand strong { color: var(--cyan); font-weight: 800; }

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-content: center;
  overflow: hidden;
  color: #07111f;
  background: linear-gradient(145deg, var(--lime), var(--cyan));
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(89, 230, 255, 0.22);
  font: 800 0.64rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  transform: rotate(-4deg);
}

.brand-mark b, .brand-mark i { display: block; font-style: normal; }
.brand-mark i { margin-left: 7px; opacity: 0.76; }

.nav-actions, .lang-switch { display: flex; align-items: center; }
.nav-actions { min-width: 0; gap: 18px; }
.lang-switch { flex: 0 0 auto; }

.back-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  color: #ccdae5;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 160ms ease, transform 160ms ease;
}

.back-link:hover { color: var(--cyan); transform: translateX(-2px); }

.lang-switch {
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.lang-btn {
  width: 38px;
  height: 34px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

.lang-btn:hover, .lang-btn:focus-visible { color: var(--text); }
.lang-btn.is-active { color: #031015; background: var(--cyan); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-one { right: -12rem; top: -14rem; background: rgba(101, 72, 224, 0.22); }
.hero-glow-two { left: -19rem; bottom: -18rem; background: rgba(36, 199, 225, 0.13); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  min-height: 680px;
  gap: 44px;
  padding-block: 70px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, p, a, button, label, summary { overflow-wrap: anywhere; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 6vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 em {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--cyan), var(--lime) 55%, #e4ffbd);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-lead, .section-heading > p:last-child, .feature-copy > p, .privacy-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lead { max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  min-height: 50px;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #041219; background: linear-gradient(120deg, var(--cyan), var(--lime)); box-shadow: 0 13px 38px rgba(70, 218, 226, 0.2); }
.btn-primary:hover { box-shadow: 0 17px 48px rgba(70, 218, 226, 0.3); }
.btn-secondary { color: var(--cyan); background: rgba(89, 230, 255, 0.08); border-color: rgba(89, 230, 255, 0.3); }
.btn-ghost { color: var(--muted); background: transparent; border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.27); }

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #cddae3;
  font-size: 0.88rem;
  font-weight: 700;
}

.privacy-pill > span:first-child { color: var(--success); font-size: 0.65rem; text-shadow: 0 0 12px var(--success); }

.hero-stats {
  display: flex;
  gap: 32px;
  padding: 0;
  margin: 40px 0 0;
  list-style: none;
}

.hero-stats li { display: grid; }
.hero-stats strong { color: var(--text); font-size: 1.35rem; line-height: 1; }
.hero-stats span { color: #71899e; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }

.hero-visual { position: relative; min-width: 0; }

.hero-visual::after {
  position: absolute;
  z-index: -1;
  inset: 12% 10%;
  content: "";
  background: rgba(89, 230, 255, 0.2);
  filter: blur(70px);
  border-radius: 50%;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(122, 229, 255, 0.16);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.visual-orbit {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  color: var(--cyan);
  background: rgba(5, 14, 25, 0.9);
  border: 1px solid rgba(89, 230, 255, 0.27);
  border-radius: 11px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  font: 700 0.68rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}

.orbit-one { top: 10%; right: -2%; }
.orbit-two { bottom: 9%; left: -3%; color: var(--lime); border-color: rgba(196, 255, 100, 0.28); }

.converter-section { padding: 110px 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading > p:last-child { max-width: 650px; margin: 0 auto; }

.tool-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(7, 18, 31, 0.93);
  box-shadow: var(--shadow), 0 0 70px rgba(60, 196, 232, 0.07);
}

.methods-panel {
  min-width: 0;
  padding: 25px 18px;
  background: rgba(8, 21, 35, 0.96);
  border-right: 1px solid var(--line);
}

.panel-title-row { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 16px; }
.panel-title-row h3 { margin: 0; font-size: 1rem; }
.method-count { display: grid; width: 30px; height: 30px; place-content: center; color: var(--cyan); background: rgba(89, 230, 255, 0.08); border-radius: 50%; font-size: 0.75rem; font-weight: 800; }
.method-group + .method-group { margin-top: 21px; }

.method-group-title {
  margin: 0 8px 8px;
  color: #658095;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.method-button {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 11px;
  padding: 10px;
  color: #a9bdcd;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.method-button > span:last-child { min-width: 0; }

.method-button:hover { color: var(--text); background: rgba(255, 255, 255, 0.035); }
.method-button.is-active { color: var(--text); background: linear-gradient(110deg, rgba(62, 213, 238, 0.14), rgba(138, 101, 241, 0.08)); border-color: rgba(89, 230, 255, 0.22); }

.method-button .mini-icon {
  display: grid;
  width: 39px;
  height: 36px;
  place-content: center;
  color: var(--cyan);
  background: rgba(89, 230, 255, 0.07);
  border: 1px solid rgba(89, 230, 255, 0.1);
  border-radius: 10px;
  font: 800 0.67rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.workspace-panel { min-width: 0; max-width: 100%; padding: 28px; }

.method-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}

.method-summary > div:nth-child(2) { min-width: 0; }

.method-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-content: center;
  color: #04121a;
  background: linear-gradient(145deg, var(--cyan), var(--lime));
  border-radius: 17px;
  font: 900 0.9rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  box-shadow: 0 8px 30px rgba(89, 230, 255, 0.16);
}

.method-kicker { margin: 0 0 1px; color: var(--violet); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.method-summary h3 { margin: 0 0 2px; font-size: 1.2rem; }
.method-summary p:last-child { margin: 0; color: var(--muted); font-size: 0.8rem; }

.reversible-badge {
  padding: 6px 10px;
  color: var(--success);
  background: rgba(113, 240, 177, 0.08);
  border: 1px solid rgba(113, 240, 177, 0.18);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.option-row {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto;
  align-items: center;
  max-width: 550px;
  gap: 15px;
  padding: 12px 14px;
  margin: -4px 0 22px 74px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.option-row.is-hidden { display: none; }
.option-row label { color: #c4d4df; font-size: 0.8rem; font-weight: 700; }
.option-row output { color: var(--lime); font-weight: 900; }
.option-row input[type="text"] { min-width: 0; padding: 9px 11px; color: var(--text); background: #07111e; border: 1px solid var(--line-strong); border-radius: 8px; outline: none; }
.option-row input[type="range"] { width: 100%; accent-color: var(--cyan); }

.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.editor-card {
  min-width: 0;
  overflow: hidden;
  background: #071421;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.editor-card:focus-within { border-color: rgba(89, 230, 255, 0.43); box-shadow: 0 0 0 3px rgba(89, 230, 255, 0.05); }
.output-card { background: #091829; }
.editor-head, .editor-actions { display: flex; min-width: 0; align-items: center; justify-content: space-between; }
.editor-head { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.editor-head label { min-width: 0; font-size: 0.78rem; font-weight: 800; }
.editor-head > span { flex: 0 0 auto; color: #658095; font-size: 0.68rem; white-space: nowrap; }

textarea {
  display: block;
  width: 100%;
  min-height: 270px;
  resize: vertical;
  padding: 18px;
  color: #e9f9ff;
  caret-color: var(--cyan);
  background: transparent;
  border: 0;
  outline: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  font: 500 0.86rem/1.65 ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

textarea::placeholder { color: #4f687d; }
.editor-actions { min-height: 48px; padding: 7px 11px; border-top: 1px solid var(--line); }

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  color: #7790a4;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 700;
}

.text-btn:hover { color: var(--cyan); background: rgba(89, 230, 255, 0.05); }

.swap-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-content: center;
  color: var(--cyan);
  background: #0c2033;
  border: 1px solid rgba(89, 230, 255, 0.24);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 180ms ease, background 180ms ease;
}

.swap-btn:hover { background: #12314b; transform: rotate(180deg); }

.primary-actions { display: flex; min-width: 0; justify-content: center; gap: 11px; margin-top: 24px; }
.action-btn { min-width: 145px; max-width: 100%; }
.status-message { min-height: 24px; margin: 13px 0 0; color: var(--muted); text-align: center; font-size: 0.78rem; }
.status-message.is-error { color: var(--danger); }
.status-message.is-success { color: var(--success); }

.feature-section, .privacy-section { padding: 110px 0; border-top: 1px solid var(--line); }
.feature-section { background: linear-gradient(180deg, rgba(13, 30, 48, 0.55), rgba(5, 11, 20, 0)); }
.privacy-section { background: linear-gradient(180deg, rgba(5, 11, 20, 0), rgba(35, 20, 70, 0.13)); }
.feature-grid, .privacy-grid { display: grid; min-width: 0; grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(45px, 8vw, 100px); }
.privacy-grid { grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); }

.feature-image {
  position: relative;
  isolation: isolate;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.feature-image::before {
  position: absolute;
  z-index: -1;
  inset: 18%;
  content: "";
  filter: blur(70px);
  border-radius: 50%;
}

.frame-cyan::before { background: rgba(62, 222, 244, 0.2); }
.frame-violet::before { background: rgba(139, 93, 242, 0.22); }
.feature-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 23px; }
.feature-copy > p, .privacy-copy > p { max-width: 620px; }
.mini-features { display: grid; gap: 13px; margin-top: 30px; }

.mini-features article {
  display: grid;
  grid-template-columns: 49px 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.mini-features article > span { display: grid; width: 46px; height: 42px; place-content: center; color: var(--cyan); background: rgba(89, 230, 255, 0.07); border-radius: 11px; font: 900 0.7rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.mini-features h3 { margin: 0 0 1px; font-size: 0.94rem; }
.mini-features p { margin: 0; color: var(--muted); font-size: 0.8rem; }

.check-list { display: grid; gap: 13px; padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 12px; color: #d0dde6; font-weight: 700; }
.check-list li > span:first-child { display: grid; width: 27px; height: 27px; place-content: center; color: #06140d; background: var(--success); border-radius: 50%; font-size: 0.75rem; }

.notice-section { padding: 45px 0 95px; }
.notice-card { display: grid; grid-template-columns: 52px 1fr; gap: 19px; max-width: 920px; padding: 24px; background: rgba(158, 121, 255, 0.075); border: 1px solid rgba(158, 121, 255, 0.22); border-radius: var(--radius-md); }
.notice-icon { display: grid; width: 48px; height: 48px; place-content: center; color: #0d0920; background: linear-gradient(145deg, #bda5ff, var(--violet)); border-radius: 15px; font: 900 1.2rem/1 Georgia, serif; }
.notice-card h2 { margin: 0 0 5px; font-size: 1.15rem; letter-spacing: -0.02em; }
.notice-card p { margin: 0; color: var(--muted); font-size: 0.87rem; }

.faq-section { padding: 95px 0 120px; border-top: 1px solid var(--line); }
.faq-wrap { max-width: 900px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { overflow: hidden; background: rgba(13, 29, 47, 0.75); border: 1px solid var(--line); border-radius: 15px; }
.faq-list details[open] { border-color: rgba(89, 230, 255, 0.26); }
.faq-list summary { padding: 18px 20px; cursor: pointer; font-weight: 800; }
.faq-list p { padding: 0 20px 20px; margin: 0; color: var(--muted); }

.site-footer { padding: 45px 0; background: #03070d; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 45px; }
.footer-brand { margin-bottom: 11px; }
.footer-brand .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
.footer-grid p { margin: 0; color: #6f8598; font-size: 0.8rem; }
.footer-links { display: flex; gap: 20px; color: #9fb3c5; font-size: 0.82rem; font-weight: 700; }
.footer-links a:hover, .credit a:hover { color: var(--cyan); }
.credit { text-align: right; }
.credit a { color: #c8d8e3; font-weight: 800; }

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  padding: 12px 17px;
  color: #04130d;
  background: var(--success);
  border-radius: 12px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible { opacity: 1; transform: translateY(0); }
.noscript { position: fixed; z-index: 200; inset: auto 16px 16px; padding: 13px; color: #24030a; text-align: center; background: #ff98a8; border-radius: 12px; }

:focus-visible { outline: 3px solid rgba(89, 230, 255, 0.65); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 70px; text-align: center; }
  .hero-copy { max-width: 760px; margin-inline: auto; }
  .hero-actions, .hero-stats, .hero-copy .eyebrow { justify-content: center; }
  .hero-visual { width: min(780px, 100%); margin: 0 auto; }
  .tool-shell { grid-template-columns: 1fr; }
  .methods-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .method-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .method-group + .method-group { margin-top: 0; }
  .feature-grid, .privacy-grid { gap: 50px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .credit { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 760px) {
  :root { --shell: min(calc(100% - 24px), 1180px); --radius-lg: 22px; }
  .nav-wrap { min-height: 68px; gap: 10px; }
  .brand { flex: 0 0 auto; gap: 8px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
  .brand > span:last-child { display: none; }
  .nav-actions { min-width: 0; gap: 8px; }
  .back-link { min-width: 0; font-size: 0.78rem; line-height: 1.15; text-align: center; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { gap: 45px; padding: 60px 0 75px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-stats { gap: 24px; }
  .hero-visual img { border-radius: 24px; }
  .visual-orbit { display: none; }
  .converter-section, .feature-section, .privacy-section { padding: 80px 0; }
  .methods-panel { padding: 18px 12px; }
  .method-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 0; }
  .method-group { display: contents; }
  .method-group-title { display: none; }
  .method-button { width: 100%; min-width: 0; gap: 8px; padding: 8px; }
  .method-button .mini-icon { width: 35px; height: 34px; }
  .method-count { display: none; }
  .workspace-panel { width: 100%; padding: 21px 14px; }
  .method-summary { grid-template-columns: auto minmax(0, 1fr); }
  .reversible-badge { grid-column: 2; justify-self: start; }
  .option-row { width: 100%; max-width: 100%; margin-left: 0; }
  .editor-grid { grid-template-columns: 1fr; }
  .swap-btn { margin: -3px auto; transform: rotate(90deg); }
  .swap-btn:hover { transform: rotate(270deg); }
  textarea { min-height: 220px; }
  .primary-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-btn { width: 100%; min-width: 0; padding-inline: 12px; }
  .btn-ghost { grid-column: 1 / -1; }
  .feature-grid, .privacy-grid { grid-template-columns: 1fr; }
  .feature-image { width: min(520px, 100%); margin-inline: auto; }
  .privacy-grid .privacy-copy { order: 2; }
  .privacy-grid .feature-image { order: 1; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; gap: 25px; }
  .footer-brand > span:last-child { display: inline; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .back-link span:first-child { display: none; }
  .lang-btn { width: 32px; }
  .lang-switch { padding: 3px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .privacy-pill { justify-content: center; }
  .hero-stats { justify-content: space-around; gap: 8px; }
  .tool-shell { border-radius: 19px; }
  .method-summary { gap: 11px; }
  .method-icon { width: 50px; height: 50px; border-radius: 14px; }
  .method-summary p:last-child { display: none; }
  .option-row { grid-template-columns: 1fr auto; }
  .option-row input { grid-column: 1 / -1; grid-row: 2; }
  .option-row output { grid-column: 2; grid-row: 1; }
  .notice-card { grid-template-columns: 1fr; }
  .editor-head { flex-wrap: wrap; gap: 4px 10px; }
  .primary-actions { grid-template-columns: 1fr; }
  .btn-ghost { grid-column: auto; }
}

@media (max-width: 380px) {
  :root { --shell: calc(100% - 16px); }
  .nav-wrap { min-height: 62px; gap: 6px; }
  .brand-mark { width: 38px; height: 38px; }
  .nav-actions { gap: 5px; }
  .back-link { font-size: 0.71rem; }
  .lang-btn { width: 29px; height: 32px; }
  .hero-grid { padding-top: 48px; }
  h1 { font-size: clamp(2.3rem, 12.5vw, 3rem); }
  .hero-stats span { font-size: 0.64rem; letter-spacing: 0.06em; }
  .converter-section, .feature-section, .privacy-section { padding: 64px 0; }
  .method-groups { grid-template-columns: 1fr; }
  .workspace-panel { padding-inline: 10px; }
  .method-summary { gap: 9px; }
  .reversible-badge { max-width: 100%; }
  .option-row { padding: 11px; }
  textarea { min-height: 200px; padding: 14px; }
  .editor-actions { padding-inline: 8px; }
  .text-btn { padding-inline: 6px; }
  .notice-card { padding: 19px; }
  .faq-list summary { padding-inline: 16px; }
  .faq-list p { padding-inline: 16px; }
}

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