:root {
  --bg: #FAF7F1;
  --panel: #F3EEE1;
  --ink: #2B2318;
  --ink-muted: #786E5E;
  --ink-faint: #968C7B;
  --hairline: #E8E0D2;
  --accent: #A85A6B;
  --accent-fg: #FFF9F3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1B19;
    --panel: #242220;
    --ink: #F3EEE4;
    --ink-muted: #A7A29B;
    --ink-faint: #726E68;
    --hairline: #312F2B;
    --accent: #D99CAA;
    --accent-fg: #FFF9F3;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: -apple-system, "Public Sans", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: "New York", "Source Serif 4", Georgia, "Times New Roman", serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

header.site {
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 22px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.wordmark:hover { text-decoration: none; }
nav.site a {
  color: var(--ink-muted);
  font-size: 14px;
  margin-left: 22px;
}

main { padding: 72px 0 96px; }

.wrap-wide {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero { padding: 40px 0 56px; }
.hero-row {
  display: flex;
  align-items: center;
  gap: 56px;
}
.hero-text { flex: 1 1 0; min-width: 0; }
.hero-media { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }

.hero h1 {
  font-size: 40px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--ink);
}
.hero p.sub {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 420px;
  margin: 0 0 32px;
}

@media (max-width: 760px) {
  .hero-row { flex-direction: column; gap: 8px; text-align: center; }
  .hero h1 { margin-top: 0; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .hero-media { margin: 24px 0 32px; }
}

.pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: 9px 18px;
}

.phone-frame {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1320 / 2868;
  margin: 0 auto;
  background: linear-gradient(155deg, #3a3a3d, #18181a 40%);
  border-radius: 54px;
  padding: 14px;
  box-shadow:
    0 40px 70px -30px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  position: relative;
}
.phone-frame::before {
  /* Side button nubs — mute switch + volume up/down on the left */
  content: "";
  position: absolute;
  left: -2px;
  top: 18%;
  width: 3px;
  height: 7%;
  background: #222;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 22% 0 0 #222, 0 44% 0 0 #222;
}
.phone-frame::after {
  /* Power button on the right */
  content: "";
  position: absolute;
  right: -2px;
  top: 24%;
  width: 3px;
  height: 10%;
  background: #222;
  border-radius: 0 2px 2px 0;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #000;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.faq-card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 6px 22px;
}
.faq-card details {
  border-bottom: 1px solid var(--hairline);
}
.faq-card details:last-child {
  border-bottom: none;
}

.android-inline { margin-top: 16px; }
.android-toggle {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.android-toggle:hover { color: var(--ink-muted); text-decoration-color: var(--hairline); }

form.waitlist {
  display: flex;
  gap: 8px;
  max-width: 320px;
}
form.waitlist[hidden] { display: none; }
form.waitlist input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 9px;
  padding: 9px 12px;
}
form.waitlist button {
  flex: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-fg);
  background: var(--accent);
  border: none;
  border-radius: 9px;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
}
form.waitlist button:hover { opacity: 0.92; }
form.waitlist button:disabled { opacity: 0.6; cursor: default; }

.android-inline .form-error {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--accent);
}
.android-inline .form-ok {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

@media (max-width: 760px) {
  form.waitlist { margin: 0 auto; }
}


section.faq { padding-top: 64px; border-top: 1px solid var(--hairline); }
section.faq h2 {
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 24px;
}
details {
  border-bottom: 1px solid var(--hairline);
  padding: 16px 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: "+";
  display: inline-block;
  width: 16px;
  color: var(--accent);
  font-weight: 700;
}
details[open] summary::before { content: "\2212"; }
details p {
  margin: 10px 0 0 16px;
  color: var(--ink-muted);
  font-size: 14.5px;
}

article.legal h1 {
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 6px;
}
article.legal .updated {
  color: var(--ink-faint);
  font-size: 13px;
  margin-bottom: 36px;
}
article.legal h2 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 10px;
}
article.legal p {
  color: var(--ink-muted);
  font-size: 15.5px;
  margin: 0 0 8px;
}
article.legal p.intro {
  color: var(--ink);
  font-size: 16.5px;
}

form.support {
  margin-top: 32px;
}
form.support label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
form.support input,
form.support textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
form.support textarea { min-height: 140px; resize: vertical; }
form.support button {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-fg);
  background: var(--accent);
  border: none;
  border-radius: 12px;
  padding: 13px 24px;
  cursor: pointer;
}
form.support button:hover { opacity: 0.92; }
form.support button:disabled { opacity: 0.6; cursor: default; }

.form-error {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--accent);
}

.form-thanks {
  margin-top: 32px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  text-align: center;
}
.form-thanks h2 {
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
}
.form-thanks p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15.5px;
}

footer.site {
  border-top: 1px solid var(--hairline);
  padding: 28px 0 40px;
}
footer.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-faint);
}
footer.site nav a { color: var(--ink-faint); margin-left: 18px; }

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  footer.site .wrap { flex-direction: column; gap: 12px; text-align: center; }
  footer.site nav a:first-child { margin-left: 0; }
}
