:root {
  --bg: #07111f;
  --bg-soft: #0b1830;
  --bg-card: rgba(255, 255, 255, 0.08);
  --panel: #ffffff;
  --panel-soft: #f5f7fb;
  --text: #102033;
  --text-soft: #536277;
  --text-inverse: #ecf4ff;
  --muted-inverse: #a9b9d2;
  --brand: #3ee7b6;
  --brand-2: #4b8dff;
  --danger: #ffbf69;
  --line: rgba(16, 32, 51, 0.12);
  --line-inverse: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--brand) rgba(7, 17, 31, .16);
  scrollbar-width: thin;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

::-webkit-scrollbar {
  width: 13px;
}
::-webkit-scrollbar-track {
  background: rgba(7, 17, 31, .08);
}
::-webkit-scrollbar-thumb {
  border: 3px solid rgba(7, 17, 31, .08);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), #8ef9dd);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #8ef9dd, var(--brand));
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 72px 0;
}

section[id] {
  scroll-margin-top: 96px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--bg);
  background: var(--brand);
  font-weight: 800;
  transition: top .2s ease;
}

.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid var(--line-inverse);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  color: var(--text-inverse);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--bg);
  background: linear-gradient(135deg, var(--brand), #8ef9dd);
  box-shadow: 0 14px 34px rgba(62, 231, 182, 0.24);
}

.brand-mark svg { width: 29px; height: 29px; }
.brand-mark path:first-child { fill: rgba(7, 17, 31, 0.12); stroke: currentColor; stroke-width: 2; }
.brand-mark path:last-child { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { font-size: 1.12rem; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .82rem;
  color: var(--muted-inverse);
}

.nav-menu a { white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.nav-menu a:hover, .nav-menu a:focus { color: var(--brand); }

.nav-cta {
  color: #06131f !important;
  font-weight: 800;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--brand);
}
.nav-start {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 4px;
}
.nav-cta.secondary {
  color: var(--text-inverse) !important;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--line-inverse);
}
.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus {
  color: #06131f !important;
  background: linear-gradient(135deg, var(--brand), #8ef9dd);
  border-color: transparent;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-inverse);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 4px;
}

