/* dash.csv landing site. Tokens match the app design: Intuit-style blue on white. */
:root {
  --blue: #0077C5;
  --blue-dark: #055393;
  --blue-light: #EAF5FC;
  --ink: #393A3D;
  --ink-2: #6B6C72;
  --line: #D4D7DC;
  --band: #F4F5F8;
  --green: #2CA01C;
  --green-light: #EAF7E8;
  --red: #D52B1E;
  --font: "Figtree", "Avenir Next", Avenir, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --measure: 34rem;
  --radius: 8px;
  --pill: 100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; max-width: 22ch; }
h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
p { max-width: var(--measure); }
.lede { font-size: 1.25rem; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 0.9375rem; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; }
.wordmark { display: inline-flex; align-items: baseline; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; text-decoration: none; color: var(--blue); }
.wordmark .dot { display: inline-block; width: 0.34em; height: 0.34em; border-radius: 50%; background: var(--green); margin: 0 0.06em; }
.wordmark .csv { color: var(--ink-2); font-weight: 600; }
.top-link { font-weight: 600; text-decoration: none; }

/* Buttons and fields. Each button owns its color so no link rule can override it. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 1.75rem;
  border: 0; border-radius: var(--pill);
  background: var(--blue); color: #FFFFFF;
  font: inherit; font-size: 1.125rem; font-weight: 600; text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--blue-dark); color: #FFFFFF; }
.btn:focus-visible, .field:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn[disabled] { opacity: 0.6; cursor: default; }

.join { display: flex; flex-direction: column; gap: 0.75rem; max-width: 34rem; }
.join-row { display: flex; gap: 0.5rem; }
@media (max-width: 520px) { .join-row { flex-direction: column; } .join-row .btn { width: 100%; } }
.field {
  flex: 1 1 auto; min-width: 0; min-height: 56px; padding: 0 1.25rem;
  border: 1.5px solid var(--line); border-radius: var(--pill);
  font: inherit; font-size: 1.125rem; color: var(--ink); background: #FFFFFF;
}
.field::placeholder { color: var(--ink-2); }
.field:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-light); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-note { font-size: 0.9375rem; color: var(--ink-2); }
.join-note strong { color: var(--ink); font-weight: 600; }
.join-result { display: none; padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 500; }
.join-result[data-kind="ok"] { display: block; background: var(--green-light); color: var(--ink); }
.join-result[data-kind="err"] { display: block; background: #FDECEA; color: var(--ink); }
.join-result strong { font-weight: 700; }

/* Hero */
.hero { padding: 2rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-copy { display: flex; flex-direction: column; gap: 1.75rem; }
.hero-copy h1 { max-width: 12ch; }
.spots { display: none; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--green); }
.spots[data-show] { display: inline-flex; }
.spots::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* The phone. The screen is a looping video of the build-and-reveal artboard (31b), rendered at 2x. */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(324px, 100%);
  padding: 10px;
  border-radius: 44px;
  background: #1C1C1E;
  box-shadow: 0 30px 60px -20px rgba(57, 58, 61, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.screen {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 844;
  border-radius: 34px;
  background: var(--band);
  object-fit: cover;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .phone { width: min(280px, 100%); }
}

/* Sections */
.section { padding: 5rem 0; }
.section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.band { background: var(--band); }
.blue-light { background: var(--blue-light); }

/* How it works: a real sequence, so the steps carry numbers. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
/* each step spans the same four rows (number, title, text, screen), so the text rows share a height and the screens sit flush */
.step { display: grid; grid-template-rows: subgrid; grid-row: span 4; gap: 1rem; align-items: start; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #FFFFFF; font-weight: 700; font-size: 1.125rem; }
.step p { color: var(--ink-2); }
.step img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); background: #FFFFFF; margin-top: 0.5rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .step { grid-template-rows: auto; grid-row: auto; } .step img { max-width: 300px; } }

/* Privacy: two columns, the rows motif on the left. */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.two .stack { display: flex; flex-direction: column; gap: 1.25rem; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.rows { display: flex; flex-direction: column; gap: 14px; padding: 1.75rem; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); max-width: 26rem; }
.row { display: flex; align-items: center; gap: 8px; }
.row i { display: block; height: 10px; border-radius: 5px; background: var(--line); }
.row b { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.row.live i { background: var(--blue); }
.row.live b { background: var(--green); }
.rows-cap { font-size: 0.9375rem; color: var(--ink-2); margin-top: 0.5rem; }

/* Deal */
.deal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (max-width: 800px) { .deal { grid-template-columns: 1fr; } }
.price { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.price .now { font-size: 3.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.price .was { font-size: 1.5rem; color: var(--ink-2); text-decoration: line-through; }
.price .per { font-size: 1.125rem; color: var(--ink-2); }
.tiers { display: flex; flex-direction: column; gap: 0.375rem; padding: 0; margin: 0; list-style: none; max-width: var(--measure); }
.tiers li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: baseline; padding: 0.625rem 0.875rem; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; font-size: 1rem; }
.tiers .tier-price { color: var(--ink-2); font-size: 0.9375rem; min-width: 7.5em; text-align: right; }
.tiers li[data-open] { border-color: var(--green); background: var(--green-light); box-shadow: 0 0 0 1px var(--green); }
.tiers li[data-open] strong { color: var(--green); }
.tiers li[data-filled] { color: var(--ink-2); background: transparent; }
.tiers li[data-filled] strong, .tiers li[data-filled] .tier-price { text-decoration: line-through; }
.tiers li[data-filled] > span:first-child::after { content: " · Filled"; font-weight: 600; }
@media (max-width: 420px) { .tiers li { grid-template-columns: minmax(0, 1fr) auto; } .tiers .tier-price { grid-column: 1 / -1; text-align: left; } }
.deal-list { display: flex; flex-direction: column; gap: 0.75rem; padding: 0; margin: 0; list-style: none; }
.deal-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.deal-list svg { flex-shrink: 0; margin-top: 3px; }
.deal-side { display: flex; flex-direction: column; gap: 2rem; align-items: center; }
.deal-side .phone { width: min(240px, 100%); padding: 8px; border-radius: 34px; }
.deal-side .screen { border-radius: 26px; }
.deal-side .join { width: 100%; }

/* Footer */
.foot { padding: 2.5rem 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; font-size: 0.9375rem; color: var(--ink-2); }
.foot nav { display: flex; gap: 1.5rem; }
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--blue); }

/* Documents */
.doc { padding: 3rem 0 5rem; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.doc h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.doc p, .doc li { max-width: var(--measure); margin-bottom: 0.75rem; }
.doc ul { padding-left: 1.25rem; }
