/* Presto site: the app's own palette (cream, burnt orange, teal), light and dark. */
:root {
  --bg: #f6f2ec;
  --surface: #ffffff;
  --ink: #1d1a16;
  --muted: #6d665c;
  --line: #e6dfd4;
  --accent: #d4500f;
  --accent-soft: #fbe3d6;
  --teal: #12766c;
  --shadow: 0 18px 40px rgba(60, 40, 20, .16), 0 2px 6px rgba(60, 40, 20, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1916;
    --surface: #262320;
    --ink: #efe9e0;
    --muted: #a59d91;
    --line: #36322d;
    --accent: #f08a3e;
    --accent-soft: #3c2a1d;
    --teal: #2fd3c0;
    --shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px; margin: 0 auto; padding: 14px 20px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 20px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--ink); }

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

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  padding: 56px 0 72px;
}
.hero-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 24px; }
.hero h1 { font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.03em; margin: 0; }
.category { font-size: 1.35rem; color: var(--accent); font-weight: 600; margin: 10px 0 18px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 24px; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .92rem; color: var(--muted); margin: 0;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }

.hero-shots { position: relative; height: 620px; }
.hero-shots .phone { position: absolute; width: 280px; margin: 0; }
.hero-shots .back { left: 4%; top: 40px; transform: rotate(-6deg); opacity: .96; }
.hero-shots .front { right: 4%; top: 0; transform: rotate(4deg); }

/* Phone and watch frames */
.phone {
  margin: 0;
  border-radius: 38px;
  padding: 9px;
  background: #121110;
  box-shadow: var(--shadow);
}
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 640 / 1312; object-fit: cover; object-position: top; }
.watch {
  margin: 0; width: 230px;
  border-radius: 56px; padding: 14px;
  background: #121110; box-shadow: var(--shadow);
}
.watch img { border-radius: 42px; }

/* Features */
.features { display: grid; gap: 24px; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: 48px;
  overflow: hidden;
}
.feature.flip .feature-text { order: 2; }
.feature:not(:has(.feature-shots)) { grid-template-columns: 1fr; }
.feature h2 { font-size: 1.9rem; letter-spacing: -.02em; margin: 0 0 12px; }
.feature p { margin: 0 0 14px; }
.feature ul { margin: 0 0 14px; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 22px; margin: 6px 0; }
.feature li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.aside { font-size: .95rem; color: var(--muted); }
.feature-shots { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.feature-shots .phone { width: 220px; flex: 0 1 220px; }
.feature-shots .phone:nth-child(2) { margin-top: 48px; }

/* Specification */
.spec { padding: 72px 0 32px; }
.spec h2 { font-size: 1.9rem; letter-spacing: -.02em; margin: 0 0 20px; }
.spec dl {
  display: grid; grid-template-columns: 200px 1fr; margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
.spec dt, .spec dd { padding: 14px 22px; border-top: 1px solid var(--line); margin: 0; }
.spec dt { color: var(--muted); font-weight: 600; font-size: .95rem; }
.spec dt:first-of-type, .spec dt:first-of-type + dd { border-top: 0; }

.foot {
  max-width: 1120px; margin: 0 auto; padding: 32px 20px 48px;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  color: var(--muted); font-size: .92rem;
}
.foot a { color: var(--muted); }

/* Text pages (privacy) */
.page { max-width: 720px; margin: 0 auto; padding: 32px 20px 48px; }
.page h1 { font-size: 2.2rem; letter-spacing: -.02em; margin: 0 0 6px; }
.page h2 { font-size: 1.2rem; margin: 32px 0 6px; }
.page .meta { color: var(--muted); margin: 0 0 24px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 32px 0 48px; gap: 24px; }
  .hero-shots { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-shots .phone { width: 230px; }
  .feature, .feature.flip { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .feature.flip .feature-text { order: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  main { padding: 0 16px; }
  .top { padding: 12px 16px; }
  .top nav { gap: 14px; }
  .top nav a[href="#specification"] { display: none; }
  .hero-shots { height: 420px; }
  .hero-shots .phone { width: 180px; border-radius: 28px; padding: 6px; }
  .hero-shots .phone img { border-radius: 23px; }
  .hero-shots .back { left: 0; }
  .hero-shots .front { right: 0; }
  .feature { padding: 28px 18px; border-radius: 22px; }
  .feature-shots { gap: 12px; }
  .feature-shots .phone { width: 160px; flex-basis: 160px; border-radius: 26px; padding: 6px; }
  .feature-shots .phone img { border-radius: 21px; }
  .feature-shots .phone:nth-child(2) { margin-top: 32px; }
  .spec dl { grid-template-columns: 1fr; }
  .spec dd { border-top: 0; padding-top: 0; }
  .foot { padding: 24px 16px 40px; }
}
