/* LifeButler website — same design language as the app:
   flat surfaces, thin borders, one calm accent, no gradients. */

@font-face { font-family: Inter; src: url(fonts/Inter-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/Inter-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/Inter-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/Inter-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --accent: #1f6f5f;
  --accent-ink: #ffffff;
  --accent-soft: #d6ece6;
  --accent-soft-ink: #0f3d33;
  --bg: #f6f6f3;
  --card: #ffffff;
  --border: #e6e4df;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --danger: #c0392b;
  --warm: #d9a441;
  --radius: 16px;
  --phone: #1c1c1e;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #7fcdb9;
    --accent-ink: #0b2a24;
    --accent-soft: #1d3a33;
    --accent-soft-ink: #c9ece2;
    --bg: #111214;
    --card: #1b1c1f;
    --border: #2c2d31;
    --text: #ececee;
    --muted: #9a9aa0;
    --danger: #ff8a7a;
    --phone: #000000;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 12px;
  font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--muted); }
.btn svg { width: 20px; height: 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo svg { width: 34px; height: 34px; }
.nav-links { display: none; gap: 26px; margin-left: 16px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { text-decoration: none; font-weight: 600; font-size: 0.9rem; color: var(--muted); padding: 8px 10px; border-radius: 8px; }
.lang:hover { color: var(--text); background: var(--card); }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }
@media (min-width: 900px) { .nav-links { display: flex; } }
@media (max-width: 480px) { .nav .btn { display: none; } }

/* Hero */
.hero { padding: 48px 0 72px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } .hero { padding: 72px 0 96px; } }
.hero h1 { margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--muted); font-size: 0.92rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--accent); }
.badge-beta {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-soft-ink); font-size: 0.85rem; font-weight: 600;
}

/* Phone mockup (pure CSS, mirrors the app UI) */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 300px; max-width: 100%; aspect-ratio: 9 / 18.5;
  background: var(--phone); border-radius: 44px; padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.35);
}
.screen {
  height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg);
  display: flex; flex-direction: column; font-size: 11px; line-height: 1.35;
}
.statusbar { display: flex; justify-content: space-between; padding: 10px 20px 4px; font-size: 10px; font-weight: 600; }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 6px 14px 8px; font-weight: 700; font-size: 14px; }
.app-bar .tile { width: 24px; height: 24px; border-radius: 7px; }
.app-bar .avatar { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); }
.screen-body { flex: 1; padding: 2px 12px; overflow: hidden; }
.s-date { color: var(--muted); font-size: 10px; }
.s-hello { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin: 1px 0 8px; }
.s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 8px; }
.s-area { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 6px 2px 5px; text-align: center; font-size: 8px; font-weight: 600; }
.s-area .tile { margin: 0 auto 3px; width: 20px; height: 20px; border-radius: 6px; }
.s-label { font-size: 8.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 8px 4px 4px; }
.s-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.s-row { display: flex; align-items: center; gap: 8px; padding: 7px 9px; }
.s-row + .s-row { border-top: 1px solid var(--border); }
.s-row .bar { width: 3px; height: 22px; border-radius: 2px; background: var(--accent); }
.s-row .time { width: 30px; font-weight: 600; font-size: 9.5px; }
.s-row .t { flex: 1; min-width: 0; }
.s-row .t b { display: block; font-weight: 600; font-size: 10.5px; }
.s-row .t small { color: var(--muted); font-size: 9px; }
.s-dot { width: 18px; height: 18px; border-radius: 50%; font-size: 8px; font-weight: 700; display: grid; place-items: center; }
.check { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--muted); flex: none; }
.check.on { background: var(--accent); border-color: var(--accent); position: relative; }
.check.on::after { content: ""; position: absolute; left: 4px; top: 1px; width: 3px; height: 7px; border: solid var(--accent-ink); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.done { text-decoration: line-through; color: var(--muted); }
.navbar { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border); background: var(--card); padding: 6px 4px 10px; }
.navbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 7.5px; font-weight: 600; color: var(--muted); }
.navbar i { width: 34px; height: 16px; border-radius: 999px; display: grid; place-items: center; }
.navbar .on i { background: var(--accent-soft); }
.navbar .on { color: var(--text); }
.navbar svg { width: 12px; height: 12px; }

