/* Landing page only (index.html). The request-access page keeps site.css alone. */
:root{--gulf:#1F6F8B;--sky:#EAF2F7;--night:#0E1F38}
header.top{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--line)}
header.top .wrap{display:flex;flex-wrap:nowrap;align-items:center;gap:1.25rem;min-height:68px;padding-top:.5rem;padding-bottom:.5rem}
header.top .btn{white-space:nowrap}
header.top .brand{margin-right:auto}
header.top nav{display:flex;gap:1.4rem}
header.top nav a{text-decoration:none;font-weight:600;color:var(--navy);padding:.6rem 0;min-height:48px;display:inline-flex;align-items:center}
header.top nav a:hover{text-decoration:underline;text-underline-offset:4px}
/* Sign in is for the boards already using DirectorSight, Get started is for the ones that are not.
   An outline marks it as the way back in rather than another page of the sales pitch. */
header.top nav a.signin{border:2px solid rgba(19,41,75,.35);border-radius:10px;padding:.4rem .9rem;margin-left:.4rem}
header.top nav a.signin:hover{background:rgba(19,41,75,.07);text-decoration:none}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 1.4rem;border-radius:12px;font-weight:700;text-decoration:none}

/* first screen: the Gulf-coast tower with the real app in front of it */
.lp-hero{position:relative;overflow:hidden;background:var(--night);color:#fff;isolation:isolate;padding:0}
.lp-hero .scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 100%;z-index:-2}
.lp-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(14,31,56,.92) 0%,rgba(14,31,56,.78) 42%,rgba(14,31,56,.15) 75%)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:2.5rem;align-items:center;padding-top:4.5rem;padding-bottom:4.5rem}
.lp-hero .by{color:#F2D682;font-weight:700;margin:0 0 .8rem}
.lp-hero h1{color:#fff;font-size:clamp(2rem,1.2rem + 2.6vw,3.1rem);letter-spacing:-.01em;max-width:16ch}
.lp-hero .lead{font-size:1.15rem;color:#E6ECF3;max-width:34rem;margin:1rem 0 1.6rem}
.lp-hero .ctas{display:flex;gap:.75rem;flex-wrap:wrap}
.lp-hero .btn{background:var(--gold);color:var(--navy);border:2px solid var(--gold)}
.lp-hero .btn.light{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.85)}
.lp-hero .fine{color:#D5DEE9;margin:1rem 0 0;font-size:.95rem}

/* phone frame around real app screenshots */
.phone{margin:0;justify-self:center;width:min(100%,290px);background:var(--night);border:10px solid var(--night);border-radius:40px;box-shadow:0 24px 60px rgba(9,20,38,.35),0 0 0 1px rgba(255,255,255,.08) inset;overflow:hidden}
.phone img{display:block;width:100%;height:auto;border-radius:28px}
.hero-phone{transform:translateY(1.5rem)}

/* tour: one idea per row, alternating sides */
.tour{padding:3.5rem 0 1rem}
.tour .row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:3rem;align-items:center;padding:2.5rem 1.25rem}
.tour .row.flip .copy{order:2}
.tour h2,.more h2,.setup h2,.pricing h2,.faq h2,.last h2{font-size:clamp(1.6rem,1.2rem + 1.2vw,2.2rem)}
.tour p{font-size:1.1rem;color:var(--steel);max-width:34rem}
.facts{list-style:none;padding:0;margin:1.2rem 0 0;display:grid;gap:.6rem}
.facts li{display:flex;gap:.6rem;align-items:flex-start;font-weight:600;color:var(--ink)}
.facts li::before{content:"";flex:none;width:.7rem;height:.7rem;margin-top:.45rem;border-radius:3px;background:var(--gold)}

.more{background:var(--sky);padding:3.5rem 0}
.more-list{list-style:none;padding:0;margin:1.6rem 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem 2.4rem}
.more-list li{display:flex;gap:1rem;align-items:flex-start}
.more-list svg{flex:none;width:48px;height:48px;padding:11px;border-radius:14px;background:var(--navy);color:var(--gold)}
.more-list h3{font-size:1.15rem}.more-list p{margin:.35rem 0 0;color:var(--steel)}

.setup{padding:3.5rem 0}
.lp-steps{list-style:none;counter-reset:s;padding:0;margin:1.6rem 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.6rem}
.lp-steps li{counter-increment:s;border-top:3px solid var(--gold);padding-top:1rem}
.lp-steps li::before{content:counter(s);font:700 2rem var(--head);color:var(--navy);display:block;margin-bottom:.3rem}
.lp-steps h3{font-size:1.15rem}.lp-steps p{margin:.4rem 0 0;color:var(--steel)}

.getapp{background:var(--sky);padding:3.5rem 0}
.app-grid{display:grid;grid-template-columns:minmax(0,1.2fr) auto;grid-template-areas:"copy icon" "how how" "fine fine";gap:1.6rem 2.5rem;align-items:center}
.app-copy{grid-area:copy}.app-copy h2{font-size:clamp(1.6rem,1.2rem + 1.2vw,2.2rem)}
.app-copy p{font-size:1.1rem;color:var(--steel);max-width:36rem}
.app-ctas{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin-top:1rem}
.btn.off{background:#E3E8EF;color:#45526A;border-color:#E3E8EF;cursor:default}
.homeicon{grid-area:icon;justify-self:center;display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.4rem 1.8rem;border-radius:28px;background:linear-gradient(160deg,#2E4E7A,#13294B);color:#fff;font-weight:600;font-size:.95rem}
.homeicon img{width:96px;height:96px;border-radius:22px;box-shadow:0 8px 20px rgba(0,0,0,.3)}
.howto{grid-area:how;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.howto>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.2rem 1.3rem}
.howto h3{font-size:1.15rem}
.howto ol{margin:.6rem 0 0;padding-left:1.3rem;display:grid;gap:.35rem;color:var(--ink)}
.app-fine{grid-area:fine;margin:0;color:var(--steel);max-width:46rem}
.trust{background:var(--navy);color:#fff;padding:3.5rem 0}
.trust-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:2rem;align-items:start}
.trust h2{color:#fff;font-size:clamp(1.6rem,1.2rem + 1.2vw,2.2rem)}
.trust ul{margin:0;padding:0;list-style:none;display:grid;gap:.9rem}
.trust li{padding-left:1.4rem;position:relative;color:#E6ECF3;font-size:1.05rem}
.trust li::before{content:"";position:absolute;left:0;top:.55rem;width:.6rem;height:.6rem;border-radius:50%;background:var(--gold)}

.pricing{padding:3.5rem 0}
.pricing .sub{color:var(--steel);max-width:40rem}
.lp-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.6rem 0}
.lp-tier{border:2px solid var(--line);border-radius:16px;padding:1.3rem}
.lp-tier h3{font-size:1.05rem}
.lp-tier .amt{font:700 2.2rem var(--head);color:var(--navy);margin:.4rem 0 0}
.lp-tier .amt span{font:600 1rem var(--body);color:var(--steel)}

.faq{background:var(--sky);padding:3.5rem 0}
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;margin:.8rem 0;max-width:46rem}
.faq summary{cursor:pointer;min-height:56px;display:flex;align-items:center;padding:.6rem 1.1rem;font-weight:700;color:var(--navy);list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";margin-left:auto;font:700 1.4rem var(--head);color:var(--gold-ink)}
.faq details[open] summary::after{content:"\2212"}
.faq details p{margin:0;padding:0 1.1rem 1rem;color:var(--steel)}

.last{padding:3rem 0;text-align:center}
.last .btn{margin-top:1rem}
footer .legal{max-width:44rem;color:var(--steel);font-size:.95rem}

.narrow-only{display:none!important}
@media (max-width:860px){
  .narrow-only{display:block!important}.wide-only{display:none!important}
  header.top nav{display:none}
  header.top .wrap{min-height:60px;gap:.5rem;flex-wrap:nowrap;padding-left:1rem;padding-right:1rem}
  header.top .brand{min-width:0;gap:.4rem}
  header.top .brand img{width:32px;height:22px}
  header.top .brand span{font-size:1.02rem;white-space:nowrap}
  header.top .langswitch{padding:0 .5rem;min-width:48px}
  header.top .btn{min-height:48px;padding:0 .8rem;font-size:.92rem}
  /* hero on phones: words on solid navy, then the building as a clear picture band */
  .lp-hero{display:flex;flex-direction:column}
  .lp-hero::before{display:none}
  .lp-hero .scene{position:relative;order:2;height:240px;object-position:62% 85%;z-index:0}
  .lp-hero h1{font-size:min(1.85rem,8.6vw);max-width:none}
  .lp-hero .by{font-size:.95rem}
  .lp-hero .lead{font-size:1.05rem;margin:.8rem 0 1.2rem}
  .hero-phone{display:none}
  .tour .phone{aspect-ratio:9/13}
  .tour .phone img{height:100%;object-fit:cover;object-position:top}
  .hero-grid{grid-template-columns:1fr;padding-top:2rem;padding-bottom:2rem;gap:0}
  .tour .row,.tour .row.flip{grid-template-columns:1fr;gap:1.6rem;padding:2rem 1.25rem}
  .tour .row.flip .copy{order:0}
  .tour .phone{width:min(76%,250px)}
  .more-list,.lp-steps,.lp-tiers,.trust-grid,.howto{grid-template-columns:1fr}
  .app-grid{grid-template-columns:1fr;grid-template-areas:"icon" "copy" "how" "fine"}
  .homeicon{justify-self:start;flex-direction:row;padding:.8rem 1.2rem;border-radius:20px}
  .homeicon img{width:64px;height:64px;border-radius:15px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

/* jump links land below the sticky header */
main section[id]{scroll-margin-top:84px}

.langswitch{min-height:48px;min-width:48px;padding:0 .7rem;border:2px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);font:700 .95rem var(--body);cursor:pointer;white-space:nowrap}
.langswitch:hover{border-color:var(--navy)}

/* narrow phones: full name and language switch; Get started is the first button on the page */
@media (max-width:420px){header.top .wrap > a.btn{display:none}header.top .brand{min-width:auto}header.top .wrap{justify-content:space-between}}

/* the logo link is a tap target too */
header.top .brand{display:inline-flex;align-items:center;min-height:48px}

/* an odd last item spans the full row on computers */
@media (min-width:861px){.more-list li:last-child:nth-child(odd){grid-column:1/-1}}

/* light and dark screenshots side by side */
.daynight{padding:3.5rem 0;background:linear-gradient(90deg,var(--sky) 0 50%,#13294B 50% 100%)}
.dn-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:2.5rem;align-items:center}
.daynight .copy{background:#fff;border-radius:16px;padding:1.4rem 1.5rem;box-shadow:0 8px 24px rgba(19,41,75,.08)}
.daynight h2{font-size:clamp(1.6rem,1.2rem + 1.2vw,2.2rem)}.daynight p{font-size:1.1rem;color:var(--steel);margin:.6rem 0 0}
.dn-phones{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;justify-items:center}
.dn-phones .phone{width:min(100%,240px)}
.dn-phones figcaption{text-align:center;font-weight:700;color:#fff;margin-top:.6rem;background:rgba(19,41,75,.85);border-radius:999px;padding:.25rem .9rem}
.dn-phones .phone{overflow:visible;background:transparent;border:0;box-shadow:none}
.dn-phones .phone img{border:8px solid var(--night);border-radius:34px;box-shadow:0 18px 44px rgba(9,20,38,.35)}
@media (max-width:860px){.daynight{background:var(--sky)}.dn-grid{grid-template-columns:1fr;gap:1.4rem}.dn-phones{gap:.8rem}.dn-phones .phone{width:100%}.dn-phones figcaption{font-size:.95rem}}

/* promises under the prices */
.promise{list-style:none;padding:0;margin:1.6rem 0 1.8rem;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;text-align:left}
.promise li{display:flex;gap:.7rem;align-items:flex-start;background:#fff;border:1px solid var(--line,#E2E8F0);border-radius:14px;padding:1rem}
.promise svg{flex:none;width:28px;height:28px;color:#1F7A4D;margin-top:.1rem}
.promise h3{font-size:1.02rem;margin:0}.promise p{margin:.3rem 0 0;color:var(--steel);font-size:.95rem}
@media (max-width:1000px){.promise{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.promise{grid-template-columns:1fr}}

/* demo video: text and chapters beside a phone-shaped video (stacked on phones) */
.lp-demo{padding:3.2rem 0 3rem;background:linear-gradient(180deg,rgba(19,41,75,.06),rgba(19,41,75,.02))}
.demo-grid{display:grid;grid-template-columns:minmax(0,32rem) auto;justify-content:center;grid-template-areas:"head phone" "chapters phone";column-gap:3.5rem;row-gap:1.2rem;align-items:start}
.demo-head{grid-area:head;align-self:end}.demo-phone{grid-area:phone}.demo-chapters{grid-area:chapters}
.lp-demo .demo-lead{max-width:34rem;margin:.6rem 0 0;color:var(--steel)}
.demo-tip{margin:0 0 .5rem;font-size:.9rem;color:var(--steel)}
.demo-steps{list-style:none;margin:0;padding:0;display:grid;gap:.5rem;max-width:30rem}
.demo-step{display:flex;align-items:center;gap:.8rem;width:100%;min-height:52px;padding:.55rem .9rem;border:1px solid rgba(19,41,75,.15);border-radius:12px;background:#fff;color:#13294B;font-weight:600;font-size:1rem;line-height:1.3;font-family:inherit;text-align:left;cursor:pointer;transition:background .2s,border-color .2s}
.demo-step:hover{border-color:#C9A227}
.demo-num{flex:none;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(19,41,75,.08);font-weight:800}
.demo-step.on{background:rgba(226,190,75,.22);border-color:#C9A227;box-shadow:inset 4px 0 0 #C9A227}.demo-step.on .demo-num{background:#E2BE4B;color:#13294B}
.demo-step:focus-visible{outline:3px solid #C9A227;outline-offset:2px}
.demo-phone{width:min(300px,78vw);margin:0 auto;border:10px solid #13294B;border-radius:34px;overflow:hidden;box-shadow:0 18px 40px rgba(19,41,75,.28);background:#13294B}
.demo-phone video{display:block;width:100%;height:auto;aspect-ratio:390/844;background:#13294B}
@media (max-width:820px){.demo-grid{grid-template-columns:1fr;grid-template-areas:"head" "phone" "chapters";text-align:center}.lp-demo .demo-lead{margin:.6rem auto 0}.demo-steps{margin:0 auto}.demo-chapters{text-align:left;max-width:30rem;margin:0 auto;width:100%}.demo-tip{text-align:center}}
