/* Public site (landing, install guide). Loaded after app.css. */
.site { background: var(--surface); }
.site-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--brand-deep) 96%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-head .site-wrap { display: flex; align-items: center; gap: 22px; height: 66px; }
.site-head .brandmark { color: #fff; }
.site-nav { display: flex; gap: 4px; margin-left: 12px; }
.site-nav a { color: #cfe1db; text-decoration: none; font-size: 14.5px; padding: 8px 10px; border-radius: 8px; }
.site-nav a:hover { color: #fff; background: rgb(255 255 255 / .06); }
.site-head .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.site-head .signin { color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 10px; }
@media (max-width: 880px) { .site-nav, .site-head .signin { display: none; } }
@media (max-width: 480px) { .site-head .actions .btn-primary { display: none; } }

.hero { background: var(--brand-deep); color: #e6f1ee; padding: clamp(36px, 7vw, 84px) 0 0; overflow: hidden; }
.hero .site-wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.hero h1 { color: #fff; font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; font-stretch: 125%; line-height: .98; letter-spacing: -0.035em; max-width: 11ch; }
.hero .lede { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: #c3dad3; max-width: 46ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .ctas .btn-lg { min-height: 54px; }
.hero .fine { margin-top: 14px; font-size: 13.5px; color: #8fb4a9; display: flex; gap: 8px; align-items: center; }
.hero-copy { padding-bottom: clamp(36px, 6vw, 84px); }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
@media (max-width: 900px) { .hero .site-wrap { grid-template-columns: 1fr; } .hero-visual { min-height: 0; } .hero-copy { padding-bottom: 8px; } }

/* phone mock */
.phone { position: relative; z-index: 1; width: 300px; height: 560px; border-radius: 44px 44px 0 0; background: #050f0c; padding: 12px 12px 0; box-shadow: 0 -10px 60px -20px rgb(0 0 0 / .6); }
.phone-screen { height: 100%; border-radius: 34px 34px 0 0; background: var(--surface); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.phone-bar { display: flex; justify-content: space-between; padding: 14px 22px 0; font-size: 12px; font-weight: 600; color: var(--ink); }
.phone-org { display: flex; align-items: center; gap: 8px; padding: 14px 18px 0; font-size: 13px; font-weight: 600; }
.phone-org i { width: 24px; height: 24px; border-radius: 7px; background: var(--brand-deep); display: inline-block; }
.phone .clockface { padding: 18px 12px 0; }
.phone .clockface .time { font-size: 70px; }
.phone .clockface .date { font-size: 13px; margin-top: 6px; }
.phone .clock-btn { width: 150px; margin-top: 18px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 14%, transparent), 0 0 0 16px color-mix(in srgb, var(--brand) 7%, transparent); }
.phone .clock-btn .icon { width: 26px; height: 26px; }
.phone .clock-btn strong { font-size: 17px; }
.phone .clock-btn span { font-size: 11.5px; }
.phone .loc { margin: 26px 18px 0; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--good); background: var(--good-soft); padding: 8px 10px; border-radius: 10px; }
.float-card { position: absolute; z-index: 2; background: var(--surface); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-pop); padding: 14px 16px; font-size: 13px; }
.float-card.pay { right: 0; top: -64px; width: 232px; }
.float-card.late { left: 0; top: 376px; width: 214px; }
@media (max-width: 1180px) { .float-card.pay { right: -12px; } .float-card.late { left: -12px; } }
.float-card .k { color: var(--muted); font-size: 12px; }
.float-card .v { font-size: 22px; font-weight: 650; font-stretch: 118%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.float-card ul { list-style: none; padding: 0; margin: 8px 0 0; }
.float-card li { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .float-card { display: none; } .phone { height: 470px; } }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tint { background: var(--canvas); }
.section.dark { background: var(--brand-deep); color: #d5e5e0; }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 680; font-stretch: 118%; letter-spacing: -0.028em; line-height: 1.05; }
.section.dark .section-head h2 { color: #fff; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--muted); line-height: 1.55; max-width: 58ch; }
.section.dark .section-head p { color: #a9c9c0; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: flow; border-top: 2px solid var(--ink); }
.flow li { padding: 22px 22px 0 0; counter-increment: flow; }
.flow li::before { content: counter(flow); display: block; font-size: 44px; font-weight: 700; font-stretch: 125%; color: var(--brand); line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.flow h3 { font-size: 18px; margin-bottom: 8px; }
.flow p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

.showcase { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgb(12 59 52 / .35); }
.showcase-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.showcase .board li { grid-template-columns: minmax(150px, 1fr) minmax(200px, 2.4fr) 110px; }

.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.rule { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-top: 1px solid rgb(255 255 255 / .14); align-items: baseline; }
.rule h3 { color: #fff; font-size: 17px; }
.rule .val { font-stretch: 122%; font-weight: 650; font-size: 18px; color: var(--signal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rule p { grid-column: 1 / -1; color: #a9c9c0; font-size: 14.5px; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.ticks .icon { color: var(--brand); margin-top: 3px; }
.ticks strong { color: var(--ink); }

.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.trust div { border-top: 1px solid var(--line-2); padding-top: 16px; }
.trust .icon { color: var(--brand); width: 22px; height: 22px; margin-bottom: 10px; }
.trust h3 { font-size: 16.5px; margin-bottom: 6px; }
.trust p { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 10px; color: var(--ink-2); max-width: 64ch; }

.cta-band { background: var(--brand-deep); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-stretch: 120%; letter-spacing: -0.025em; line-height: 1.05; }
.cta-band p { color: #a9c9c0; margin-top: 10px; }
.cta-band .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

.site-foot { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.site-foot .site-wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.site-foot .grow { flex: 1; }

/* install guide */
.install-hero { background: var(--brand-deep); color: #e6f1ee; padding: clamp(36px, 6vw, 72px) 0; }
.install-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 700; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1; }
.install-hero p { color: #c3dad3; margin-top: 16px; max-width: 52ch; font-size: 17px; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .platforms { grid-template-columns: 1fr; } }
.platform-card { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: var(--surface); }
.platform-card h2 { font-size: 19px; display: flex; gap: 10px; align-items: center; }
.platform-card ol { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.platform-card.detected { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.platform-card .badge { margin-left: auto; }
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 10px; }
