/* ════════════════════════════════════════════════════════════════
   AngTinda — public website
   Loaded after app.css (shares tokens, buttons, forms and icons)
   ════════════════════════════════════════════════════════════════ */

:root {
    --site-bg: #E9F2ED;
    --site-bg-deep: #DDEAE2;
    --site-green: #16A34A;
    --site-green-dark: #15803D;
    --site-ink: #0B1A12;
    --site-footer: #0A0F0C;
    --site-max: 1180px;
}

body.site { background: var(--site-bg); color: var(--text-body); font-size: 15px; }
.site h1, .site h2, .site h3 { color: var(--site-ink); letter-spacing: -0.025em; }
.container { width: 100%; max-width: var(--site-max); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-white { background: #fff; }
.section-deep { background: var(--site-bg-deep); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--site-green-dark); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--site-green); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: 36px; line-height: 1.15; margin-top: 10px; font-weight: 750; }
.section-head p { margin-top: 14px; font-size: 16.5px; color: var(--text-secondary); line-height: 1.6; }
.page-hero { text-align: center; padding: 88px 0 56px; }
.page-hero h1 { font-size: 52px; line-height: 1.08; font-weight: 780; margin-top: 14px; max-width: 760px; margin-left: auto; margin-right: auto; }
.page-hero p { font-size: 17px; color: var(--text-secondary); max-width: 640px; margin: 18px auto 0; line-height: 1.6; }

