/* Dayvelo site: night-green ground, neon accent (never white on neon), Nunito. Mobile first. */
:root {
  --night: #062b14;
  --night-2: #0a3a1c;
  --night-3: #0f4a25;
  --neon: #00ff51;
  --neon-soft: rgba(0, 255, 81, 0.12);
  --text: #eafff0;
  --muted: #9fc9ad;
  --line: rgba(234, 255, 240, 0.12);
  --radius: 22px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--neon); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(6, 43, 20, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; font-size: 22px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: 15px; }
.nav a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.nav a.lang { min-height: 36px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); text-decoration: none; }
.lang {
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
  color: var(--text) !important;
}
@media (max-width: 520px) {
  .nav { gap: 12px; }
  .nav .hide-sm { display: none; }
}
body { overflow-x: hidden; }

/* Yellow ticker under the header */
.ticker {
  background: #ffc21a; color: var(--night);
  overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}
.ticker-track {
  display: inline-flex; align-items: center;
  padding: 9px 0; font-weight: 800; font-size: 15px;
  animation: ticker 60s linear infinite;
  will-change: transform;
}
/* Spacing via margins (not gap) keeps both halves exactly equal for a seamless loop. */
.ticker-track > * { margin-right: 18px; }
.ticker-track b { font-weight: 900; font-size: 16px; letter-spacing: 0.3px; }
.ticker-track i { font-style: normal; font-size: 18px; opacity: 0.55; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
/* Phones: slimmer band, smaller text, a bit faster since less fits on screen. */
@media (max-width: 600px) {
  .ticker-track { padding: 7px 0; font-size: 13px; animation-duration: 45s; }
  .ticker-track > * { margin-right: 12px; }
  .ticker-track b { font-size: 14px; }
  .ticker-track i { font-size: 15px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 24px; }
.hero::before {
  content: ''; position: absolute; inset: -40% -20% auto; height: 520px;
  background: radial-gradient(closest-side, rgba(0, 255, 81, 0.18), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } .hero { padding: 88px 0 48px; } }
h1, .lead { overflow-wrap: break-word; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--neon-soft); color: var(--neon);
  border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px;
}
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; font-weight: 900; margin: 18px 0 16px; letter-spacing: -0.5px; }
h1 em { font-style: normal; color: var(--neon); }
.lead { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--neon); color: var(--night); font-weight: 900;
  border-radius: 14px; padding: 12px 18px;
}
.store.alt { background: transparent; color: var(--text); border: 1px solid var(--line); }
.store:hover { text-decoration: none; filter: brightness(1.05); }
.store small { display: block; font-size: 12px; font-weight: 700; opacity: 0.75; line-height: 1.1; }
.store span { line-height: 1.2; }
.store svg { width: 22px; height: 22px; flex: none; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Phones */
.phone {
  border-radius: 34px; padding: 8px; background: #0b0d0c;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { border-radius: 27px; width: 100%; }
.hero-phones { display: flex; justify-content: center; gap: 16px; }
.hero-phones .phone { width: min(260px, 60vw); }
.hero-phones .phone + .phone { display: none; }
@media (min-width: 880px) {
  .hero-phones .phone + .phone { display: block; width: 210px; margin-top: 70px; opacity: 0.9; }
}

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.15; font-weight: 900; margin: 0 0 12px; }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 32px; }

/* Six equal cards: 3×2 on desktop, 2×3 on tablets, one column on phones; every card the same height. */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; grid-auto-rows: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }.feature {
  background: var(--night-2); border: 2px solid var(--neon); border-radius: var(--radius);
  padding: 22px;
}
.feature.main { background: linear-gradient(160deg, var(--night-3), var(--night-2)); }
.feature h3 { font-size: 20px; margin: 14px 0 6px; font-weight: 900; }
.feature p { margin: 0; color: var(--muted); }
.feature ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--neon-soft); color: var(--neon);
}
.icon svg { width: 24px; height: 24px; }

/* Challenge section: crossed swords */
.challenge { position: relative; overflow: hidden; }
.ch-watermark {
  position: absolute; right: -80px; top: 40px; width: 420px; height: 420px;
  color: var(--neon); opacity: 0.05; pointer-events: none; transform: rotate(-12deg);
}
.ch-watermark svg { width: 100%; height: 100%; }
@media (max-width: 899px) { .ch-watermark { width: 240px; height: 240px; right: -60px; top: 10px; } }
.ch-grid { position: relative; display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .ch-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; } }
.ch-grid h2 em { font-style: normal; color: var(--neon); }
.ch-emblem {
  width: 84px; height: 84px; border-radius: 26px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--neon); color: var(--night);
  box-shadow: 0 0 0 8px rgba(0, 255, 81, 0.12), 0 18px 50px rgba(0, 255, 81, 0.35);
  transform: rotate(-6deg);
}
.ch-emblem svg { width: 46px; height: 46px; stroke-width: 2.2; }
.ch-grid .eyebrow { margin-bottom: 4px; }
.ch-grid h2 { margin-top: 14px; }
.ch-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ch-points li { display: flex; gap: 14px; align-items: flex-start; }
.ch-points strong { display: block; font-weight: 900; }
.ch-points p { margin: 2px 0 0; color: var(--muted); }
.ch-dot {
  flex: none; width: 28px; height: 28px; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center; background: var(--neon-soft); color: var(--neon);
}
.ch-dot svg { width: 16px; height: 16px; stroke-width: 3; }

