/* Daybolt website — Volt design tokens (apps/mobile/lib/theme/tokens.dart).
   Dark is the brand default; light follows the visitor's system setting.
   No JavaScript anywhere on the site. */

@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/Figtree-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/Figtree-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/Figtree-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Big Shoulders Display';
  src: url('/assets/fonts/BigShouldersDisplay-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0e0e11;
  --surface: #17171c;
  --surface-2: #202027;
  --line: #2a2a32;
  --line-strong: #3a3a44;
  --ink: #f4f3f0;
  --ink-2: #b9b8c0;
  --ink-3: #8a8993;
  --accent: #c8f238;
  --accent-soft: rgba(200, 242, 56, 0.16);
  --on-accent: #10140a;
  --accent-text: #c8f238;
  --z1: #6ea1ff;
  --z2: #2fd3b4;
  --z4: #ffb020;
  --z5: #ff4d6d;
  --sleep: #9a8bff;
  --mind: #d98bff;
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: 16px;
  --max: 1120px;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Big Shoulders Display', 'Figtree', system-ui, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f5f4f1;
    --surface: #ffffff;
    --surface-2: #eeede9;
    --line: #e2e0da;
    --line-strong: #cfcdc6;
    --ink: #141318;
    --ink-2: #4b4a53;
    --ink-3: #6b6a73;
    --accent: #4e7a00;
    --accent-soft: rgba(78, 122, 0, 0.12);
    --on-accent: #ffffff;
    --accent-text: #3f6600;
    --z1: #2f6be0;
    --z2: #0f9e84;
    --z4: #b87700;
    --z5: #d92d4e;
    --sleep: #6a58e0;
    --mind: #a94fd6;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  min-height: 44px;
}
.brand svg {
  width: 36px;
  height: 36px;
  flex: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 10px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--ink);
  background: var(--surface-2);
}
.site-nav .lang {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  margin-left: 4px;
}
@media (max-width: 560px) {
  .site-nav .hide-sm {
    display: none;
  }
  .site-nav a {
    padding: 10px 8px;
  }
}
@media (max-width: 400px) {
  .brand {
    font-size: 1.35rem;
  }
  .brand svg {
    width: 30px;
    height: 30px;
  }
  .site-nav a {
    font-size: 0.9rem;
  }
}

/* ── Type ───────────────────────────────────────────────────────────── */
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
}
.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
}
.eyebrow {
  display: inline-block;
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lead {
  color: var(--ink-2);
  font-size: 1.2rem;
  max-width: 38em;
}
.muted {
  color: var(--ink-3);
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding: 56px 0 40px;
  background: radial-gradient(60% 50% at 75% 30%, var(--accent-soft), transparent 70%);
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(3rem, 11vw, 6.2rem);
}
.display em {
  font-style: normal;
  color: var(--accent-text);
}
.soon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 8px;
  padding: 0;
  list-style: none;
}
.soon li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-weight: 600;
}
.soon li span {
  color: var(--ink-3);
  font-weight: 400;
}
.phone {
  justify-self: center;
  width: min(100%, 340px);
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, var(--line-strong), var(--surface-2));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.phone img {
  border-radius: 32px;
  width: 100%;
}
@media (min-width: 900px) {
  .hero {
    padding: 88px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* ── Sections ───────────────────────────────────────────────────────── */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.section h2 {
  font-size: clamp(2.2rem, 7vw, 3.6rem);
}
.grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  font-size: 1.2rem;
  margin-top: 14px;
}
.card p {
  margin: 0;
  color: var(--ink-2);
}
.dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
}
.dot svg {
  width: 22px;
  height: 22px;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 34px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2395b52a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.note {
  border-left: 3px solid var(--z4);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ── Documents (privacy, terms, support, deletion) ─────────────────── */
.doc {
  padding: 48px 0 72px;
}
.doc .wrap {
  max-width: 820px;
}
.doc h1 {
  font-size: clamp(2.6rem, 9vw, 4.4rem);
}
.doc h2 {
  font-size: 1.45rem;
  margin-top: 2.2em;
  padding-top: 0.4em;
  scroll-margin-top: 88px;
}
.doc h3 {
  font-size: 1.1rem;
  margin-top: 1.6em;
}
.doc p,
.doc li {
  color: var(--ink-2);
}
.doc strong {
  color: var(--ink);
}
.doc ul,
.doc ol {
  padding-left: 1.3em;
}
.doc li + li {
  margin-top: 6px;
}
.meta {
  color: var(--ink-3);
  font-size: 0.95rem;
}
.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.summary h2 {
  margin-top: 0;
  padding-top: 0;
  font-size: 1.15rem;
}
.toc {
  columns: 2 220px;
  list-style: none;
  padding-left: 0;
}
.toc li {
  break-inside: avoid;
}
.table-scroll {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
}
td {
  color: var(--ink-2);
}
tr:last-child td {
  border-bottom: 0;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 4px 48px;
  min-height: 40px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  display: grid;
  place-items: center;
}
details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin: 10px 0;
}
summary {
  cursor: pointer;
  padding: 14px 18px;
  min-height: 48px;
  font-weight: 600;
  color: var(--ink);
}
details > div {
  padding: 0 18px 14px;
}
details[open] summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.contact-grid {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}
@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  color: var(--ink-3);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}
.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li a {
  color: var(--ink-2);
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
}
.site-footer li a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.disclaimer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@media print {
  .site-header,
  .site-footer,
  .skip {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* ── Brand mark + icon colours ─────────────────────────────────────── */
.mark-bg {
  fill: var(--accent);
}
.mark-fg {
  fill: var(--on-accent);
}
.c-accent {
  color: var(--accent-text);
}
.c-z1 {
  color: var(--z1);
}
.c-z2 {
  color: var(--z2);
}
.c-z4 {
  color: var(--z4);
}
.c-z5 {
  color: var(--z5);
}
.c-sleep {
  color: var(--sleep);
}
