:root {
  --navy-950: #0b1f33;
  --navy-900: #102a43;
  --navy-700: #334e68;
  --navy-600: #486581;
  --green-700: #087443;
  --green-600: #138a57;
  --green-100: #e7f6ee;
  --saffron-600: #d97706;
  --saffron-500: #f59e0b;
  --saffron-100: #fff3d6;
  --blue-600: #1769aa;
  --blue-100: #eaf4fb;
  --red-600: #c0392b;
  --paper: #ffffff;
  --canvas: #f5f7fa;
  --line: #d9e2ec;
  --muted: #627d98;
  --shadow: 0 14px 38px rgba(16, 42, 67, 0.09);
  --radius: 16px;
  --radius-small: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--navy-950);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

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

button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(23, 105, 170, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-nav {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-brand img { width: 44px; height: 44px; flex: 0 0 44px; }

.brand-copy { display: grid; line-height: 1.08; }

.brand-copy strong { font-size: 1.04rem; letter-spacing: -0.02em; }

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 11px;
  color: var(--navy-700);
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--green-700); background: var(--green-100); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 3px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.page-width { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

.notice-bar {
  padding: 8px 16px;
  color: #fff;
  background: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.notice-bar span { color: #bcebd0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 48px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--saffron-500);
  border-radius: 10px;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.35rem, 5.5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-title-accent { color: var(--green-700); }

.hero-lead {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--navy-600);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.hindi-helper {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 10px;
  color: var(--navy-700);
  background: var(--saffron-100);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.button,
.button-secondary,
.button-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 850;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button { color: #fff; background: var(--green-700); }
.button:hover { background: #056238; }
.button-secondary { color: var(--navy-900); background: #fff; border-color: var(--line); }
.button-secondary:hover { border-color: #9fb3c8; }
.button-quiet { min-height: 40px; padding-inline: 13px; color: var(--navy-700); background: transparent; border-color: var(--line); }
.button:active, .button-secondary:active, .button-quiet:active { transform: translateY(1px); }
.button[disabled], .button-secondary[disabled] { cursor: not-allowed; opacity: 0.55; }

.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy-700);
  font-size: 0.82rem;
  font-weight: 750;
}

.trust-row li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--green-600);
  border-radius: 50%;
  font-size: 0.7rem;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(16, 42, 67, 0.2);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
}

.hero-visual::before { width: 190px; height: 190px; top: -80px; right: -40px; background: var(--saffron-500); }
.hero-visual::after { width: 230px; height: 230px; bottom: -120px; left: -80px; background: var(--green-600); }

.visual-heading { position: relative; z-index: 1; margin: 0 0 18px; color: #d9e9f5; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.result-stack { position: relative; z-index: 1; display: grid; gap: 12px; }

.result-slip {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: center;
  padding: 14px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.13);
}

.result-slip:nth-child(2) { margin-left: 24px; }
.result-slip:nth-child(3) { margin-left: 8px; }

.slip-icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--green-700); background: var(--green-100); border-radius: 11px; font-size: 1.25rem; font-weight: 900; }
.slip-copy { display: grid; min-width: 0; }
.slip-copy strong { font-size: 0.9rem; }
.slip-copy span { color: var(--muted); font-size: 0.74rem; }
.slip-size { color: var(--green-700); font-size: 0.83rem; font-weight: 900; white-space: nowrap; }

.section { padding-top: 62px; padding-bottom: 62px; }
.section-compact { padding-top: 34px; padding-bottom: 34px; }
.section-white { background: #fff; border-block: 1px solid var(--line); }
.section-tint { background: #edf7f2; border-block: 1px solid #cde8da; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { max-width: 760px; margin: 0; font-size: clamp(1.75rem, 3.7vw, 2.75rem); line-height: 1.1; letter-spacing: -0.035em; }
.section-heading p { max-width: 610px; margin: 8px 0 0; color: var(--muted); }

.tool-search-wrap { position: relative; width: min(420px, 100%); }
.tool-search-wrap svg { position: absolute; left: 14px; top: 50%; width: 20px; color: var(--muted); transform: translateY(-50%); }
.tool-search {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px 10px 44px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

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

.tool-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 13px;
  min-height: 310px;
  padding: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(16,42,67,0.02);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.tool-card:hover { transform: translateY(-3px); border-color: #9fb3c8; box-shadow: var(--shadow); }
.tool-card[hidden] { display: none; }

.tool-card-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.tool-icon { display: grid; place-items: center; width: 58px; height: 58px; color: var(--green-700); background: var(--green-100); border-radius: 14px; }
.tool-icon svg { width: 32px; height: 32px; }
.tool-badge { padding: 5px 8px; color: var(--saffron-600); background: var(--saffron-100); border-radius: 7px; font-size: 0.7rem; font-weight: 900; text-transform: uppercase; }
.tool-card h3 { margin: 0; font-size: 1.16rem; line-height: 1.25; }
.tool-card p { margin: 0; color: var(--muted); font-size: 0.91rem; }

.visual-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.visual-flow span { padding: 5px 8px; color: var(--navy-700); background: #f2f5f8; border: 1px solid #e5ebf0; border-radius: 7px; font-size: 0.7rem; font-weight: 850; }
.visual-flow b { color: var(--saffron-600); font-size: 0.8rem; }
.card-link { display: inline-flex; align-items: center; gap: 7px; color: var(--green-700); font-size: 0.88rem; font-weight: 900; }
.card-link::after { content: "→"; transition: transform 150ms ease; }
.tool-card:hover .card-link::after { transform: translateX(3px); }

.empty-tools { padding: 22px; color: var(--navy-700); background: #fff; border: 1px dashed #9fb3c8; border-radius: 12px; text-align: center; }

.category-strip { display: flex; gap: 9px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: thin; }
.category-strip a { flex: 0 0 auto; padding: 9px 12px; color: var(--navy-700); background: #fff; border: 1px solid var(--line); border-radius: 9px; font-size: 0.82rem; font-weight: 800; }

.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.resource-card { padding: 19px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.resource-card strong { display: block; color: var(--navy-900); }
.resource-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.84rem; }

.privacy-banner { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 22px; color: #fff; background: var(--navy-900); border-radius: 17px; }
.privacy-icon { display: grid; place-items: center; width: 54px; height: 54px; color: var(--green-600); background: #fff; border-radius: 14px; font-size: 1.45rem; }
.privacy-banner strong { font-size: 1.08rem; }
.privacy-banner p { margin: 3px 0 0; color: #c8d8e6; font-size: 0.9rem; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--green-700); border-radius: 10px; font-weight: 900; }
.step h3 { margin: 16px 0 6px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.faq-list { display: grid; gap: 10px; max-width: 880px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq-list summary { padding: 16px 46px 16px 17px; cursor: pointer; font-weight: 850; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; margin-right: -28px; color: var(--green-700); font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 17px 17px; color: var(--muted); }

.breadcrumbs { display: flex; gap: 8px; overflow-x: auto; margin: 0; padding: 22px 0 0; color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.breadcrumbs a { color: var(--green-700); font-weight: 750; }

.tool-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 0.44fr); gap: 34px; align-items: center; padding-top: 38px; padding-bottom: 34px; }
.tool-hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
.tool-hero .hero-lead { font-size: 1.02rem; }

.tool-diagram { display: grid; gap: 10px; padding: 22px; background: var(--navy-900); border-radius: 20px; box-shadow: var(--shadow); }
.tool-diagram-label { color: #c8d8e6; font-size: 0.75rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.diagram-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; }
.diagram-node { display: grid; place-items: center; min-height: 74px; padding: 10px; color: var(--navy-900); background: #fff; border-radius: 12px; font-size: 0.82rem; font-weight: 900; text-align: center; }
.diagram-arrow { color: var(--saffron-500); font-size: 1.35rem; font-weight: 900; }
.diagram-use { padding: 9px 11px; color: #d8f3e4; background: rgba(19,138,87,0.18); border: 1px solid rgba(92,207,147,0.25); border-radius: 9px; font-size: 0.78rem; font-weight: 750; text-align: center; }

.workspace-section { padding: 24px 0 64px; }
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.58fr);
  gap: 20px;
  align-items: start;
}

.work-panel,
.side-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 28px rgba(16,42,67,0.06); }
.work-panel { padding: clamp(18px, 4vw, 30px); }
.side-panel { position: sticky; top: 94px; padding: 22px; }
.panel-title { margin: 0; font-size: 1.34rem; letter-spacing: -0.02em; }
.panel-help { margin: 6px 0 20px; color: var(--muted); font-size: 0.88rem; }

.dropzone {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 24px;
  cursor: pointer;
  color: var(--navy-700);
  background: #f8fafc;
  border: 2px dashed #9fb3c8;
  border-radius: 15px;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease;
}

.dropzone:hover,
.dropzone.is-dragging { background: var(--green-100); border-color: var(--green-600); }
.dropzone-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 12px; color: var(--green-700); background: var(--green-100); border-radius: 15px; font-size: 1.45rem; font-weight: 900; }
.dropzone strong { color: var(--navy-900); }
.dropzone span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.82rem; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.preset-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.preset-button { min-height: 36px; padding: 0 11px; color: var(--green-700); background: var(--green-100); border: 1px solid #c1e4d1; border-radius: 9px; font-size: 0.78rem; font-weight: 850; }
.preset-button:hover { border-color: var(--green-600); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--navy-700); font-size: 0.79rem; font-weight: 850; }
.form-field input,
.form-field select {
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.field-note { color: var(--muted); font-size: 0.73rem; }
.checkbox-line { display: flex; align-items: center; gap: 8px; min-height: 46px; padding-top: 20px; color: var(--navy-700); font-size: 0.82rem; font-weight: 750; }

.action-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }

.status-box { min-height: 24px; margin-top: 15px; color: var(--navy-700); font-size: 0.84rem; font-weight: 700; }
.status-box[data-state="error"] { color: var(--red-600); }
.status-box[data-state="success"] { color: var(--green-700); }

.progress-track { width: 100%; height: 8px; margin-top: 10px; overflow: hidden; background: #e8eef3; border-radius: 20px; }
.progress-track[hidden] { display: none; }
.progress-bar { width: 0; height: 100%; background: linear-gradient(90deg, var(--saffron-500), var(--green-600)); border-radius: inherit; transition: width 180ms ease; }

.output-card { display: block; margin-top: 18px; padding: 16px; background: var(--green-100); border: 1px solid #b9dfca; border-radius: 12px; }
.output-card[hidden] { display: none; }
.output-card h3 { margin: 0 0 6px; font-size: 1rem; }
.output-card p { margin: 0; color: var(--navy-700); font-size: 0.82rem; }
.output-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }

.preview-frame { display: grid; place-items: center; gap: 10px; margin-top: 16px; padding: 10px; background: #edf1f5; border-radius: 12px; }
.preview-frame[hidden] { display: none; }
.preview-frame img, .preview-frame canvas { max-height: 360px; object-fit: contain; background: #fff; border-radius: 8px; }

.file-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.file-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; }
.file-item-copy { min-width: 0; }
.file-item strong { display: block; overflow: hidden; font-size: 0.82rem; text-overflow: ellipsis; white-space: nowrap; }
.file-item span { color: var(--muted); font-size: 0.72rem; }
.file-controls { display: flex; gap: 5px; }
.file-controls button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; color: var(--navy-700); background: #fff; border: 1px solid var(--line); border-radius: 7px; }

.selected-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.selected-file > span:first-child { overflow: hidden; font-size: 0.8rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.selected-file-actions { display: flex; gap: 5px; }
.selected-file-actions button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; color: var(--navy-700); background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.selected-file-actions button:disabled { cursor: not-allowed; opacity: 0.38; }

.tool-result-summary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.tool-result-summary dl > * { margin: 0; padding: 8px; background: rgba(255,255,255,0.72); }
.tool-result-summary dt { color: var(--muted); border-radius: 8px 8px 0 0; font-size: 0.7rem; font-weight: 800; }
.tool-result-summary dd { margin-top: -8px; color: var(--navy-900); border-radius: 0 0 8px 8px; font-size: 0.86rem; font-weight: 900; }
.tool-result-note { margin: 9px 0 0; color: var(--navy-700); font-size: 0.76rem; }
.tool-download-list { display: grid; gap: 8px; margin-top: 12px; }
.tool-download-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; background: rgba(255,255,255,0.72); border-radius: 9px; }
.tool-download-item span { min-width: 0; overflow: hidden; font-size: 0.78rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.tool-download-item .button { min-height: 36px; padding-inline: 11px; font-size: 0.75rem; }

.side-panel h2 { margin: 0; font-size: 1rem; }
.side-list { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.side-list li { display: grid; grid-template-columns: 26px 1fr; gap: 9px; color: var(--navy-700); font-size: 0.82rem; }
.side-list b { display: grid; place-items: center; width: 25px; height: 25px; color: var(--green-700); background: var(--green-100); border-radius: 7px; }
.side-note { margin-top: 17px; padding: 11px; color: var(--navy-700); background: var(--saffron-100); border-radius: 9px; font-size: 0.76rem; }

.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related-card { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.related-card strong { display: block; font-size: 0.9rem; }
.related-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.76rem; }

.site-footer { margin-top: 30px; color: #cfdeea; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.6fr)); gap: 28px; padding-top: 44px; padding-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 900; }
.footer-brand img { width: 42px; height: 42px; }
.footer-copy { max-width: 480px; margin: 13px 0 0; color: #9fb3c8; font-size: 0.82rem; }
.footer-column strong { display: block; margin-bottom: 10px; color: #fff; font-size: 0.84rem; }
.footer-column a { display: block; margin-top: 8px; color: #b8c9d8; font-size: 0.8rem; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 24px; color: #829ab1; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.73rem; }

.seo-copy { max-width: 850px; color: var(--navy-700); }
.seo-copy h2 { color: var(--navy-950); }
.seo-copy h3 { margin: 24px 0 6px; color: var(--navy-900); }
.seo-copy p { margin: 8px 0; }

@media (max-width: 980px) {
  .site-nav { grid-template-columns: max-content 1fr max-content; }
  .nav-cta { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 46px; }
  .hero-visual { min-height: 330px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .tool-hero { grid-template-columns: 1fr; }
  .tool-diagram { max-width: 520px; }
  .footer-grid { grid-template-columns: 1.3fr repeat(2, 0.7fr); }
  .footer-column:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .site-nav { grid-template-columns: minmax(0, 1fr) auto; width: 100%; min-height: 64px; padding: 9px 14px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    max-height: calc(100vh - 64px);
    padding: 12px 14px 18px;
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 28px rgba(16,42,67,0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .nav-open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { width: 100%; min-height: 46px; padding-inline: 14px; }
  .hero { padding-top: 34px; padding-bottom: 36px; }
  h1 { letter-spacing: -0.045em; }
  .hero-visual { min-height: 310px; padding: 20px; border-radius: 20px; }
  .result-slip:nth-child(2), .result-slip:nth-child(3) { margin-left: 0; }
  .section { padding-top: 44px; padding-bottom: 44px; }
  .section-heading { display: grid; gap: 16px; }
  .tool-search-wrap { width: 100%; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (max-width: 520px) {
  .page-width { width: min(100% - 24px, 1180px); }
  .site-brand img { width: 40px; height: 40px; flex-basis: 40px; }
  .brand-copy strong { font-size: 0.94rem; }
  .hero-actions .button, .hero-actions .button-secondary { width: 100%; }
  .result-slip { grid-template-columns: 42px minmax(0, 1fr); }
  .slip-size { grid-column: 2; }
  .resource-grid, .related-grid { grid-template-columns: 1fr; }
  .privacy-banner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .checkbox-line { padding-top: 0; }
  .action-row .button, .action-row .button-secondary { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .tool-diagram { padding: 17px; }
  .tool-result-summary dl { grid-template-columns: 1fr; }
  .tool-download-item { align-items: stretch; flex-direction: column; }
}

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