/* Homepage palette: neutral light surfaces and solid, outlined app columns.
   Kept separate from the shared stylesheet so product/legal pages retain their theme. */
:root {
  color-scheme: light;
  --bg: #ebecee;
  --bg-elev: #f9fafa;
  --bg-elev-2: #ffffff;
  --surface: #f9fafa;
  --surface-strong: #e1e4e8;
  --border: #cbd0d8;
  --border-strong: #aab3bf;
  --text: #141821;
  --text-muted: #555e70;
  --text-soft: #626b7c;
  --accent: #616e9c;
  --accent-2: #397d9f;
  --accent-3: #987523;
  --bill: #187d58;
  --pigeon: #7353af;
  --holos-document-vault: #266caa;
  --holos-drive-vault: #53794c;
  --deadstick-utilities: #576d88;
  --shadow-card: none;
  --shadow-glow: none;
}

body::before, body::after { content: none; }
.nav { background: rgba(235, 236, 238, 0.96); }
.brand-wordmark { filter: brightness(0); opacity: 0.87; }
.nav-cta { background: transparent; }
.nav-cta:hover, .btn:hover { background: #dde1e6; }
.hero h1 { background: none; color: var(--text); }
.hero h1 em {
  background-image: linear-gradient(120deg, #7765b2, #347da8 40%, #398986 68%, #987523);
}
.btn-primary { background: #292e3a; color: #fff; box-shadow: none; }
.btn-primary:hover { background: #1b202b; color: #fff; box-shadow: none; }
.apps-grid { scrollbar-color: #aab3bf transparent; }
.apps-grid::-webkit-scrollbar-thumb { background: #aab3bf; }

.app-card { --card-outline: #a7afb9; }
.app-card.is-billingbird { --card-outline: #55b98c; }
.app-card.is-carrierpigeonvpn { --card-outline: #ac93d5; }
.app-card.is-holos-document-vault { --card-outline: #77a9d8; }
.app-card.is-holos-drive-vault { --card-outline: #9cb58d; }
.app-card.is-deadstick-dash { --card-accent: #86263b; --card-outline: #c68694; }
.app-card.is-deadstick-utilities { --card-outline: #98a9be; }

.app-card,
.app-card.is-primary-focus,
.app-card.is-coming-soon {
  background: #f9fafa;
  border-color: var(--card-outline);
  box-shadow: none;
}
.app-card::before,
.app-card.is-primary-focus::before,
.app-card.is-coming-soon::before { content: none; }
.app-card:hover,
.app-card.is-coming-soon:hover { border-color: var(--card-accent); }
.app-icon,
.app-icon-link:hover,
.app-icon-link:focus-visible,
.app-card.is-coming-soon .app-icon { filter: none; box-shadow: none; }
.app-card.is-coming-soon > *,
.app-card.is-coming-soon:hover > * { opacity: 1; }
.app-card.is-coming-soon::after {
  color: #586172;
  opacity: 0.5;
  border-color: #aab3bf;
  text-shadow: none;
}
.app-card.is-coming-soon .app-link { color: var(--card-accent); border-color: var(--border); }
.app-card.is-coming-soon .app-features li::before { background: var(--card-accent); }
.app-card.is-primary-focus .app-link { border-color: var(--border); }

.cta-panel { background: #e3e6e9; }
.contact-form { background: #f9fafa; }
.cf-status.is-error { color: #a52c21; }
.cf-status.is-success { color: #18714d; }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus { box-shadow: 0 0 0 3px rgba(97, 110, 156, 0.16); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Completed homepage: compact product grid, with details available on demand. */
html { background: #191919; scroll-padding-top: 112px; }
body { margin: 20px auto; width: calc(100% - 48px); max-width: 1440px; border-radius: 32px; overflow: visible; background: var(--bg); }
:root { --pad-x: clamp(24px, 5vw, 64px); --maxw: 1240px; }
.nav { position: relative; }
.nav-inner { min-height: 88px; padding-top: 20px; padding-bottom: 20px; gap: 20px; }
.nav-links { font-size: 13px; gap: 24px; }
.nav-cta { padding: 10px 20px; border-color: #adb3bd; font-size: 13px; }
.hero.wrap, #apps .wrap { max-width: var(--maxw); }
.hero { display: block; padding-top: 48px; padding-bottom: 42px; }
.hero h1 { max-width: none; font-size: clamp(40px, 5vw, 66px); line-height: 1.08; letter-spacing: -0.055em; }
.hero h1 em { display: block; margin-top: 4px; font-size: .8em; font-style: italic; font-weight: 450; letter-spacing: -.045em; color: #454a56; background: none; }
.hero-sub { max-width: 64ch; margin-top: 24px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; }
#apps { padding: 30px 0 56px; }
#apps .section-head { align-items: start; gap: 24px; margin-bottom: 26px; }
#apps .section-head > div { flex: 1.3; }
#apps .section-head h2 { max-width: none; font-size: clamp(25px, 2.8vw, 36px); line-height: 1.2; letter-spacing: -.045em; }
#apps .section-head > p { flex: 1; max-width: 42ch; font-size: 13px; line-height: 1.55; }
.apps-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; overflow: visible; padding: 0; scroll-snap-type: none; align-items: start; }
.app-card, .app-card.is-primary-focus, .app-card.is-coming-soon { min-height: 360px; padding: 24px; border-radius: 14px; }
.app-card:hover { transform: translateY(-2px); }
.app-card.is-coming-soon::after { content: none; }
.app-icon { width: 76px; height: 76px; border-radius: 18px; margin-bottom: 22px; flex-shrink: 0; }
.app-status { position: absolute; right: 18px; top: 25px; max-width: calc(100% - 118px); border-radius: 20px; padding: 4px 10px; background: #eceef2; color: #596173; font-size: 11px; line-height: 1.3; text-align: center; }
.is-billingbird .app-status { color: #187653; background: #e0f3eb; }
.is-deadstick-dash .app-status { color: #86263b; background: #f6e7eb; }
.app-card .app-tag { font-size: 10px; letter-spacing: .07em; margin-bottom: 12px; min-height: 15px; }
.app-card h3 { font-size: clamp(19px, 2vw, 25px); letter-spacing: -.04em; line-height: 1.2; overflow-wrap: anywhere; }
.app-card .app-byline { display: none; }
.app-card .app-title-lockup { margin-bottom: 6px; }
.app-summary { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin: 0 0 12px; }
.app-availability { color: var(--text-soft); font-size: 12px; margin: 0 0 12px; }
.app-more { color: var(--text-soft); font-size: 12px; margin: 0 0 16px; }
.app-more summary { cursor: pointer; width: fit-content; }
.app-more[open] { margin-top: 4px; }
.app-more[open] summary { margin-bottom: 12px; }
.app-more .app-desc, .app-more .app-features { font-size: 13px; }
.app-card .app-link { margin-top: auto; padding-top: 16px; font-size: 14px; }
.is-deadstick-dash .app-link { color: #86263b; }
#company, #contact { display: none; padding: 48px 0; border-top: 1px solid var(--border); }
#company:target, #contact:target { display: block; }
footer { padding: 0 0 22px; border: none; }
.footer-compact { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--border); padding: 28px 0 18px; font-size: 12px; color: var(--text-soft); }
.footer-compact nav { display: flex; gap: 20px; }
.site-information { color: var(--text-soft); font-size: 11px; }
.site-information summary { cursor: pointer; width: fit-content; }
.site-information[open] .footer-grid { margin-top: 28px; }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (min-width: 680px) and (max-width: 1000px) {
  .apps-grid { gap: 14px; }
  .app-card, .app-card.is-primary-focus, .app-card.is-coming-soon { padding: 20px; min-height: 354px; }
  .app-status { right: 12px; padding: 4px 7px; font-size: 10px; max-width: calc(100% - 100px); }
  .app-icon { width: 66px; height: 66px; }
  .nav-links { gap: 16px; font-size: 12px; }
}
@media (min-width: 680px) and (max-width: 799px) {
  .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 679px) {
  body { width: calc(100% - 24px); margin: 12px auto; border-radius: 24px; }
  .nav-inner { flex-wrap: wrap; min-height: 80px; gap: 16px; }
  .nav-links { display: flex; order: 3; width: 100%; justify-content: space-between; gap: 8px; font-size: 12px; }
  .brand-wordmark { max-width: 130px; height: auto; }
  .brand-sub { font-size: 8px; }
  .nav-cta { padding: 8px 12px; }
  .hero { padding-top: 34px; padding-bottom: 24px; }
  .hero h1 { font-size: clamp(33px, 8vw, 46px); }
  .hero-sub { font-size: 16px; margin-top: 20px; }
  .desktop-break { display: none; }
  #apps { padding-top: 20px; padding-bottom: 32px; }
  #apps .section-head { flex-direction: column; gap: 12px; }
  #apps .section-head h2 { font-size: 27px; }
  #apps .section-head > p { max-width: none; }
  .apps-grid { grid-template-columns: 1fr; gap: 16px; }
  .app-card, .app-card.is-primary-focus, .app-card.is-coming-soon { min-height: 330px; }
  .app-card h3 { font-size: 24px; }
  .footer-compact { flex-wrap: wrap; gap: 18px; }
  .footer-compact nav { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .app-card { transition: none; } .app-card:hover { transform: none; } }
/* Final alignment pass at the supplied reference width. */
.nav { border-radius: 32px 32px 0 0; }
.hero h1 { font-size: clamp(40px, 6.7vw, 72px); }
.hero { padding-top: 40px; }
#apps .wrap { padding-left: clamp(24px, 3.6vw, 48px); padding-right: clamp(24px, 3.6vw, 48px); }
#apps .section-head h2 { font-size: clamp(27px, 3.5vw, 38px); }
.apps-grid { align-items: stretch; }
.app-card .app-tag { min-height: 28px; margin-bottom: 8px; letter-spacing: .025em; }
.app-card .app-more { position: absolute; right: 20px; bottom: 22px; margin: 0; z-index: 3; }
.app-card .app-more[open] { position: static; margin: 0 0 16px; }
.app-card .app-link { padding-right: 55px; }
.app-card.is-deadstick-dash .app-link { color: #86263b; }
.app-card .app-link { font-size: 13px; }
@media (min-width: 800px) and (max-width: 1000px) {
  .app-card, .app-card.is-primary-focus, .app-card.is-coming-soon { min-height: 330px; }
  .hero { padding-bottom: 32px; }
  #apps .section-head > div { flex: 1.35; }
  #apps .section-head > p { font-size: 12px; }
}
@media (max-width: 679px) { .hero h1 { font-size: clamp(33px, 8vw, 46px); } .nav { border-radius: 24px 24px 0 0; } }
@media (min-width: 800px) and (max-width: 1000px) {
  .nav-inner { min-height: 80px; padding-top: 16px; padding-bottom: 16px; }
  .hero { padding-top: 36px; padding-bottom: 24px; }
  .hero-sub { margin-top: 18px; }
  #apps { padding-top: 24px; }
  .app-card, .app-card.is-primary-focus, .app-card.is-coming-soon { min-height: 316px; }
}
@media (min-width: 680px) and (max-width: 720px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-links { display: flex; order: 3; width: 100%; justify-content: space-between; }
}
