/* Dayvelo site: night-green ground, neon accent (never white on neon), Nunito. Mobile first. */

/* Nunito (variable, 400–900) served from this site; Turkish letters come from the latin-ext file. */
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/assets/fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/assets/fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

: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; }
/* Keyboard focus is always visible. */
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

/* "Skip to content": hidden until a keyboard user tabs to it. */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--neon); color: var(--night); font-weight: 900; padding: 10px 16px; border-radius: 12px;
}
.skip:focus { top: 12px; }

.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;
}
/* "Notify me" in the header: the one bright button up top. */
.nav a.nav-cta {
  background: var(--neon); color: var(--night); border-radius: 999px; padding: 0 16px;
  min-height: 38px; font-weight: 900;
}
.nav a.nav-cta:hover { color: var(--night); filter: brightness(1.05); }
/* Phones: logo, "Notify me" and the language switch; the rest is in the footer and on the page. */
@media (max-width: 760px) {
  .nav { gap: 10px; }
  .nav .hide-sm { display: none; }
}
@media (max-width: 380px) { .brand { font-size: 19px; } .nav a.nav-cta { padding: 0 12px; } }
body { overflow-x: hidden; }

/* 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 24px; }

/* Launch list form */
.waitlist { max-width: 520px; }
.waitlist label { display: block; font-weight: 900; margin-bottom: 8px; }
.waitlist-row { display: flex; gap: 8px; }
.waitlist input[type='email'] {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px;
  font: inherit; font-size: 17px; color: var(--text);
  background: var(--night-2); border: 2px solid var(--line); border-radius: 14px;
}
.waitlist input[type='email']::placeholder { color: #7fa58c; }
.waitlist input[type='email']:focus { outline: none; border-color: var(--neon); }
.waitlist button {
  flex: none; height: 52px; padding: 0 20px; border: 0; border-radius: 14px; cursor: pointer;
  font: inherit; font-weight: 900; font-size: 17px; background: var(--neon); color: var(--night);
}
.waitlist button:hover { filter: brightness(1.05); }
.waitlist button[disabled] { opacity: 0.6; cursor: default; }
.waitlist-note { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.waitlist-note a { color: var(--muted); text-decoration: underline; }
.waitlist-msg { margin: 8px 0 0; font-weight: 800; min-height: 1.6em; }
.waitlist-msg.ok { color: var(--neon); }
.waitlist-msg.err { color: #ffb4a8; }
.waitlist .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist.done .waitlist-row, .waitlist.done .waitlist-note { display: none; }
@media (max-width: 420px) {
  .waitlist-row { flex-direction: column; }
  .waitlist input[type='email'] { flex: none; width: 100%; }
  .waitlist button { width: 100%; }
}

/* App Store / Google Play: plain "coming soon" badges, not buttons. */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store-soon {
  display: inline-flex; align-items: center; gap: 10px; color: var(--muted);
  border: 1px dashed rgba(234, 255, 240, 0.25); border-radius: 14px; padding: 8px 14px; font-weight: 800;
}
.store-soon small { display: block; font-size: 12px; font-weight: 700; line-height: 1.1; }
.store-soon span { line-height: 1.2; color: var(--text); }
.store-soon small { color: var(--muted); }
.store-soon svg { width: 20px; height: 20px; flex: none; }

/* 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; align-items: flex-start; gap: 16px; }
.hero-phones > * { flex: none; }
.hero-phones .phone { width: min(260px, 60vw); }
/* Up to 1100 px only the rotating phone (it shows Today too); wider: fixed Today + the rotator. */
.hero-fixed { display: none; }
/* Both phones together stay narrower than the hero's right column (~470 px), so they never
   spill over the headline: 236 + 16 + 200 = 452. */
@media (min-width: 1100px) {
  .hero-fixed { display: block; }
  .hero-phones .hero-fixed { width: 236px; }
  .rotator { margin-top: 70px; width: 200px; }
  .rotator .phone { width: 200px; }
}

/* Rotating phone: screens stacked, the active one fades in; caption and dots underneath. */
.rotator { display: flex; flex-direction: column; align-items: center; width: min(260px, 60vw); }
.rotator .phone { position: relative; }
.rotator .slide { position: absolute; inset: 8px; opacity: 0; transition: opacity 0.6s ease; }
.rotator .slide:first-child { position: relative; inset: auto; } /* gives the frame its height */
.rotator .slide.active { opacity: 1; }
.rot-caption { position: relative; margin: 16px 0 10px; min-height: 2.8em; width: 100%; text-align: center; color: var(--muted); font-size: 15px; }
.rot-caption span { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.rot-caption span.active { opacity: 1; }
.rot-caption strong { color: var(--text); }
.rot-dots { display: flex; gap: 8px; }
.rot-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.rot-dots button.active { background: var(--neon); transform: scale(1.3); }
@media (min-width: 1100px) { .rot-dots button[data-today] { display: none; } }

/* 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; }

/* How it works: three numbered steps in a row, joined by a thin line; no boxes. */
.how { padding-top: 24px; padding-bottom: 8px; }
.how-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .how-steps li { position: relative; }
  .how-steps li:not(:last-child)::after {
    content: ''; position: absolute; top: 20px; left: 56px; right: -28px; height: 1px; background: var(--line);
  }
}
.how-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--neon); color: var(--night); font-weight: 900; font-size: 20px; }
.how-steps h3 { font-size: 20px; font-weight: 900; margin: 14px 0 6px; }
.how-steps p { margin: 0; color: var(--muted); max-width: 22em; }

/* Why Dayvelo: three short reasons in a row (stacked on phones); no boxes. */
.why { padding-top: 40px; }
.why-grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 800px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.why-item h3 { font-size: 19px; font-weight: 900; margin: 14px 0 6px; }
.why-item p { margin: 0; color: var(--muted); }

/* Big features: copy beside a phone, alternating sides on wide screens, stacked on phones. */
.spots { display: grid; gap: 64px; margin-top: 16px; }
.spot { display: grid; gap: 28px; align-items: center; }
.spot-shot { display: flex; justify-content: center; }
.spot-shot .phone { width: min(250px, 66vw); }
.spot h3 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.2; font-weight: 900; margin: 16px 0 8px; }
.spot p { margin: 0; color: var(--muted); font-size: 18px; max-width: 26em; }
@media (min-width: 800px) {
  .spot { grid-template-columns: 1fr 1fr; gap: 56px; }
  .spot.flip .spot-text { order: 2; }
}
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--neon); }