/* Buttons on the website */
.site .btn { border-radius: 12px; font-weight: 650; }
.btn-site { background: var(--site-green); color: #fff; box-shadow: 0 6px 16px -8px rgba(22,163,74,.7); }
.btn-site:hover { background: var(--site-green-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--site-ink); border-color: #D5E2DA; }
.btn-outline:hover { border-color: #B8CCBF; color: var(--site-ink); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.2); color: #fff; }

/* Announcement bar */
.announce { background: var(--site-bg-deep); border-bottom: 1px solid #D3E3D9; font-size: 13px; color: #2F4A3A; overflow: hidden; }
.announce-inner { display: flex; align-items: center; height: 36px; gap: 24px; }
.announce-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.announce-items { display: inline-flex; gap: 40px; white-space: nowrap; animation: marquee 40s linear infinite; padding-right: 40px; }
.announce-items span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.announce-items span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--site-green); }
.announce-social { display: flex; gap: 10px; flex-shrink: 0; }
.announce-social a { color: #2F4A3A; display: grid; place-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid #E3ECE6; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: 8px; color: #334155; font-weight: 550; font-size: 14.5px; }
.site-nav a:hover { color: var(--site-ink); background: #F1F6F3; }
.site-nav a.is-active { color: var(--site-green-dark); }
.site-header-actions { display: flex; align-items: center; gap: 10px; }
.site-menu-btn { display: none; }
.site-mobile-nav { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #E9FBF0;
    background: radial-gradient(900px 500px at 85% 10%, rgba(52,211,153,.28), transparent 60%),
                radial-gradient(700px 500px at 0% 100%, rgba(20,184,166,.25), transparent 60%),
                linear-gradient(135deg, #04261A 0%, #064E3B 55%, #065F46 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 30% 50%, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 15%, transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 48px; align-items: center; padding: 72px 24px 128px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); font-size: 13px; font-weight: 600; color: #BBF7D0; }
.hero-kicker b { background: var(--site-green); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: 56px; line-height: 1.04; font-weight: 800; margin-top: 18px; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: #4ADE80; }
.hero-lead { margin-top: 20px; font-size: 18px; line-height: 1.6; color: rgba(233,251,240,.85); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: rgba(233,251,240,.65); }
.hero-visual { position: relative; }
.browser { border-radius: 14px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.15); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F1F5F9; border-bottom: 1px solid #E2E8F0; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.browser-bar span { margin-left: 10px; height: 16px; flex: 1; max-width: 260px; border-radius: 6px; background: #fff; font-size: 10px; color: #94A3B8; display: flex; align-items: center; padding: 0 8px; }
.browser img { display: block; width: 100%; height: auto; }
.phone { position: absolute; right: -18px; bottom: -52px; width: 30%; min-width: 150px; border-radius: 26px; padding: 7px; background: #0B1A12; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.phone img { border-radius: 20px; display: block; width: 100%; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--site-ink); box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); font-size: 13px; font-weight: 600; white-space: nowrap; }
.float-chip small { display: block; font-size: 11.5px; color: var(--text-secondary); font-weight: 500; }
.float-chip .chip-icon { width: 32px; height: 32px; }
.float-chip.c1 { left: -28px; top: 18%; }
.float-chip.c2 { left: 6%; bottom: -26px; }

/* Trust strip */
.trust { position: relative; margin-top: -72px; z-index: 2; }
.trust-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -30px rgba(6,78,59,.35); border: 1px solid #E3ECE6; }
.trust-item { padding: 26px 22px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid #EEF3F0; }
.trust-item .chip-icon { margin: 0 auto 12px; width: 44px; height: 44px; border-radius: 12px; }
.trust-item strong { display: block; color: var(--site-ink); font-size: 15.5px; }
.trust-item p { font-size: 13.5px; color: var(--text-secondary); margin-top: 4px; line-height: 1.5; }

/* Generic cards */
.cards { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.s-card { background: #fff; border: 1px solid #E3ECE6; border-radius: 18px; padding: 24px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.s-card:hover { box-shadow: 0 16px 40px -24px rgba(6,78,59,.35); border-color: #CFE2D6; }
.s-card h3 { font-size: 17px; font-weight: 700; margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s-card p { font-size: 14px; color: var(--text-secondary); margin-top: 8px; line-height: 1.6; }
.s-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #E7F6EC; color: var(--site-green-dark); }
.s-icon .icon { width: 22px; height: 22px; }
.s-icon.teal { background: #E0F5F4; color: #0F766E; } .s-icon.sky { background: #E0F2FE; color: #0369A1; } .s-icon.violet { background: #EDE9FE; color: #6D28D9; }
.s-icon.amber { background: #FEF3C7; color: #B45309; } .s-icon.rose { background: #FFE4E6; color: #BE123C; } .s-icon.slate { background: #F1F5F9; color: #334155; }
.tag { font-size: 11.5px; font-weight: 650; padding: 2px 9px; border-radius: 999px; background: #FFF7ED; color: #C2410C; }
.tag.green { background: #E7F6EC; color: var(--site-green-dark); }

/* Disclaimer cards */
.notice-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
.notice-card { background: #fff; border: 1px solid #E3ECE6; border-radius: 16px; padding: 20px; }
.notice-card h3 { font-size: 14.5px; margin-top: 12px; }
.notice-card p { font-size: 13.5px; color: var(--text-secondary); margin-top: 6px; line-height: 1.55; }

/* Custom-app pill banner */
.pill-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 760px; margin: 40px auto 0; padding: 14px 14px 14px 18px; background: #fff; border: 1px solid #E3ECE6; border-radius: 999px; }
.pill-banner strong { color: var(--site-ink); font-size: 14.5px; display: block; }
.pill-banner span { font-size: 13px; color: var(--text-secondary); }

/* Comparison */
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.compare-col { background: #fff; border: 1px solid #E3ECE6; border-radius: 18px; padding: 24px; }
.compare-col h3 { font-size: 16px; }
.compare-col .sub { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.compare-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.compare-col li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.compare-col li .icon { margin-top: 2px; width: 16px; height: 16px; }
.compare-col li.no { color: var(--text-tertiary); }
.compare-col li.no .icon { color: #CBD5E1; }
.compare-col li.yes .icon { color: var(--site-green); }
.compare-col.featured { background: linear-gradient(160deg, #16A34A, #15803D); border-color: transparent; color: #fff; box-shadow: 0 24px 50px -20px rgba(22,163,74,.6); transform: translateY(-8px); }
.compare-col.featured h3, .compare-col.featured .sub { color: #fff; }
.compare-col.featured .sub { opacity: .8; }
.compare-col.featured li .icon { color: #BBF7D0; }

/* Steps */
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.step { display: flex; gap: 16px; background: #fff; border: 1px solid #E3ECE6; border-radius: 16px; padding: 20px; }
.step + .step { margin-top: 14px; }
.step-n { width: 32px; height: 32px; border-radius: 50%; background: var(--site-green); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; flex-shrink: 0; }
.step h3 { font-size: 16px; }
.step p { font-size: 14px; color: var(--text-secondary); margin-top: 4px; line-height: 1.55; }
.laptop { position: relative; }
.laptop-screen { border-radius: 14px 14px 4px 4px; padding: 10px 10px 0; background: #111827; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.laptop-screen img { display: block; width: 100%; border-radius: 6px 6px 0 0; }
.laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 16px 16px; background: linear-gradient(#D1D5DB, #9CA3AF); position: relative; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 5px; margin-left: -9%; border-radius: 0 0 8px 8px; background: #6B7280; }

/* Use cases */
.usecase { display: flex; gap: 14px; align-items: flex-start; }
.usecase h3 { margin-top: 0; font-size: 15.5px; }

/* Value props */
.props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.props .s-icon { margin: 0 auto 12px; background: transparent; }
.props strong { color: var(--site-ink); font-size: 15px; display: block; }
.props p { font-size: 13.5px; color: var(--text-secondary); margin-top: 4px; }

/* CTA banner */
.cta-banner { position: relative; overflow: hidden; border-radius: 24px; padding: 56px 32px 0; text-align: center; color: #fff;
    background: radial-gradient(600px 300px at 80% 0%, rgba(74,222,128,.25), transparent 60%), linear-gradient(135deg, #052E21, #064E3B 60%, #065F46); }
.cta-banner h2 { color: #fff; font-size: 34px; font-weight: 780; }
.cta-banner p { color: rgba(233,251,240,.8); max-width: 520px; margin: 12px auto 0; font-size: 16px; }
.cta-banner .btn { margin-top: 26px; }
.cta-banner .cta-shot { max-width: 760px; margin: 36px auto 0; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.5); }
.cta-banner .cta-shot img { display: block; width: 100%; }

/* Disclaimer box */
.disclaimer { display: flex; gap: 12px; max-width: 900px; margin: 0 auto; padding: 18px 22px; background: #fff; border: 1px solid #E3ECE6; border-radius: 18px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }
.disclaimer .icon { color: #2563EB; margin-top: 2px; }
.disclaimer strong { color: var(--site-ink); }

/* Feature detail list (Features page) */
.feature-row { background: #fff; border: 1px solid #E3ECE6; border-radius: 20px; padding: 28px 32px; display: flex; gap: 22px; }
.feature-row + .feature-row { margin-top: 16px; }
.feature-row h2 { font-size: 22px; font-weight: 750; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature-row > div > p { color: var(--text-secondary); margin-top: 6px; font-size: 15px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.checks li .icon { color: var(--site-green); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid #E3ECE6; border-radius: 20px; padding: 24px; }
.plan.popular { border: 2px solid #4ADE80; box-shadow: 0 24px 50px -28px rgba(22,163,74,.55); }
.plan-badge { font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--site-green-dark); margin-bottom: 6px; }
.plan h3 { font-size: 19px; font-weight: 750; }
.plan .tagline { font-size: 13.5px; color: var(--text-secondary); margin-top: 4px; min-height: 40px; }
.plan-price { margin-top: 16px; font-size: 34px; font-weight: 800; color: var(--site-ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14px; }
.plan li .icon { color: var(--site-green); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.plan .fine { font-size: 12px; color: var(--text-tertiary); margin-top: 12px; line-height: 1.5; min-height: 54px; }
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid #E3ECE6; border-radius: 14px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 650; color: var(--site-ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--text-tertiary); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 0 18px; color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* Inquiry / signup */
.inquiry { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.inquiry-steps { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.inquiry-steps li { display: flex; gap: 12px; font-size: 14.5px; }
.inquiry-steps .step-n { width: 24px; height: 24px; font-size: 12px; }
.form-card { background: #fff; border: 1px solid #E3ECE6; border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px -40px rgba(6,78,59,.3); }
.auth-shell { min-height: calc(100vh - 260px); display: grid; place-items: center; padding: 72px 24px; }
.auth-box { width: 100%; max-width: 480px; text-align: center; }
.auth-box .form-card { text-align: left; margin-top: 28px; }
.btn-google { width: 100%; height: 50px; justify-content: center; gap: 12px; background: #fff; border: 1px solid #D5E2DA; color: var(--site-ink); border-radius: 12px; font-weight: 650; }
.btn-google:hover { border-color: #B8CCBF; background: #FAFCFB; color: var(--site-ink); }
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--text-tertiary); font-size: 12.5px; margin: 20px 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: #E3ECE6; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Legal pages */
.legal { background: #fff; border: 1px solid #E3ECE6; border-radius: 20px; padding: 40px 48px; }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal p, .legal li { color: var(--text-body); line-height: 1.75; font-size: 15px; }
.legal p { margin-top: 12px; }

/* Install page */
.install-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* Footer */
.site-footer { background: var(--site-footer); color: #9CA3AF; padding: 64px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 650; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #9CA3AF; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-word { color: #fff; }
.footer-blurb { margin-top: 14px; line-height: 1.6; max-width: 280px; color: #A7B3AC; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #161D19; color: #CBD5E1; }
.footer-social a:hover { background: #1F2A24; color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #1C2420; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: #6B7A72; }
.footer-bottom .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; margin-right: 6px; }
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--site-green); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(22,163,74,.8); }
.chat-fab:hover { color: #fff; background: var(--site-green-dark); }
.chat-fab .icon { width: 26px; height: 26px; }

/* Responsive */
@media (max-width: 1100px) {
    .site-nav a { padding: 8px 9px; font-size: 14px; }
    .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero h1 { font-size: 46px; }
}
/* ── Phones & tablets (incl. iPad landscape): compact header + bottom tab bar ── */
.site-tabbar { display: none; }
@media (max-width: 1024px), (hover: none) and (pointer: coarse) and (max-width: 1366px) {
    .site-nav, .site-header-actions .btn-outline { display: none; }
    .site-menu-btn { display: inline-flex; }
    .site-mobile-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 49; background: #fff; border-bottom: 1px solid #E3ECE6; box-shadow: 0 20px 40px -20px rgba(0,0,0,.25); padding: 12px 24px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .18s; }
    .site-mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .site-mobile-nav a { display: block; padding: 12px 4px; font-weight: 600; color: var(--site-ink); border-bottom: 1px solid #F1F5F3; }
    .site-mobile-nav .btn { margin-top: 14px; width: 100%; }

    .site-tabbar {
        display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
        padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
        background: rgba(255, 255, 255, .96);
        backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
        border-top: 1px solid #E3ECE6;
        box-shadow: 0 -8px 24px -16px rgba(6, 78, 59, .35);
    }
    .site-tab {
        position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
        min-height: 56px; padding: 4px 2px; border-radius: 12px;
        color: #475569; font-size: 12.5px; font-weight: 550; line-height: 1.1;
        -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s;
    }
    .site-tab svg { width: 28px; height: 28px; transition: transform .18s var(--ease); }
    .site-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .site-tab:hover { color: var(--site-ink); background: #F3F8F5; }
    .site-tab:active svg { transform: scale(.92); }
    .site-tab.is-active { color: var(--site-green-dark); font-weight: 700; }
    .site-tab.is-active svg { transform: translateY(-1px); }
    .site-tab.is-active::before { content: ""; position: absolute; top: -6px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--site-green); }
    .site-tab:focus-visible { outline: 2px solid var(--site-green); outline-offset: -2px; }

    /* Keep page content and floating buttons clear of the bar */
    body.site, body.has-tabbar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .chat-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
    .toast-stack { bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
}
@media (min-width: 641px) and (max-width: 1366px) {
    /* Tablets: a roomier, centred bar */
    .site-tabbar { padding-left: max(10%, env(safe-area-inset-left)); padding-right: max(10%, env(safe-area-inset-right)); }
    .site-tab { font-size: 13px; min-height: 60px; }
    .site-tab svg { width: 30px; height: 30px; }
}

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding-bottom: 140px; }
    .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
    .trust-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-item:nth-child(3) { border-left: 0; }
    .trust-item:nth-child(n+3) { border-top: 1px solid #EEF3F0; }
    .cards-3, .cards-4, .notice-cards, .compare, .install-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .compare-col.featured { transform: none; }
    .steps-wrap, .inquiry { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    body.site { font-size: 14.5px; }
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .section-head h2 { font-size: 28px; }
    .page-hero { padding: 56px 0 36px; }
    .page-hero h1 { font-size: 34px; }
    .hero-inner { padding: 44px 16px 110px; gap: 36px; }
    .hero h1 { font-size: 38px; }
    .hero-lead { font-size: 16px; }
    .hero-actions .btn { flex: 1; }
    .float-chip.c1 { left: 4px; top: -18px; }
    .float-chip.c2 { display: none; }
    .phone { right: -6px; bottom: -40px; min-width: 110px; width: 32%; border-radius: 20px; padding: 5px; }
    .phone img { border-radius: 15px; }
    .trust { margin-top: -64px; }
    .trust-item { padding: 20px 14px; }
    .cards-3, .cards-4, .cards-2, .notice-cards, .compare, .props, .install-steps, .plans { grid-template-columns: 1fr; }
    .pill-banner { border-radius: 18px; flex-direction: column; align-items: flex-start; }
    .feature-row { padding: 22px 18px; flex-direction: column; gap: 12px; }
    .checks { grid-template-columns: 1fr; }
    .cta-banner { padding: 40px 20px 0; border-radius: 18px; }
    .cta-banner h2 { font-size: 26px; }
    .legal { padding: 24px 20px; }
    .form-card { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .announce-social { display: none; }
}
@media (prefers-reduced-motion: reduce) { .announce-items { animation: none; } }

/* Images keep their aspect ratio even with width/height attributes set */
.site img { height: auto; }
.phone { width: 23%; min-width: 120px; bottom: -36px; right: -14px; }
.phone img { aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }
@media (max-width: 640px) { .phone { width: 28%; min-width: 96px; bottom: -28px; right: -4px; } }

/* Small phones: keep logo, call-to-action and menu on one line */
@media (max-width: 420px) {
    .site-header-inner { gap: 10px; height: 62px; }
    .site-header-actions { gap: 6px; flex-shrink: 0; }
    .site-header-actions .btn-site { height: 38px; padding: 0 12px; font-size: 13px; }
    .site-header-actions .btn-site .icon + span { display: none; }
    .site-header .site-menu-btn { width: 40px; height: 40px; }
    .site-header .brand-mark { width: 30px; height: 30px; }
    .site-header .brand-word { font-size: 16px; }
    .site-header .brand { min-width: 0; }
}
/* 16px fields so iPhones don't zoom in on focus */
@media (max-width: 1024px) { .site .form-control { font-size: 16px; } }
