/* FastTV 2.0 — landing visual foundation.
   Layered on existing CSS to preserve live demos, login and FAQ behavior.
   Hero storefront composite will be introduced in a separate asset PR. */
:root {
  --color-background: #f7f6f2;
  --color-surface: #ffffff;
  --color-primary: #244b3b;
  --color-primary-dark: #18382c;
  --color-secondary: #17251f;
  --color-muted: #626f68;
  --color-border: rgba(32, 53, 42, .12);
  --color-accent: #d9e5dd;
  --shadow-lg: 0 24px 65px rgba(24, 45, 35, .10);
  --shadow-md: 0 12px 35px rgba(24, 45, 35, .07);
  --shadow-sm: 0 5px 16px rgba(24, 45, 35, .05);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}
body { background: var(--color-background); color: var(--color-secondary); }
.landing-header {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(247, 246, 242, .95);
  border-bottom: 1px solid var(--color-border);
}
.landing-header__brand img { height: clamp(44px, 5vw, 62px); }
.landing-header__nav { gap: clamp(14px, 2.2vw, 28px); }
.landing-header__nav a { font-size: .92rem; }
.btn { border-radius: 10px; box-shadow: none; gap: 10px; }
.btn--primary { background: var(--color-primary); box-shadow: none; }
.btn--primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-sm); }
.btn--secondary { background: #e7eee9; }
.btn--ghost { border: 1px solid rgba(32,53,42,.24); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid #7aa38b; outline-offset: 3px;
}
.hero {
  background: radial-gradient(ellipse at 75% 20%, #e4e8df 0%, transparent 52%),
              linear-gradient(110deg, #faf9f6 0%, #f2f2ec 100%);
}
.hero__layout { width: min(100%, 1360px); }
.hero h1 { font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.07; letter-spacing: -.055em; }
.hero__content > p { color: #4e5b53; line-height: 1.65; }
.hero__badges { color: #426a59; }
.hero__badges i { color: #426a59; }
.hero__frame { border-radius: 14px; overflow: hidden; box-shadow: 0 25px 70px rgba(18,37,27,.13); }
.usps, .how, .demo, .social-proof { background-color: transparent; }
.usps article, .how__step { border-color: var(--color-border); }
section h2 { letter-spacing: -.035em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Full-page polish aligned with the approved hero/dashboard direction. */
.section-inner { width:min(100%,1240px); }
.hero { padding-top:clamp(70px,8vw,118px); padding-bottom:clamp(70px,8vw,118px); }
.hero__layout { gap:clamp(30px,5vw,80px); }
.hero__content h1 { max-width:690px; font-size:clamp(3rem,5.2vw,5.4rem); line-height:1.07; letter-spacing:-.06em; font-weight:750; }
.hero__content p { max-width:550px; font-size:clamp(1rem,1.35vw,1.18rem); line-height:1.7; color:#536158; }
.hero__cta { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:30px; }
.hero__badges { display:flex; flex-wrap:wrap; gap:12px 22px; margin-top:27px; }
.hero__badges span { color:#4d6856; font-size:12px; }
.hero__visual { min-width:0; }
.hero__frame--video { border:7px solid #1d2921; background:#17241d; border-radius:12px; box-shadow:0 32px 80px rgba(20,42,30,.17); }
.hero__video { display:block; width:100%; }
.usps { padding-top:52px; padding-bottom:75px; background:#fff; }
.usps h2,.how h2,.demo h2,.trust h2 { font-size:clamp(2rem,3.4vw,3.3rem); letter-spacing:-.045em; line-height:1.12; }
.usps__grid { gap:16px; }
.usps__grid article { background:#f8f9f6; border:1px solid #e7ebe4; border-radius:13px; box-shadow:none; }
.usps__grid article i { color:#426a59; }
.how { background:#f7f6f2; }
.how__step { background:#fff; border:1px solid #e5e9e3; border-radius:13px; box-shadow:none; }
.how__step-number { background:#e2ece4; color:#28503a; }
.social-proof { background:#e8eee7; }
.social-proof__content h2 { letter-spacing:-.04em; }
.demo { background:#fff; }
.demo__tab { border-radius:9px; border-color:#e2e8e1; }
.demo__tab.is-active { border-color:#426a59; background:#eaf1eb; }
.demo__frame { border:1px solid #e3e9e2; border-radius:12px; box-shadow:0 18px 50px rgba(22,43,29,.08); }
.trust { background:#f7f6f2; }
.trust__grid article { border:1px solid #e4e9e2; border-radius:13px; background:#fff; box-shadow:none; }
.trust__grid article i { color:#426a59; }
.trust__faq details { border:1px solid #e5e9e2; background:#fff; border-radius:10px; }
.cta { background:#e7eee6; }
.cta__card { background:#1f4433; color:#fff; border-radius:16px; box-shadow:none; }
.cta__card p { color:#dce8df; }
.landing-footer { background:#17281e; color:#eaf0eb; }
@media(max-width:900px) { .hero__layout{gap:38px;} .hero__content h1{font-size:clamp(2.7rem,8vw,4.4rem);} }
@media(max-width:620px) { .hero{padding-top:54px;padding-bottom:55px;} .hero__cta{align-items:stretch;} .hero__cta .btn{flex:1 1 auto;} .hero__frame--video{border-width:4px;} .landing-header__brand img{height:44px;} }


/* FastTV 2.0 landing: visual composition from the approved storefront mockup. */
.landing-visually-hidden { position:absolute!important; width:1px; height:1px; margin:-1px!important; padding:0!important; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.landing-header { min-height:72px; padding:9px max(28px,calc((100vw - 1350px)/2)); background:rgba(251,250,247,.96); box-shadow:0 1px 0 rgba(20,42,27,.06); }
.landing-header__wordmark { display:inline-block; color:#112019; text-decoration:none; font-size:clamp(27px,2.8vw,36px); font-weight:800; letter-spacing:-.085em; line-height:1; white-space:nowrap; }
.landing-header__wordmark span { color:#426a59; }
.landing-header__nav { display:flex; align-items:center; gap:clamp(14px,2.3vw,38px); }
.landing-header__nav a { font-size:13px; font-weight:550; color:#25342a; padding:12px 1px; }
.landing-header__nav a:hover { color:#38674c; }
.landing-header__actions { display:flex; gap:12px; align-items:center; }
.landing-header .btn--quiet { background:transparent; box-shadow:none; border:0; font-weight:600; color:#27382e; font-size:13px; padding:12px 16px; }
.landing-header__demo { font-size:13px; padding:12px 21px; border-radius:8px; }

.hero { position:relative; isolation:isolate; padding:0; background:#f7f6f2; overflow:hidden; }
.hero__layout { display:grid; grid-template-columns:minmax(0,48%) minmax(0,52%); width:min(100%,1510px); min-height:535px; gap:0; align-items:stretch; }
.hero__content { padding:clamp(50px,5vw,105px) clamp(26px,4vw,65px) clamp(55px,5.5vw,95px) clamp(28px,5vw,85px); position:relative; z-index:2; display:flex; align-items:flex-start; flex-direction:column; justify-content:center; }
.hero__eyebrow { font-size:10px!important; font-weight:700; color:#3d6550!important; letter-spacing:.19em; line-height:1.5!important; margin:0 0 20px!important; }
.hero__content h1 { font-size:clamp(46px,4.5vw,74px); line-height:1.055; font-weight:790; letter-spacing:-.065em; color:#10231c; margin:0 0 21px; max-width:680px; }
.hero__description { max-width:570px; margin:0 0 27px!important; font-size:clamp(15px,1.36vw,19px)!important; font-weight:400; color:#4d5b52!important; line-height:1.67!important; }
.hero__cta { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-start!important; margin:0 0 21px; }
.hero__cta .btn { min-height:50px; padding:13px 24px; border-radius:8px; font-size:14px; font-weight:700; }
.hero__cta .btn--ghost { background:rgba(255,255,255,.68); border-color:#708074; color:#183125; }
.hero__cta .btn--ghost:hover { background:#fff; border-color:#2d5f41; }
.hero__badges { display:flex!important; align-items:center; justify-content:flex-start!important; flex-wrap:wrap; gap:12px 19px; margin:4px 0 0; }
.hero__badges span { padding:0!important; background:none!important; color:#41594b!important; font-size:11px!important; white-space:nowrap; }
.hero__badges i { font-size:15px; color:#4a8a66!important; }
.hero__visual { display:grid; align-items:center; justify-content:center; position:relative; min-width:0; overflow:hidden; background:linear-gradient(145deg,#e7e4da,#c5cac0); padding:clamp(23px,3.3vw,50px); }
.hero__visual::before { position:absolute; inset:-25px; content:""; background-image:linear-gradient(90deg,rgba(247,246,242,.63),rgba(247,246,242,0) 30%),url('/static/video/fasttv_demo_poster.jpg'); background-size:cover; background-position:center; filter:blur(20px); transform:scale(1.12); opacity:.35; }
.hero__window { position:relative; z-index:1; width:100%; display:grid; place-items:center; min-height:325px; }
.hero__storefront-photo { width:100%; height:auto; object-fit:contain; border-radius:6px; box-shadow:0 22px 60px rgba(17,32,21,.20); }
.hero__window.has-photo .hero__frame { display:none!important; }
.hero__window:not(.has-photo) .hero__storefront-photo { display:none; }
.hero__frame--video { display:block; width:100%; padding:0!important; border:7px solid #1e2923; border-radius:7px; background:#1a241e; box-shadow:0 22px 65px rgba(19,32,22,.25); transform:perspective(1200px) rotateY(-2deg); }
.hero__video { display:block; border-radius:0!important; width:100%; max-height:none!important; aspect-ratio:16/9; object-fit:cover; background:#121e17; }

.usps { padding:23px clamp(22px,5vw,80px) 28px!important; background:#fafaf8; text-align:left; border-bottom:1px solid #eff0eb; }
.usps .section-inner { width:min(100%,1400px); }
.usps__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0!important; }
.usps__grid article { display:grid; grid-template-columns:45px 1fr; grid-template-rows:auto 1fr; column-gap:17px; text-align:left; min-height:90px; padding:16px 20px!important; border:0!important; border-right:1px solid #e0e5dd!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
.usps__grid article:last-child { border-right:0!important; }
.usps__grid article i { display:grid; place-items:center; grid-row:1/3; margin:0; width:45px; height:45px; border-radius:50%; background:#e0ebe1; color:#28533a; font-size:19px; }
.usps__grid article h3 { font-size:13px; margin:0 0 6px; color:#1e3326; line-height:1.35; }
.usps__grid article p { font-size:11px; line-height:1.5; color:#657169; margin:0; }

.ft2-showcase { background:#fbfaf7; padding:57px clamp(24px,5vw,80px) 76px; }
.ft2-showcase__layout { display:grid; grid-template-columns:minmax(260px,.85fr) minmax(0,1.65fr); gap:clamp(30px,4.5vw,80px); align-items:start; width:min(100%,1370px); }
.ft2-showcase__intro { padding-top:6px; }
.ft2-showcase__eyebrow { margin:0 0 17px; font-size:10px; font-weight:750; color:#536d5b; letter-spacing:.17em; }
.ft2-showcase__intro h2 { font-size:clamp(28px,3vw,42px); letter-spacing:-.06em; margin:0 0 15px; line-height:1.1; color:#1a2921; }
.ft2-showcase__intro p:not(.ft2-showcase__eyebrow) { max-width:430px; margin:0 0 24px; font-size:14px; line-height:1.7; color:#59655d; }
.ft2-showcase__intro .btn { font-size:13px; border-radius:8px; padding:13px 18px; }
.ft2-showcase__cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.ft2-showcase__card { min-width:0; }
.ft2-showcase__image { height:137px; background:#e3e9e3; border:1px solid #e3e8df; border-radius:9px; overflow:hidden; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:#34664d; font-weight:700; font-size:12px; }
.ft2-showcase__image img { width:100%; height:100%; object-fit:cover; }
.ft2-showcase__image i { font-size:36px; }
.ft2-showcase__image--media { background:linear-gradient(140deg,#d9ded5,#f6efe2); color:#6b715c; }
.ft2-showcase__image--instagram { background:linear-gradient(145deg,#f6e8df,#e7e8dd); color:#aa5b65; }
.ft2-showcase__image--weather { background:linear-gradient(145deg,#dceaf1,#b8d2e0); color:#3b697e; }
.ft2-showcase__card h3 { font-size:13px; margin:13px 0 6px; color:#22382a; }
.ft2-showcase__card p { font-size:11px; line-height:1.55; color:#737f74; margin:0; }

.how,.social-proof,.demo,.trust,.cta { scroll-margin-top:80px; }
.how { background:#f1f4ee; }
.how__step { border:1px solid #e0e8df; box-shadow:none; }
.demo { background:#fff; }
.social-proof { background:#244b3b; }
.social-proof__content h2,.social-proof__content p { color:#f6f8f3; }
.trust { background:#f7f6f2; }
.cta { background:#eaf0e8; }
.landing-footer { background:#1b2f23; color:#e8eee5; }
.landing-header__nav a:focus-visible,.landing-header__actions button:focus-visible,.hero__cta a:focus-visible,.ft2-showcase a:focus-visible { outline:3px solid #8dbaa0; outline-offset:4px; }

@media(max-width:1100px) {
  .hero__layout { grid-template-columns:minmax(0,52%) minmax(0,48%); min-height:490px; }
  .hero__content { padding-left:34px; padding-right:30px; }
  .hero__content h1 { font-size:clamp(38px,4.5vw,55px); }
  .usps__grid article { padding:12px 10px!important; column-gap:10px; }
  .ft2-showcase__layout { grid-template-columns:1fr; gap:25px; }
  .ft2-showcase__cards { max-width:none; }
}
@media(max-width:760px) {
  .landing-header { padding:13px 20px; min-height:68px; }
  .landing-header__wordmark { font-size:30px; }
  .landing-header__nav { display:none; }
  .landing-header__actions .btn--quiet { display:none; }
  .landing-header__actions .landing-header__demo { display:inline-flex; padding:11px 12px; font-size:12px; }
  .header-login-icon { display:inline-flex; }
  .hero__layout { grid-template-columns:1fr; min-height:0; }
  .hero__content { padding:50px 24px 30px; }
  .hero__content h1 { font-size:clamp(42px,8.3vw,62px); }
  .hero__eyebrow { margin-bottom:15px!important; }
  .hero__description { font-size:16px!important; }
  .hero__badges { gap:8px 18px; }
  .hero__badges span { font-size:10px!important; }
  .hero__visual { min-height:265px; padding:28px 22px 42px; }
  .hero__window { min-height:0; }
  .hero__frame--video { transform:none; }
  .usps { padding:15px 20px!important; }
  .usps__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .usps__grid article { border-right:0!important; min-height:90px; }
  .usps__grid article:nth-child(odd) { border-right:1px solid #e0e5dd!important; }
  .ft2-showcase { padding:52px 24px 60px; }
  .ft2-showcase__cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:420px) {
  .hero__content h1 { font-size:39px; }
  .hero__cta { align-items:stretch; }
  .hero__cta .btn { flex:1 1 100%; }
  .hero__badges { display:grid!important; gap:8px; }
  .usps__grid { grid-template-columns:1fr; }
  .usps__grid article,.usps__grid article:nth-child(odd) { border-right:0!important; border-bottom:1px solid #e2e7df!important; }
}
@media(prefers-reduced-motion:reduce) {
  .hero__video { animation:none!important; }
  .hero__frame--video { transform:none; }
}


/* === Storefront hero: the COMPLETE generated photograph, no screen mask. ===
   The image is shipped separately by the operator at
   static/images/fasttv-storefront.webp. Only this hero uses it; the existing
   live office demos remain in #demo. */
.hero--with-storefront {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  min-height: clamp(535px, 43vw, 660px);
  padding: 0;
  overflow: hidden;
  background: #e8e5db;
}
.hero--with-storefront .hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero--with-storefront .hero__scene-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
}
/* Light editorial veil behind the copy, with the TV and the rest of the
   storefront revealed toward the right — not a black rectangle or overlay. */
.hero--with-storefront::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(249,248,245,.99) 0%,
      rgba(249,248,245,.97) 24%,
      rgba(249,248,245,.87) 36%,
      rgba(249,248,245,.63) 46%,
      rgba(249,248,245,.20) 59%,
      rgba(249,248,245,0) 76%),
    linear-gradient(0deg, rgba(249,248,245,.07), transparent 46%);
}
.hero--with-storefront .hero__ambient {
  display: none;
}
.hero--with-storefront .hero__layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  width: min(100%, 1510px);
  min-height: clamp(535px, 43vw, 660px);
}
.hero--with-storefront .hero__content {
  width: min(59%, 810px);
  padding: 60px clamp(30px, 4.4vw, 70px) 67px clamp(34px, 6vw, 97px);
}
.hero--with-storefront .hero__content h1 {
  max-width: 720px;
}
.hero--with-storefront .hero__description {
  max-width: 545px;
}
.hero--with-storefront .hero__badges {
  gap: 10px 16px;
}
@media (min-width: 1511px) {
  .hero--with-storefront .hero__content {
    padding-left: 92px;
  }
}
@media (min-width: 761px) and (max-width: 1160px) {
  .hero--with-storefront .hero__content {
    width: min(65%, 760px);
    padding-left: clamp(30px, 4vw, 60px);
    padding-right: 30px;
  }
  .hero--with-storefront::before {
    background: linear-gradient(90deg,
      rgba(249,248,245,.99) 0%,
      rgba(249,248,245,.97) 27%,
      rgba(249,248,245,.84) 42%,
      rgba(249,248,245,.30) 67%,
      transparent 89%);
  }
}
/* On a narrow screen the copy comes first, followed by the ENTIRE image.
   No crop can cut away the TV or the office sign. */
@media (max-width: 760px) {
  .hero--with-storefront {
    min-height: 0;
    background: #f7f6f2;
  }
  .hero--with-storefront::before { display: none; }
  .hero--with-storefront .hero__layout {
    order: 1;
    display: block;
    min-height: 0;
    width: 100%;
  }
  .hero--with-storefront .hero__content {
    width: 100%;
    padding: 45px 24px 35px;
  }
  .hero--with-storefront .hero__scene {
    order: 2;
    position: relative;
    inset: auto;
    overflow: visible;
    width: 100%;
  }
  .hero--with-storefront .hero__scene-photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}


/* The approved full-screen photograph replaces the hero video, not the
   existing product demo. Keep that clip available without autoplay. */
.demo__video-disclosure {
  width: min(100%, 760px);
  margin: 26px auto 0;
  border: 1px solid #e0e8de;
  border-radius: 11px;
  background: #f9fbf8;
  overflow: hidden;
}
.demo__video-disclosure summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: #284b37;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.demo__video-disclosure summary::-webkit-details-marker { display: none; }
.demo__video-disclosure summary i:first-child { font-size: 19px; }
.demo__video-disclosure summary .demo__video-chevron {
  margin-left: auto;
  font-size: 11px;
  transition: transform .2s ease;
}
.demo__video-disclosure[open] .demo__video-chevron { transform: rotate(180deg); }
.demo__video-content { padding: 0 17px 17px; }
.demo__video-content video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #17251d;
  border-radius: 8px;
}
.demo__video-disclosure summary:focus-visible {
  outline: 3px solid #83b296;
  outline-offset: -3px;
}
@media (prefers-reduced-motion: reduce) {
  .demo__video-disclosure summary .demo__video-chevron { transition: none; }
}
