/* The public page shares the application's tokens (app.css) so the two feel like one product. */
:root {
  --bg: #f4f5f1; --card: #ffffff; --card2: #eef0eb; --text: #17201c; --muted: #66716b; --line: #dfe3dc;
  --accent: #23705a; --accent-text: #ffffff; --accent-soft: #dcefe7;
  --radius: 18px; --tap: 48px; --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 6px 20px rgba(20, 30, 25, .06);
  --glass: rgba(255, 255, 255, .72);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #101312; --card: #1a1f1d; --card2: #232a27; --text: #e9eeeb; --muted: #9aa6a0; --line: #2c3431; --accent: #5fcfa5; --accent-text: #06241a; --accent-soft: #17352b; --glass: rgba(26, 31, 29, .72); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .phone .tile { animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 10px; }
.skip:focus { left: 8px; z-index: 10; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 760; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.btn { min-height: var(--tap); padding: 0 18px; border-radius: 14px; border: 0; background: var(--card2); color: var(--text); font-weight: 650; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; white-space: nowrap; }
.btn.primary { background: var(--accent); color: var(--accent-text); }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.big { min-height: 54px; padding: 0 24px; font-size: 17px; border-radius: 16px; }
.btn:hover { filter: brightness(1.04); }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 10px max(16px, 4vw); background: var(--glass); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
@media (prefers-reduced-transparency: reduce) { .top { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); }
.topnav { display: none; gap: 18px; margin-left: auto; margin-right: 8px; }
.topnav a { color: var(--muted); font-weight: 600; }
.topnav a:hover { color: var(--text); }
.top .btn { margin-left: auto; }
@media (min-width: 820px) { .topnav { display: flex; } .top .btn { margin-left: 0; } }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px 40px; }
section { padding: clamp(40px, 7vw, 84px) 0 0; }
.hero { display: grid; gap: 32px; align-items: center; padding-top: clamp(36px, 6vw, 72px); }
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr 1fr; gap: 48px; } }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.note { font-size: 14px; color: var(--muted); }
.hero-art { display: flex; justify-content: center; }
.phone { width: min(360px, 100%); background: var(--card); border-radius: 28px; box-shadow: var(--shadow), 0 30px 60px rgba(20, 30, 25, .12); padding: 18px 14px 20px; border: 1px solid var(--line); }
.phone-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 22px; margin: 4px 6px 14px; }
.phone-top .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.phone .tile { background: var(--card2); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 3px; animation: rise .7s ease both; }
.phone .tile b { font-size: 15px; } .phone .tile i { font-style: normal; color: var(--muted); font-size: 14px; }
.phone .t1 { background: var(--accent); color: var(--accent-text); } .phone .t1 i { color: inherit; opacity: .9; }
.phone .t2 { animation-delay: .08s; } .phone .t3 { animation-delay: .16s; } .phone .t4 { animation-delay: .24s; } .phone .t5 { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sub { color: var(--muted); max-width: 60ch; margin-bottom: 22px; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); border: 1px solid transparent; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .ic { font-size: 28px; margin-bottom: 10px; line-height: 1; }

.ask { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .ask { grid-template-columns: 1fr 1fr; gap: 48px; } }
.ask p { color: var(--muted); max-width: 54ch; }
.chat { background: var(--card); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.chat .q, .chat .a { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.4; }
.chat .q { align-self: flex-end; background: var(--accent); color: var(--accent-text); border-bottom-right-radius: 6px; }
.chat .a { align-self: flex-start; background: var(--card2); border-bottom-left-radius: 6px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); color: var(--muted); font-size: 15px; position: relative; padding-left: 44px; }
.checks li::before { content: "✓"; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.checks li b { color: var(--text); display: block; margin-bottom: 2px; }

.faq details { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 10px; padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 14px; font-size: 15px; }

.foot { max-width: 1120px; margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 14px; }
.foot > div:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.foot .links { display: flex; gap: 16px; }
.foot .muted { flex-basis: 100%; }
