/* Homepage only: owner requested fixed charcoal styling and a quiet, direct hero. */
:root.home-dark {
  color-scheme: dark;
  --bg: #101012;
  --surface: #18181c;
  --ink: #f5f5f7;
  --muted: #b5b5be;
  --green: #a8bfff;
  --hover: #cfdcff;
  --on-green: #101012;
  --sage: #242429;
  --line: #34343b;
  --focus: #e8e8ef;
}
.home-dark .site-header {
  width: min(1320px, calc(100% - 64px));
  min-height: 64px;
}
.home-dark .site-header nav {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center;
  gap: 16px;
}
.home-dark .nav-how { justify-self: start; }
.home-dark .nav-install { justify-self: center; }
.home-dark .nav-faq { justify-self: end; }
.home-dark .nav-text { min-height: 48px; display: inline-flex; align-items: center; }
.home-dark a, .home-dark summary { -webkit-tap-highlight-color: #ffffff26; }
.home-dark .hero {
  width: min(1320px, calc(100% - 64px));
  max-width: none;
  min-height: calc(100svh - 64px);
  padding-block: 8px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.35fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 46px);
  align-items: center;
}
.home-dark .hero-copy { grid-column: 2; grid-row: 1; text-align: center; }
.home-dark .hero h1 {
  font-size: clamp(42px, 3.7vw, 54px);
  line-height: 1.04;
  letter-spacing: -.06em;
  white-space: normal;
  text-wrap: balance;
  margin-bottom: 22px;
}
.home-dark .hero-description { margin: 0 auto 26px; max-width: 36ch; font-size: 17px; line-height: 1.6; }
.home-dark .hero-scope { margin: -12px auto 20px; max-width: 42ch; color: var(--muted); font-size: 14px; line-height: 1.5; }
.home-dark .download-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 8px; }
.home-dark .hero .download-link { min-height: 56px; flex: 0 0 auto; font-size: 16px; padding: 16px 26px; white-space: nowrap; }
.home-dark .hero .text-link { justify-content: center; min-height: 46px; font-size: 14px; color: var(--muted); }
.home-dark .iphone-note { font-size: 14px; line-height: 1.5; margin-bottom: 0; }
.home-dark .iphone-contact { min-height: 48px; display: inline-flex; align-items: center; }
.home-dark .hero-shot {
  position: relative;
  grid-row: 1;
  width: min(100%, 34svh, 350px);
  align-self: center;
  margin: 0 auto;
}
.home-dark .hero-shot-left { grid-column: 1; }
.home-dark .hero-shot-right { grid-column: 3; }
.home-dark .screen-frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 9 / 20;
  overflow: hidden;
  background: #08080a;
  border: 6px solid #29292f;
  border-radius: 32px;
  box-shadow: 0 20px 55px #0008;
}
.home-dark .hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.home-dark .hero + .section { border-top: 1px solid var(--line); }
@media (max-width: 1023px) {
  .home-dark .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 18px; padding-block: 10px 48px; }
  .home-dark .hero-copy { grid-column: 1 / -1; grid-row: 1; max-width: 620px; margin-inline: auto; }
  .home-dark .hero-shot { grid-row: 2; width: min(100%, 34svh, 300px); }
  .home-dark .hero-shot-left { grid-column: 1; justify-self: end; margin-right: 0; }
  .home-dark .hero-shot-right { grid-column: 2; justify-self: start; margin-left: 0; }
  .home-dark .hero h1 { font-size: clamp(46px, 5.3vw, 54px); }
}
@media (max-width: 767px) {
  .home-dark .site-header, .home-dark .hero { width: calc(100% - 40px); }
  .home-dark .site-header { min-height: 56px; }
  .home-dark .site-header nav { gap: 8px; }
  .home-dark .nav-text { font-size: 13px; }
  .home-dark .hero { min-height: 0; padding-block: 12px 42px; gap: 28px 12px; }
  .home-dark .hero h1 { font-size: clamp(35px, 8.5vw, 48px); line-height: 1.06; margin-bottom: 16px; }
  .home-dark .hero-description { font-size: 16px; line-height: 1.5; margin-bottom: 20px; }
  .home-dark .download-actions { gap: 0; margin-bottom: 2px; }
  .home-dark .hero .download-link { width: 100%; flex: 0 0 auto; white-space: normal; }
  .home-dark .hero-shot { width: min(100%, 34svh, 300px); }
  .home-dark .screen-frame { border-width: 3px; border-radius: 19px; }
}
@media (max-width: 359px) {
  .home-dark .site-header, .home-dark .hero { width: calc(100% - 32px); }
  .home-dark .nav-text { font-size: 12px; }
  .home-dark .hero h1 { font-size: 34px; }
}
@media (max-width: 767px) {
  .home-dark .site-header nav { grid-template-columns: 1fr auto; gap: 0 8px; }
  .home-dark .nav-how { grid-column: 1; grid-row: 1; }
  .home-dark .language-links { grid-column: 2; grid-row: 1; }
  .home-dark .nav-install { grid-column: 1; grid-row: 2; justify-self: start; }
  .home-dark .nav-faq { grid-column: 2; grid-row: 2; justify-self: end; }
}
