/* Revidi site: orange and white, bubbly headings, phone screenshots beside short copy. */
:root {
  --orange: #f36f21;
  --orange-deep: #c9520f;
  --peach: #ffe3cf;
  --cream: #fff7f0;
  --surface: #ffffff;
  --ink: #2a1a10;
  --muted: #7a6558;
  --line: #f3dccb;
  --teal: #12a594;
  --display: "Fredoka", "Avenir Next Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito Sans", "Avenir Next", system-ui, -apple-system, sans-serif;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --orange: #ff8a45; --orange-deep: #ffb07f; --peach: #3d2416; --cream: #1a120d;
    --surface: #241912; --ink: #fbeee4; --muted: #c4ab9a; --line: #3a2a1f; --teal: #3fd0bd;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: var(--orange-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4.4vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 24px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav-links a:hover { color: var(--orange-deep); }
@media (max-width: 640px) { .nav-links { display: none; } .nav .wrap { justify-content: space-between; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 16px; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); color: #fff; }
.btn-soft { background: var(--peach); color: var(--orange-deep); }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--peach); color: var(--orange-deep); font-weight: 800; font-size: 14px; }

/* Hero */
.hero { padding-block: 56px 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy .lede { font-size: 20px; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero h1 .hi { color: var(--orange); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-shot { max-width: 340px; margin: 0 auto; } }

/* Phone frame around screenshots */
.phone { border-radius: 44px; padding: 10px; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(120, 50, 10, .35); max-width: 320px; margin: 0 auto; }
.phone img { border-radius: 36px; width: 100%; height: auto; }
.hero-shot { position: relative; }
.hero-shot .sticker { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; font-weight: 800; font-size: 14px; box-shadow: 0 10px 24px -12px rgba(120,50,10,.35); }
.hero-shot .s1 { top: 14%; left: -6%; }
.hero-shot .s2 { bottom: 18%; right: -4%; }
@media (max-width: 500px) { .hero-shot .s1 { left: 0; } .hero-shot .s2 { right: 0; } }

/* Feature rows */
section { padding-block: 64px; }
.section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 28px; }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 16px; min-width: 0; }
.feature-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-copy li { display: flex; gap: 10px; align-items: baseline; }
.feature-copy li span { flex: none; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-copy { order: 0; } }

/* Small things grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.card .emoji { font-size: 30px; line-height: 1; }

/* Privacy band */
.band { background: var(--orange); color: #fff; border-radius: 32px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.band h2 { color: #fff; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-weight: 700; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.plan.featured { border: 2px solid var(--orange); }
.price { font-family: var(--display); font-size: 40px; font-weight: 600; }
.price small { font-size: 16px; color: var(--muted); font-family: var(--body); font-weight: 700; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li::before { content: "✓ "; color: var(--teal); font-weight: 900; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 760px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 36px 48px; margin-top: 32px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--orange-deep); }

/* Legal and support pages */
.doc { max-width: 720px; padding-block: 48px 24px; display: grid; gap: 18px; }
.doc h2 { font-size: 24px; margin-top: 14px; }
.doc ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* About journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.journey li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.step { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-content: center; font-family: var(--display); font-weight: 700; }
.goal { font-family: var(--display); font-size: clamp(24px, 3.4vw, 32px); font-weight: 600; color: var(--orange-deep); margin-top: 28px; text-wrap: balance; }

/* Checkmark lists instead of emoji */
.ticks li { position: relative; padding-left: 28px; display: block; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--peach); box-shadow: inset 0 0 0 5px var(--orange); }

/* Money meets style */
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 36px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--peach); color: var(--orange-deep); font-size: 12px; font-weight: 800; }
.wide-shot { max-width: 300px; }

.credits { margin-top: 18px; }
.credits p { font-size: 13px; }

section[id] { scroll-margin-top: 72px; }

/* Demo video */
.demo-wrap { display: grid; justify-items: center; text-align: center; }
.demo-wrap .section-head { justify-items: center; }
.demo-video { width: min(360px, 100%); aspect-ratio: 9 / 16; height: auto; border-radius: 28px; background: var(--orange); box-shadow: 0 30px 60px -20px rgba(120, 50, 10, .35); }
@media (prefers-reduced-motion: reduce) { .demo-video { animation: none; } }

.learn-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 640px; }
.device-shot { border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(120, 50, 10, .35); width: 100%; height: auto; }

.widget-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; align-items: center; max-width: 820px; }
.widget-grid img { width: 100%; height: auto; border-radius: 28px; }
@media (max-width: 560px) { .widget-grid { grid-template-columns: 1fr 1fr; } .widget-grid img:nth-child(odd) { grid-column: span 2; } }

/* Beta signup */
.beta .ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.beta-form { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 800; }
.field input[type=text], .field input[type=email] { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); }
.field input:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--peach); color: var(--orange-deep); font-weight: 700; cursor: pointer; }
.agreement { background: var(--cream); }
.agreement ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.form-error { color: #c0392b; font-weight: 700; margin: 0; }
.beta-form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.beta-done { background: var(--peach); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; }
