/* Steady site. Colors and fonts follow the app's Warm theme (app/src/ui/themes.ts). */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-600.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(/fonts/inter-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(/fonts/barlow-800.woff2) format("woff2"); }

:root {
  --bg: #F6F0E8; --surface: #FFFFFF; --surface-alt: #F1E8DD; --border: #ECE3D8;
  --text: #1F2629; --muted: #6F6C67; --accent: #E5604C; --accent2: #F29A6B; --track: #F2DDD4;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; margin: 0; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; font-weight: 700; }
p { margin: 0 0 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.fine { font-size: 14px; color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(246, 240, 232, 0.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.top-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.08em; }
.brand img { border-radius: 9px; }
.top-links { display: flex; gap: 28px; margin-left: auto; }
.top-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.top-links a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; text-decoration: none; color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.btn-small { padding: 9px 18px; font-size: 15px; }
.btn:hover { filter: brightness(1.05); }

/* Hero */
.hero { overflow: hidden; padding: 56px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.pill { display: inline-block; margin: 0 0 20px; padding: 5px 14px; border-radius: 999px; background: var(--track); color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { font-size: clamp(52px, 6.6vw, 84px); margin-bottom: 22px; }
.lead { font-size: 20px; line-height: 1.55; color: #4A4C4C; max-width: 520px; margin-bottom: 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.badges img { height: 48px; width: auto; }
.badges a { border-radius: 8px; }
.hero-art { position: relative; height: 640px; }
.glow { position: absolute; left: 50%; top: 52%; width: 560px; height: 560px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(242, 154, 107, 0.55), rgba(242, 154, 107, 0) 68%); }
.phone { margin: 0; border-radius: 44px; padding: 7px; background: #fff; box-shadow: 0 2px 4px rgba(60, 40, 30, 0.06), 0 24px 60px rgba(60, 40, 30, 0.18); }
.phone img { border-radius: 38px; width: 100%; height: auto; }
.hero-art .phone { position: absolute; }
.phone-front { width: 300px; left: 50%; top: 0; transform: translateX(-28%); z-index: 2; }
.phone-back { width: 250px; left: 50%; top: 72px; transform: translateX(-104%) rotate(-4deg); }

/* Stats */
.stats { padding: 0 0 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--accent); }
.stat span { color: var(--muted); font-size: 15px; }

/* Features */
.feature { padding: 72px 0; }
.feature-alt { background: var(--surface-alt); }
.feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature .phone { width: 300px; justify-self: center; }
.feature-alt .feature-inner .phone { order: 2; }
.feature-text { max-width: 480px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.feature h2, .steps h2, .uses h2, .pricing h2, .faq h2 { font-size: clamp(38px, 4.4vw, 54px); margin-bottom: 18px; }
.feature-text > p { font-size: 18px; color: #4A4C4C; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* How it works */
.steps { padding: 88px 0 72px; }
.steps-grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps-grid li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps-grid p, .uses-grid p { color: var(--muted); margin: 0; font-size: 16px; }

/* Who it's for */
.uses { padding: 40px 0 88px; }
.sub { color: var(--muted); margin: -6px auto 28px; }
.uses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.uses .sub:last-child { margin: 0 auto; }

/* Pricing */
.pricing { padding: 88px 0; background: var(--surface-alt); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 32px auto 24px; }
.plan { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); padding: 30px; }
.plan h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; letter-spacing: 0.02em; }
.plan-pro { border-color: var(--accent); }
.plan-pro h3 { color: var(--accent); }
.pricing .fine { max-width: 640px; margin: 0 auto; }

/* FAQ */
.faq { padding: 88px 0; }
.faq h2 { margin-bottom: 28px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; }
summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-52%); font-size: 24px; font-weight: 400; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 18px; margin: 0; color: #4A4C4C; }

/* Download */
.cta { padding: 0 0 96px; }
.cta-inner { background: var(--text); color: #fff; border-radius: 28px; padding: 56px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; background-image: radial-gradient(circle at 50% 120%, rgba(229, 96, 76, 0.5), rgba(229, 96, 76, 0) 60%); }
.cta-inner img { border-radius: 16px; margin-bottom: 20px; }
.cta h2 { font-size: clamp(38px, 4.4vw, 54px); margin-bottom: 10px; }
.cta p { color: #C9CCCC; }
.center-badges { justify-content: center; margin: 8px 0 0; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 36px 0 44px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot .brand { font-size: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.foot nav a { color: var(--text); text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: var(--accent); }
.foot .fine { width: 100%; margin: 0; }

/* Privacy, terms and support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 88px; }
.doc h1 { font-size: clamp(44px, 6vw, 60px); margin-bottom: 20px; }
.doc h2 { font-family: Inter, sans-serif; text-transform: none; font-size: 21px; font-weight: 700; line-height: 1.3; margin: 36px 0 10px; }
.doc .muted { color: var(--muted); font-size: 15px; }
.doc .card { margin: 14px 0; }
.doc .card p:last-child { margin-bottom: 0; }

@media (max-width: 960px) {
  .top-links { display: none; }
  .top-inner { justify-content: space-between; }
  .hero { padding: 32px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .badges { justify-content: center; }
  .hero-art { height: 560px; }
  .phone-front { width: 260px; }
  .phone-back { width: 220px; top: 60px; }
  .stats-grid, .uses-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { padding: 56px 0; }
  .feature-inner { grid-template-columns: 1fr; gap: 36px; }
  .feature-alt .feature-inner .phone { order: 0; }
  .feature .phone { width: 260px; }
  .feature-text { justify-self: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .lead { font-size: 18px; }
  .hero-art { height: 470px; }
  .glow { width: 420px; height: 420px; }
  .phone { border-radius: 36px; padding: 6px; }
  .phone img { border-radius: 31px; }
  .phone-front { width: 220px; transform: translateX(-30%); }
  .phone-back { width: 190px; top: 50px; transform: translateX(-100%) rotate(-4deg); }
  .stats-grid { gap: 10px; }
  .stat { padding: 18px; }
  .stat strong { font-size: 38px; }
  .uses-grid { grid-template-columns: 1fr; }
  .feature .phone { width: 240px; }
  .cta-inner { border-radius: 22px; padding: 44px 20px; }
  .badges img { height: 44px; }
  .foot nav { margin-left: 0; }
}
