:root {
  --bg: #f6f7f9;
  --ink: #17211d;
  --muted: #60706a;
  --line: #dfe5e2;
  --panel: #ffffff;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --red: #b42318;
  --green: #177245;
  --amber: #b7791f;
  --shadow: 0 18px 48px rgba(18, 33, 29, 0.10);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, sans-serif;
}
a { color: var(--teal-dark); text-decoration: none; }
.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}
.site-brand { font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header form { margin: 0; }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.button.secondary, .ghost {
  background: #fff;
  color: var(--teal-dark);
  border: 1px solid var(--line);
}
.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 56px 6vw;
  background: linear-gradient(180deg, #fff 0%, #f2f5f4 100%);
}
.hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.92; margin: 8px 0 20px; letter-spacing: 0; }
.hero p { color: var(--muted); font-size: 1.15rem; line-height: 1.7; max-width: 620px; }
.eyebrow { color: var(--teal-dark); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 800; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.hero-product {
  display: grid;
  gap: 18px;
}
.hero-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.lookup-card {
  background: #10211d;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.lookup-card .eyebrow {
  color: #81e6d9;
  margin: 0 0 8px;
}
.lookup-card h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}
.lookup-card p {
  color: #bfd2cc;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}
.lookup-card-head {
  margin-bottom: 18px;
}
.lookup-form {
  display: grid;
  gap: 10px;
}
.lookup-form label {
  color: #f6fbfa;
  font-size: 0.92rem;
}
.lookup-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.lookup-control input {
  min-height: 48px;
  background: #fff;
  border-color: transparent;
}
.lookup-control .button {
  min-height: 48px;
  white-space: nowrap;
}
.lookup-control .button:disabled {
  opacity: 0.72;
  cursor: wait;
}
.lookup-help {
  font-size: 0.85rem !important;
  color: #9fb9b2 !important;
}
.lookup-result {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
}
.lookup-result strong {
  font-size: 1rem;
}
.lookup-result span {
  color: #d9e8e4;
  line-height: 1.5;
}
.lookup-result.success {
  border-color: rgba(110, 231, 183, 0.55);
  background: rgba(20, 83, 45, 0.34);
}
.lookup-result.success strong {
  color: #86efac;
}
.lookup-result.danger {
  border-color: rgba(252, 165, 165, 0.6);
  background: rgba(127, 29, 29, 0.34);
}
.lookup-result.danger strong {
  color: #fca5a5;
}
.lookup-result.warn,
.lookup-result.loading {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(120, 53, 15, 0.30);
}
.lookup-result.warn strong,
.lookup-result.loading strong {
  color: #fcd34d;
}
.lookup-conversion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: #d9e8e4;
  font-size: 0.92rem;
}
.lookup-conversion a {
  color: #81e6d9;
  font-weight: 800;
}
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span, .badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf4f2;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
}
.section-grid, .pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 56px 6vw;
}
.section-grid.three, .pricing-cards { grid-template-columns: repeat(3, 1fr); }
.section-grid article, .price-card, .panel, .preview-band {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.section-grid h2, .price-card h3 { margin-top: 0; }
.preview-band {
  margin: 0 6vw 40px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}
.mini-table, .data-table { width: 100%; border-collapse: collapse; background: #fff; }
.mini-table th, .mini-table td, .data-table th, .data-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}
.badge.success { color: var(--green); background: #eaf6ef; }
.badge.danger { color: var(--red); background: #fdebea; }
.badge.warn { color: var(--amber); background: #fff6df; }
.pricing-strip, .faq-list, .final-cta, .content-page, .auth-page { padding: 56px 6vw; }
.final-cta { background: #13211d; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; margin: 12px 0; }
summary { font-weight: 800; cursor: pointer; }
.app-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar { background: #121d1a; color: #fff; padding: 24px; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  font-weight: 900;
  margin-bottom: 28px;
}
.sidebar nav { display: grid; gap: 6px; }
.sidebar a { color: #c8d7d2; padding: 11px 12px; border-radius: 8px; }
.sidebar a.active, .sidebar a:hover { background: rgba(255,255,255,0.10); color: #fff; }
.app-main { padding: 28px; min-width: 0; }
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.app-top span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 3px; }
.panel { margin-bottom: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.panel h1 { margin: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.stats-grid article { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.stats-grid span { color: var(--muted); display: block; font-size: 0.85rem; margin-bottom: 8px; }
.stats-grid strong { font-size: 1.45rem; }
.stack { display: grid; gap: 16px; max-width: 520px; }
label { display: grid; gap: 8px; font-weight: 700; }
input, select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}
.upload-box {
  display: grid;
  place-items: center;
  gap: 16px;
  min-height: 260px;
  border: 2px dashed #a9bbb5;
  border-radius: 8px;
  background: #fafdfe;
}
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.flash { margin: 16px 0; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.flash.error { border-color: #f1b7b2; color: var(--red); }
.flash.success { border-color: #aee0c2; color: var(--green); }
.table-scroll { overflow-x: auto; }
.progress { height: 12px; background: #e3ebe8; border-radius: 999px; overflow: hidden; margin: 16px 0; }
.progress span { display: block; height: 100%; background: var(--teal); }
.error-text { color: var(--red); }
.link-button {
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.code-block {
  background: #101816;
  color: #d7ede6;
  padding: 18px;
  border-radius: 8px;
  overflow-x: auto;
}
.app-shell {
  grid-template-columns: 184px minmax(0, 1fr);
  background: #eef4f2;
}
.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #004f4f;
  padding: 20px 14px;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 26px;
}
.brand-dot {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #006a69;
  color: #fff;
  font-size: 0.76rem;
}
.brand-mark {
  display: none;
}
.sidebar-nav {
  display: grid;
  gap: 6px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #c9ded9;
  font-weight: 700;
  font-size: 0.88rem;
}
.sidebar-nav a span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #dcf8f2;
  font-size: 0.72rem;
}
.sidebar-nav a.active,
.sidebar-nav a:hover {
  background: #008c83;
  color: #fff;
}
.sidebar-plan-card {
  margin-top: auto;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: #d8eeea;
  display: grid;
  gap: 4px;
}
.sidebar-plan-card span,
.sidebar-plan-card small {
  font-size: 0.72rem;
  color: #9bc5bd;
}
.sidebar-plan-card strong {
  color: #fff;
  font-size: 0.92rem;
}
.sidebar-plan-card a {
  color: #7ee7d8;
  font-size: 0.74rem;
  font-weight: 800;
}
.app-main {
  padding: 28px;
  background: #eef4f2;
}
.app-top {
  min-height: 46px;
  margin-bottom: 18px;
}
.app-top strong {
  font-size: 1rem;
}
.mock-dashboard {
  background: #ffffff;
  border: 1px solid #d8e2df;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(19, 40, 35, 0.12);
  overflow: hidden;
  margin-bottom: 18px;
}
.mock-browser {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid #e8eeee;
  background: #f8fbfa;
}
.mock-browser span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff6b62;
}
.mock-browser span:nth-child(2) {
  background: #f4bd4f;
}
.mock-browser span:nth-child(3) {
  background: #5ac46b;
}
.mock-address {
  flex: 1;
  height: 14px;
  max-width: 420px;
  margin-left: 18px;
  border-radius: 999px;
  background: #edf2f1;
}
.mock-workspace {
  padding: 24px;
  display: grid;
  gap: 18px;
}
.process-card,
.completed-card {
  background: #fff;
  border: 1px solid #e6eeeb;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(30, 56, 50, 0.04);
}
.process-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
}
.process-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f7ef;
  color: #0c9d61;
  font-weight: 900;
}
.process-main h1 {
  margin: 0;
  color: #1d302c;
  font-size: 1rem;
}
.process-main p {
  margin: 4px 0 10px;
  color: #21a162;
  font-size: 0.84rem;
  font-weight: 800;
}
.mock-progress {
  height: 7px;
  background: #dcece7;
  border-radius: 999px;
  overflow: hidden;
}
.mock-progress span {
  display: block;
  height: 100%;
  background: #20b36a;
}
.process-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  color: #70807b;
  font-size: 0.76rem;
}
.process-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.process-actions small {
  color: #74837e;
  font-size: 0.72rem;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.metric-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e6eeeb;
  border-radius: 8px;
  background: #fff;
}
.metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #eaf3ff;
}
.metric-card.red .metric-icon { background: #fde9ea; }
.metric-card.amber .metric-icon { background: #fff4db; }
.metric-card.green .metric-icon { background: #e6f6ef; }
.metric-card span {
  display: block;
  color: #6c7b76;
  font-size: 0.76rem;
  font-weight: 800;
}
.metric-card strong {
  display: block;
  margin-top: 4px;
  color: #1d302c;
  font-size: 1.34rem;
}
.metric-card small {
  color: #6c7b76;
  font-size: 0.75rem;
}
.metric-card.red strong,
.table-danger {
  color: #df3434;
}
.metric-card.amber strong,
.table-warn {
  color: #d48a16;
}
.metric-card.green strong {
  color: #1b9d5b;
}
.completed-card {
  padding: 18px;
}
.completed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.completed-head h2 {
  margin: 0;
  font-size: 1rem;
}
.completed-head a {
  font-size: 0.8rem;
  font-weight: 800;
}
.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.mock-table th {
  color: #7a8984;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #e7efec;
}
.mock-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #eef4f2;
  color: #34443f;
}
.file-cell {
  color: #15795f;
  font-weight: 800;
}
.table-action {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #dbe6e3;
  background: #fff;
  color: #54716a;
  font-weight: 800;
  font-size: 0.74rem;
}
@media (max-width: 900px) {
  .hero, .preview-band, .app-shell { grid-template-columns: 1fr; }
  .section-grid, .section-grid.three, .pricing-cards, .stats-grid, .metric-row { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sidebar-plan-card { display: none; }
  .site-header { align-items: flex-start; height: auto; padding: 18px 5vw; gap: 16px; flex-direction: column; }
  .site-header nav { flex-wrap: wrap; gap: 12px; }
  .lookup-control { grid-template-columns: 1fr; }
  .lookup-control .button { width: 100%; }
  .lookup-conversion { align-items: flex-start; flex-direction: column; }
  .process-card { grid-template-columns: 1fr; }
  .process-actions { justify-items: stretch; }
  .process-actions .button { width: 100%; }
  .mock-workspace { padding: 16px; }
}
