:root {
  --bg: #fffaf6;
  --bg-deep: #fff1e8;
  --surface: #ffffff;
  --text: #2a2220;
  --muted: #6f625d;
  --accent: #e85d3a;
  --accent-strong: #d24a28;
  --accent-soft: #fde7df;
  --violet: #6b5bd6;
  --violet-soft: #ebe8fb;
  --green: #2f9e6b;
  --green-soft: #e1f4ea;
  --line: #efe3dc;
  --ring: rgba(232, 93, 58, 0.22);
  --shadow: 0 30px 60px -20px rgba(80, 40, 20, 0.28), 0 12px 24px -12px rgba(80, 40, 20, 0.18);
  --radius: 20px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17120f;
    --bg-deep: #211915;
    --surface: #251d19;
    --text: #f6ede8;
    --muted: #b5a59e;
    --accent: #ff8a66;
    --accent-strong: #ff9b7c;
    --accent-soft: #3b2720;
    --violet: #a99cff;
    --violet-soft: #2a2540;
    --green: #6fd3a2;
    --green-soft: #1d3329;
    --line: #382d29;
    --ring: rgba(255, 138, 102, 0.25);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-weight: 700; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }

nav.site { display: flex; gap: 22px; align-items: center; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--text); }
nav.site .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }

@media (max-width: 640px) {
  nav.site { gap: 14px; }
  nav.site .hide-small { display: none; }
}

/* Buttons */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 14px;
  text-decoration: none;
  line-height: 1.2;
}
.badge svg { width: 22px; height: 22px; fill: currentColor; }
.badge small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; letter-spacing: 0.02em; }
.badge.soft { background: var(--accent-soft); color: var(--accent); border-radius: 999px; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 14px; font-size: 14px; color: var(--muted); }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 64px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.04;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 32em; margin: 0 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-bottom: 24px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 24px; }
  .hero .text { text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .actions, .hero .pills { justify-content: center; }
}

/* The cosmos: a phone in the middle, people circling around it */

.cosmos {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}
.cosmos::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
}
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border: 1.5px dashed var(--ring);
  border-radius: 50%;
  animation: spin var(--speed, 90s) linear infinite;
}
.orbit.reverse { animation-direction: reverse; }
.orb {
  position: absolute;
  left: calc(50% + 50% * cos(var(--a)));
  top: calc(50% + 50% * sin(var(--a)));
  width: 0;
  height: 0;
}
.orb > span {
  position: absolute;
  translate: -50% -50%;
  display: grid;
  justify-items: center;
  gap: 4px;
  animation: spin var(--speed, 90s) linear infinite reverse;
}
.orbit.reverse .orb > span { animation-direction: normal; }
.orb i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  background: var(--surface);
  border: 2px solid var(--surface);
  box-shadow: 0 8px 20px -8px rgba(80, 40, 20, 0.35);
}
.orb b {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 1px 9px;
  box-shadow: 0 4px 10px -6px rgba(80, 40, 20, 0.3);
}
.cosmos .phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

@media (max-width: 520px) {
  .orb i { width: 38px; height: 38px; font-size: 22px; }
  .orb b { display: none; }
  .cosmos .phone { width: 50%; }
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .orbit, .orb > span { animation: none; }
}

/* Phone frame around a screenshot */

.phone {
  background: #1b1716;
  padding: 2.4%;
  border-radius: 15% / 7%;
  box-shadow: var(--shadow);
}
.phone img { width: 100%; height: auto; border-radius: 13% / 6%; aspect-ratio: 1206 / 2622; object-fit: cover; }

/* Sections */

section { padding: 72px 0; }
section.tint { background: var(--bg-deep); }
section h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.kicker.violet { color: var(--violet); }
.kicker.green { color: var(--green); }
p.sub { color: var(--muted); font-size: 19px; max-width: 36em; margin: 0 0 24px; }
.center { text-align: center; }
.center p.sub { margin-left: auto; margin-right: auto; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature.flip .shots { order: -1; }
.feature ul.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature ul.checks li { padding-left: 30px; position: relative; }
.feature ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%23e85d3a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.shots { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 100%; }
.shots .phone { width: min(300px, 62%); }
.shots.pair .phone:first-child { transform: rotate(-4deg) translateX(14%); z-index: 1; }
.shots.pair .phone:last-child { transform: rotate(4deg) translate(-14%, 8%); }
.shots .phone.small { width: min(250px, 52%); }

.callout {
  position: absolute;
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: var(--shadow);
  max-width: 220px;
}
.callout strong { display: block; }
.callout span { color: var(--muted); }
.callout .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }

@media (max-width: 860px) {
  section { padding: 56px 0; }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .shots { order: 0; }
  .callout { display: none; }
}

/* Quick note demo */

.note-demo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.note-demo .label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.note-demo .mic {
  width: 34px; height: 34px; border-radius: 50%;
  background: #1e7bf2; display: grid; place-items: center;
}
.note-demo .mic svg { width: 16px; height: 16px; fill: #fff; }
.note-demo .mic.live { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(30, 123, 242, 0.18); } }
.note-demo .typed { font-size: 19px; line-height: 1.5; min-height: 6em; margin: 0 0 18px; }
.note-demo .typed::after { content: "▍"; color: var(--accent); animation: blink 1s steps(1) infinite; }
.note-demo.done .typed::after { content: ""; }
@keyframes blink { 50% { opacity: 0; } }
.note-demo .items { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.note-demo .items li {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg);
  border-radius: 14px;
  padding: 9px 12px;
  font-size: 15px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}
.note-demo .items li.show { opacity: 1; transform: none; }
.note-demo .items li .tag { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.tag.found { background: var(--green-soft); color: var(--green); }
.tag.new { background: var(--violet-soft); color: var(--violet); }
.note-demo .items li .what { flex: 1; }
.note-demo .items li .what span { color: var(--muted); }
.note-demo .items li .switch { width: 34px; height: 20px; border-radius: 999px; background: #34c759; position: relative; flex: none; }
.note-demo .items li .switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.note-demo .fine { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.note-demo .replay { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }

/* Feature overview */

.all {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.all .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.all h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.all h3 .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; font-size: 19px; }
.all ul { margin: 0; padding: 0 0 0 18px; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }

/* Privacy */

.band {
  background: var(--text);
  color: var(--bg);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.band h2 { color: var(--bg); }
.band p { opacity: 0.8; margin: 0 0 16px; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.band li { padding-left: 30px; position: relative; }
.band li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.band a { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

.glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0 0;
}
.glance div { background: var(--surface); padding: 16px 18px; }
.glance dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.glance dd { margin: 2px 0 0; font-weight: 600; }

/* FAQ */

.faq { max-width: 760px; margin: 28px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Closing */

.closing { text-align: center; padding: 80px 0 40px; }
.closing img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 20px; box-shadow: 0 14px 40px rgba(232, 93, 58, 0.3); }

footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 44px; color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer.site a { color: var(--muted); }

/* Legal text */
.doc { max-width: 760px; padding: 24px 20px 40px; margin: 0 auto; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 8px 0 6px; letter-spacing: -0.02em; }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .note {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0;
}
.todo { background: #fff3b0; color: #3a3000; padding: 0 4px; border-radius: 4px; }
