/* Grow with MyQuests.Life website. Colors match the app's theme (LiveBudget.App, BrandPrimary etc.). */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1B7A4B;
  --brand-hover: #15653D;
  --brand-soft: #E4F2E8;
  --on-brand: #FFFFFF;
  --bg: #F5F7F3;
  --surface: #FFFFFF;
  --muted-surface: #E8EDE7;
  --border: #E3E8E2;
  --text: #16201A;
  --text-2: #56635A;
  --text-3: #66736A;
  --accent: #F2B866;
  --shadow: 0 1px 2px rgb(22 32 26 / 6%), 0 12px 32px -12px rgb(22 32 26 / 18%);
  --radius: 20px;
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #4CC38A;
    --brand-hover: #5FD39A;
    --brand-soft: #1E3328;
    --on-brand: #0F1411;
    --bg: #0F1411;
    --surface: #18201B;
    --muted-surface: #2A342D;
    --border: #2A342D;
    --text: #EEF3EF;
    --text-2: #A9B6AD;
    --text-3: #8E9B92;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 16px 40px -16px rgb(0 0 0 / 60%);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand b { display: block; font-size: 1.1rem; line-height: 1.1; }
.brand small { display: block; font-size: .75rem; color: var(--text-3); line-height: 1.2; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--muted-surface); }
.nav .btn { margin-left: 6px; }
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--text-3); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: .95rem; color: var(--on-brand); }
.nav .btn:hover { color: var(--on-brand); background: var(--brand-hover); }
.btn[aria-disabled="true"] { background: var(--muted-surface); color: var(--text-3); box-shadow: none; pointer-events: none; }

/* Hero */
.hero { padding: 56px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-soft); color: var(--brand);
  font-weight: 650; font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 .hl { color: var(--brand); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); color: var(--text-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-2); font-size: .95rem; font-weight: 550; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks svg { color: var(--brand); flex: none; }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% -10% 4% -10%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 28%, transparent), transparent 75%);
  filter: blur(10px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: min(330px, 78vw); aspect-ratio: 390 / 844;
  border-radius: 44px; padding: 10px;
  background: #0d120f;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 6%) inset, 0 40px 80px -30px rgb(10 30 20 / 55%);
}
.phone img, .phone picture { width: 100%; height: 100%; border-radius: 34px; object-fit: cover; object-position: top; overflow: hidden; }
.phone.tilt { transform: rotate(-3deg); }
.float-card {
  position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.35;
}
.float-card b { display: block; font-size: 1rem; }
.float-card small { color: var(--text-3); }
.float-card.one { left: 0; top: 18%; }
.float-card.two { right: 0; bottom: 14%; }
.float-card .amt { color: var(--brand); font-weight: 750; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 32px; }
  .float-card.one { left: 2%; }
  .float-card.two { right: 2%; }
}
@media (max-width: 480px) {
  .float-card { display: none; }
}

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head p { color: var(--text-2); font-size: 1.1rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Trust strip */
.strip { padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.strip li span.i { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
@media (max-width: 820px) { .strip ul { grid-template-columns: 1fr 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand); color: var(--on-brand); font-weight: 750; margin-bottom: 16px;
}
.step p { color: var(--text-2); margin: 0; }
.split-demo { margin-top: 24px; display: grid; gap: 8px; }
.split-demo div { display: flex; justify-content: space-between; font-size: .92rem; padding: 8px 12px; border-radius: 10px; background: var(--bg); }
.split-demo div b { font-weight: 650; }
.split-demo .fun { background: var(--brand-soft); color: var(--brand); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature.flip .feature-art { order: -1; }
.feature-art { display: flex; justify-content: center; }
.feature-art .phone { width: min(290px, 72vw); }
.feature .tag { color: var(--brand); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.feature p { color: var(--text-2); font-size: 1.08rem; }
.feature ul { padding-left: 1.2em; color: var(--text-2); margin: 0; }
.feature li { margin-bottom: .4em; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-art { order: 0; }
}

/* Grid of small cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card .i { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.card p { color: var(--text-2); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Desktop shot */
.laptop { max-width: 980px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.laptop .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.laptop .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--muted-surface); }

/* Privacy callout */
.privacy-box { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; background: var(--brand); color: var(--on-brand); border-radius: 28px; padding: 44px; }
.privacy-box h2 { color: inherit; }
.privacy-box p { opacity: .92; font-size: 1.08rem; }
.privacy-box a { color: inherit; font-weight: 650; }
.privacy-box .big-i { width: 72px; height: 72px; border-radius: 20px; background: rgb(255 255 255 / 16%); display: grid; place-items: center; }
@media (prefers-color-scheme: dark) { .privacy-box .big-i { background: rgb(0 0 0 / 14%); } }
@media (max-width: 640px) { .privacy-box { grid-template-columns: 1fr; padding: 30px 24px; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 650; padding: 16px 28px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); }

/* Final CTA */
.final { text-align: center; }
.final img { width: 88px; height: 88px; border-radius: 24px; margin: 0 auto 20px; box-shadow: var(--shadow); }
.final .cta-row { justify-content: center; }

/* Store / download page */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.platform .i { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.platform p { color: var(--text-2); flex: 1; }
.platform .btn { align-self: flex-start; }
.platform .note { font-size: .85rem; color: var(--text-3); margin: 10px 0 0; flex: 0; }
.status { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--muted-surface); color: var(--text-2); margin-left: 8px; vertical-align: middle; letter-spacing: 0; }
@media (max-width: 900px) { .platforms { grid-template-columns: 1fr; } }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 8px 0 32px; }
.price b { font-size: 2.4rem; letter-spacing: -0.03em; }
.price span { color: var(--text-2); }

/* Long text pages (privacy, support) */
.page-head { padding: 56px 0 24px; }
.page-head p { color: var(--text-2); font-size: 1.12rem; max-width: 40em; }
.prose { max-width: 760px; padding-bottom: 72px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .summary { background: var(--brand-soft); border-radius: 18px; padding: 22px 24px; }
.prose .summary p:last-child { margin: 0; }
.prose .meta { color: var(--text-3); font-size: .95rem; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin: 8px 0 24px; }
.contact-card h2 { margin: 0 0 4px; font-size: 1.3rem; }
.contact-card p { margin: 0; color: var(--text-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 48px; color: var(--text-3); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.site-footer p { margin: 0 0 4px; }

/* Small screens */
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* Light/dark screenshots: the page swaps via <picture> media queries. */

/* Pricing tiers */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.tier h3 { font-size: 1.4rem; }
.tier-plus { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.tier-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.tier-price b { font-size: 2rem; letter-spacing: -0.03em; line-height: 1.2; }
.tier-plus .tier-price b { font-size: 1.5rem; }
.tier-price span { color: var(--text-3); }
.tier > p { color: var(--text-2); }
.tier-list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.tier-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.tier-list svg { color: var(--brand); flex: none; margin-top: 4px; }
.tier .note { font-size: .9rem; color: var(--text-3); }
.tier .btn { align-self: flex-start; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

.plus-box { margin-top: 40px; background: var(--brand-soft); border-radius: 24px; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.plus-box > div { max-width: 640px; }
.plus-box h2 { font-size: 1.6rem; }
.plus-box h3 { margin-top: 1.2em; }
.plus-box p, .plus-box ol { color: var(--text-2); }
.plus-box ol { padding-left: 1.3em; margin: 0; }
.plus-box li { margin-bottom: .4em; }
@media (max-width: 600px) { .plus-box { padding: 26px 20px; } }
.plus-box ul { padding-left: 1.3em; margin: 0; color: var(--text-2); }
