/* OneFeast — marketing site. Brand tokens mirror the iOS app (Theme.swift). */
:root {
  --bg: #0b0d10;
  --bg-elev: #14181d;
  --bg-elev2: #1c2128;
  --border: #262d36;
  --text: #e8edf3;
  --text-dim: #97a3b3;
  --text-muted: #5d6878;
  --accent: #ff7a3d;
  --accent-2: #ff9d3d;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --maxw: 1080px;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- ambient glow ----- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(620px 420px at 78% -8%, rgba(255, 122, 61, 0.16), transparent 60%),
    radial-gradient(560px 380px at 8% 0%, rgba(255, 157, 61, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

/* ----- nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(11, 13, 16, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #1a0d06; }
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #1a0d06;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.15s ease;
  box-shadow: 0 8px 24px rgba(255, 122, 61, 0.28);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255, 122, 61, 0.38); }
.btn.secondary {
  background: var(--bg-elev2);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn.secondary:hover { background: #232a33; box-shadow: none; }

/* ----- hero ----- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 88px 0 72px;
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 56px 0 48px; text-align: center; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 122, 61, 0.12);
  border: 1px solid rgba(255, 122, 61, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 20px 0 18px;
  font-weight: 800;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent-2), var(--accent) 60%, var(--warning));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 0 30px;
}
@media (max-width: 880px) { .hero p.lead { margin-left: auto; margin-right: auto; } }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 880px) { .hero-cta { justify-content: center; } }
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ----- phone mockup ----- */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 290px;
  height: 600px;
  border-radius: 46px;
  background: linear-gradient(160deg, #20262e, #0c0f13);
  padding: 12px;
  box-shadow: var(--shadow), 0 0 0 1px var(--border);
}
.phone::after {
  content: "";
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px;
  background: #06080a;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: radial-gradient(140% 90% at 50% -10%, #1a1f26, var(--bg) 60%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 54px 22px 22px;
}
.screen .app-name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.ring {
  position: relative;
  width: 184px; height: 184px;
  margin: 30px 0 8px;
  border-radius: 50%;
  background:
    conic-gradient(var(--accent) 0 64%, var(--bg-elev2) 64% 100%);
  display: grid;
  place-items: center;
}
.ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--bg);
}
.ring-inner { position: relative; text-align: center; }
.ring-inner .t { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.ring-inner .s { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.stage-pill {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 122, 61, 0.12);
  border: 1px solid rgba(255, 122, 61, 0.28);
  padding: 7px 14px;
  border-radius: 999px;
}
.mini-stages { width: 100%; margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.mini-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-dim);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 11px;
}
.mini-row .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mini-row.active { color: var(--text); border-color: rgba(255, 122, 61, 0.4); }

/* real screenshot inside the phone frame */
.phone.shot { padding: 10px; }
.phone.shot::after { display: none; }
.screen.shot { padding: 0; background: #000; }
.screen.shot img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 36px; }

/* screenshots gallery */
.shots {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shot-card {
  margin: 0;
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-align: center;
}
.phone.shot.sm { width: 205px; height: 424px; border-radius: 34px; }
.phone.shot.sm .screen.shot { border-radius: 27px; }
.phone.shot.sm .screen.shot img { border-radius: 27px; }
.shot-card figcaption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}
@media (min-width: 940px) {
  .shots { justify-content: center; flex-wrap: nowrap; gap: 20px; overflow-x: visible; }
}

/* ----- sections ----- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 800;
}
.section-head p { color: var(--text-dim); font-size: 18px; margin: 0; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}

/* ----- feature grid ----- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(255, 122, 61, 0.35); transform: translateY(-3px); }
.card .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 22px;
  border-radius: 12px;
  background: rgba(255, 122, 61, 0.12);
  border: 1px solid rgba(255, 122, 61, 0.25);
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* ----- stages timeline ----- */
.stages { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.stage {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 18px 20px;
}
.stage .when { font-weight: 700; color: var(--accent); font-size: 15px; padding-top: 2px; }
.stage h4 { margin: 0 0 4px; font-size: 17px; }
.stage p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
@media (max-width: 560px) {
  .stage { grid-template-columns: 1fr; gap: 6px; }
}

/* ----- privacy band ----- */
.band {
  background: linear-gradient(160deg, var(--bg-elev), var(--bg-elev2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
}
.band h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 14px; letter-spacing: -0.02em; }
.band p { color: var(--text-dim); font-size: 18px; max-width: 620px; margin: 0 auto 8px; }
.band .pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.band .pill {
  font-size: 14px; font-weight: 600; color: var(--text);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 9px 16px; border-radius: 999px;
}

/* ----- FAQ ----- */
.faq { max-width: 760px; margin: 0 auto; }
details {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 20px;
  margin-bottom: 12px;
}
details[open] { border-color: rgba(255, 122, 61, 0.3); }
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 16.5px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--text-dim); font-size: 15px; }

/* ----- final CTA ----- */
.cta-final { text-align: center; }
.cta-final .btn { font-size: 17px; padding: 14px 28px; }

/* ----- footer ----- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 32px;
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.foot-brand img { width: 26px; height: 26px; border-radius: 7px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--text-dim); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.foot-copy { color: var(--text-muted); font-size: 13px; width: 100%; }
.disclaimer { color: var(--text-muted); font-size: 12.5px; max-width: 620px; }

/* ----- legal pages ----- */
.legal { padding: 64px 0 32px; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-dim); font-size: 16px; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .lead { color: var(--text); font-size: 18px; }
.callout {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
}
.callout p { margin: 0; color: var(--text); }
