/* Orbit's website: the app's own look. Warm paper by day, charcoal by night
   (follows the visitor's phone/computer), one amber accent, Fraunces titles. */
:root {
  --bg: #F6F3EE;
  --surface: #FFFFFF;
  --raised: #EFEAE2;
  --line: #E3DDD3;
  --text: #1D1A17;
  --muted: #625C55;
  --faint: #857E76;
  --accent: #B8621B;
  --accent-soft: rgba(214, 125, 46, 0.12);
  --on-accent: #FFFFFF;
  --shadow: 0 18px 50px rgba(60, 40, 20, 0.12);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --surface: #1A1A1E;
    --raised: #232328;
    --line: #2C2C32;
    --text: #F4F1EC;
    --muted: #A6A098;
    --faint: #7C766F;
    --accent: #F5A15B;
    --accent-soft: rgba(245, 161, 91, 0.13);
    --on-accent: #1A1208;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--display); font-weight: 600; font-size: 22px; }
.brand img { width: 34px; height: 34px; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.1; }
h3 { font-size: 1.3rem; line-height: 1.25; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 34rem; }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin: 0 0 28px; }
.small { font-size: 14px; color: var(--faint); margin-top: 12px; }

/* Before launch: a calm "coming soon" line (becomes an App Store button at launch). */
.soon { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 12px 18px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 16px; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Waitlist (not used for now) */
.join { display: flex; gap: 10px; flex-wrap: wrap; max-width: 30rem; }
.join input {
  flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.btn {
  font: inherit; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--on-accent); border-radius: 14px; padding: 14px 22px; display: inline-flex; align-items: center; gap: 8px;
}
.btn:hover { filter: brightness(1.05); }
.btn.secondary { background: var(--raised); color: var(--text); }
.join-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; min-height: 1.4em; }

/* Phone screenshots */
.phone {
  border-radius: 38px; overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 300px; margin: 0 auto;
}
.hero .phone { transform: rotate(2deg); }
.hero-art { position: relative; }
.hero-art .mark { position: absolute; width: 120px; left: -10px; top: -30px; opacity: 0.9; pointer-events: none; }

/* Sections */
section { padding: 72px 0; }
section.tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 40px; }
.section-head .lead { margin-top: 14px; }

/* Features */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.show:last-child { margin-bottom: 0; }
.show.flip .show-text { order: 2; }
.show .phone { max-width: 290px; }
.show h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.show p { color: var(--muted); margin: 0 0 10px; font-size: 18px; }
.quote { font-family: var(--display); font-size: 1.15rem; color: var(--text) !important; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 20px; }
.tint .card { background: var(--bg); }
.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.also { margin-top: 26px; color: var(--muted); font-size: 16px; }

/* Who it's for */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.who ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.who li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 17px; }
.who li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 10px; }

/* Privacy */
.private { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.private .card strong { display: block; font-size: 16px; margin-bottom: 4px; color: var(--text); }

/* Price */
.price { text-align: center; }
.price .amount { font-size: 1.3rem; font-weight: 600; color: var(--text) !important; margin: 14px 0 6px; }
.price p { color: var(--muted); }
.price .join { margin: 26px auto 0; justify-content: center; }
.price .join-note { text-align: center; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; 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-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
footer { padding: 48px 0 60px; color: var(--faint); font-size: 15px; border-top: 1px solid var(--line); margin-top: 40px; }
footer .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--text); }

/* Simple pages (support, terms) */
.page { padding: 20px 0 40px; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin: 10px 0 12px; }
.page h2 { font-size: 1.35rem; margin: 30px 0 8px; }
.page p, .page li { color: var(--muted); }
.page strong { color: var(--text); }
.page .note { background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; color: var(--text); }
.page .mail { font-weight: 600; font-size: 1.1rem; }

/* Phone-sized screens */
@media (max-width: 820px) {
  .hero, .show, .who { grid-template-columns: 1fr; gap: 36px; }
  .show.flip .show-text { order: 0; }
  .hero { padding-top: 16px; }
  .hero .phone { max-width: 270px; }
  .show .phone { max-width: 250px; }
  .grid3, .private { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
  .top nav .hide-sm { display: none; }
  section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
