/* Duende — shared styles.
   Palette matches the app exactly (App.js const C) so the site and the product
   read as one thing. */

:root {
  --bg:      #09090F;
  --surface: #101018;
  --surf2:   #161624;
  --border:  #21213A;
  --accent:  #E0A93B;
  --accent-deep: #8A6417;
  --text:    #EEF0FF;
  --muted:   #8A8AA8;
  --faint:   #5A5A80;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 640px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
header {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; letter-spacing: -0.2px;
  color: var(--text); text-decoration: none;
}
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
/* Copy beside a device mockup, so it is obvious within a second that this is an
   app rather than a service or a blog. */
.hero {
  padding: 72px 0 64px;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}
.eyebrow {
  color: var(--accent); font-size: 12px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 22px; max-width: 13em; text-wrap: balance;
}
.hero .lede { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero .lede strong { color: var(--text); font-weight: 600; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; align-items: center; }
.btn {
  display: inline-block; background: var(--accent); color: #241703;
  font-size: 15px; font-weight: 700; text-decoration: none;
  padding: 14px 26px; border-radius: 12px;
}
.btn.secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.cta-note { font-size: 13px; color: var(--faint); margin-top: 14px; }

/* ── Device mockup ──────────────────────────────────────────────────────── */
.phone {
  width: 232px; height: 468px; flex-shrink: 0;
  border: 8px solid #1B1B2A; border-radius: 34px;
  background: var(--bg); padding: 22px 18px;
  display: flex; flex-direction: column;
}
.phone-screen { display: flex; flex-direction: column; height: 100%; }
.p-instrument { color: var(--faint); font-size: 12px; font-weight: 600; }
.p-clock {
  color: var(--text); font-size: 46px; font-weight: 800;
  letter-spacing: -2px; margin-top: 44px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.p-split { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.p-split div { display: flex; flex-direction: column; align-items: center; }
.p-val { color: var(--text); font-size: 12px; font-weight: 700; }
.p-lbl { color: var(--faint); font-size: 10px; margin-top: 2px; }
.p-div { width: 1px; height: 22px; background: var(--border); }
.p-wave { display: flex; align-items: center; gap: 3px; height: 46px; margin-top: 30px; justify-content: center; }
.p-wave i { width: 3px; background: var(--accent); border-radius: 2px; opacity: 0.85; }
.p-actions { display: flex; gap: 8px; margin-top: auto; }
.p-ghost, .p-solid {
  flex: 1; text-align: center; font-size: 12px; font-weight: 700;
  padding: 11px 0; border-radius: 11px;
}
.p-ghost { color: var(--text); border: 1px solid var(--border); }
.p-solid { color: #241703; background: var(--accent); }

/* ── Sections ───────────────────────────────────────────────────────────── */
section { padding: 56px 0; border-top: 1px solid var(--border); }
h2 {
  font-size: 13px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--faint); margin-bottom: 26px;
}
h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.2px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.card p { color: var(--muted); font-size: 15px; }

.questions { list-style: none; }
.questions li {
  font-size: 21px; font-weight: 600; letter-spacing: -0.3px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  color: var(--text);
}
.questions li:last-child { border-bottom: 0; }
.questions li span { color: var(--accent); margin-right: 12px; }

/* ── Long-form pages ────────────────────────────────────────────────────── */
.doc { padding-top: 56px; padding-bottom: 96px; }
.doc h1 { font-size: 34px; font-weight: 800; letter-spacing: -1px; margin-bottom: 6px; }
.doc .meta { color: var(--faint); font-size: 14px; margin-bottom: 40px; }
.doc h2 {
  font-size: 17px; font-weight: 700; text-transform: none; letter-spacing: -0.2px;
  color: var(--text); margin: 36px 0 12px;
}
.doc p { color: var(--muted); margin-bottom: 14px; }
.doc ul { color: var(--muted); padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 10px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc .box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; margin: 24px 0;
}

a { color: var(--accent); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 56px;
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--faint);
}
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 40px; justify-items: start; }
  .phone { margin: 0 auto; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .hero .lede { font-size: 17px; }
  .questions li { font-size: 18px; }
}
