/* Delta-V marketing page. Built from the "Delta-V for Law Firms" design. */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand colours (design props: accent, statement) */
  --accent: #2356f6;
  --statement: #eb6590;

  /* Neutrals */
  --ink: #141414;
  --ink-2: #2e2e2e;
  --text-2: #555555;
  --muted: #6f6f6f;
  --line-strong: #c9c9c4;
  --line: #dcdcd6;
  --rule: #e3e3de;
  --wash: #f5f5f2;
  --white: #ffffff;
  --bar-dark: #1b1b1b;

  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --section-pad: 120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--ink); }
img { max-width: 100%; }
input, button { font: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--ink); color: var(--white);
  padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Utilities ---------- */

/* Content-box so max-width is the content width, matching the design. */
.container { box-sizing: content-box; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.container--1200 { max-width: 1200px; }
.container--1080 { max-width: 1080px; }
.container--1040 { max-width: 1040px; }
.container--960 { max-width: 960px; }
.container--820 { max-width: 820px; }
.container--760 { max-width: 760px; }

.text-accent { color: var(--accent); }
.text-statement { color: var(--statement); }
.text-muted { color: var(--muted); }
.strong, strong { color: var(--ink); font-weight: 600; }
.nowrap { white-space: nowrap; }

/* Small uppercase labels */
.caps {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.caps--20 { letter-spacing: 0.2em; }
.caps--16 { letter-spacing: 0.16em; }
.caps--12 { letter-spacing: 0.12em; }
.caps--10 { letter-spacing: 0.1em; }
.caps--12px { font-size: 12px; }

.band { border-top: 1px solid var(--rule); }
.band--wash { background: var(--wash); }

.h2 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.h2--md {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.btn:hover { color: var(--white); filter: brightness(0.92); }
.btn--sm { padding: 12px 20px; font-size: 15px; }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* Chat bubbles */
.bubble {
  align-self: flex-end;
  background: var(--accent);
  color: var(--white);
  border-radius: 12px 12px 2px 12px;
  padding: 10px 14px;
  font-size: 15px;
}
.bubble--ghost {
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}
.bubble--sm { font-size: 14px; padding: 8px 13px; }

/* ---------- Header ---------- */

.site-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.site-header-inner {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink); text-decoration: none;
}
.brand-name { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */

.hero-wrap { position: relative; overflow: hidden; }
.hero {
  padding-top: 110px; padding-bottom: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.hero-kicker {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--text-2);
  max-width: 620px;
}
.hero h1 {
  font-size: clamp(2.75rem, 7.5vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink-2);
}

/* Product preview card */
.demo { padding-bottom: 76px; }
.demo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-wrap: wrap;
}
.demo-chat {
  flex: 1 1 300px; min-width: 0;
  background: var(--wash);
  border-right: 1px solid var(--rule);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.demo-answer { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.demo-dash {
  flex: 2 1 420px; min-width: 0;
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.dash-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px;
}
.dash-total-wrap { display: flex; flex-direction: column; gap: 6px; }
.dash-total {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.dash-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
}
.dash-table th, .dash-table td {
  padding: 5px 0 5px 16px;
  text-align: right;
  font-weight: 400;
  color: var(--ink-2);
  vertical-align: middle;
}
.dash-table th:first-child, .dash-table td:first-child { padding-left: 0; }
.dash-table tbody th { text-align: left; color: var(--ink); }
.dash-table thead th {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0;
}
.dash-table thead th:first-child { text-align: left; }
.dash-table td.strong { color: var(--ink); font-weight: 600; }
.dash-table td.text-statement { color: var(--statement); }

.dash-actions { display: flex; flex-direction: column; gap: 8px; }
.dash-actions li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 15px;
  padding: 14px 16px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* ---------- Before / after ---------- */

.compare-section {
  padding-top: var(--section-pad); padding-bottom: var(--section-pad);
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.compare {
  width: 100%; max-width: 720px;
  margin-top: 10px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 48px;
}
.compare-col { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.compare-num {
  font-size: clamp(4.5rem, 12vw, 8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.compare-unit { font-size: 16px; color: var(--text-2); }
.bar { width: 100%; height: 8px; border-radius: 4px; background: var(--bar-dark); }
.bar--split { display: flex; background: none; }
.bar--split span:first-child { width: 60.6%; border-radius: 4px 0 0 4px; background: var(--accent); }
.bar--split span:last-child { width: 39.4%; border: 1.5px dashed var(--statement); border-radius: 0 4px 4px 0; }
.compare-kicker {
  margin-top: 6px;
  max-width: 620px;
  font-size: clamp(1.25rem, 2.6vw, 1.875rem);
  line-height: 1.35;
}

/* ---------- How it works ---------- */

.how {
  padding-top: var(--section-pad); padding-bottom: var(--section-pad);
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.how .h2 { text-align: center; }
.steps { width: 100%; margin-top: 18px; display: flex; flex-direction: column; }
.step {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.step-copy { flex: 1 1 320px; min-width: 0; display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex: 0 0 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 17px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
}
.step-num--filled { background: var(--accent); border-color: var(--accent); color: var(--white); }
.step-text { display: flex; flex-direction: column; gap: 10px; }
.step-text h3 {
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.step-text p { font-size: 17px; line-height: 1.5; color: var(--text-2); max-width: 400px; }

.panel {
  flex: 1 1 360px; min-width: 0;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  font-size: 14px; line-height: 1.45; color: var(--ink-2);
}
.panel--accent { border-color: var(--accent); }
.panel-row { display: flex; justify-content: space-between; gap: 12px; }
.seats { display: block; width: 100%; height: auto; }

/* Step 2: usage linked to matter numbers */
.links { display: flex; flex-direction: column; gap: 14px; }
.links li { display: flex; align-items: center; gap: 10px; }
.tool { flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; }
.sessions { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.link-line { flex: 1; min-width: 12px; height: 1px; background: var(--accent); }
.matter {
  flex: 0 0 auto;
  font-size: 12px; font-weight: 600; color: var(--ink);
  border: 1px solid var(--accent); border-radius: 6px;
  padding: 5px 9px;
}

/* Step 3: cost bars */
.cost-row { display: flex; align-items: center; gap: 12px; }
.cost-label { flex: 0 0 84px; }
.cost-track { flex: 1; height: 18px; }
.cost-bar { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.cost-bar--muted { background: var(--line-strong); }
.cost-value { flex: 0 0 56px; text-align: right; }

/* Step 4: quote */
.quote { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.quote-price { font-size: 40px; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.fee-types { display: flex; flex-wrap: wrap; gap: 8px; }
.fee-type { border: 1px solid var(--line-strong); color: var(--muted); border-radius: 999px; padding: 5px 12px; }
.fee-type--on { border-color: var(--accent); color: var(--ink); font-weight: 600; }

/* Step 5: matter record */
.record {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.record-row { display: flex; justify-content: space-between; gap: 12px; }
.record-row--rule { border-top: 1px solid var(--rule); padding-top: 8px; }
.record-id { font-weight: 500; font-size: 12px; color: var(--muted); }

.how-note { text-align: center; }

/* ---------- Privacy ---------- */

.privacy {
  padding-top: var(--section-pad); padding-bottom: var(--section-pad);
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.data-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 15px; }
.data-chip { border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 18px; }
.data-chip--in { border-color: var(--accent); color: var(--ink); font-weight: 600; }
.data-chip--out { color: var(--muted); text-decoration: line-through; }

/* ---------- Call to action ---------- */

.band--cta { overflow: hidden; }
.cta {
  padding-top: 150px; padding-bottom: 150px;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  text-align: center;
}
.cta-actions {
  margin-top: 8px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 22px;
}
.cta-alt { font-size: 16px; color: var(--text-2); }
.cta-alt a { color: var(--text-2); text-decoration: none; }
.cta-alt a:hover { color: var(--ink); }
.cta-note { color: var(--text-2); padding-top: 6px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--wash); border-top: 1px solid var(--rule); }
.site-footer-inner {
  padding-top: 36px; padding-bottom: 36px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px;
  font-size: 14px; color: var(--muted);
}
.site-footer a { color: var(--ink-2); text-decoration: none; padding: 12px 0; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Small screens ---------- */

/* The preview card stacks below ~770px: move the divider under the chat column. */
@media (max-width: 769px) {
  .demo-chat { border-right: 0; border-bottom: 1px solid var(--rule); }
}

@media (max-width: 640px) {
  :root { --section-pad: 80px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .site-header-inner { padding-top: 18px; padding-bottom: 18px; }
  .hero { padding-top: 64px; padding-bottom: 40px; gap: 18px; }
  .demo { padding-bottom: 56px; }
  .demo-chat, .demo-dash { padding: 20px; }
  .dash-table { font-size: 14px; }
  .dash-table th, .dash-table td { padding-left: 8px; }
  .dash-table thead th { font-size: 10px; letter-spacing: 0.06em; }
  .dash-actions li { flex-wrap: wrap; }
  .step { padding: 28px 0; }
  .cta { padding-top: 96px; padding-bottom: 96px; }
}
