/* dadoboard.com: the app's own look (Geist, white cards on a cool grey, blue for anything you can click). Light only, like the app. */
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --page: #f4f6f9;
  --card: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --green: #15803d;
  --red: #b91c1c;
  --radius: 16px;
  --lift: 0 0 0 1px rgba(15, 23, 42, 0.07), 0 30px 60px -36px rgba(15, 23, 42, 0.45);
  --edge: 0 0 0 1px rgba(15, 23, 42, 0.07);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--page);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  color: var(--ink);
  margin: 0;
}
h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}
h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- links and buttons: blue means you can click it ---- */
.link {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.link:hover {
  color: #1e3a8a;
}
.link-strong {
  font-size: 17px;
  font-weight: 700;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 28px;
  min-height: 48px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.button:hover {
  background: var(--blue-dark);
}
.button:active {
  transform: translateY(1px);
}
.button:disabled {
  opacity: 0.6;
  cursor: default;
}
.button-small {
  padding: 10px 20px;
  min-height: 44px;
  font-size: 16px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
video:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ---- header ---- */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 246, 249, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* ---- hero ---- */
.hero {
  padding: 64px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 15px;
}
.lead {
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.5;
  max-width: 42ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
}
.video {
  margin: 0;
}
.video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--lift);
}
.video figcaption {
  margin-top: 12px;
  font-size: 15px;
  color: #475569;
}

/* ---- sections ---- */
.band {
  padding: 96px 0;
}
.band-tight {
  padding: 32px 0 96px;
}
.band-plain {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.title-wide {
  max-width: 24ch;
}
.intro {
  margin: 16px 0 0;
  font-size: 18px;
  color: #475569;
  max-width: 62ch;
}
.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--lift);
}
.shot-wide {
  margin-top: 32px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.split-copy p {
  margin: 18px 0 0;
  font-size: 18px;
  max-width: 52ch;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 32px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

/* the feature grid: one big tile with the board, wide tiles with tints, small ones plain */
.bento {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tile {
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 22px;
  min-width: 0;
}
.tile p {
  margin: 6px 0 0;
  color: #475569;
}
.tile-big {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tile-big img {
  margin-top: auto;
  width: 100%;
}
/* the 3D picture fills what the words leave of its tile */
.tile-grey.tile-big img {
  flex: 1 1 0;
  min-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--edge);
}
.tile-wide {
  grid-column: span 2;
}
.tile-wide:has(img) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
}
.tile-wide img {
  border-radius: 10px;
  box-shadow: var(--edge);
}
.tile-blue {
  background: var(--blue-soft);
  box-shadow: none;
}
.tile-grey {
  background: #f1f5f9;
  box-shadow: none;
}
.tile-green {
  background: #ecfdf5;
  box-shadow: none;
}
.tile-orange {
  background: #fff7ed;
  box-shadow: none;
}
.tile-big p,
.tile-wide p {
  color: var(--body);
}

.three {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.three p {
  margin: 6px 0 0;
  color: #475569;
}

/* the shop floor: a phone and its words on one card */
.floor-card {
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--edge);
  padding: 40px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.shot-phone {
  margin: 0;
  border-radius: 34px;
  border: 9px solid var(--ink);
  overflow: hidden;
  background: var(--card);
}
.floor-copy p {
  margin: 16px 0 0;
  font-size: 18px;
  max-width: 54ch;
}
.chips {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.chips div {
  border-radius: 12px;
  background: #f1f5f9;
  padding: 14px 16px;
}
.chips b {
  display: block;
  color: var(--ink);
}
.chips span {
  font-size: 15px;
  color: #475569;
}

/* money and crew: two cards side by side */
.pair {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pair-card {
  border-radius: var(--radius);
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 24px;
  min-width: 0;
}
.pair-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  border-radius: 10px;
  box-shadow: var(--edge);
}
.pair-card h3 {
  margin-top: 18px;
  font-size: 22px;
}
.pair-card p {
  margin: 6px 0 0;
  color: #475569;
}

/* the comparison */
.table-box {
  margin-top: 32px;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--edge);
}
.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 16px;
}
.compare th,
.compare td {
  padding: 12px 20px;
  text-align: left;
}
.compare thead th {
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 700;
}
.compare thead th.us {
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}
.compare tbody th {
  font-weight: 600;
  color: var(--ink);
}
.compare thead th:first-child,
.compare tbody th[scope="row"],
.compare tr.group th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--card);
}
.compare td.us {
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 700;
}
.compare td.no {
  color: var(--muted);
}
.compare tr.group th {
  padding: 22px 20px 6px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  padding-bottom: 20px;
}
.fine {
  margin: 16px 0 0;
  font-size: 14px;
  color: #475569;
  max-width: 80ch;
}

.story p {
  margin: 18px 0 0;
  font-size: 19px;
  max-width: 60ch;
}

/* ---- beta form ---- */
.beta {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 56px;
  align-items: start;
}
.beta-copy p {
  margin: 18px 0 0;
  font-size: 18px;
  max-width: 40ch;
}
.steps {
  margin: 20px 0 0;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}
.form {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--edge);
  padding: 28px;
  display: grid;
  gap: 16px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.form label em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid #64748b;
  border-radius: 10px;
  padding: 11px 12px;
  width: 100%;
}
.form textarea {
  resize: vertical;
}
.form .button {
  justify-self: start;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  margin: 0;
  min-height: 1.6em;
  font-size: 15px;
}
.form-note.is-error {
  color: var(--red);
}
.form-note.is-ok {
  color: var(--green);
  font-weight: 600;
}

/* ---- footer ---- */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 15px;
  color: #475569;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* ---- tablets ---- */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .beta {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .split-flip .shot {
    order: -1;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .floor-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px;
  }
  .shot-phone {
    max-width: 280px;
    margin: 0 auto;
  }
  .band {
    padding: 64px 0;
  }
}
/* ---- phones ---- */
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .hero {
    padding: 36px 0 32px;
  }
  .top-nav .link {
    display: none;
  }
  .bento,
  .three,
  .pair,
  .chips,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile-big,
  .tile-wide {
    grid-column: auto;
    grid-row: auto;
  }
  .tile-wide:has(img) {
    grid-template-columns: minmax(0, 1fr);
  }
  .compare {
    min-width: 640px;
    font-size: 15px;
  }
  .compare th,
  .compare td {
    padding: 10px 12px;
  }
  .compare tbody th[scope="row"] {
    min-width: 128px;
    max-width: 150px;
  }
  .form,
  .floor-card {
    padding: 20px;
  }
}
