/* Rondo site — the dark room behind the desk, ivory card-stock ink, the card's red rule as the one accent.
   Serif display type like the app's headers, a typewriter face for the index-card labels, Inter for the rest. */
:root {
  --bg: #0E0A08;
  --raise: #1A1411;
  --line: #241C17;
  --text: #F5EDDC;
  --soft: #D9CFBC;
  --muted: #9C9283;
  --dim: #6E665B;
  --accent: #C0463F;
  --paper: #F1ECDD;
  --ink: #2B2620;
  --serif: ui-serif, "New York", "Source Serif 4", Georgia, serif;
  --type: "Courier Prime", "American Typewriter", "Courier New", monospace;
  --font: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --prose: 680px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--soft); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 10, 8, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -0.3px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav .pill {
  color: var(--bg); background: var(--text); height: 38px; padding: 0 16px; border-radius: 19px;
  display: inline-flex; align-items: center; font-weight: 600;
}
.nav .pill:hover { color: var(--bg); background: var(--soft); }
@media (max-width: 560px) { .nav .hide-sm { display: none; } .nav { gap: 20px; } }
@media (max-width: 400px) { .brand { font-size: 21px; gap: 8px; } .brand img { width: 28px; height: 28px; } .nav { gap: 16px; } .nav .pill { padding: 0 14px; } }

/* ---------- hero ---------- */
.hero { padding-block: 80px 0; text-align: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero .icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 18px 60px rgba(192, 70, 63, 0.14); }
.hero h1 { font-family: var(--serif); font-size: clamp(48px, 8.5vw, 92px); font-weight: 600; letter-spacing: -0.03em; line-height: 0.98; }
.hero .lede { max-width: 28ch; font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); }
.soon { margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 24px; border: 1px solid #33291F; font-size: 15px; font-weight: 600; color: var(--soft); }
.soon i { width: 8px; height: 8px; border-radius: 4px; background: var(--accent); }

/* ---------- screenshot gallery ---------- */
.gallery { margin-top: 64px; padding-bottom: 8px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 auto; width: min(280px, 68vw); height: auto; aspect-ratio: 660 / 1434; border-radius: 28px; border: 1px solid var(--line); scroll-snap-align: center; background: var(--raise); }

/* ---------- how it works: typed on an index card ---------- */
.values { padding-block: 120px; }
.values h2 { font-family: var(--serif); font-size: clamp(36px, 4.8vw, 56px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; max-width: 16ch; }
.card {
  margin-top: 56px; max-width: 760px; padding: 30px 0 18px; border-radius: 10px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.card .title { font-family: var(--type); font-size: 17px; letter-spacing: 2px; text-transform: uppercase; color: #A8352F; padding: 0 32px 16px; border-bottom: 1.5px solid rgba(192, 70, 63, 0.7); }
.card .row { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 16px 32px 12px; border-bottom: 1px solid rgba(70, 110, 170, 0.28); }
.card .row b { font-family: var(--type); font-weight: 400; font-size: 14px; color: rgba(43, 38, 32, 0.5); }
.card .row span { font-family: var(--type); font-size: 19px; line-height: 1.45; }
@media (max-width: 560px) { .card .row { grid-template-columns: minmax(0, 1fr); gap: 0; } .card .row span { font-size: 17px; } }

/* ---------- privacy band ---------- */
.band { padding-block: 0 140px; text-align: center; }
.band .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.band svg { width: 32px; height: 32px; color: var(--accent); }
.band h2 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 52px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; max-width: 18ch; }
.band p { color: var(--muted); font-size: 18px; max-width: 40ch; }
.band a { font-size: 16px; font-weight: 600; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 56px 48px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { color: var(--muted); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.foot ul a:hover { color: var(--text); }
.foot .about { display: flex; flex-direction: column; gap: 12px; }
.foot .about p { font-size: 15px; color: var(--dim); max-width: 30ch; }
.foot .legal { margin-top: 48px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--dim); }
@media (max-width: 640px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .about { grid-column: 1 / -1; } }

/* ---------- document pages (privacy, terms, support) ---------- */
.doc { padding-block: 72px 120px; }
.doc .wrap { max-width: calc(var(--prose) + 48px); }
.doc header { display: flex; flex-direction: column; gap: 14px; padding-bottom: 36px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.doc h1 { font-family: var(--serif); font-size: clamp(42px, 6vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.doc .updated { font-size: 15px; color: var(--dim); }
.doc .summary { font-size: 20px; color: var(--soft); line-height: 1.5; }
.doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; margin: 44px 0 12px; }
.doc p, .doc li { font-size: 17px; color: var(--muted); line-height: 1.65; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 20px; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.doc ul + p { margin-top: 14px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--text); text-underline-offset: 3px; }
.doc .callout { margin-top: 28px; padding: 22px 24px; border-radius: 20px; background: var(--raise); border-left: 3px solid var(--accent); }
.doc .callout p { color: var(--soft); }

/* support FAQ */
.faq { margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; transition: transform 0.2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; }
.contact { margin-top: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact h2 { margin: 0; }
.contact .mail { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; overflow-wrap: anywhere; }
.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 26px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; }
.doc a.btn { color: var(--bg); }
.btn:hover { background: var(--soft); }

/* 404 */
.lost { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.lost .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lost h1 { font-family: var(--serif); font-size: clamp(64px, 12vw, 120px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.lost p { color: var(--muted); }
