/* Squirrel Control public site (/, /features, /pricing, /demo). Separate from the app's style.css. */
:root {
  --navy: #0b1b33;
  --navy-2: #13294a;
  --orange: #e8731c;
  --orange-hover: #cf6212;
  --sky: #4fb3e8;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --card: #ffffff;
  --text: #13202f;
  --muted: #5d6b7a;
  --line: #e2e6eb;
  --ok: #2f8a55;
  --ok-bg: #e5f4ea;
  --link: #1f6fb0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 27, 51, 0.06), 0 12px 32px -12px rgba(11, 27, 51, 0.18);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1422;
    --bg-alt: #0f1b2d;
    --card: #13213a;
    --text: #e8edf3;
    --muted: #a4b1c0;
    --line: #22324d;
    --ok: #6fd39a;
    --ok-bg: #12301f;
    --link: #7cc4ef;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.accent { color: var(--orange); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.icon { flex: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; text-decoration: none; transition: background 0.15s, border-color 0.15s; }
.btn:hover { text-decoration: none; }
.btn-lg { padding: 14px 24px; font-size: 17px; }
.btn.block { display: flex; width: 100%; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--card); }
.btn-ghost:hover { border-color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: var(--navy); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand small { font-size: 11px; letter-spacing: 0.14em; color: var(--sky); }
.brand.small { font-size: 16px; color: var(--text); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: #dfe6ef; font-weight: 600; font-size: 15px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .nav-quiet { opacity: 0.8; }
.menu-btn { display: none; background: none; border: 1.5px solid rgba(255, 255, 255, 0.35); color: #fff; border-radius: 8px; padding: 6px 12px; font: 600 14px var(--font); }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px 24px 20px; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav .btn { margin-top: 14px; }
  .menu-open .nav { display: flex; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(79, 179, 232, 0.25), transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; padding: 64px 0 80px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero .lede { color: #cfd8e3; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 800; color: var(--orange); margin-bottom: 12px; }
.lede { font-size: 19px; color: var(--muted); max-width: 640px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 20px; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.hero .btn-ghost:hover { border-color: #fff; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: #dfe6ef; font-size: 15px; }
.ticks li, .list li, .plan-highlights li { display: flex; align-items: center; gap: 8px; }
.ticks .icon, .list .icon, .plan-highlights .icon { color: var(--ok); }
.hero .ticks .icon { color: #6fd39a; }
.shot { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--card); }
.shot-hero { border-color: rgba(255, 255, 255, 0.15); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); transform: perspective(1600px) rotateY(-6deg); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .shot-hero { transform: none; }
}

/* Bands and sections */
.band { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 24px; text-align: center; }
.stats b { display: block; font-size: 34px; font-weight: 800; color: var(--orange); }
.stats span { color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }
.section { padding: 80px 0; }
.section.tight { padding-top: 32px; }
.section.alt { background: var(--bg-alt); }
.sub { color: var(--muted); font-size: 18px; max-width: 720px; margin: 0 auto 40px; }
.page-hero { padding: 64px 0 24px; text-align: center; }
.page-hero .lede { margin: 0 auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card-icon { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(232, 115, 28, 0.12); color: var(--orange); margin-bottom: 12px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.link-arrow { font-weight: 700; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split p { color: var(--muted); font-size: 17px; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > :first-child { order: 0; }
}

.price-teaser { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.price-teaser p { color: var(--muted); max-width: 620px; }
.price-chip { flex: none; text-align: center; background: var(--navy); color: #fff; border-radius: 18px; padding: 28px 36px; }
.price-chip b { display: block; font-size: 56px; line-height: 1; font-weight: 800; color: var(--orange); }
@media (max-width: 760px) { .price-teaser { flex-direction: column; align-items: flex-start; padding: 28px; } }

.cta-band { background: linear-gradient(90deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-in p { color: #cfd8e3; margin: 0; }
.cta-in h2 { margin-bottom: 8px; }

/* Features page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.jump a { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14px; background: var(--card); }
.fgroup { margin-bottom: 56px; scroll-margin-top: 90px; }
.fgroup h2 { display: flex; align-items: center; gap: 12px; font-size: 26px; }
.fgroup h2 .card-icon { margin: 0; }
.fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 36px; }
.fitem { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fitem h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 4px; }
.fitem h3 .icon { color: var(--ok); }
.fitem p { color: var(--muted); margin: 0 0 0 26px; font-size: 15px; }
.muted-item h3 .icon { color: var(--muted); }
@media (max-width: 760px) { .fgrid { grid-template-columns: 1fr; } }

/* Pricing page */
.plan { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.plan-card { background: var(--navy); color: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); position: sticky; top: 92px; }
.plan-name { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); font-size: 13px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 6px; }
.plan-price b { font-size: 64px; line-height: 1; color: var(--orange); font-weight: 800; }
.plan-price span { color: #cfd8e3; }
.plan-note { color: #cfd8e3; font-size: 14px; margin-bottom: 20px; }
.plan-highlights { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 15px; }
.plan-highlights .icon { color: #6fd39a; }
.plan-all { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.plan-all h2 { font-size: 24px; }
.all-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; }
.all-groups h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 8px 0; }
.all-groups ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.all-groups li { display: flex; gap: 8px; align-items: flex-start; }
.all-groups .icon { color: var(--ok); margin-top: 4px; }
@media (max-width: 900px) {
  .plan { grid-template-columns: 1fr; }
  .plan-card { position: static; }
  .all-groups { grid-template-columns: 1fr; }
}

.calc { max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.calc-users { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; margin-bottom: 16px; }
.calc-users input { width: 120px; font: 700 20px var(--font); padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); text-align: right; }
.calc-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.calc-row b { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-row.ours { color: var(--text); font-weight: 700; }
.calc-row.ours b { color: var(--orange); font-size: 22px; }
.calc-save { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--ok-bg); color: var(--text); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 14px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare tbody th { text-align: left; font-weight: 600; width: 28%; }
.compare thead th { position: sticky; top: 0; background: var(--card); font-size: 15px; vertical-align: bottom; }
.compare thead small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.compare .ours { background: rgba(232, 115, 28, 0.08); }
.compare thead .ours { color: var(--orange); }
.compare tr.group th { background: var(--bg-alt); text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; color: var(--muted); text-align: left; }
.compare .yes { color: var(--ok); display: inline-flex; }
.compare .no { color: var(--muted); }
.compare .txt { color: var(--text); }
.fine-print { color: var(--muted); font-size: 13px; margin-top: 14px; }

.faq { max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Demo form */
.demo { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.demo h1 { font-size: clamp(32px, 4vw, 46px); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form-card label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form-card input, .form-card select, .form-card textarea { font: 16px var(--font); padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); width: 100%; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(232, 115, 28, 0.2); }
.form-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .opt { font-weight: 500; color: var(--muted); font-size: 13px; }
.form-error { background: #fde8e6; color: #8b1f17; border-radius: 10px; padding: 10px 14px; margin: 0; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) {
  .demo { grid-template-columns: 1fr; }
  .form-card .two { grid-template-columns: 1fr; }
}
.thanks { text-align: center; max-width: 640px; }
.thanks .lede { margin: 0 auto 24px; }
.big-check { display: inline-flex; width: 76px; height: 76px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ok-bg); color: var(--ok); margin-bottom: 20px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 28px; background: var(--bg); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-in p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); font-weight: 600; font-size: 14px; }
.fine { color: var(--muted); font-size: 12px; margin-top: 24px; }

/* Fixes: keep visually-hidden labels inside the scrolling table; honor [hidden] on calculator rows;
   keep the feature names visible while the comparison table scrolls sideways on small screens. */
.table-wrap { position: relative; }
.calc-row[hidden] { display: none; }
@media (max-width: 900px) {
  .compare tbody th { position: sticky; left: 0; z-index: 1; background: var(--card); min-width: 170px; box-shadow: 1px 0 0 var(--line); }
  .compare tr.group th { position: sticky; left: 0; }
  .compare thead th:first-child { position: sticky; left: 0; z-index: 2; }
}
.demo-price { margin-top: 20px; }

/* Privacy notice and request form */
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin-top: 36px; scroll-margin-top: 90px; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; }
.prose li { margin-bottom: 8px; }
.prose li b { color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.toc a { font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--text); }
.choices { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.choices legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.form-card label.choice, .form-card label.check-line { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.form-card label.check-line { border: 0; padding: 4px 0; }
.form-card label.choice:has(input:checked) { border-color: var(--orange); background: rgba(232, 115, 28, 0.06); }
.form-card .choice input, .form-card .check-line input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--orange); }
.eyebrow a { color: inherit; }

/* Security page */
.note-box { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 14px 18px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--text); }
.note-box .icon { color: var(--orange); margin-top: 3px; }
.providers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.provider { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.provider header { margin-bottom: 10px; }
.provider h3 { font-size: 21px; margin-bottom: 2px; }
.provider .role { color: var(--orange); font-weight: 700; font-size: 14px; margin: 0; }
.provider p { color: var(--muted); font-size: 15px; }
.provider h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 18px 0 8px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.badges li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--ok-bg); color: var(--text); }
.plain-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }
.small-note { font-size: 14px; margin-top: 10px; }
.provider .links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; }
.provider .links a { font-weight: 700; font-size: 14px; }
@media (max-width: 860px) { .providers { grid-template-columns: 1fr; } }