.hero {
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 32px 0 36px;
  background:
    radial-gradient(circle at 14% 10%, rgba(62, 231, 182, 0.24), transparent 27%),
    radial-gradient(circle at 86% 5%, rgba(75, 141, 255, 0.32), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0b1830 48%, #0f2b4b 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .74fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.65rem, 5.4vw, 4.45rem);
  line-height: .94;
  letter-spacing: -.065em;
}

.hero-lede {
  margin: 14px 0 0;
  max-width: 650px;
  color: var(--muted-inverse);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions, .action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.hero-actions .btn {
  width: min(100%, 290px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover, .btn:focus { transform: translateY(-1px); }
.btn:disabled { cursor: not-allowed; opacity: .68; transform: none; }
.btn-primary {
  color: #06131f;
  background: linear-gradient(135deg, var(--brand), #8ef9dd);
  box-shadow: 0 18px 38px rgba(62, 231, 182, .22);
}
.btn-secondary {
  color: var(--text-inverse);
  background: rgba(255, 255, 255, .11);
  border: 1px solid var(--line-inverse);
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-ghost:hover,
.btn-ghost:focus {
  color: #06131f;
  background: linear-gradient(135deg, var(--brand), #8ef9dd);
  border-color: transparent;
}
.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}
.btn.full { width: 100%; }
.output-actions .btn-secondary { color: var(--text); background: var(--panel-soft); border-color: var(--line); }

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 16px;
}
.trust-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 8px 12px;
  border: 1px solid var(--line-inverse);
  border-radius: 999px;
  color: #dce8f8;
  background: rgba(255, 255, 255, .06);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.trust-row a:hover,
.trust-row a:focus {
  color: #07111f;
  background: var(--brand);
  border-color: transparent;
}

.hero-card {
  border: 1px solid var(--line-inverse);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.window-bar {
  display: flex;
  gap: 8px;
  padding: 15px;
  border-bottom: 1px solid var(--line-inverse);
}
.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}
.code-preview {
  padding: 22px 24px 0;
  font-family: "SFMono-Regular", Consolas, Monaco, monospace;
  color: #dce8f8;
  font-size: .95rem;
}
.code-preview p { margin: 0 0 6px; }
.code-preview .muted { color: var(--brand); }
.encrypt-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 24px 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--line-inverse);
  color: #eaf3ff;
  font-size: .88rem;
  font-weight: 900;
}
.pill.strong { color: #06131f; background: var(--brand); border-color: transparent; }
.arrow { color: var(--brand); font-weight: 900; }

.notice {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 46px;
  padding: 18px;
  border: 1px solid rgba(255, 191, 105, .4);
  border-radius: var(--radius-lg);
  color: #4b3410;
  background: #fff8ed;
}
.notice strong { color: #1c2738; }
.notice-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #07111f;
  background: var(--danger);
  font-weight: 900;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.tool-panel, .output-card, .info-card, .feature-card, .security-item, .faq-list details, .cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(7, 17, 31, .08);
}
.tool-panel { padding: 30px; }
.output-panel { position: sticky; top: 96px; display: grid; gap: 18px; }
.output-card, .info-card { padding: 24px; }

.section-heading { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-heading.compact { text-align: left; margin: 0 0 28px; }
.section-heading.align-left { text-align: left; margin: 0; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.encryptor { display: grid; gap: 22px; }
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  padding: 22px;
}
.step-title {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #07111f;
  background: var(--brand);
  font-weight: 900;
}
.step-title h3, .feature-card h3, .security-item h3, .info-card h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.step-title p, .feature-card p, .security-item p, .info-card p { margin: 6px 0 0; color: var(--text-soft); }

.tabs {
  display: flex;
  gap: 8px;
  padding: 5px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #e9eef7;
}
.tab {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 900;
  color: var(--text-soft);
  background: transparent;
}
.tab.active { color: var(--text); background: #fff; box-shadow: 0 8px 24px rgba(7, 17, 31, .08); }

.field-label {
  display: block;
  margin-bottom: 8px;
  color: #23334a;
  font-size: .92rem;
  font-weight: 900;
}
textarea, input[type="text"], input[type="password"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { min-height: 250px; padding: 16px; resize: vertical; font-family: "SFMono-Regular", Consolas, Monaco, monospace; font-size: .93rem; }
input[type="text"], input[type="password"] { min-height: 50px; padding: 0 14px; }
textarea:focus, input:focus { border-color: rgba(75, 141, 255, .62); box-shadow: 0 0 0 4px rgba(75, 141, 255, .12); }
.field-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: .9rem;
}
.link-btn {
  border: 0;
  padding: 0;
  color: #245dce;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 246px;
  padding: 26px;
  border: 2px dashed rgba(75, 141, 255, .36);
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
  transition: border-color .2s ease, background .2s ease;
}
.dropzone.dragover { border-color: var(--brand-2); background: #f1f6ff; }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
  border-radius: 18px;
  color: #07111f;
  background: var(--brand);
  font-size: 2rem;
  font-weight: 900;
}
.dropzone h4 { margin: 0; font-size: 1.2rem; }
.dropzone p { margin: 4px 0 12px; color: var(--text-soft); }
.file-name { color: #245dce; font-weight: 900; }

.form-grid.two, .advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.password-wrap { position: relative; }
.password-wrap input { padding-right: 68px; }
.show-pass {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--text-soft);
  background: var(--panel-soft);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 900;
}
.strength {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: .88rem;
  font-weight: 800;
}
.strength-bar {
  height: 8px;
  border-radius: 999px;
  background: #dfe6f0;
  overflow: hidden;
}
.strength-bar i { display: block; width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff6b6b, #ffbf69, #3ee7b6); transition: width .2s ease; }
.hint { margin: 10px 0 0; color: var(--text-soft); font-size: .88rem; }
.hint.ok { color: #087a58; font-weight: 900; }
.hint.bad { color: #a83333; font-weight: 900; }

.advanced { margin-top: 20px; }
.advanced summary { cursor: pointer; color: #245dce; font-weight: 900; }
.advanced-grid { margin-top: 18px; }
.range-group { grid-column: 1 / -1; }
input[type="range"] { width: 100%; accent-color: var(--brand-2); }
select, input[type="email"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  background: #fff;
  outline: none;
  padding: 0 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select:focus, input[type="email"]:focus { border-color: rgba(75, 141, 255, .62); box-shadow: 0 0 0 4px rgba(75, 141, 255, .12); }

.form-message { margin: 0; min-height: 24px; color: var(--text-soft); font-weight: 800; }
.form-message.ok { color: #087a58; }
.form-message.err { color: #a83333; }

.output-status {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
}
.status-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 8px;
  border-radius: 999px;
  background: #a9b3c1;
}
.output-status.ready .status-dot { background: var(--brand); box-shadow: 0 0 0 6px rgba(62, 231, 182, .13); }
.output-status strong { display: inline; }
.output-status p { margin: 8px 0 0; color: var(--text-soft); }
.output-actions { display: grid; gap: 10px; margin-top: 18px; }
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.mini-metrics div {
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  text-align: center;
}
.mini-metrics span { display: block; font-weight: 900; }
.mini-metrics small { color: var(--text-soft); font-weight: 800; }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #087a58; font-weight: 900; }

.muted-section { background: var(--panel-soft); }
.toolbox {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(7, 17, 31, .08);
  overflow: hidden;
}
.toolbox-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #e9eef7;
}
.toolbox-tab {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--text-soft);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}
.toolbox-tab.active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 17, 31, .08);
}
.toolbox-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 0;
}
.toolbox-panels { padding: 28px; }
.toolbox-panel {
  display: grid;
  gap: 18px;
}
.toolbox-panel[hidden] { display: none; }
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}
.option-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  background: #fff;
  font-weight: 800;
}
.option-grid input { accent-color: var(--brand-2); }
.small-input { max-width: 220px; }
.toolbox-output {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border-left: 1px solid var(--line);
  background: #fff;
}
.tool-output {
  min-height: 360px;
  background: #07111f;
  color: #eaf3ff;
  border-color: rgba(7, 17, 31, .2);
  font-size: .88rem;
}
.output-actions.visible { display: grid; gap: 10px; margin-top: 0; }
.password-score {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(62, 231, 182, .4);
  border-radius: var(--radius-md);
  color: #087a58;
  background: rgba(62, 231, 182, .1);
  font-weight: 900;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-card { padding: 24px; }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 15px;
  color: #07111f;
  background: var(--brand);
  font-weight: 900;
}

.security-grid {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 34px;
  align-items: start;
}
.security-list { display: grid; gap: 16px; }
.security-item { padding: 22px; }
.security-item.warning { border-color: rgba(255, 191, 105, .5); background: #fff9ef; }

.faq-wrap { max-width: 920px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 22px; }
.faq-list summary { cursor: pointer; font-weight: 900; }
.faq-list p { margin: 12px 0 0; color: var(--text-soft); }

.cta-section { padding: 32px 0 44px; background: #fff; }
.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  color: var(--text-inverse);
  background:
    radial-gradient(circle at 18% 20%, rgba(62, 231, 182, .28), transparent 32%),
    linear-gradient(135deg, var(--bg), #102a47);
  border-color: transparent;
}
.cta-card h2 { margin: 0; font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1; letter-spacing: -.055em; }
.cta-card p:not(.eyebrow) { color: var(--muted-inverse); margin: 8px 0 0; }
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(100%, 340px);
  gap: 12px;
}
.cta-actions .btn {
  width: 100%;
  white-space: nowrap;
}

.site-footer {
  color: var(--muted-inverse);
  background: var(--bg);
  padding: 54px 0 28px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-inverse);
}
.footer-brand { color: var(--text-inverse); }
.footer-grid p { max-width: 460px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 34px;
  min-width: 390px;
  justify-content: center;
  align-content: center;
  align-items: start;
  line-height: 1.25;
  font-size: .95rem;
}
.footer-links a:hover, .footer-links a:focus, .footer-bottom a:hover, .footer-bottom a:focus { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: .92rem;
  font-weight: 400;
}
.footer-bottom a { color: var(--text-inverse); font-weight: 400; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    inset: 72px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line-inverse);
    border-radius: 18px;
    background: rgba(7, 17, 31, .98);
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px; border-radius: 12px; }
  .nav-start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-left: 0; }
  .nav-cta { text-align: center; }
  .hero-grid, .tool-layout, .security-grid, .toolbox-grid { grid-template-columns: 1fr; }
  .output-panel { position: static; }
  .toolbox-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbox-output { border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section-pad { padding: 52px 0; }
  .hero { padding: 28px 0 34px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
  .hero-card { border-radius: 22px; }
  .notice { grid-template-columns: 1fr; margin-top: 30px; }
  .tool-panel { padding: 18px; border-radius: 22px; }
  .step-card { padding: 16px; }
  .form-grid.two, .advanced-grid, .feature-grid, .option-grid, .toolbox-tabs { grid-template-columns: 1fr; }
  .toolbox-panels, .toolbox-output { padding: 18px; }
  .tool-output { min-height: 280px; }
  .tabs { border-radius: 16px; }
  .tab { border-radius: 12px; }
  .mini-metrics { grid-template-columns: 1fr; }
  .cta-card, .footer-grid, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; justify-content: stretch; }
  .footer-links { grid-template-columns: 1fr; justify-content: start; min-width: 0; }
  .trust-row { grid-template-columns: 1fr; max-width: none; }
  .hero-actions, .action-row { width: 100%; }
  .hero-actions .btn, .action-row .btn, .cta-card .btn, .cta-actions .btn { width: 100%; }
}
