:root {
  --bg: #141415;
  --bg-2: #1b1b1d;
  --card: #232325;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2ebe0;
  --dim: #a39c92;
  --accent: #a88466;
  --accent-2: #cdb193;
  --cream: #e5d9c4;
  --serif: "Newsreader", "New York", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto;
  height: 90vh;
  background: radial-gradient(ellipse at 70% 30%, rgba(168, 132, 102, 0.20), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
em { font-style: italic; color: var(--accent-2); font-weight: 400; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(20, 20, 21, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.2px; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--dim); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  color: #141415;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px rgba(229, 217, 196, 0.12);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(229, 217, 196, 0.2); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.apple { width: 17px; height: 20px; margin-top: -2px; }

.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 18px; }

.hero {
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding: clamp(20px, 4svh, 40px) clamp(20px, 5vw, 64px) clamp(28px, 5svh, 56px);
}
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(44px, min(4.9vw, 9.6svh), 76px); line-height: 1.0; }
h1 em, h1 span { white-space: nowrap; }
h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; }
.lede { font-size: clamp(16px, min(1.4vw, 2.7svh), 20px); color: var(--dim); max-width: 520px; margin: clamp(16px, 3.4svh, 26px) 0 clamp(20px, 4.4svh, 34px); }
.cta-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.meta { margin: 0; font-size: 14px; color: var(--dim); }
.stars { color: var(--accent-2); letter-spacing: 2px; }
.nb { white-space: nowrap; }

.hero-phone { position: relative; justify-self: center; }
.phone {
  width: min(320px, 70vw);
  aspect-ratio: 886 / 1780;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(160deg, #3a3a3d, #0e0e0f 45%, #222224);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: #000; }
/* Fit the phone to the window height so the whole hero rests in one screen. */
.hero-phone .phone { width: min(340px, 72vw, calc((100svh - 175px) * 0.4978)); transform: rotate(2deg); }
.float-chip {
  position: absolute;
  background: rgba(35, 35, 37, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--dim);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-chip b { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--text); margin-right: 4px; }
.chip-a { left: -70px; top: 22%; }
.chip-b { right: -60px; bottom: 18%; color: var(--text); animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  padding: 26px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 14px;
  color: var(--dim);
  letter-spacing: 0.04em;
}
.strip i { width: 4px; height: 4px; border-radius: 4px; background: var(--accent); }

.features { max-width: 1100px; margin: 0 auto; padding: 60px clamp(20px, 5vw, 64px) 40px; }
.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding: clamp(44px, 8svh, 70px) 0;
  min-height: min(100svh, 820px);
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-shot { order: 2; }
.feature-shot { display: flex; justify-content: center; }
/* Each feature row should rest inside one window, phone and copy together. */
.feature-shot .phone { width: min(300px, 70vw, calc((100svh - 190px) * 0.4978)); }
.feature-copy p:not(.kicker) { color: var(--dim); font-size: 18px; max-width: 470px; margin: 22px 0 0; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background: rgba(168, 132, 102, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23cdb193' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

.closer {
  text-align: center;
  padding: 110px 24px 120px;
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 132, 102, 0.16), transparent 65%);
  border-top: 1px solid var(--line);
}
.closer img { margin: 0 auto 28px; border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.closer p { color: var(--dim); font-size: 18px; margin: 18px 0 34px; }

.footer { border-top: 1px solid var(--line); padding: 34px clamp(20px, 5vw, 64px) 40px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 24px; font-size: 15px; }
.footer nav a { color: var(--dim); text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer .brand { font-size: 19px; }
.fine { color: #6f6a63; font-size: 13px; margin: 22px 0 0; max-width: 760px; }

/* Legal / support pages */
.doc { max-width: 720px; margin: 0 auto; padding: 70px 24px 90px; }
.doc h1 { font-size: clamp(40px, 5vw, 58px); margin-bottom: 10px; }
.doc h2 { font-size: 28px; margin: 40px 0 10px; }
.doc h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin: 28px 0 6px; }
.doc p, .doc li { color: #cfc8bd; font-size: 17px; }
.doc a { color: var(--accent-2); }
.doc .card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; margin-top: 26px; }
.doc .updated, .doc .muted { color: var(--dim); font-size: 15px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 30px; min-height: 0; gap: 56px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { align-items: center; }
  .chip-a { left: -14px; }
  .chip-b { right: -14px; }
  .feature, .feature.flip { grid-template-columns: 1fr; text-align: center; padding: 56px 0; gap: 40px; }
  .feature.flip .feature-shot { order: 0; }
  .feature-copy p:not(.kicker) { margin-left: auto; margin-right: auto; }
  .ticks { justify-content: center; }
  .nav-links a:not(.btn) { display: none; }
  .strip i { display: none; }
  .strip { gap: 10px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}