.tile { display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.tile svg { width: 60%; height: 60%; }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 960px) { section { padding: 104px 0; } }
.section-head { max-width: 46em; margin-bottom: 44px; }
.section-head h2 { margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--border); background: var(--card); border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.chip svg { width: 18px; height: 18px; color: var(--accent); }

.features { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* Spotlights */
.spot { display: grid; gap: 40px; align-items: center; }
.spot + .spot { margin-top: 96px; }
@media (min-width: 900px) {
  .spot { grid-template-columns: 1fr 1fr; gap: 72px; }
  .spot.reverse .spot-text { order: 2; }
}
.spot-text h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 12px 0 14px; }
.spot-text p { color: var(--muted); font-size: 1.08rem; }
.bullets { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; }
.bullets svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 22px; }
.panel .s-card { border-radius: 14px; }
.panel .s-row { padding: 12px 14px; font-size: 15px; gap: 12px; }
.panel .s-row .t b { font-size: 15px; }
.panel .s-row .t small { font-size: 13px; }
.panel .check { width: 20px; height: 20px; border-radius: 6px; }
.panel .check.on::after { left: 6px; top: 2px; width: 5px; height: 10px; border-width: 0 2px 2px 0; }
.panel .s-label { font-size: 12px; margin: 14px 6px 8px; }
.panel .s-dot { width: 28px; height: 28px; font-size: 12px; }
.amount { font-weight: 700; font-variant-numeric: tabular-nums; }
.pos { color: #2e7d4f; }
.neg { color: var(--danger); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pos { color: #7fd6a3; } }
.big-number { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent-soft-ink); }
.pill.red { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.timeline { position: relative; display: grid; gap: 12px; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-item { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.tl-item::before { content: ""; position: absolute; left: -20px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); }
.tl-item small { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.tl-item b { display: block; font-weight: 600; }
.vault { text-align: center; padding: 34px 22px; }
.vault .lock { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; background: var(--accent-soft); color: var(--accent-soft-ink); display: grid; place-items: center; }
.vault .lock svg { width: 40px; height: 40px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; font-size: 14px; background: var(--bg); border: 1px dashed var(--border); border-radius: 10px; padding: 10px; margin-top: 16px; color: var(--muted); }

/* Privacy band */
.band { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trio { display: grid; gap: 28px; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.trio .tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.trio p { color: var(--muted); margin-top: 8px; }

/* Roadmap */
.roadmap { display: grid; gap: 12px; }
@media (min-width: 760px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
.road { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.road .tile { flex: none; width: 40px; height: 40px; border-radius: 11px; }
.road p { color: var(--muted); font-size: 0.96rem; margin-top: 4px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* CTA */
.cta { text-align: center; }
.cta-box { background: var(--accent); color: var(--accent-ink); border-radius: 28px; padding: 56px 24px; }
.cta-box h2 { margin-bottom: 14px; }
.cta-box p { opacity: .85; max-width: 34em; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-box .btn { background: var(--accent-ink); color: var(--accent); }

/* Footer */
.site-footer { padding: 44px 0 56px; color: var(--muted); font-size: 0.92rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 780px; padding: 48px 16px 80px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal .note { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; color: var(--muted); }
.todo { background: color-mix(in srgb, var(--warm) 22%, transparent); padding: 0 4px; border-radius: 4px; }

/* Reveal on scroll (respecting reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.visible { opacity: 1; transform: none; }
}

/* Download page */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.step-no { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.btn[aria-disabled="true"] { cursor: default; opacity: .85; }