/* The rest of the features: icon, name and one line; no boxes. */
.more-title { font-size: 22px; font-weight: 900; margin: 72px 0 20px; }
.more-grid { display: grid; gap: 24px 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.more-item { display: flex; gap: 14px; align-items: flex-start; }
.more-item .icon { flex: none; width: 40px; height: 40px; border-radius: 12px; }
.more-item .icon svg { width: 20px; height: 20px; }
.more-item h4 { font-size: 17px; font-weight: 900; margin: 0 0 4px; }
.more-item p { margin: 0; color: var(--muted); }

/* Questions on the home page */
.faq-wrap { max-width: 820px; }
.faq-wrap h2 { margin-bottom: 20px; }

/* Closing call to sign up */
.cta-box {
  background: linear-gradient(160deg, var(--night-3), var(--night-2)); border: 2px solid var(--neon);
  border-radius: 28px; padding: 32px 22px; text-align: center;
}
.cta-box .icon { margin: 0 auto 14px; }
.cta-box .section-lead { margin: 0 auto 22px; }
.cta-box .waitlist { margin: 0 auto; text-align: left; }
@media (min-width: 800px) { .cta-box { padding: 48px; } }

.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); }

/* 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; } }

/* Reduced motion: the hero phone still changes screens, without fading. */
@media (prefers-reduced-motion: reduce) {
  .rotator .slide, .rot-caption span, .rot-dots button { transition: none; }
}
