:root {
  --navy: #122c47;
  --ink: #17202a;
  --muted: #53616f;
  --teal: #169b8f;
  --gold: #f2c14e;
  --paper: #f7f8f3;
  --white: #ffffff;
  --line: #d9e1ea;
  --red: #bf4b3f;
  --shadow: 0 28px 90px rgba(18, 44, 71, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 5vw;
  color: var(--white);
  background: rgba(18, 44, 71, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand,
.nav,
.btn,
.eyebrow,
.price,
.proof strong,
.step span {
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  opacity: 0.88;
}

.nav a:hover { opacity: 1; }

.page-hero {
  padding: 92px 5vw 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 44, 71, 0.96), rgba(18, 44, 71, 0.76)),
    url("dashboard-raw.png") center / cover;
}

.hero-inner,
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.narrow { max-width: 840px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.12;
}

.hero-copy,
.lede {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 23px);
}

.lede {
  color: var(--muted);
  font-size: 19px;
}

section { padding: 70px 5vw; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.split .grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}

.card,
.proof,
.offer {
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(18, 44, 71, 0.06);
  overflow-wrap: anywhere;
}

.showcase {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 7px;
  color: var(--white);
  background: var(--teal);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(22, 155, 143, 0.28);
}

.btn.secondary {
  color: var(--ink);
  background: var(--gold);
}

.price {
  margin: 8px 0 16px;
  font-size: 42px;
  font-weight: 900;
  color: var(--teal);
}

.band {
  color: var(--white);
  background: var(--navy);
}

.band .lede { color: rgba(255, 255, 255, 0.78); }

.band .card,
.band .offer {
  color: var(--ink);
}

.list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.list li { margin-bottom: 8px; }

.notice {
  color: var(--muted);
  font-size: 14px;
}

.tool-layout {
  align-items: start;
}

.tool-card,
.tool-results,
.tool-panel {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(18, 44, 71, 0.06);
}

.file-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
  color: var(--navy);
}

.file-label input {
  max-width: 210px;
}

textarea[data-csv-input] {
  width: 100%;
  min-height: 310px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: #fbfcfd;
  font: 13px/1.45 Consolas, "Courier New", monospace;
}

.actions.compact {
  margin-top: 14px;
}

.tool-results {
  min-height: 360px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric {
  padding: 16px;
  border-radius: 8px;
  background: #f4f8f8;
  border: 1px solid #dce8e7;
}

.metric span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric strong {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 26px;
  color: var(--navy);
}

.tool-panel {
  margin-top: 16px;
  box-shadow: none;
}

.tool-panel h3 {
  margin-bottom: 8px;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
}

.result-table th,
.result-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.result-table th {
  color: var(--navy);
  background: #f4f8f8;
}

.tool-alert {
  padding: 16px;
  color: #7a1f16;
  background: #fff2ef;
  border: 1px solid #f0c5bd;
  border-radius: 8px;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-form label {
  display: grid;
  gap: 7px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.order-form label:last-child {
  grid-column: 1 / -1;
}

.order-form input,
.order-form select,
.order-form textarea,
.brief-output {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: #fbfcfd;
  font: 15px/1.35 "Trebuchet MS", Verdana, sans-serif;
}

.order-form textarea,
.brief-output {
  min-height: 160px;
  resize: vertical;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.brief-output {
  min-height: 260px;
  margin-top: 12px;
}

.pay-inline {
  margin-top: 18px;
}

footer {
  padding: 38px 5vw;
  color: rgba(255, 255, 255, 0.72);
  background: #0d2237;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
}

footer .section-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 850px) {
  .nav { display: none; }
  .split,
  .grid-3,
  .metric-grid,
  .order-form {
    grid-template-columns: 1fr;
  }
  section { padding: 54px 5vw; }
  .page-hero { padding-top: 70px; }
}
