: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;
}
html, body { overflow-x: clip; }
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: 1fr 1fr;
  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; }


.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; }
.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; }
  .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, .glass { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- iPhone 15 Pro-proportioned device ---------- */
.device {
  --w: 300px;
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.012);
  border-radius: calc(var(--w) * 0.18);
  /* natural-titanium band */
  background:
    linear-gradient(90deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 6%, rgba(255,255,255,0) 94%, rgba(255,255,255,0.10)),
    linear-gradient(160deg, #8d877f 0%, #45413d 16%, #77726b 34%, #2f2d2a 52%, #6f6a63 74%, #3b3835 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 calc(var(--w) * 0.12) calc(var(--w) * 0.26) calc(var(--w) * -0.06) rgba(0, 0, 0, 0.75),
    0 calc(var(--w) * 0.04) calc(var(--w) * 0.08) rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.device .bezel { padding: calc(var(--w) * 0.03); border-radius: calc(var(--w) * 0.168); background: #040404; box-shadow: inset 0 0 0 1.5px #1c1c1c; }
.device .screen { position: relative; overflow: hidden; aspect-ratio: 1179 / 2556; border-radius: calc(var(--w) * 0.138); background: #0a0a0c; isolation: isolate; }
.device .screen > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.device .island {
  position: absolute; z-index: 5; left: 50%; transform: translateX(-50%);
  top: calc(var(--w) * 0.026); width: calc(var(--w) * 0.293); height: calc(var(--w) * 0.086);
  background: #000; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.device .home {
  position: absolute; z-index: 5; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--w) * 0.014); width: calc(var(--w) * 0.33); height: calc(var(--w) * 0.012);
  border-radius: 999px; background: rgba(255, 255, 255, 0.78);
}
.device .glare {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 30%, rgba(255,255,255,0) 46%);
}
.device .key { position: absolute; width: calc(var(--w) * 0.012); border-radius: 2px; background: linear-gradient(90deg, #2e2c29, #8a847c 50%, #3a3734); }
.device .k1 { left: calc(var(--w) * -0.008); top: 17%; height: 4.5%; }
.device .k2 { left: calc(var(--w) * -0.008); top: 25%; height: 8%; }
.device .k3 { left: calc(var(--w) * -0.008); top: 35%; height: 8%; }
.device .k4 { right: calc(var(--w) * -0.008); top: 28%; height: 12%; }

/* The hero clip was cropped from a full-screen capture; a real status bar on top and a
   home-indicator band below restore the full screen, so the app's own buttons stay
   clear of the rounded corners instead of being clipped. */
.device .screen.rec { display: flex; flex-direction: column; }
.device .screen.rec video { width: 100%; flex: 1; min-height: 0; object-fit: cover; display: block; }
.sb {
  flex: none; height: calc(var(--w) * 0.1145); background: #0a0a0c; color: #fff;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: calc(var(--w) * 0.048) calc(var(--w) * 0.085) 0 calc(var(--w) * 0.115);
  font: 600 calc(var(--w) * 0.044) / 1 var(--sans); letter-spacing: -0.01em;
}
.sb-icons { display: flex; gap: calc(var(--w) * 0.014); align-items: center; }
.sb-icons svg { height: calc(var(--w) * 0.034); width: auto; fill: currentColor; }
.sb-icons .batt { height: calc(var(--w) * 0.036); }
.sb-bottom { flex: none; height: calc(var(--w) * 0.0311); background: #0a0a0c; }

/* ---------- stage: light behind, floor shadow under ---------- */
.hero-stage, .shot-stage { position: relative; display: grid; place-items: center; justify-self: center; }
.stage-glow {
  position: absolute; z-index: 0; width: 170%; aspect-ratio: 1; left: 50%; top: 46%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(205, 177, 147, 0.26) 0%, rgba(168, 132, 102, 0.10) 32%, rgba(20, 20, 21, 0) 62%);
  pointer-events: none;
}
.stage-glow.small { width: 140%; opacity: 0.75; }
.hero-stage::after, .shot-stage::after {
  content: ""; position: absolute; z-index: 0; bottom: -4%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 7%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 70%); filter: blur(6px);
}
.device-hero { --w: min(330px, 72vw, calc((100svh - 175px) * 0.483)); }
.feature-shot .device { --w: min(286px, 64vw, calc((100svh - 210px) * 0.483)); }

/* ---------- frosted glass cards ---------- */
.float { position: absolute; z-index: 3; animation: drift 7s ease-in-out infinite; }
.glass {
  background: linear-gradient(180deg, rgba(52, 49, 46, 0.62), rgba(26, 25, 24, 0.66));
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 24px 50px -12px rgba(0, 0, 0, 0.7), 0 6px 14px rgba(0, 0, 0, 0.3);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.glass { text-align: left; }
.glass p { margin: 0; }
.glass-row { display: flex; align-items: center; gap: 13px; padding: 13px 18px 13px 13px; }
.fchip .glass-row { padding: 13px 18px; }
.glass-icon {
  width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #1a1612;
  background: linear-gradient(160deg, #e9dcc6, #c9a983);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 12px rgba(201, 169, 131, 0.25);
}
.glass-icon svg { width: 21px; height: 21px; }
.glass-label { font: 600 10.5px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); }
.glass .glass-value { font: 500 19px/1.25 var(--serif); color: var(--text); margin-top: 4px; white-space: nowrap; }
.glass-value i { font-style: normal; color: var(--accent-2); }
.glass-meal { width: 236px; padding: 16px 18px 14px; }
.meal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.meal-head .glass-label { white-space: nowrap; }
.pill { font: 600 10.5px/1 var(--sans); color: #9fd18a; background: rgba(134, 179, 107, 0.16); border: 1px solid rgba(134, 179, 107, 0.35); padding: 5px 8px; border-radius: 99px; }
.glass .glass-big { font: 500 46px/1 var(--serif); letter-spacing: -0.02em; color: var(--text); margin: 10px 0 12px; }
.glass-big small { font: 500 15px var(--sans); color: var(--dim); margin-left: 6px; letter-spacing: 0; }
.meal-rows { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.08); display: grid; gap: 7px; }
.meal-rows li { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); }
.meal-rows b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

.f1 { right: calc(100% - 30px); top: 13%; animation-delay: -1s; }
.f1 .glass, .f3 .glass { width: 214px; }
.f2 { left: calc(100% - 34px); top: 34%; animation-delay: -3.5s; }
.f3 { right: calc(100% - 22px); bottom: 15%; animation-delay: -5.5s; }
.f1 .glass { animation-delay: 0.35s; }
.f2 .glass { animation-delay: 0.55s; }
.f3 .glass { animation-delay: 0.75s; }
/* Chips start just inside the bezel and extend outward, whatever their width. */
.fchip { left: calc(100% - 36px); bottom: 14%; }
.feature.flip .fchip { left: auto; right: calc(100% - 36px); }

@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
@keyframes drift { 50% { transform: translateY(-8px); } }

/* fine film grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
  /* phones: only the meal card, tucked low over the bezel */
  .f1 { display: none; }
  .f2 { left: calc(100% - 158px); top: auto; bottom: 7%; }
  .f3 { display: none; }
  .glass-meal { width: 186px; padding: 13px 14px 11px; }
  .meal-head .glass-label { letter-spacing: 0.1em; }
  .glass .glass-big { font-size: 32px; margin: 8px 0 9px; }
  .meal-rows li { font-size: 12px; }
  .glass-row { padding: 10px 14px 10px 10px; gap: 10px; }
  .glass-icon { width: 34px; height: 34px; border-radius: 10px; }
  .glass .glass-value { font-size: 17px; }
  /* centered under the phone on small screens, so nothing hangs off the edge */
  .fchip, .feature.flip .fchip { left: 0; right: 0; margin-inline: auto; width: max-content; bottom: -4%; }
}
