:root {
  --bg: #f6f1e8;
  --surface: #fffaf2;
  --ink: #1c1712;
  --muted: #6b5f52;
  --line: #e3d8c7;
  --accent: #b5651d;
  --accent-ink: #ffffff;
  --radius: 14px;
  --max: 980px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14110e;
    --surface: #1d1915;
    --ink: #f3ece2;
    --muted: #a99a88;
    --line: #2f2922;
    --accent: #e08a3c;
    --accent-ink: #14110e;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, sans-serif;
}
a { color: var(--accent); }
img, svg { display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }

/* Hero */
.hero { padding: 88px 0 72px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 18px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); max-width: 14ch; letter-spacing: -.01em; }
.hero p { font-size: 19px; color: var(--muted); max-width: 52ch; margin: 22px 0 0; }

/* Apps */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section > .wrap > h2 { font-size: 30px; margin-bottom: 8px; }
.sub { color: var(--muted); margin: 0 0 32px; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.app { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.app .icon { width: 52px; height: 52px; border-radius: 12px; margin-bottom: 16px; display: grid; place-items: center; font-family: "Fraunces", Georgia, serif; font-size: 24px; font-weight: 600; color: #fff; }
.app h3 { font-size: 21px; margin-bottom: 6px; }
.app p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; }

/* Text pages */
.page { padding: 64px 0 80px; }
.page .wrap { max-width: 720px; }
.page h1 { font-size: clamp(34px, 6vw, 48px); margin-bottom: 8px; }
.page h2 { font-size: 23px; margin: 40px 0 10px; }
.page .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.page li { margin-bottom: 6px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 24px 0; }
.card p { margin: 0; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 10px; margin-top: 14px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  .nav { gap: 14px; font-size: 14px; }
  .brand span { display: none; }
  .hero { padding: 56px 0 48px; }
}

/* App page */
.app-hero { padding: 72px 0 56px; }
.app-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.app-id img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 4px 14px rgb(0 0 0 / .14); }
.app-id span { font-weight: 700; font-size: 18px; }
.app-hero h1 { font-size: clamp(38px, 6vw, 58px); max-width: 13ch; }
.app-hero p.lede { font-size: 19px; color: var(--muted); max-width: 44ch; margin: 20px 0 26px; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.soon svg { width: 18px; height: 18px; fill: currentColor; }
.phone { width: 100%; max-width: 290px; margin: 0 auto; border-radius: 44px; padding: 10px; background: #111; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .35), inset 0 0 0 2px #2a2a2a; }
.phone img { width: 100%; height: auto; border-radius: 34px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.shots figure { margin: 0; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 14px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ic { font-size: 24px; margin-bottom: 10px; }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.app .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; text-decoration: none; }
.tf { --accent: #e0661f; }
@media (prefers-color-scheme: dark) { .tf { --accent: #f08a45; } }
@media (max-width: 760px) {
  .app-hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .shots { grid-template-columns: 1fr; max-width: 290px; margin: 0 auto; }
}
