/* Project page additions for Direction D */
.p-hero{padding:72px 0 0;background:radial-gradient(1000px 460px at 50% 55%,var(--asoft),transparent 58%),var(--bg)}
.hero-fade{position:absolute;left:0;right:0;bottom:0;height:180px;background:linear-gradient(rgba(6,7,11,0),var(--bg));z-index:3;pointer-events:none}
.stage{z-index:4}
.p-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:80px 80px;mask-image:radial-gradient(ellipse 70% 55% at 50% 25%,#000 20%,transparent 75%);-webkit-mask-image:radial-gradient(ellipse 70% 55% at 50% 25%,#000 20%,transparent 75%);opacity:.5;z-index:0}
.p-h1{font-size:60px;line-height:1.04;letter-spacing:-.04em;margin:26px auto 0;white-space:nowrap}
.p-sub{margin-top:18px;font:500 20px/1 var(--ff-b);color:var(--muted);letter-spacing:.02em}
.stage{position:relative;height:640px;margin-top:56px}
.stage-glow{position:absolute;left:50%;bottom:40px;width:900px;height:360px;transform:translateX(-50%);background:radial-gradient(closest-side,var(--aglow),transparent);opacity:.55;filter:blur(20px)}
.big-laptop{position:absolute;left:50%;top:0;width:900px;transform:translateX(-54%)}
.big-laptop .scr{border:14px solid #1B1D24;border-bottom-width:16px;border-radius:20px 20px 0 0;overflow:hidden;aspect-ratio:16/10;background:#000;box-shadow:0 0 0 1px #2E313B,0 60px 120px -40px #000}
.big-laptop .scr img{width:100%;height:100%;object-fit:cover;object-position:top}
.big-laptop .base{height:22px;margin:0 -64px;background:linear-gradient(180deg,#43464F,#1C1E25);border-radius:0 0 22px 22px;box-shadow:0 30px 60px -20px #000}
.big-phone{width:230px;right:calc(50% - 560px);top:150px;border-width:9px;border-radius:36px}
.stage-tag{position:absolute;left:calc(50% - 520px);top:70px;z-index:3;display:inline-flex;align-items:center;gap:10px;font:600 14px/1 var(--ff-b);color:var(--ink);padding:12px 16px;border-radius:999px;border:1px solid var(--line2);background:rgba(14,16,24,.85);backdrop-filter:blur(10px)}
.stage-tag::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--a2);box-shadow:0 0 12px var(--aglow)}
.p-story{padding-top:96px}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.story{padding:44px}
.story-ic{width:52px;height:52px;border-radius:14px;display:grid;place-content:center;background:linear-gradient(180deg,var(--a1),var(--a2));color:#17120A;box-shadow:0 12px 30px -10px var(--aglow)}
.story-ic svg{width:24px;height:24px}
.story h2{font-size:34px;margin:26px 0 18px;letter-spacing:-.03em}
.story p{margin-top:12px}
.story p.pull{font:600 24px/1.35 var(--ff-h);color:var(--ink);letter-spacing:-.02em;margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}
.built{list-style:none;display:grid;gap:14px}
.built li{display:flex;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px dashed rgba(255,255,255,.09)}
.built li:last-child{border-bottom:0;padding-bottom:0}
.built li svg{flex:0 0 22px;height:22px;margin-top:3px;color:var(--a2)}
.flow{display:flex;align-items:center;justify-content:center;gap:28px}
.flow-step{display:flex;flex-direction:column;align-items:center}
.phone.fp{position:relative;width:240px;border-width:9px;border-radius:36px}
.flow-step figcaption{margin-top:22px;display:flex;align-items:center;gap:10px;font:600 17px/1 var(--ff-h);color:var(--ink)}
.flow-step figcaption b{width:28px;height:28px;border-radius:50%;border:1px solid var(--a2);display:grid;place-content:center;font-size:13px;color:var(--a1)}
.flow-arrow{width:56px;height:56px;border-radius:50%;display:grid;place-content:center;border:1px solid var(--line2);background:var(--glass);color:var(--a1);margin-bottom:44px}
.flow-arrow svg{width:22px;height:22px}
.browsers{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;margin-top:96px;align-items:stretch}
.browser.tall{display:flex;flex-direction:column}
.bimg{position:relative;flex:1;min-height:420px}
.browser .bimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top}
.browser-col{display:grid;gap:28px}
.browser{border-radius:16px;overflow:hidden;border:1px solid var(--line2);background:#11131A;box-shadow:0 40px 80px -40px #000}
.bbar{display:flex;gap:7px;padding:13px 16px;background:#191B23;border-bottom:1px solid var(--line)}
.bbar i{width:10px;height:10px;border-radius:50%;background:#3A3D47}
.browser img{width:100%;height:auto}
.browser figcaption{padding:14px 18px;font:600 15px/1 var(--ff-h);color:var(--ink);border-top:1px solid var(--line)}
@media (max-width:1180px){
  .big-laptop{width:760px}.big-laptop .base{margin:0 -54px}
  .big-phone{width:200px;right:calc(50% - 470px)}
  .stage{height:560px}
  .stage-tag{left:calc(50% - 440px)}
}
@media (max-width:1000px){
  .story-grid,.browsers{grid-template-columns:1fr}
  .big-laptop{width:600px}.big-laptop .base{margin:0 -40px}
  .big-phone{width:160px;right:calc(50% - 360px);top:130px}
  .stage{height:470px}
  .stage-tag{left:calc(50% - 300px);top:auto;bottom:6px}
  .p-h1{white-space:normal;font-size:50px;max-width:760px}
  .phone.fp{width:200px}
  .flow{gap:16px}
}
@media (max-width:760px){
  .p-hero{padding-top:44px}
  .p-h1{font-size:34px}
  .stage{height:300px;margin-top:40px}
  .big-laptop{left:22px;width:calc(100% - 90px);transform:none}
  .stage-glow{width:420px;height:220px;bottom:30px}.big-laptop .scr{border-width:7px;border-bottom-width:9px;border-radius:12px 12px 0 0}.big-laptop .base{height:12px;margin:0 -22px}
  .big-phone{width:96px;right:6px;top:70px;border-width:5px;border-radius:18px}
  .stage-tag{left:0;top:auto;bottom:24px;font-size:13px;padding:10px 13px}
  .story{padding:30px 24px}
  .story h2{font-size:28px}
  .story p.pull{font-size:21px}
  .flow{flex-direction:column;gap:18px}
  .flow-arrow{transform:rotate(90deg);margin-bottom:0}
  .phone.fp{width:230px}
  .browsers{display:none}
}
.p-hero > .wrap{z-index:4}
.p-hero{padding-bottom:72px}
@media (max-width:760px){.p-hero{padding-bottom:24px}}
