/* DimpleDex's palette and type, from the app (apps/mobile/src/theme/colors.js): Vault Chrome (17 Nov 2026), from the
   client's icon, a chrome D on true black. Michroma (wide, engraved) for headings, Inter for text. */
:root {
  --ink: #000000;
  --vault: #111113;
  --raised: #1c1c1f;
  --rule: #26262b;
  --chalk: #f4f4f5;
  --chalk-dim: #d4d4d8;
  --sage: #a1a1aa;
  --pearl: #e4e4e7;
  --chrome: linear-gradient(180deg, #fafafa 0%, #d4d4d8 46%, #a1a1aa 54%, #e4e4e7 100%);
  --sparkle: linear-gradient(90deg, #9ae6ff, #c4b5fd, #fbcfe8, #fde68a, #a7f3d0);
  --display: "Michroma", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--pearl);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--chalk);
}

.site-header,
main,
.site-footer,
.legal {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--chalk);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--chalk-dim);
  text-decoration: none;
  font-size: 15px;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--chalk);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 56px;
}

.eyebrow,
.tag,
dt {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0;
}

/* Michroma is wide (and has one weight), so headings are a size smaller than a bold sans would be. */
h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.18;
  font-weight: 400;
  margin: 12px 0 20px;
}

h2 {
  font-family: var(--display);
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.25;
  font-weight: 400;
  margin: 0 0 20px;
}

h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 8px 0;
}

.lede,
.section-lede {
  color: var(--chalk-dim);
  font-size: 19px;
  max-width: 34em;
  margin: 0;
}

.section-lede {
  margin-bottom: 28px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--chalk-dim);
  font-size: 15px;
}

/* The icon's sparkle. */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sparkle);
}

.hero-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: center;
  border-radius: 22%;
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: var(--vault);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px;
}

.card p:last-child {
  color: var(--chalk-dim);
  margin: 0;
  font-size: 16px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 40px;
  margin: 0;
}

.facts > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

dd {
  margin: 6px 0 0;
  color: var(--chalk-dim);
}

.contact p {
  font-size: 19px;
  margin: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
  color: var(--sage);
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

/* Terms of Service and Privacy Policy pages */
.legal {
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
}

.legal h2 {
  font-size: 24px;
  margin-top: 40px;
}

.legal h3 {
  margin-top: 24px;
}

.legal p,
.legal li {
  color: var(--chalk-dim);
}

.legal li + li {
  margin-top: 8px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
}

.legal th {
  color: var(--sage);
  font-weight: 500;
}

.legal td {
  color: var(--chalk-dim);
}

.table-wrap {
  overflow-x: auto;
}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer,
  .legal {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Only Contact fits beside the name on a phone; the footer has every link. */
  .site-header nav a:not(:last-child) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 40px;
  }

  .hero-logo {
    max-width: 200px;
    grid-row: 1;
  }

  .facts {
    grid-template-columns: 1fr;
  }
}
