:root {
  --ink: #10243b;
  --ink-soft: #28445d;
  --muted: #6a7d8d;
  --line: #d9e4ec;
  --surface: #ffffff;
  --wash: #f6f9fc;
  --blue: #1769d2;
  --blue-deep: #0d4fa7;
  --blue-soft: #e9f2ff;
  --mint: #e1f7ef;
  --mint-ink: #12634d;
  --amber: #fff4cf;
  --danger: #a53b3b;
  --shadow: 0 22px 60px rgba(31, 65, 96, 0.10);
  --shadow-soft: 0 8px 28px rgba(31, 65, 96, 0.06);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 0%, rgba(216, 235, 255, .55), transparent 28rem),
    var(--wash);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
#join-type-field[hidden] { display: none; }

.topline { height: 4px; background: linear-gradient(90deg, #10243b 0%, #1769d2 48%, #61c9b0 100%); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  width: min(1200px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: linear-gradient(145deg, var(--blue), #4a9cff);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
  font-size: 14px;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: #496073; font-weight: 600; font-size: 14px; transition: color .18s ease; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; gap: 9px; }
.nav-note { display: inline-flex; align-items: center; color: var(--muted); font-size: 12px; font-weight: 700; }
.mega-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 12px; border: 1px solid #b8c9d8; border-radius: 9px; color: var(--blue-deep); background: white; font-size: 13px; font-weight: 800; }
.mega-toggle:hover { border-color: var(--blue); background: var(--blue-soft); }
.menu-button { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: white; background: linear-gradient(135deg, var(--blue), #3188eb); box-shadow: 0 7px 18px rgba(22,104,199,.20); }
.button.primary:hover { background: var(--blue-deep); }
.button.ghost { color: var(--blue-deep); background: rgba(255,255,255,.84); border-color: #b3c7da; }
.button.soft { color: var(--ink); background: #eef3f7; border-color: #d9e3eb; }
.button.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }

.page-shell { min-height: calc(100vh - 76px); }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero { padding: 86px 0 48px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.045em; line-height: 1.08; margin: 0; }
h1 { max-width: 700px; font-size: clamp(42px, 6vw, 70px); margin-top: 16px; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }
.hero-copy p { max-width: 610px; color: var(--muted); font-size: 18px; margin: 24px 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; color: #5c7284; font-size: 12px; font-weight: 700; }
.hero-proof span::first-letter { color: #15936a; }
.privacy-panel { position: relative; overflow: hidden; padding: 28px; border: 1px solid rgba(255,255,255,.10); border-radius: 22px; background: linear-gradient(145deg, #10243b 0%, #173e61 100%); color: white; box-shadow: var(--shadow); }
.privacy-panel::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; top: -80px; border-radius: 50%; background: rgba(111, 207, 187, .16); }
.panel-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; color: #9de4cf; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.panel-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #75dfbd; box-shadow: 0 0 0 4px rgba(117,223,189,.12); }
.privacy-panel strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 20px; margin-bottom: 8px; }
.privacy-panel p { color: #c8d4de; margin: 0; font-size: 14px; }
.privacy-points { display: grid; gap: 10px; margin-top: 22px; }
.privacy-point { display: flex; gap: 9px; color: #eff7fb; font-size: 14px; }
.privacy-point span:first-child { color: #7fe3b9; font-weight: 800; }
.panel-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.15); }
.panel-metric strong { margin: 0; font-size: 18px; }
.panel-metric span { color: #a8bdcc; font-size: 11px; }

.section { padding: 44px 0 88px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head p { max-width: 540px; color: var(--muted); margin: 0; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card { display: flex; flex-direction: column; min-height: 278px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tool-card:hover { border-color: #b7d0e7; }
.tool-card-head { padding: 20px 20px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%); }
.tool-card-head h3 { font-size: 20px; }
.tool-card-body { padding: 19px 20px 20px; display: flex; flex: 1; flex-direction: column; }
.tool-card-body p { color: var(--muted); margin: 0 0 18px; }
.tool-card-body .button { align-self: flex-start; margin-top: auto; }
.tool-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid #d2e4f8; border-radius: 13px; color: var(--blue-deep); background: var(--blue-soft); font-weight: 800; box-shadow: inset 0 -2px 0 rgba(23,105,210,.08); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.feature { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.feature p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.info-band { padding: 52px 0; background: linear-gradient(115deg, #eaf4ff 0%, #eff9f7 100%); border-top: 1px solid #dbe8f2; border-bottom: 1px solid #dbe8f2; }
.info-band .container { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.info-band p { max-width: 570px; color: var(--muted); margin: 10px 0 0; }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.doc-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: white; }
.doc-card p { color: var(--muted); margin: 8px 0 0; }

.tool-page { padding: 68px 0 92px; }
.tool-intro { max-width: 880px; margin-bottom: 28px; }
.tool-breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 17px; color: var(--muted); font-size: 13px; font-weight: 700; }
.tool-breadcrumb span { color: #a4b3be; }
.tool-intro h1 { font-size: clamp(36px, 5vw, 58px); }
.tool-intro p { color: var(--muted); max-width: 680px; margin: 17px 0 0; font-size: 17px; }
.local-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; color: var(--mint-ink); background: var(--mint); border-radius: 999px; font-size: 13px; font-weight: 800; }
.local-badge span { width: 7px; height: 7px; border-radius: 50%; background: #16a36d; }
.tool-workspace { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
.workspace-card, .steps-card { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }
.workspace-card { padding: 24px; }
.workspace-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.workspace-caption strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.workspace-caption span { color: var(--muted); font-size: 12px; }
.ready-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; color: var(--mint-ink); background: var(--mint); border-radius: 999px; font-size: 11px !important; font-weight: 800; }
.ready-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #16a36d; }
.dropzone { padding: 34px 20px; border: 1.5px dashed #9db4c7; border-radius: 14px; text-align: center; background: linear-gradient(180deg, #fbfdff, #f7fbff); transition: border .18s ease, background .18s ease, transform .18s ease; }
.dropzone.dragover { border-color: var(--blue); background: #eef6ff; }
.dropzone-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 14px; color: var(--blue-deep); background: #e7f1ff; font-size: 24px; }
.dropzone h3 { font-size: 20px; letter-spacing: -.02em; }
.dropzone p { margin: 6px 0 15px; color: var(--muted); font-size: 14px; }
.file-input { display: none; }
.file-list { display: grid; gap: 8px; margin: 16px 0 0; }
.file-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 9px; background: #f4f7f9; font-size: 14px; }
.file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { flex: 0 0 auto; color: var(--muted); }
.file-controls { display: inline-flex; gap: 4px; margin-left: auto; }
.file-controls button { width: 24px; height: 24px; padding: 0; border: 1px solid #c8d7e2; border-radius: 6px; color: var(--blue-deep); background: white; font-weight: 800; line-height: 1; }
.file-controls button:hover { background: var(--blue-soft); }
.tool-preview { display: block; width: min(100%, 440px); max-height: 260px; object-fit: contain; margin: 14px auto 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: repeating-conic-gradient(#eef3f6 0% 25%, #ffffff 0% 50%) 50% / 18px 18px; }
.signature-pad-wrap { margin-top: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff; }
.signature-pad-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 13px; font-weight: 800; color: var(--ink-soft); }
#signature-canvas { display: block; width: 100%; height: auto; min-height: 130px; border: 1px dashed #9db4c7; border-radius: 9px; background: white; touch-action: none; cursor: crosshair; }
.signature-help { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.sign-plus-panel { margin-top: 20px; padding: 18px; border: 1px solid #dbe6ee; border-radius: 16px; background: linear-gradient(180deg, #ffffff, #f8fbfd); }
.sign-plus-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.sign-plus-head strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.sign-plus-head span, .sign-plus-actions span, .sign-pane-note { color: var(--muted); font-size: 12px; }
.sign-saved { display: flex; align-items: center; gap: 8px; }
.sign-method-tabs { display: flex; gap: 7px; flex-wrap: wrap; padding: 4px; border: 1px solid #e1eaf0; border-radius: 11px; background: #f1f6fa; }
.sign-method-tab { min-height: 34px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; color: #536b7c; background: transparent; font-size: 13px; font-weight: 800; }
.sign-method-tab:hover, .sign-method-tab.active { color: var(--blue-deep); border-color: #cfe0f0; background: white; box-shadow: 0 3px 9px rgba(31,65,96,.08); }
.sign-method-pane { margin-top: 13px; }
.compact-options { margin-top: 0; padding-top: 0; border-top: 0; }
.sign-inline-controls, .sign-upload-row, .sign-plus-actions, .camera-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sign-inline-controls { justify-content: space-between; margin-top: 12px; }
.sign-inline-controls label, .sign-upload-row label { display: inline-flex; align-items: center; gap: 7px; color: #536b7c; font-size: 13px; font-weight: 700; }
.sign-inline-controls input[type="color"] { width: 34px; height: 30px; padding: 2px; border: 1px solid #bdccd7; border-radius: 7px; background: white; }
.sign-upload-row input[type="file"] { max-width: 260px; color: var(--muted); font-size: 13px; }
.sign-plus-actions { justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e3ebf1; }
.sign-repeat { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #536b7c; font-size: 13px; font-weight: 700; }
.camera-box { display: grid; gap: 10px; padding: 12px; border: 1px solid #dce7ee; border-radius: 12px; background: #eef4f8; }
#sign-camera-video { display: block; width: min(100%, 440px); min-height: 150px; margin: 0 auto; border-radius: 9px; object-fit: cover; background: #d8e3ea; }
.form-fields { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #e3ebf1; }
.form-fields-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.form-fields-head span, .form-field-row small { color: var(--muted); font-size: 11px; }
.form-fields-empty { padding: 12px; border-radius: 9px; color: var(--muted); background: #f1f6f9; font-size: 13px; }
.form-field-row { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(160px, 1.2fr) auto; align-items: center; gap: 9px; }
.form-field-row > span { overflow: hidden; color: #41515f; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.form-field-row input[type="checkbox"] { width: 18px; height: 18px; }
.signature-stage { position: relative; width: min(100%, 760px); margin: 20px auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #eaf0f5; box-shadow: var(--shadow-soft); }
#pdf-page-preview { display: block; width: 100%; height: auto; background: white; }
.signature-stage-help { margin: 8px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.signature-overlay { position: absolute; z-index: 2; display: grid; place-items: center; padding: 4px; border: 1px solid var(--blue); border-radius: 6px; background: rgba(255,255,255,.15); box-shadow: 0 4px 14px rgba(22,104,199,.24); cursor: move; touch-action: none; }
.signature-overlay img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.resize-handle { position: absolute; right: -6px; bottom: -6px; width: 13px; height: 13px; border: 2px solid white; border-radius: 4px; background: var(--blue); cursor: nwse-resize; }
.image-editor { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.editor-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.editor-toolbar strong { display: block; font-family: "Space Grotesk", sans-serif; }
.editor-toolbar span { display: block; color: var(--muted); font-size: 12px; }
.editor-tools { display: flex; gap: 7px; flex-wrap: wrap; }
.image-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.image-preview-grid figure { margin: 0; }
.image-preview-grid figcaption { margin: 0 0 7px; color: var(--muted); font-size: 12px; font-weight: 800; }
.image-preview-grid img, .image-preview-grid canvas { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; }
.checker-preview { display: block; overflow: hidden; border-radius: 10px; background: repeating-conic-gradient(#eef3f6 0% 25%, #ffffff 0% 50%) 50% / 18px 18px; }
.checker-preview canvas { border: 0; }
.checker-preview .result-preview { display: none; }
.data-preview { margin-top: 16px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdff; }
.data-preview-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; font-size: 12px; }
.data-preview-head span { color: var(--muted); }
.table-scroll { overflow-x: auto; }
.data-preview table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
.data-preview th, .data-preview td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.data-preview th { color: var(--ink-soft); background: #f1f6fa; font-weight: 800; }
.recent-work { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 42px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.72); }
.recent-work strong { display: block; margin-top: 5px; font-family: "Space Grotesk", sans-serif; }
.recent-work p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.options { display: grid; gap: 15px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.options.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.options.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 800; color: #41515f; }
.field select, .field input[type="text"], .field input[type="date"], .field input[type="number"] { width: 100%; min-height: 42px; padding: 0 11px; color: var(--ink); background: white; border: 1px solid #b9c8d3; border-radius: 9px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.field select:focus, .field input[type="text"]:focus, .field input[type="date"]:focus, .field input[type="number"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,199,.12); }
.action-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.progress-wrap { flex: 1 1 180px; min-width: 160px; display: none; align-items: center; gap: 10px; }
.progress-wrap.visible { display: flex; }
.progress { flex: 1; height: 8px; overflow: hidden; border-radius: 99px; background: #e6edf2; }
.progress > span { display: block; width: 0; height: 100%; background: var(--blue); transition: width .2s ease; }
.progress-text { color: var(--muted); font-size: 12px; font-weight: 700; }
.status { min-height: 24px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.status.success { color: var(--mint-ink); }
.status.error { color: var(--danger); }
.status.info { color: var(--blue-deep); }
.steps-card { overflow: hidden; }
.steps-title { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.steps-title h2 { font-size: 20px; letter-spacing: -.02em; }
.step { padding: 17px 20px; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-heading { display: flex; gap: 10px; align-items: baseline; font-weight: 800; }
.step-number { color: var(--blue); }
.step p { margin: 5px 0 0 27px; color: var(--muted); font-size: 14px; }
.step ul { margin: 7px 0 0 27px; padding-left: 17px; color: var(--muted); font-size: 14px; }
.tip { margin-top: 14px; padding: 12px 14px; color: #6e5a18; background: var(--amber); border-radius: 9px; font-size: 13px; }

.site-footer { padding: 42px 0; background: #10243b; border-top: 1px solid #233f59; }
.footer-inner { display: flex; justify-content: space-between; gap: 25px; }
.footer-brand { color: white; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; }
.footer-inner p { color: #a8bdcc; margin: 4px 0 0; font-size: 14px; }
.footer-links { display: flex; gap: 16px; align-items: end; color: #b8cad6; font-size: 14px; }
.footer-links a:hover { color: var(--blue); }
.noscript { margin: 20px auto; padding: 16px; width: min(800px, calc(100% - 40px)); background: #fff4cf; border: 1px solid #e6d69a; border-radius: 10px; }
.mega-menu { position: fixed; inset: 0; z-index: 80; overflow: auto; padding: 70px 5vw 60px; background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .18s ease, transform .18s ease; }
.mega-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mega-menu-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; width: min(1420px, 100%); margin: 0 auto 42px; padding-bottom: 28px; border-bottom: 1px solid #e9eff4; }
.mega-menu-head h2 { margin-top: 6px; font-size: clamp(32px, 4vw, 54px); }
.mega-menu-head p { margin: 10px 0 0; color: var(--muted); }
.mega-close { width: 44px; height: 44px; padding: 0; border: 0; color: #aab4bd; background: transparent; font-size: 42px; font-weight: 300; line-height: 1; }
.mega-close:hover { color: var(--ink); }
.mega-grid { display: grid; grid-template-columns: repeat(5, minmax(160px, 1fr)); gap: 36px 48px; width: min(1420px, 100%); margin: 0 auto; }
.mega-group h3 { margin-bottom: 16px; color: #a9afb4; font-family: "DM Sans", system-ui, sans-serif; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; }
.mega-item { display: flex; align-items: center; gap: 11px; min-height: 43px; margin: 2px -8px; padding: 5px 8px; border: 1px solid transparent; border-radius: 11px; color: #0e1720; text-decoration: none; font-size: 18px; font-weight: 600; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.mega-item:hover { color: var(--blue); background: #f4f8fd; border-color: #e1ebf5; transform: translateX(2px); }
.mega-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid rgba(23,105,210,.08); border-radius: 50%; color: var(--blue); background: #e9f3ff; font-size: 16px; font-weight: 800; box-shadow: 0 3px 8px rgba(30,70,110,.06); }
.mega-group:nth-child(3n) .mega-icon { color: #79a91d; background: #eff7df; }
.mega-group:nth-child(3n + 1) .mega-icon { color: #d92caa; background: #fde5f7; }
.mega-group:nth-child(4n) .mega-icon { color: #ff7a18; background: #fff0e6; }
.mega-open { overflow: hidden; }
.mega-workspace { max-width: 820px; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; padding: 18px 20px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(18,33,47,.08); }
  .nav-links.open { display: flex; }
  .nav-actions { display: none; }
  .mega-toggle { display: none; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 22px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .tool-grid, .feature-grid { grid-template-columns: 1fr; }
  .tool-workspace { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container, .nav { width: min(100% - 28px, 1120px); }
  h1 { font-size: 44px; }
  .section-head, .info-band .container, .footer-inner { align-items: flex-start; flex-direction: column; }
  .tool-page { padding-top: 38px; }
  .workspace-card { padding: 15px; }
  .workspace-caption { align-items: flex-start; flex-direction: column; }
  .hero-proof { gap: 9px 14px; }
  .editor-toolbar, .recent-work { align-items: flex-start; flex-direction: column; }
  .mega-menu { padding: 36px 20px 44px; }
  .mega-menu-head { margin-bottom: 28px; }
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 20px; }
  .mega-item { margin: 1px -5px; padding: 5px; font-size: 14px; }
  .sign-plus-head, .sign-plus-actions { align-items: flex-start; flex-direction: column; }
  .form-field-row { grid-template-columns: 1fr; gap: 5px; }
  .mega-icon { width: 28px; height: 28px; flex-basis: 28px; font-size: 13px; }
  .image-preview-grid { grid-template-columns: 1fr; }
  .options.two, .options.three, .doc-grid { grid-template-columns: 1fr; }
  .dropzone { padding: 24px 14px; }
  .footer-links { align-items: flex-start; flex-wrap: wrap; }
}

/* Eloqwnt-inspired editorial theme: quiet canvas, high-contrast type and generous rounded surfaces. */
:root {
  --ink: #111214;
  --ink-soft: #383a3e;
  --muted: #71767b;
  --line: #d9dde0;
  --surface: #ffffff;
  --wash: #e9edef;
  --blue: #6d91a5;
  --blue-deep: #111214;
  --blue-soft: #eaf1f4;
  --mint: #e8f0ee;
  --mint-ink: #204e4a;
  --amber: #f5edda;
  --shadow: 0 26px 80px rgba(17,18,20,.10);
  --shadow-soft: 0 12px 36px rgba(17,18,20,.06);
  --radius: 26px;
}
body { color: var(--ink); background: var(--wash); }
.topline { height: 3px; background: #c9dce4; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid #e2e5e6; box-shadow: 0 1px 0 rgba(17,18,20,.02); }
.nav { width: min(1440px, calc(100% - 72px)); min-height: 78px; gap: 28px; }
.brand { font-family: "DM Sans", system-ui, sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -.06em; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; color: #23333d; background: linear-gradient(145deg, #d8e9f0, #9ab6c5); box-shadow: none; font-size: 13px; }
.nav-links { gap: 30px; }
.nav-links a { color: #242629; font-size: 13px; font-weight: 500; }
.nav-links a:hover { color: #6e8fa2; }
.nav-actions { align-items: center; gap: 10px; }
.nav-note { color: #72777b; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.mega-toggle { min-height: 40px; padding: 0 15px; border-color: #151617; border-radius: 999px; color: #151617; background: #fff; font-size: 12px; }
.mega-toggle:hover { color: #fff; background: #151617; border-color: #151617; }
.button { min-height: 48px; padding: 0 20px; border-radius: 999px; font-size: 14px; }
.button.primary { color: #fff; background: #151617; box-shadow: none; }
.button.primary:hover { color: #151617; background: #d6e7ee; }
.button.ghost { color: #151617; background: #fff; border-color: #151617; }
.button.ghost:hover { color: #fff; background: #151617; }
.button.soft { color: #151617; background: #eef1f2; border-color: #d9dfe2; }
.button.small { min-height: 38px; padding: 0 15px; font-size: 12px; }
.hero { padding: 124px 0 74px; gap: 76px; }
.eyebrow { color: #6c8c9c; font-size: 11px; letter-spacing: .16em; }
h1, h2, h3 { color: #111214; letter-spacing: -.075em; }
h1 { max-width: 880px; font-size: clamp(48px, 7.4vw, 96px); line-height: .98; }
h2 { font-size: clamp(34px, 5vw, 62px); }
h3 { font-size: 23px; }
.hero-copy p { max-width: 620px; color: #565b60; font-size: 19px; line-height: 1.5; margin: 28px 0 32px; }
.hero-actions { gap: 12px; }
.hero-proof { gap: 14px 22px; margin-top: 25px; color: #697176; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.privacy-panel { min-height: 420px; padding: 34px; border-radius: 32px; background: #161718; box-shadow: none; }
.privacy-panel::after { width: 220px; height: 220px; right: -85px; top: -90px; background: rgba(181,219,232,.22); }
.panel-label { color: #b9d8e2; font-size: 10px; letter-spacing: .16em; }
.privacy-panel strong { font-size: 24px; letter-spacing: -.05em; }
.privacy-panel p { color: #c5c8ca; line-height: 1.55; }
.privacy-points { gap: 12px; margin-top: 28px; }
.privacy-point { color: #f3f4f4; font-size: 14px; }
.panel-metrics { margin-top: 30px; }
.panel-metric strong { color: #fff; font-size: 22px; }
.panel-metric span { color: #a9afb3; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.signal-strip { overflow: hidden; padding: 17px 0; color: #5f6970; background: #dce4e7; border-top: 1px solid #cdd8dc; border-bottom: 1px solid #cdd8dc; white-space: nowrap; }
.signal-track { display: flex; width: max-content; gap: 46px; animation: signal-scroll 32s linear infinite; }
.signal-track span { font-size: 10px; font-weight: 800; letter-spacing: .16em; }
@keyframes signal-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.section { padding: 104px 0 128px; }
.section-head { align-items: end; margin-bottom: 34px; }
.section-head p { color: #666d72; font-size: 16px; }
.tool-grid { gap: 24px; }
.tool-card { min-height: 320px; border: 0; border-radius: 30px; background: #fff; box-shadow: none; }
.tool-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); }
.tool-card-head { padding: 28px 28px 14px; border-bottom: 0; background: #fff; }
.tool-card-head h3 { font-size: 22px; }
.tool-card-body { padding: 4px 28px 30px; }
.tool-card-body p { color: #70767a; line-height: 1.55; }
.tool-icon { width: 52px; height: 52px; margin-bottom: 26px; border: 0; border-radius: 50%; color: #25333b; background: #e6f0f3; box-shadow: none; }
.info-band { padding: 92px 0; background: #171819; border: 0; }
.info-band h2 { color: #fff; }
.info-band .eyebrow { color: #b8dbe5; }
.info-band p { color: #b8bec2; }
.info-band .button.primary { color: #151617; background: #fff; }
.feature-grid { gap: 18px; margin-top: 16px; }
.feature { padding: 28px; border: 0; border-radius: 24px; background: #fff; }
.feature p, .doc-card p { color: #70767a; line-height: 1.55; }
.doc-card { padding: 28px; border: 0; border-radius: 24px; background: #fff; }
.tool-page { padding: 94px 0 116px; }
.tool-intro { margin-bottom: 34px; }
.tool-breadcrumb { color: #7b8185; text-transform: uppercase; letter-spacing: .08em; }
.tool-intro h1 { font-size: clamp(44px, 6vw, 76px); }
.tool-intro p { color: #62686d; font-size: 18px; }
.local-badge { color: #315e5a; background: #e3efec; }
.tool-workspace { gap: 28px; }
.workspace-card, .steps-card { border: 0; border-radius: 28px; background: #fff; box-shadow: none; }
.workspace-card { padding: 30px; }
.workspace-caption strong { font-size: 19px; }
.ready-pill { color: #315e5a; background: #e3efec; }
.dropzone { padding: 50px 24px; border: 1px solid #c4cdd1; border-radius: 22px; background: #f7f8f8; }
.dropzone-icon { width: 56px; height: 56px; border-radius: 50%; color: #273740; background: #e3eff3; }
.file-row { padding: 13px 14px; border-radius: 12px; background: #f1f3f4; }
.options { border-top-color: #e5e8e9; }
.field label { color: #4e5559; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.field select, .field input[type="text"], .field input[type="date"], .field input[type="number"] { min-height: 46px; border-color: #c8d0d4; border-radius: 11px; background: #fbfcfc; }
.steps-title { padding: 24px 26px; }
.step { padding: 20px 26px; }
.step-number { color: #6e8fa2; }
.tip { color: #625a32; background: #f4eedc; border-radius: 12px; }
.site-footer { padding: 72px 0; background: #151617; border-top: 0; }
.footer-links a:hover { color: #b9dce6; }
.mega-menu { background: #f8f9f9; }
.mega-menu-head { padding-bottom: 30px; }
.mega-menu-head h2 { letter-spacing: -.08em; }
.mega-item { color: #171819; }
.mega-item:hover { color: #151617; background: #e6f0f3; border-color: #cfe0e5; }
.mega-icon { color: #2d596b; background: #e4eff3; }

@media (max-width: 900px) {
  .nav { width: min(100% - 32px, 1440px); }
  .hero { padding-top: 76px; }
  .nav-note { display: none; }
  .nav > #mega-toggle { display: inline-flex; width: 40px; min-height: 40px; padding: 0; font-size: 0; }
  .nav > #mega-toggle::after { content: "✦"; font-size: 16px; }
}
@media (max-width: 600px) {
  .container, .nav { width: min(100% - 28px, 1440px); }
  .hero { padding-top: 58px; gap: 40px; }
  h1 { font-size: 50px; }
  .hero-copy p { font-size: 17px; }
  .privacy-panel { min-height: 0; padding: 26px; border-radius: 26px; }
  .section { padding: 74px 0 88px; }
  .tool-card { min-height: 280px; border-radius: 24px; }
  .workspace-card { padding: 20px; border-radius: 24px; }
  .tool-page { padding-top: 56px; }
}

/* IndiMerge premium theme for the full-screen tool workspace */
body:has(.mega-workspace) { color: #eef7fa; background: #07111e; }
body:has(.mega-workspace) .site-header { background: rgba(7,17,30,.94); border-bottom-color: rgba(185,218,232,.14); box-shadow: 0 1px 0 rgba(255,255,255,.03); }
body:has(.mega-workspace) .brand, body:has(.mega-workspace) .nav-links a, body:has(.mega-workspace) .nav-note { color: #eef7fa; }
body:has(.mega-workspace) .brand-mark { color: #07111e; background: linear-gradient(145deg,#c8f4ea,#63e0c1); box-shadow: none; }
body:has(.mega-workspace) .nav-links a:hover { color: #63e0c1; }
body:has(.mega-workspace) .page-shell { background: radial-gradient(circle at 86% 5%,rgba(99,224,193,.12),transparent 28%), radial-gradient(circle at 8% 78%,rgba(111,137,255,.12),transparent 28%), #07111e; }
body:has(.mega-workspace) .tool-breadcrumb { color: #7fa8bb; }
body:has(.mega-workspace) .tool-intro h1 { color: #f7fbff; }
body:has(.mega-workspace) .tool-intro p { color: #a9bfd0; }
body:has(.mega-workspace) .local-badge { color: #a7f3df; background: rgba(99,224,193,.13); border: 1px solid rgba(99,224,193,.22); }
body:has(.mega-workspace) .local-badge span { background: #63e0c1; }
body:has(.mega-workspace) .workspace-card { background: rgba(255,255,255,.065); border: 1px solid rgba(185,218,232,.18); box-shadow: 0 24px 80px rgba(0,0,0,.24); }
body:has(.mega-workspace) .workspace-caption strong { color: #f7fbff; }
body:has(.mega-workspace) .workspace-caption > div > span { color: #91adbd; }
body:has(.mega-workspace) .ready-pill { color: #a7f3df; background: rgba(99,224,193,.13); }
body:has(.mega-workspace) .ready-pill::before { background: #63e0c1; }
body:has(.mega-workspace) .dropzone { border-color: rgba(151,190,207,.42); background: rgba(255,255,255,.045); }
body:has(.mega-workspace) .dropzone.dragover { border-color: #63e0c1; background: rgba(99,224,193,.11); }
body:has(.mega-workspace) .dropzone-icon { color: #07111e; background: linear-gradient(145deg,#c8f4ea,#8ed7ff); }
body:has(.mega-workspace) .dropzone h3 { color: #f7fbff; }
body:has(.mega-workspace) .dropzone p { color: #9bb5c4; }
body:has(.mega-workspace) .button.ghost { color: #eaf5f8; border-color: rgba(185,218,232,.34); background: rgba(255,255,255,.045); }
body:has(.mega-workspace) .button.ghost:hover { color: #07111e; border-color: #63e0c1; background: #63e0c1; }
body:has(.mega-workspace) .button.primary { color: #07111e; background: #63e0c1; box-shadow: 0 10px 26px rgba(99,224,193,.2); }
body:has(.mega-workspace) .button.primary:hover { background: #a7f3df; }
body:has(.mega-workspace) .file-row { color: #eaf5f8; background: rgba(255,255,255,.08); border: 1px solid rgba(185,218,232,.12); }
body:has(.mega-workspace) .file-size { color: #91adbd; }
body:has(.mega-workspace) .options { border-top-color: rgba(185,218,232,.16); }
body:has(.mega-workspace) .field label { color: #91adbd; }
body:has(.mega-workspace) .field select, body:has(.mega-workspace) .field input[type="text"], body:has(.mega-workspace) .field input[type="date"], body:has(.mega-workspace) .field input[type="number"] { color: #eaf5f8; border-color: rgba(185,218,232,.28); background: rgba(255,255,255,.07); }
body:has(.mega-workspace) .progress { background: rgba(185,218,232,.16); }
body:has(.mega-workspace) .progress > span { background: #63e0c1; }
body:has(.mega-workspace) .progress-text { color: #9bb5c4; }
body:has(.mega-workspace) .status { color: #dcecf1; }
body:has(.mega-workspace) .tip { color: #f5d9a1; background: rgba(244,211,127,.12); border: 1px solid rgba(244,211,127,.16); }
body:has(.mega-workspace) .site-footer { background: #050c15; border-top: 1px solid rgba(185,218,232,.12); }
body:has(.mega-workspace) .footer-links a:hover { color: #63e0c1; }
body:has(.unsupported-tool-page) #mega-run { color: #a9bfd0; background: rgba(255,255,255,.08); border: 1px solid rgba(185,218,232,.2); box-shadow: none; cursor: not-allowed; }
body:has(.unsupported-tool-page) #mega-run:hover { color: #a9bfd0; background: rgba(255,255,255,.08); }
body:has(.unsupported-tool-page) #mega-options .tip::before { content: "Coming soon · "; color: #63e0c1; font-weight: 800; }

/* Site-wide IndiMerge system: every page uses the same dark premium visual language */
body { color: #eef7fa; background: #07111e; }
.site-header { background: rgba(7,17,30,.94); border-bottom-color: rgba(185,218,232,.14); box-shadow: 0 1px 0 rgba(255,255,255,.03); }
.brand, .nav-links a, .nav-note { color: #eef7fa; }
.brand-mark { color: #07111e; background: linear-gradient(145deg,#c8f4ea,#63e0c1); box-shadow: none; }
.nav-links a:hover { color: #63e0c1; }
.page-shell { background: radial-gradient(circle at 86% 5%,rgba(99,224,193,.12),transparent 28%), radial-gradient(circle at 8% 78%,rgba(111,137,255,.12),transparent 28%), #07111e; }
.hero-copy h1, .section-head h2, .feature h3, .doc-card h3, .tool-card-head h3 { color: #f7fbff; }
.hero-copy p, .section-head p, .tool-card-body p, .feature p, .doc-card p { color: #a9bfd0; }
.hero-proof { color: #91adbd; }
.hero-proof span::first-letter { color: #63e0c1; }
.button.primary { color: #07111e; background: #63e0c1; box-shadow: 0 10px 26px rgba(99,224,193,.18); }
.button.primary:hover { color: #07111e; background: #a7f3df; }
.button.ghost { color: #eaf5f8; background: rgba(255,255,255,.045); border-color: rgba(185,218,232,.34); }
.button.ghost:hover { color: #07111e; background: #63e0c1; border-color: #63e0c1; }
.button.soft { color: #eaf5f8; background: rgba(255,255,255,.08); border-color: rgba(185,218,232,.18); }
.signal-strip { color: #9bb5c4; background: rgba(185,218,232,.08); border-color: rgba(185,218,232,.14); }
.tool-card, .feature, .doc-card { border: 1px solid rgba(185,218,232,.16); background: rgba(255,255,255,.065); box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.tool-card:hover { border-color: rgba(99,224,193,.38); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.tool-card-head { border-bottom-color: rgba(185,218,232,.12); background: rgba(255,255,255,.025); }
.tool-icon { color: #07111e; background: linear-gradient(145deg,#c8f4ea,#8ed7ff); }
.info-band { background: linear-gradient(115deg,#0c1d2c 0%,#102d3c 100%); border-color: rgba(185,218,232,.14); }
.info-band p { color: #a9bfd0; }
.info-band .button.primary { color: #07111e; background: #63e0c1; }
.site-footer { background: #050c15; border-top-color: rgba(185,218,232,.12); }
.footer-links a:hover { color: #63e0c1; }
.tool-breadcrumb { color: #7fa8bb; }
.tool-intro h1 { color: #f7fbff; }
.tool-intro p { color: #a9bfd0; }
.local-badge { color: #a7f3df; background: rgba(99,224,193,.13); border: 1px solid rgba(99,224,193,.22); }
.local-badge span { background: #63e0c1; }
.workspace-card, .steps-card { background: rgba(255,255,255,.065); border: 1px solid rgba(185,218,232,.18); box-shadow: 0 24px 80px rgba(0,0,0,.24); }
.workspace-caption strong { color: #f7fbff; }
.workspace-caption > div > span { color: #91adbd; }
.ready-pill { color: #a7f3df; background: rgba(99,224,193,.13); }
.ready-pill::before { background: #63e0c1; }
.dropzone { border-color: rgba(151,190,207,.42); background: rgba(255,255,255,.045); }
.dropzone.dragover { border-color: #63e0c1; background: rgba(99,224,193,.11); }
.dropzone-icon { color: #07111e; background: linear-gradient(145deg,#c8f4ea,#8ed7ff); }
.dropzone h3 { color: #f7fbff; }
.dropzone p { color: #9bb5c4; }
.file-row { color: #eaf5f8; background: rgba(255,255,255,.08); border: 1px solid rgba(185,218,232,.12); }
.file-size { color: #91adbd; }
.options { border-top-color: rgba(185,218,232,.16); }
.field label { color: #91adbd; }
.field select, .field input[type="text"], .field input[type="date"], .field input[type="number"] { color: #eaf5f8; border-color: rgba(185,218,232,.28); background: rgba(255,255,255,.07); }
.progress { background: rgba(185,218,232,.16); }
.progress > span { background: #63e0c1; }
.progress-text { color: #9bb5c4; }
.status { color: #dcecf1; }
.tip { color: #f5d9a1; background: rgba(244,211,127,.12); border: 1px solid rgba(244,211,127,.16); }
