/* Homepage layout; shared navigation, forms and demo behavior stay in their own assets. */
.home-demo-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:22px; }
.home-demo-actions p { width:100%; margin:0; font-size:.82rem; color:#c6d2e4; }
.home-tour { padding:10px 0; border:0; background:transparent; color:#e0eaf8; text-decoration:underline; text-underline-offset:4px; font:600 .85rem Inter,sans-serif; cursor:pointer; }
.home-demo-mobile { display:none; }
.home-demo .demo-status { padding:0; color:#c6d2e4; font-size:.82rem; margin-top:10px; }
.home-demo .duo-modern, .home-demo .duo-key { display:none; }
.home-demo .duo-classic { width:100%; }
.home-demo [hidden] { display:none!important; }
.customer-proof .trust-strip { margin-top:30px; padding:20px 0 0; border-bottom:0; }
.home-pillar { overflow:hidden; padding:0; display:flex; flex-direction:column; }
.home-pillar>img { width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; border-bottom:1px solid var(--line); }
.home-pillar-copy { padding:24px; display:flex; flex-direction:column; flex:1; }
.home-pillar h3 { font-size:1.35rem; line-height:1.3; margin-top:10px; }
.home-pillar-copy>p { font-size:.94rem; color:var(--muted); line-height:1.65; }
.home-pillar .pillar-proof { margin-top:auto; padding-top:18px; }
.pillar-proof strong, .pillar-proof span { display:block; }
.pillar-proof strong { color:var(--ink); font-size:1.25rem; }
.pillar-proof span { font-size:.8rem; line-height:1.5; }
.home-pillar a { font-weight:650; }
.home-security { scroll-margin-top:90px; }
.home-security-head { max-width:900px; }
.home-security-head p { max-width:78ch; margin-bottom:0; }
.home-security-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:stretch; }
.home-security-panel { display:flex; flex-direction:column; padding:28px; min-width:0; }
.home-security h3 { font-size:1.3rem; line-height:1.3; margin:0 0 22px; }
.home-security-panel .checks { margin:0 0 24px; }
.home-security-panel .checks li:last-child { margin-bottom:0; }
.home-security-links { display:flex; flex-direction:column; gap:10px; margin-top:auto; padding-top:20px; border-top:1px solid rgba(255,255,255,.12); min-height:88px; }
.home-security a { color:#8ce8bd; }
@media(max-width:860px) {
  .home-security-grid { grid-template-columns:1fr; }
  .home-security-links { min-height:0; }
}
@media(max-width:640px) {
  .home-security-panel { padding:22px; }
}
@media(min-width:961px) {
  .hero-home { padding-top:28px; padding-bottom:30px; }
  .hero-home .hero-grid { gap:36px; align-items:center; }
  .hero-home .pill { margin-bottom:12px; }
  .hero-home .eyebrow { margin-bottom:10px; }
  .hero-home .home-slogan { font-size:3.15rem; line-height:1.08; margin-bottom:20px; }
  .hero-home .hero-copy .lead { font-size:1.1rem; line-height:1.45; margin-bottom:12px; }
  .hero-home .hero-ai { font-size:1rem; line-height:1.5; margin-bottom:16px; }
  .hero-home .hero-copy>.btn-row { margin-bottom:16px; }
  .hero-home .price-vs { margin-bottom:12px; }
  .hero-home .price-vs>div { padding:12px; }
  .hero-home .pv-num { font-size:2rem; }
  .hero-home .hero-note { font-size:.75rem; line-height:1.5; margin-top:10px; }
  .hero-home .duo-classic .screen { padding-top:16px; padding-bottom:16px; }
  .home-demo-actions { margin-top:16px; }
  .home-page main>section:not(.hero):not(.customer-proof):not(.home-fallback) { padding-top:48px; padding-bottom:48px; }
  .home-page .section-head { margin-bottom:32px; }
  .home-page .why-third .wt-card { font-size:1rem; line-height:1.55; }
  .home-page .home-pillar>img { aspect-ratio:16/9; }
  .home-page .home-pillar-copy { padding:22px; }
  .home-page .home-pillar-copy>p { line-height:1.55; margin-top:12px; margin-bottom:12px; }
  .home-page .home-pillar h3 { font-size:1.25rem; }
  .home-page .home-customer-story h3 { font-size:1.25rem; line-height:1.3; }
  .home-page .home-customer-story p { font-size:.94rem; line-height:1.55; }
  .home-page .site-footer .footer-grid { grid-template-columns:1.2fr 1fr 1.25fr 1.15fr 1fr; gap:24px; }
  .home-page .site-footer { font-size:.82rem; line-height:1.45; }
  .home-page .site-footer li { margin-bottom:6px; }
}
@media(min-width:1100px) {
  .home-page .site-footer .footer-grid { grid-template-columns:1.2fr 1fr 2fr 1.15fr .9fr; }
  .home-page .footer-grid>details:nth-child(3) ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:16px; align-content:start; }
}
@media(max-width:640px) {
  .home-demo-desktop { display:none; }
  .home-demo-mobile { display:inline-flex; }
  .home-demo-actions { align-items:stretch; flex-direction:column; }
  .home-demo-actions .btn { justify-content:center; }
  .home-tour { text-align:center; }
  .home-pillar-copy { padding:22px; }
  .home-pillars .grid-3 { grid-template-columns:1fr; }
  .customer-proof .trust-strip { margin-top:24px; }
}

/* Keep the savings promise prominent while naming the product in the H1. */
.hero-home .home-product-name { font-size:clamp(1.35rem,2.1vw,1.8rem); line-height:1.25; letter-spacing:-.025em; margin:0 0 12px; }
.home-slogan { color:#fff; font-size:clamp(2.2rem,4.6vw,3.6rem); font-weight:750; line-height:1.1; letter-spacing:-.035em; margin:0 0 20px; }
.home-slogan .h1-accent { color:var(--phos); white-space:nowrap; }

/* First-paint HTML report; its exception opens without a script. */
.report-paper { position: relative; border-radius: 7px; background: #f9faf6; color: var(--ink); box-shadow: 0 18px 40px #030e1c35, 5px 5px 0 #bacfc4; }
.report-binding { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 9px clamp(16px,2.4vw,30px); color: #bdebd2; background: #24473f; border-radius: 7px 7px 0 0; }
.report-body { padding: clamp(18px,2.3vw,32px); }
.hero-home .report-super { color: #496158; margin-bottom: 8px; }
.hero-home .report-paper h2 { font-size: clamp(1.75rem,2.6vw,2.55rem); }
.hero-home .report-context { color: #44594f; font-size: .9rem; }
.report-totals { display: grid; grid-template-columns: repeat(3,1fr); padding: 18px 0 15px; }
.report-totals div { display: flex; flex-direction: column-reverse; align-items: start; justify-content: end; border-left: 1px solid var(--rule); padding-left: clamp(8px,1.1vw,16px); }
.report-totals div:first-child { padding-left: 0; border: 0; }
.report-totals dt { color: #43574c; font-size: .77rem; line-height: 1.3; }
.report-totals dd { color: #1a3c31; font-size: clamp(1.5rem,2.35vw,2.15rem); font-variant-numeric: tabular-nums; font-weight: 690; line-height: 1.2; }
.report-exception { border-block: 1px solid var(--rule); }
.report-exception summary { min-height: 54px; padding: 10px 2px; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; }
.report-exception summary::-webkit-details-marker { display:none; }
.report-exception strong, .report-exception small { display:block; }
.report-exception strong { color: #744b0d; font-size: .94rem; }
.report-exception small { margin: 2px 0 0; color: var(--muted); font-size: .78rem; }
.report-plus { display:grid; place-content:center; width:26px; height:26px; border:1px solid #c5d1c6; border-radius:50%; color:var(--ink); }
.report-exception[open] .report-plus { transform: rotate(45deg); }
.hero-home .report-exception p { font-size:.9rem; padding: 0 0 14px; color:var(--muted); }
.hero-home .paper-link { color:var(--forest); min-height:44px; display:inline-flex; gap:7px; align-items:center; font-weight:650; }
.hero-home .paper-link { font-size:.88rem; margin-bottom:-7px; }

.hero-home .report-paper { --ink:#132a2c; --rule:#cbd6d1; --forest:#08704e; --muted:#435a5c; min-width:0; width:100%; align-self:center; }
.hero-home .report-paper h2 { color:#132a2c; margin:0; }
.report-binding,.report-super { font:600 .76rem/1.4 ui-monospace,monospace; letter-spacing:.055em; }
.report-body dl,.report-body dd { margin:0; }
.hero-home .migration-subhead { color:inherit; font-size:clamp(1.18rem,2vw,1.55rem); margin:0 0 .5rem; line-height:1.25; }
.home-pillar>img[src*="modern-view-iphone"] { object-fit:contain; background:#233331; }
@media(max-width:860px){ .hero-home .hero-grid { grid-template-columns:minmax(0,1fr); } .report-paper { max-width:580px; } }

.readiness-meter { height:5px; margin-top:18px; border-radius:4px; background:linear-gradient(to right,#078164 calc(100% - 3px),#bc5b32 0); }
.hero-home .film-exception { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; border-top:1px solid var(--rule); margin:0; padding-top:14px; color:#3c514b; font-size:.85rem; }
.film-exception span:first-child { color:#82460f; font-weight:650; }
.film-actions { display:flex; align-items:center; flex-wrap:wrap; gap:6px 20px; border-top:1px solid var(--rule); padding:14px clamp(18px,2.3vw,32px); background:#edf3ef; border-radius:0 0 7px 7px; }
.hero-home .film-actions .film-play { display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:0 16px; border-radius:6px; color:#fff; background:#154c3e; font-weight:700; text-decoration:none; }
.film-actions .film-play:hover { background:#09382e; }
.film-play-icon { border-block:6px solid transparent; border-left:10px solid currentColor; }
.film-play small { color:#c3e9d8; font-size:.78rem; font-variant-numeric:tabular-nums; }
.hero-home .film-actions .paper-link { color:#14563f; text-decoration:underline; text-underline-offset:3px; margin:0; font-size:.81rem; }
#switch-day-player { box-sizing:border-box; width:min(960px,94vw,calc((100dvh - 95px) * 16 / 9)); max-width:96vw; max-height:94dvh; margin:auto; padding:0; border:1px solid #44534f; border-radius:10px; color:#f7faf8; background:#0d1816; box-shadow:0 20px 90px #0009; }
#switch-day-player::backdrop { background:#07100edb; }
.film-header { display:flex; justify-content:space-between; align-items:center; padding:4px 15px; min-height:44px; }
.film-header button,.film-replay { min-height:44px; padding:0 8px; font:inherit; color:inherit; background:transparent; border:0; cursor:pointer; }
.film-stage { position:relative; aspect-ratio:16/9; background:#000; }
.film-stage video { display:block; width:100%; height:100%; }
.film-end { position:absolute; inset:0; display:grid; align-content:center; justify-items:center; gap:12px; padding:16px; text-align:center; background:#112c25; }
#switch-day-player [hidden] { display:none; }
.film-end p { font-size:clamp(1.2rem,3vw,2rem); line-height:1.15; font-weight:700; margin:0; color:#fff; }
.film-replay,.film-error a { color:#c0edda; text-decoration:underline; text-underline-offset:3px; }
.film-error { margin:0; padding:12px 16px; }
@media(max-width:640px) {
  .hero-home .hero-grid { gap:16px; }
  .hero-home .hero-grid > .hero-copy:first-child { display:contents; }
  .hero-home .hero-copy > * { margin:0; }
  .hero-home .hero-copy .btn-row,.hero-home .hero-copy .hero-note { order:2; }
  .hero-home .hero-copy .lead { order:1; }
  .hero-home .report-body { padding:16px; }
  .hero-home .report-totals { padding:13px 0; }
  .hero-home .report-paper h2 { font-size:1.5rem; }
  .film-actions { padding:9px 16px; gap:2px 12px; }
}

.hero-home .film-actions .film-return-cta { display:inline-flex; align-items:center; min-height:44px; font-weight:700; color:#14563f; text-decoration:underline; text-underline-offset:3px; }
.film-actions .film-return-cta[hidden], .film-mobile-contact { display:none; }
@media (hover:none), (max-width:640px) {
  #switch-day-player:not(.film-finished) .film-mobile-contact { display:block; padding:12px 16px; min-height:44px; text-align:center; background:#164c3f; color:white; font-weight:650; text-decoration:underline; text-underline-offset:3px; }
}
.hero-home .film-actions .film-return-cta[hidden],
.film-inline-open > .report-body,
.film-inline-open > .film-actions { display:none; }
.film-inline-open #switch-day-player {
  position:static; width:100%; max-width:none; max-height:none; margin:0;
  border:0; border-radius:0 0 7px 7px; box-shadow:none; overflow:hidden;
  background:var(--paper,#f6f8f5); color:#153c30;
}
.film-inline-open .film-header { background:#edf3ef; }
.film-inline-open .film-end { background:#edf3ef; }
.film-inline-open .film-end p,.film-inline-open .film-replay,.film-inline-open .film-error a { color:#153c30; }
.film-watch-page { min-height:100vh; margin:0; background:#101c1a; color:white; font-family:system-ui,sans-serif; }
.film-watch-page main { max-width:900px; padding:clamp(16px,4vw,40px); margin:auto; }
.film-watch-page h1 { margin:16px 0; font-size:clamp(1.75rem,4vw,2.5rem); color:white; }
.film-watch-page video { display:block; width:100%; max-height:64dvh; aspect-ratio:16/9; margin-bottom:16px; background:black; }
.film-watch-page .home-link { color:#c1e8d8; display:inline-block; padding:10px 0; }
.film-watch-page .watch-contact { display:inline-block; border-radius:6px; padding:13px 18px; background:#66e1ae; color:#10281e; font-weight:700; text-decoration:none; }

.home-release-notice {
  background: #101e2c;
  color: #d6ece3;
  text-align: center;
  font-size: .8125rem;
  line-height: 1.4;
}
.home-release-notice a {
  display: inline-block;
  padding: 5px 10px;
  color: inherit;
  text-decoration: none;
}
.home-release-notice a:hover,
.home-release-notice a:focus-visible { text-decoration: underline; }
.home-release-notice .home-notice-short { display: none; }

.home-fallback {
  padding: 14px 0;
  scroll-margin-top: 5rem;
  background: #f3f7f5;
  border-bottom: 1px solid #d5e0da;
}
.home-fallback-row, .home-fallback-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.home-fallback-row { justify-content: space-between; gap: 8px 24px; }
.home-fallback-row > :first-child { flex: 1 1 36rem; }
.home-fallback h2 { margin: 0 0 3px; font-size: 1.125rem; line-height: 1.3; }
.home-fallback p { margin: 0; color: #40544b; font-size: .875rem; }
.home-fallback-links { gap: 4px 18px; }
.home-fallback a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #086043;
}
.home-fallback-links a {
  padding: 4px 0;
  font-size: .875rem;
  font-weight: 600;
}
@media (max-width: 48rem) {
  .home-release-notice .home-notice-short { display: inline; }
  .home-release-notice .home-notice-long { display: none; }
}
