:root{
  --bg:#0b1214;
  --surface:#111d20;
  --surface-2:#16262a;
  --line:rgba(214,238,234,.11);
  --text:#f1f5f2;
  --muted:#9aaba8;
  --mint:#70dec5;
  --mint-ink:#09221d;
  --warm:#f3ae6b;
  --radius:26px;
}
body{background:radial-gradient(circle at 82% 3%,rgba(55,118,110,.17),transparent 27%),var(--bg)}
.nav-shell{top:10px;width:min(1240px,calc(100% - 24px));min-height:62px;border-radius:18px;background:rgba(13,24,27,.88)}
.nav-actions{display:flex;align-items:center;justify-self:end;gap:10px}
.locale-switch{display:flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.025)}
.locale-switch button{min-width:31px;height:30px;padding:0 7px;border:0;border-radius:8px;background:transparent;color:#8fa09d;font:750 10px/1 inherit;cursor:pointer}
.locale-switch button:hover,.locale-switch button.active{background:#20373a;color:var(--mint)}
.nav-cta{border-radius:11px}
.hero{grid-template-columns:.82fr 1.18fr;align-items:start;min-height:850px;max-width:1440px;margin:auto;padding:76px max(24px,5vw) 126px}
.hero-copy{padding-top:126px}
.hero-copy,.hero-gallery{min-width:0}
.hero h1{font-size:clamp(52px,5.2vw,82px);line-height:.96}
.hero h1 span{white-space:nowrap}
.hero h1 .accent{color:var(--mint)}
.hero-copy>p{max-width:510px;font-size:clamp(17px,1.4vw,21px)}
.hero-gallery{min-height:590px;margin-top:38px}
.status-device{top:62px;right:-3%;width:104%;border-radius:24px}
.home-device{right:5%;bottom:-12px;width:min(31%,270px);border-width:5px;border-radius:30px}
.feature-orb{left:2%;bottom:6%;width:112px;height:112px;background:#173034}
.mode-dock{bottom:24px;border-radius:16px;background:rgba(18,34,37,.94)}
.mode-dock span,.mini-points span,.studio-tools span,.control-icons span{border-radius:10px}
.mode-dock b,.mini-points b,.studio-tools b,.control-icons b{font:inherit}
.feature-block,.control-world,.camera-world,.utility-grid,.prompt-world,.download-band{width:min(1260px,calc(100% - 32px));margin-bottom:84px}
.feature-block,.camera-world{border:1px solid var(--line);border-radius:34px;background:linear-gradient(145deg,#152529,#101b1e)}
.copy h2,.camera-copy h2,.section-heading h2,.download-band h2{font-size:clamp(40px,4.7vw,70px)}
.soft-frame,.status-device,.home-device{border-color:var(--line);border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.25)}
.status-shot img{aspect-ratio:20/9;object-fit:cover}
.icon-chip{border-radius:14px;background:#1c3d38}
.icon-chip.warm{background:#3a2c22}
.control-world,.prompt-world{border:1px solid var(--line);border-radius:34px;background:#122023;color:var(--text)}
.control-world .section-heading>p,.prompt-world .section-heading>p{color:var(--muted)}
.control-world .icon-chip,.prompt-world .icon-chip{background:#1c3d38;color:var(--mint)}
.control-collage .editor{box-shadow:0 24px 70px rgba(0,0,0,.27)}
.utility-grid{gap:16px}
.utility-grid article{border:1px solid var(--line);border-radius:30px;background:#122023}
.studio-tools span{background:#1a2e31;color:#cbd7d4}
.download-band{border:1px solid var(--line);border-radius:34px;background:#15282b}
footer{max-width:1380px;margin:auto}

.docs-layout{grid-template-columns:220px minmax(0,800px);max-width:1160px;padding-top:86px}
.docs-layout aside{top:96px;gap:8px}
.docs-layout aside strong{margin-bottom:8px;color:var(--text);font-size:12px}
.docs-layout aside a{padding:7px 10px;border-radius:8px;font-size:13px}
.docs-layout aside a:hover{background:var(--surface);color:var(--mint)}
.docs-layout article>h1{max-width:760px;font-size:clamp(48px,7vw,86px)}
.docs-lead{max-width:640px;margin:22px 0 52px;color:var(--muted);font-size:18px;line-height:1.55}
.docs-layout article section{position:relative;margin:0;padding:42px 0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.docs-layout article section:last-child{border-bottom:1px solid var(--line)}
.docs-layout article section h2{margin:0 0 20px;padding-right:60px;font-size:32px;letter-spacing:-.03em}
.docs-layout article section p,.docs-layout article li,.docs-layout article dd{color:#aab9b6;line-height:1.72}
.docs-layout article ol,.docs-layout article ul{padding-left:22px}
.doc-icon{position:absolute;top:36px;right:0;display:grid;width:42px;height:42px;place-content:center;border-radius:13px;background:#183330;color:var(--mint);font-size:21px}
.docs-layout .note{padding:16px 18px;border-left:2px solid var(--mint);background:rgba(112,222,197,.055)}
.docs-layout dl{display:grid;gap:1px;margin:24px 0 0}
.docs-layout dl>div{display:grid;grid-template-columns:150px 1fr;gap:22px;padding:17px 0;border-top:1px solid var(--line)}
.docs-layout dt{font-weight:800}
.docs-layout dd{margin:0}

@media(max-width:900px){
  .nav-shell{grid-template-columns:1fr auto}.nav-actions{grid-column:2}.locale-switch{display:none}
  .hero{grid-template-columns:1fr;padding-top:108px}.hero-copy{padding-top:22px}.hero-gallery{min-height:500px;margin-top:0}
  .docs-layout{grid-template-columns:1fr}.docs-layout aside{position:static;grid-template-columns:repeat(2,1fr);margin-bottom:36px}.docs-layout aside strong{grid-column:1/-1}
}
@media(max-width:560px){
  .nav-shell{display:flex;min-height:56px}.nav-actions{margin-left:auto}.nav-cta{display:none}.locale-switch{display:flex}.locale-switch button{min-width:27px;padding:0 5px}
  .hero{width:100%;min-width:0;overflow:hidden;padding:82px 16px 76px}.hero-copy,.hero-copy>p{width:100%;max-width:100%;min-width:0}.hero h1{font-size:49px}.hero h1 span{white-space:normal}.hero-gallery{min-height:400px}
  .status-device{right:-26%;width:134%}.home-device{right:0;width:39%}.feature-orb{width:92px;height:92px}
  .feature-block,.control-world,.camera-world,.utility-grid,.prompt-world,.download-band{width:calc(100% - 20px);padding:25px;border-radius:26px}
  .utility-grid{padding:0}.utility-grid article{padding:25px;border-radius:26px}
  .docs-layout{padding:72px 18px 90px}.docs-layout aside{grid-template-columns:1fr 1fr;gap:4px}.docs-layout article section{padding:34px 0}.docs-layout article section h2{font-size:27px}.docs-layout dl>div{grid-template-columns:1fr;gap:5px}
}

/* V4 image-led landing page */
.v4-hero{position:relative;display:block;overflow:hidden;min-height:760px;width:min(1560px,calc(100% - 24px));margin:28px auto 110px;border:1px solid var(--line);border-radius:32px;background:#080d10}
.v4-hero-scene{position:absolute;inset:0;margin:0}.v4-hero-scene::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,11,13,.94) 0%,rgba(5,11,13,.7) 25%,transparent 58%)}
.v4-hero-scene img{width:100%;height:100%;object-fit:cover}
.v4-hero-copy{position:absolute;z-index:2;top:50%;left:6%;width:min(590px,42%);padding:0;transform:translateY(-50%)}
.v4-hero-copy h1{margin:0;font-size:clamp(54px,5vw,78px);line-height:.92;letter-spacing:-.055em}
.v4-hero-copy h1 span{white-space:nowrap}.v4-hero-copy h1 span:last-child{color:var(--mint)}
.v4-hero-copy>p{max-width:560px;margin:28px 0 0;color:var(--muted);font-size:20px;line-height:1.55}
.v4-showcase{width:min(1420px,calc(100% - 24px));margin:0 auto 112px;padding-top:54px}
.v4-heading{display:grid;grid-template-columns:54px minmax(0,1fr);gap:18px 24px;align-items:start;width:min(1120px,calc(100% - 40px));margin:0 auto 36px}
.v4-heading h2{grid-column:2;max-width:100%;margin:0;font-size:clamp(42px,5vw,72px);line-height:.98;letter-spacing:-.05em;text-wrap:balance;white-space:nowrap}
.v4-heading p{grid-column:2;max-width:680px;margin:0;color:var(--muted);font-size:18px;line-height:1.55}
.v4-heading .icon-chip{grid-row:1/3}
.v4-image{overflow:hidden;margin:0;border:1px solid var(--line);border-radius:28px;background:#090f12;box-shadow:0 34px 90px rgba(0,0,0,.28)}
.v4-image img{width:100%;aspect-ratio:20/9;object-fit:cover}
.v4-status{width:100%;max-width:none}.v4-status .v4-heading{width:min(1320px,calc(100% - 40px))}
.v4-status .v4-image{width:100%;border-right:0;border-left:0;border-radius:0}.v4-status .v4-image img{aspect-ratio:auto;max-height:none}
.v4-showcase:nth-of-type(odd) .v4-heading{padding-left:8vw}
.v4-download{margin-top:10px}
@media(max-width:900px){
  .v4-hero{min-height:720px;margin-top:18px}.v4-hero-copy{top:100px;left:28px;width:calc(100% - 56px);transform:none}.v4-hero-scene::after{background:linear-gradient(180deg,rgba(5,11,13,.94) 0%,rgba(5,11,13,.6) 42%,transparent 72%)}.v4-hero-scene img{object-position:64% center}
  .v4-heading h2{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .v4-showcase:nth-of-type(odd) .v4-heading{padding-left:0}
}
@media(max-width:560px){
  .v4-hero{width:calc(100% - 12px);min-height:680px;margin-bottom:72px;border-radius:23px}.v4-hero-copy{top:82px;left:20px;width:calc(100% - 40px)}.v4-hero-copy h1{font-size:47px}.v4-hero-copy>p{font-size:16px}.v4-hero-scene img{object-position:67% center}
  html[lang="fr-CA"] .v4-hero-copy h1{font-size:41px}
  .v4-showcase{margin-bottom:72px;padding-top:24px}.v4-heading{grid-template-columns:44px 1fr;gap:14px 16px;width:calc(100% - 30px);margin-bottom:24px}.v4-heading .icon-chip{width:44px;height:44px;border-radius:12px}.v4-heading h2{font-size:38px}.v4-heading p{font-size:15px}
  .v4-image{border-radius:18px}.v4-image img{aspect-ratio:16/9}.v4-status .v4-heading{width:calc(100% - 30px)}.v4-status .v4-image img{min-height:230px;object-fit:cover}
}