.ch-panel {
  background: var(--night-2); border: 2px solid var(--neon); border-radius: 28px;
  padding: 20px; display: grid; gap: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.ch-summary { display: flex; gap: 14px; align-items: center; padding: 6px 4px 10px; }
.ch-summary strong { font-weight: 900; font-size: 18px; }
.ch-summary p { margin: 0; color: var(--muted); font-size: 14px; }
.ch-ring { position: relative; flex: none; width: 64px; height: 64px; color: var(--neon); }
.ch-ring > svg:first-child { width: 100%; height: 100%; transform: rotate(-90deg); }
.ch-ring circle { fill: none; stroke-width: 3.2; }
.ch-ring .track { stroke: rgba(234, 255, 240, 0.12); }
.ch-ring .fill { stroke: var(--neon); stroke-linecap: round; }
.ch-ring > svg + svg { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; }
.ch-card { background: var(--night); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.ch-card p { margin: 4px 0 10px; color: var(--muted); font-size: 14px; }
.ch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ch-mark { font-weight: 900; font-size: 14px; color: var(--muted); }
.ch-card.done .ch-mark {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--neon); color: var(--night);
}
.ch-card.done .ch-mark svg { width: 16px; height: 16px; stroke-width: 3; }
.ch-bar { height: 8px; border-radius: 99px; background: rgba(234, 255, 240, 0.1); overflow: hidden; }
.ch-bar span { display: block; height: 100%; border-radius: 99px; background: var(--neon); }

/* Screens strip */
/* Full-width strip that drifts sideways; no visible scrollbar, edges fade out. */
.screens {
  display: flex; gap: 20px; overflow-x: auto; padding: 12px 0 8px;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  cursor: grab;
}
.screens::-webkit-scrollbar { display: none; }
.screens figure { margin: 0; flex: 0 0 min(230px, 58vw); transition: transform 0.3s ease; }
.screens figure:hover { transform: translateY(-6px); }
.screens .phone { border-radius: 28px; padding: 6px; }
/* Without the drift (reduced motion / no JS) the strip snaps like a normal carousel. */
.screens:not(.drifting) { scroll-snap-type: x mandatory; padding-left: 16px; padding-right: 16px; }
.screens:not(.drifting) figure { scroll-snap-align: center; }
.screens .phone img { border-radius: 23px; }
.screens figcaption { text-align: center; color: var(--muted); font-size: 14px; font-weight: 700; margin-top: 10px; }

/* Privacy band */
.band {
  background: var(--neon); color: var(--night); border-radius: 28px; padding: 32px 24px;
  display: grid; gap: 20px;
}
@media (min-width: 800px) { .band { grid-template-columns: 1fr 1fr; align-items: center; padding: 44px; } }
.band h2 { margin: 0; }
.band p { margin: 0; font-weight: 700; }
.band a { color: var(--night); text-decoration: underline; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pills span { background: var(--night); color: var(--neon); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px; }

/* Long-form pages (privacy, support) */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 24px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 24px; margin: 36px 0 8px; }
.doc p, .doc li { color: #cfe9d7; }
.meta { color: var(--muted); font-size: 15px; }
.faq details {
  background: var(--night-2); border: 1px solid var(--line); border-radius: 16px;
  margin-bottom: 10px;
}
/* The whole row is the tap target, not just the text. */
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 18px; min-height: 48px; }
.faq details p { margin: 0; padding: 0 18px 16px; }
.contact {
  background: var(--night-2); border: 1px solid rgba(0, 255, 81, 0.35); border-radius: var(--radius);
  padding: 24px; margin-top: 32px;
}
.contact h2 { margin-top: 0; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: grid; gap: 18px; }
@media (min-width: 760px) { footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.links a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.links a:hover { color: var(--text); }
/* Phones: all footer links on one line, spread across the width. */
@media (max-width: 759px) {
  .links { flex-wrap: nowrap; justify-content: space-between; gap: 0 8px; font-size: 14px; }
  .links a { white-space: nowrap; }
}
@media (max-width: 349px) { .links { font-size: 12.5px; gap: 0 6px; } }
