/* DigiTV Sign — public homepage (design 01 desktop, 02 phone). Loaded on "/" only. */
.h-hero{position:relative;overflow:hidden;background:var(--s-bg-soft);padding:72px 0 88px}
.h-hero::before{content:"";position:absolute;right:-220px;top:-260px;width:760px;height:760px;border-radius:50%;background:var(--s-brand-50)}
.h-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:48px;align-items:center}
.h-pill{display:inline-flex;align-items:center;gap:8px;margin:0 0 26px;background:var(--s-surface);border:1px solid var(--s-line);border-radius:999px;padding:6px 14px 6px 6px;font-size:13.5px;font-weight:600;color:var(--s-ink-2);box-shadow:var(--s-shadow-card)}
.h-pill span{background:var(--s-brand);color:#fff;border-radius:999px;padding:3px 9px;font-size:11.5px;font-weight:700}
html[data-theme="dark"] .h-pill span{color:#0B0C1C}
.h-hero h1{margin:0 0 22px;font-size:clamp(40px,5.2vw,62px);font-weight:800;line-height:1.02;letter-spacing:-.045em;text-wrap:balance}
.h-hero h1 em{font-style:normal;color:var(--s-brand)}
.h-hero .s-lead{font-size:19px;max-width:480px;margin-bottom:34px}
.h-cta{display:flex;flex-wrap:wrap;gap:12px}
.h-hero .h-cta{margin-bottom:30px}
.h-hero .h-cta .s-btn:first-child{box-shadow:var(--s-shadow-btn),0 18px 30px -14px rgba(16,15,182,.7)}
.h-play{width:28px;height:28px;border-radius:50%;background:var(--s-brand-50);color:var(--s-brand);display:grid;place-items:center}
.h-trust{display:flex;align-items:center;gap:14px;font-size:14px;line-height:1.4;color:var(--s-muted)}
.h-trust strong{color:var(--s-ink)}
.h-avatars{display:flex}
.h-avatars img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:3px solid var(--s-bg-soft)}
.h-avatars img+img{margin-left:-12px}

.h-hero-art{position:relative;padding:0 0 70px 40px}
.h-scene{position:relative;border-radius:28px;overflow:hidden;aspect-ratio:5/4;box-shadow:0 50px 90px -40px rgba(11,18,32,.55)}
.h-scene-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h-scene::after{content:"";position:absolute;inset:0;background:rgba(11,18,32,.35)}
.h-scene-tv{position:absolute;left:9%;right:9%;top:11%;z-index:1}
.h-weather{right:18px;bottom:18px}
.h-updated{right:-16px;top:-18px}
.h-phone{position:absolute;left:0;bottom:0;width:210px;background:#0B0C1C;border-radius:34px;padding:9px;box-shadow:0 40px 60px -24px rgba(11,18,32,.6);z-index:2}
.h-phone-screen{background:#fff;color:#0B1220;border-radius:26px;overflow:hidden;padding:12px 12px 14px}
.h-notch{display:block;width:64px;height:18px;border-radius:10px;background:#0B0C1C;margin:-4px auto 10px}
.h-phone-head{display:flex;align-items:center;margin-bottom:10px}
.h-phone-head strong{flex:1;font-size:13.5px}
.h-live{display:inline-flex;align-items:center;gap:4px;background:#DCFCE7;color:#15803D;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:700}
.h-live i{width:5px;height:5px;border-radius:50%;background:#16A34A}
.h-phone-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px}
.h-phone-grid span{position:relative;display:block;aspect-ratio:1;border-radius:9px;overflow:hidden}
.h-phone-grid img{width:100%;height:100%;object-fit:cover;display:block}
.h-phone-grid span::after{content:"";position:absolute;top:5px;right:5px;width:16px;height:16px;border-radius:50%;box-sizing:border-box}
.h-phone-grid .on::after{background:#100FB6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/9px no-repeat;border:2px solid #fff}
.h-phone-grid .off img{opacity:.55}
.h-phone-grid .off::after{background:rgba(255,255,255,.9);border:2px solid #D9DCE5}
.h-price-row{display:flex;align-items:center;gap:6px;background:#F5F6FA;border-radius:9px;padding:7px 9px;margin-bottom:8px;font-size:11px;color:#3F4656}
.h-price-row span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h-price-row strong{color:#100FB6}
.h-price-row s{color:#9AA0AE}
.h-publish{display:block;height:36px;border-radius:10px;background:#100FB6;color:#fff;font-size:12px;font-weight:700;text-align:center;line-height:36px;box-shadow:0 8px 14px -8px rgba(16,15,182,.8)}

.h-works{border-bottom:1px solid var(--s-line);padding:30px 0}
.h-works .s-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 44px}
.h-works .s-wrap>span:first-child{font-size:14px;font-weight:600;color:var(--s-muted-2)}
.h-device{display:inline-flex;align-items:center;gap:9px;font-size:16px;font-weight:700;color:var(--s-ink-2)}

.h-section{padding:104px 0}
.h-section.soft{background:var(--s-bg-soft)}
.h-intro{text-align:center;max-width:640px;margin:0 auto 56px}
.h-intro.split{display:flex;flex-wrap:wrap;align-items:flex-end;gap:24px;max-width:none;text-align:left;margin-bottom:48px}
.h-intro.split>div{flex:1 1 480px}
.h-intro.split .s-lead{flex:1 1 360px;max-width:440px}
.h-intro.split .s-h2{margin:0}

.h-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.h-steps li,.h-features article{background:var(--s-surface);border:1px solid var(--s-line);border-radius:20px;padding:30px;box-shadow:var(--s-shadow-card)}
.h-num{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--s-brand);color:#fff;font-weight:800;font-size:18px;margin-bottom:22px;box-shadow:0 10px 20px -10px rgba(16,15,182,.7)}
html[data-theme="dark"] .h-num{color:#0B0C1C}
.h-steps h3,.h-features h3{margin:0 0 8px;font-size:21px;font-weight:700;letter-spacing:-.02em}
.h-features h3{font-size:19px}
.h-steps p,.h-features p{margin:0;font-size:15.5px;line-height:1.55;color:var(--s-muted)}
.h-step-art{margin-top:22px;height:120px;border-radius:14px;background:var(--s-bg-soft);display:grid;place-items:center}
.h-step-art .mono{font-family:var(--s-mono);font-weight:500;font-size:22px;color:var(--s-brand)}
.h-step-art .mono.big{font-size:34px;letter-spacing:.12em}
.h-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.h-icon{width:48px;height:48px;border-radius:13px;background:var(--s-brand-50);color:var(--s-brand);display:grid;place-items:center;margin-bottom:20px}

.h-templates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.h-templates>a{display:block;text-decoration:none;color:var(--s-ink);background:var(--s-surface);border:1px solid var(--s-line);border-radius:20px;overflow:hidden;box-shadow:var(--s-shadow-card);transition:transform .15s}
.h-templates>a:hover{transform:translateY(-3px);color:var(--s-ink)}
.h-tpl-img{position:relative;aspect-ratio:4/3;overflow:hidden;padding:22px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff}
.h-tpl-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h-tpl-img::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,12,28,.88) 0%,rgba(11,12,28,.15) 65%)}
.h-tpl-kick,.h-tpl-img strong{position:relative;z-index:1}
.h-tpl-kick{align-self:flex-start;background:#100FB6;border-radius:6px;padding:3px 8px;font-size:10.5px;font-weight:700;letter-spacing:.12em}
.h-tpl-img strong{font-size:24px;font-weight:800;letter-spacing:-.03em;line-height:1.05;margin-top:8px}
.h-tpl-foot{padding:18px 20px;display:flex;align-items:center;gap:10px}
.h-tpl-foot>span:first-child{flex:1;font-size:13.5px;color:var(--s-muted-2)}
.h-tpl-foot strong{display:block;font-size:16px;color:var(--s-ink)}
.h-tpl-foot>span:last-child{color:var(--s-brand);font-weight:700}

.h-faq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:56px}
.h-faq-list{display:flex;flex-direction:column;gap:12px}
.h-faq-list details{border:1px solid var(--s-line);border-radius:16px;padding:20px 22px;background:var(--s-surface)}
.h-faq-list details[open]{background:var(--s-surface-2)}
.h-faq-list summary{display:flex;align-items:center;gap:12px;font-size:16.5px;font-weight:700;cursor:pointer;list-style:none}
.h-faq-list summary::-webkit-details-marker{display:none}
.h-faq-list summary::after{content:"+";margin-left:auto;width:28px;height:28px;border-radius:8px;background:var(--s-bg-soft);display:grid;place-items:center;font-weight:700;flex:none}
.h-faq-list details[open] summary::after{content:"−";background:var(--s-brand);color:#fff}
.h-faq-list p{margin:10px 0 0;font-size:15px;line-height:1.6;color:var(--s-muted)}

.h-final{padding:0 0 104px}
.h-final-card{position:relative;overflow:hidden;background:#100FB6;color:#fff;border-radius:28px;padding:72px 64px;display:flex;flex-wrap:wrap;align-items:center;gap:32px;box-shadow:0 40px 70px -40px rgba(16,15,182,.8)}
.h-final-card::before{content:"";position:absolute;right:-120px;top:-160px;width:480px;height:480px;border-radius:50%;background:rgba(255,255,255,.07)}
.h-final-card::after{content:"";position:absolute;right:220px;bottom:-220px;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.05)}
.h-final-card>*{position:relative;z-index:1}
.h-final-card>div:first-child{flex:1 1 480px}
.h-final-card h2{margin:0 0 12px;font-size:44px;font-weight:800;letter-spacing:-.035em;line-height:1.08}
.h-final-card p{margin:0;font-size:18px;color:#DCDCFB}

.h-video{width:min(1100px,94vw,calc((100vh - 150px) * 16 / 9));max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:18px;background:#000;overflow:visible}
.h-video::backdrop{background:rgba(5,6,13,.8)}
.h-video video{display:block;width:100%;max-height:calc(100vh - 150px);border-radius:18px;background:#000}
.h-video-close{position:absolute;top:-48px;right:0;width:40px;height:40px;border-radius:50%;border:0;background:#fff;color:#0B1220;font-size:26px;line-height:1;cursor:pointer}

@media (max-width:1000px){
  .h-hero-grid{grid-template-columns:1fr}
  .h-hero-art{padding:0 0 70px 0;max-width:640px}
  .h-steps,.h-features{grid-template-columns:1fr 1fr}
  .h-templates{grid-template-columns:1fr 1fr}
  .h-faq{grid-template-columns:1fr;gap:28px}
}
@media (max-width:600px){
  .h-hero{padding:30px 0 34px}
  .h-hero h1{font-size:40px}
  .h-hero .s-lead{font-size:16.5px}
  .h-cta .s-btn{width:100%}
  .h-hero-art{padding-bottom:0}
  .h-scene{aspect-ratio:4/3.6}
  .h-phone,.h-updated{display:none}
  .h-weather{left:12px;right:auto;bottom:12px}
  .h-section{padding:56px 0}
  .h-steps,.h-features,.h-templates{grid-template-columns:1fr}
  .h-final-card{padding:34px 24px}
  .h-final-card h2{font-size:30px}
}
