:root{--c:#00d4ff;--m:#ff2d8a;--v:#7b2cff;--t:#f5f7ff;--mut:#aeb8cb}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#010207;color:var(--t);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input{font:inherit}#app{position:relative;width:100vw;height:100dvh;min-height:620px;overflow:hidden;background:#02030a}
#tunnel{position:absolute;inset:0;width:100%;height:100%}.vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 32%,rgba(0,0,0,.2) 62%,rgba(0,0,0,.86) 100%)}
.controls{position:absolute;z-index:20;top:16px;right:16px;display:flex;gap:6px;padding:6px;border:1px solid rgba(170,190,255,.13);border-radius:13px;background:rgba(2,6,18,.86)}
.controls button{border:1px solid transparent;border-radius:8px;padding:7px 9px;background:none;color:#8290aa;font-size:10px;font-weight:800;cursor:pointer}.controls button.active{color:#dffaff;border-color:rgba(0,212,255,.24);background:rgba(0,212,255,.08)}
.brand{position:absolute;z-index:5;top:clamp(48px,6vh,74px);left:50%;display:flex;align-items:center;gap:12px;transform:translateX(-50%);filter:drop-shadow(0 0 20px rgba(123,44,255,.22))}
.brand img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(255,45,138,.22)) drop-shadow(0 0 14px rgba(0,212,255,.16))}.brand div{display:grid;gap:5px}.brand strong{font-size:clamp(32px,4vw,54px);line-height:.9;background:linear-gradient(90deg,#ff2d8a 0%,#7b2cff 54%,#00d4ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 16px rgba(123,44,255,.16)}.brand span{text-transform:uppercase;letter-spacing:.14em;font-size:10px;color:#dbe5f5}
.entrance,.login{position:absolute;z-index:6;inset:0;display:grid;place-items:center;padding:140px 22px 90px}.entrance{align-items:end;padding-bottom:clamp(90px,14vh,150px);transition:.8s ease}
#access{display:flex;align-items:center;gap:14px;min-width:min(330px,calc(100vw - 40px));padding:14px 18px;border:1px solid rgba(190,210,255,.2);border-radius:15px;color:white;background:linear-gradient(100deg,rgba(255,45,138,.12),rgba(3,8,22,.92) 38%,rgba(0,212,255,.12));cursor:pointer;box-shadow:-1px 0 rgba(255,45,138,.8),1px 0 rgba(0,212,255,.8),0 20px 46px rgba(0,0,0,.45),0 0 26px rgba(123,44,255,.2)}
#access b{font-size:28px}#access span{display:grid;text-align:left;gap:2px}#access strong{font-size:18px}#access small{font-size:12px;color:#aeb8cb}
.login{visibility:hidden;opacity:0;transform:scale(.82);pointer-events:none;transition:.8s cubic-bezier(.16,.84,.2,1)}.frame{width:min(450px,calc(100vw - 32px));padding:1px;border-radius:24px;background:linear-gradient(135deg,var(--m),rgba(123,44,255,.55),var(--c));box-shadow:-14px 0 34px rgba(255,45,138,.17),14px 0 34px rgba(0,212,255,.17),0 28px 76px rgba(0,0,0,.65)}
form{display:grid;gap:17px;padding:34px;border-radius:23px;background:radial-gradient(circle at 0 0,rgba(255,45,138,.055),transparent 35%),radial-gradient(circle at 100% 0,rgba(0,212,255,.05),transparent 38%),linear-gradient(150deg,rgba(7,12,29,.99),rgba(2,6,18,.98))}
.kicker,.sub,h1{margin:0;text-align:center}.kicker{color:var(--c);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}h1{font-size:36px}.sub{color:var(--mut);font-size:13px}
form>label{display:grid;gap:8px;font-size:12px;font-weight:800}input[type=email],input[type=password]{height:50px;padding:0 14px;border:1px solid rgba(180,195,255,.18);border-radius:13px;outline:none;background:rgba(3,8,22,.9);color:white}input:focus{border-color:rgba(0,212,255,.55);box-shadow:0 0 0 3px rgba(0,212,255,.08)}
.options{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#8f9ab0}.options label{display:flex;align-items:center;gap:7px}.options button{border:0;background:none;color:var(--c);cursor:pointer}
.loginButton{height:52px;border:0;border-radius:13px;color:white;font-size:16px;font-weight:900;background:linear-gradient(100deg,#ff1d91,#932fff,#00d4ff);cursor:pointer;box-shadow:0 14px 32px rgba(123,44,255,.28)}.message{min-height:16px;margin:0;text-align:center;color:#9ce7ff;font-size:11px}
footer{position:absolute;z-index:8;right:18px;bottom:14px;left:18px;text-align:center;color:rgba(195,205,225,.38);font-size:10px}
#app[data-state=entering] .entrance,#app[data-state=login] .entrance{opacity:0;transform:scale(1.35);pointer-events:none}#app[data-state=login] .login{visibility:visible;opacity:1;transform:scale(1);pointer-events:auto}
@media(max-width:680px){.brand{top:58px}.brand img{width:40px;height:40px}.brand strong{font-size:30px}.brand span{font-size:7px}.controls{top:8px;right:8px}.controls button{padding:5px 6px;font-size:8px}form{padding:25px 20px}h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* SOF AI LOGIN TUNNEL LOGO SCALE V1.54 */
.brand {
  gap: 16px !important;
}

.brand img {
  width: 104px !important;
  height: 104px !important;
  min-width: 104px !important;
  min-height: 104px !important;
  max-width: 104px !important;
  max-height: 104px !important;
  object-fit: contain !important;
  object-position: center center !important;
  flex-shrink: 0 !important;
}

@media (max-width: 680px) {
  .brand {
    gap: 12px !important;
  }

  .brand img {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
  }
}
/* END SOF AI LOGIN TUNNEL LOGO SCALE V1.54 */


/* =====================================================================
   SOF_PUBLIC_LANDING_V1
   Public product/pricing/legal presentation layered onto the existing
   login tunnel. Existing tunnel JavaScript and auth behavior untouched.
   ===================================================================== */

.controls{display:none!important}

#app[data-state=entrance]{
  height:auto;
  min-height:100dvh;
  overflow:visible;
  background:
    radial-gradient(circle at 30% 16%,rgba(123,44,255,.18),transparent 34%),
    radial-gradient(circle at 82% 52%,rgba(0,212,255,.07),transparent 28%),
    #050310;
}
#app[data-state=entrance] #tunnel,
#app[data-state=entrance] .vignette{position:fixed}
#app[data-state=entrance] .vignette{
  background:
    linear-gradient(rgba(128,91,255,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(128,91,255,.055) 1px,transparent 1px),
    radial-gradient(ellipse at center,rgba(4,2,14,.16) 20%,rgba(2,1,9,.84) 100%);
  background-size:132px 132px,132px 132px,auto;
}
#app[data-state=entrance] .brand{
  position:fixed;
  z-index:40;
  top:22px;
  left:clamp(18px,4vw,58px);
  transform:none;
  gap:11px!important;
  filter:drop-shadow(0 0 22px rgba(123,44,255,.28));
}
#app[data-state=entrance] .brand img{
  width:72px!important;height:72px!important;
  min-width:72px!important;min-height:72px!important;
  max-width:72px!important;max-height:72px!important;
}
#app[data-state=entrance] .brand strong{font-size:30px}
#app[data-state=entrance] .brand span{font-size:7px}

.sofPublicMenu{
  position:fixed;
  z-index:60;
  top:30px;
  right:clamp(18px,4vw,58px);
}
.sofPublicMenu summary{
  width:48px;height:48px;
  display:grid;align-content:center;justify-items:center;gap:5px;
  border:1px solid rgba(180,150,255,.2);
  border-radius:14px;
  background:rgba(8,4,24,.72);
  box-shadow:0 12px 38px rgba(0,0,0,.34),0 0 24px rgba(123,44,255,.12);
  cursor:pointer;
  list-style:none;
  backdrop-filter:blur(16px);
}
.sofPublicMenu summary::-webkit-details-marker{display:none}
.sofPublicMenu summary span{width:22px;height:2px;border-radius:2px;background:#e6defc}
.sofPublicMenu nav{
  position:absolute;
  top:58px;right:0;
  width:min(280px,calc(100vw - 36px));
  display:grid;
  padding:10px;
  border:1px solid rgba(171,134,255,.22);
  border-radius:16px;
  background:rgba(8,4,24,.94);
  box-shadow:0 22px 60px rgba(0,0,0,.48),0 0 36px rgba(123,44,255,.13);
  backdrop-filter:blur(20px);
}
.sofPublicMenu nav a{
  padding:11px 12px;
  border-radius:10px;
  color:#d8d0ee;
  text-decoration:none;
  font-size:13px;
  font-weight:750;
}
.sofPublicMenu nav a:hover{background:rgba(142,84,255,.13);color:#fff}
#app:not([data-state=entrance]) .sofPublicMenu{display:none}

#app[data-state=entrance] .sofPublicLanding{
  position:relative;
  inset:auto;
  display:block;
  min-height:100dvh;
  padding:0;
  transform:none;
  overflow:visible;
}
.sofPublicPage{
  position:relative;
  z-index:8;
  width:min(1160px,calc(100% - 36px));
  margin:0 auto;
  padding:150px 0 52px;
}
.sofPublicHero{
  min-height:min(760px,calc(100dvh - 100px));
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:70px 0 88px;
  text-align:center;
}
.sofPublicEyebrow,.sofPublicSectionKicker{
  color:#b69bff;
  font-size:11px;
  font-weight:850;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.sofPublicEyebrow{
  padding:11px 18px;
  border:1px solid rgba(166,118,255,.34);
  border-radius:999px;
  background:rgba(107,56,190,.13);
}
.sofPublicHero h1{
  max-width:980px;
  margin:36px 0 24px;
  font-size:clamp(48px,7vw,92px);
  line-height:.98;
  letter-spacing:-.055em;
}
.sofPublicHero h1 span{
  background:linear-gradient(90deg,#a37dff,#c780ff 55%,#e6b8ff);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.sofPublicLead{
  max-width:940px;
  margin:0;
  color:#a79bbf;
  font-size:clamp(17px,2vw,24px);
  line-height:1.65;
}
.sofPublicFlow{
  display:grid;
  grid-template-columns:repeat(4,minmax(130px,1fr));
  width:min(820px,100%);
  margin:52px auto 0;
  gap:0;
}
.sofPublicFlow span{
  position:relative;
  padding:13px 16px;
  border:1px solid rgba(145,111,210,.22);
  color:#6f6683;
  background:rgba(17,10,35,.55);
  font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.sofPublicFlow span:first-child{border-radius:14px 0 0 14px}
.sofPublicFlow span:last-child{border-radius:0 14px 14px 0}
.sofPublicFlow span.isActive{
  color:#d7c9ff;
  border-color:rgba(147,86,255,.7);
  background:linear-gradient(90deg,rgba(116,57,209,.6),rgba(88,40,163,.5));
  box-shadow:0 0 28px rgba(123,44,255,.12);
}
.sofPublicActions{
  display:flex;
  justify-content:center;
  gap:18px;
  margin-top:44px;
  flex-wrap:wrap;
}
#app[data-state=entrance] #access.sofPublicPrimary,
.sofPublicSecondary{
  min-width:260px;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:17px;
  text-decoration:none;
}
#app[data-state=entrance] #access.sofPublicPrimary{
  display:grid;
  gap:2px;
  padding:14px 28px;
  border:1px solid rgba(198,166,255,.35);
  color:#fff;
  background:linear-gradient(110deg,#9a78f5,#7f35e9);
  box-shadow:0 18px 46px rgba(85,28,180,.32),inset 0 1px rgba(255,255,255,.18);
}
#app[data-state=entrance] #access.sofPublicPrimary strong{font-size:17px}
#app[data-state=entrance] #access.sofPublicPrimary small{font-size:11px;color:#ddd0ff}
.sofPublicSecondary{
  border:1px solid rgba(162,131,221,.34);
  color:#d8c9fa;
  background:rgba(12,7,28,.56);
  font-size:16px;
  font-weight:850;
}
.sofPublicSecondary:hover{border-color:rgba(185,146,255,.65);background:rgba(80,36,150,.13)}

.sofPublicSection{
  margin:0 0 78px;
  padding:56px;
  border:1px solid rgba(134,94,208,.17);
  border-radius:28px;
  background:
    radial-gradient(circle at 10% 0,rgba(117,57,211,.08),transparent 32%),
    linear-gradient(145deg,rgba(11,6,25,.84),rgba(5,3,14,.84));
  box-shadow:0 26px 80px rgba(0,0,0,.22);
  backdrop-filter:blur(12px);
}
.sofPublicSection h2{
  max-width:850px;
  margin:12px 0 16px;
  font-size:clamp(30px,4vw,48px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.sofPublicSectionIntro{max-width:880px;color:#9e93b2;line-height:1.7}
.sofCapabilityGrid,.sofBillingGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:34px;
}
.sofCapabilityGrid article,.sofBillingGrid article{
  padding:24px;
  border:1px solid rgba(135,98,200,.16);
  border-radius:18px;
  background:rgba(17,10,34,.55);
}
.sofCapabilityGrid strong,.sofBillingGrid strong{font-size:15px;color:#e6ddf7}
.sofCapabilityGrid p,.sofBillingGrid p{margin:10px 0 0;color:#9186a4;font-size:13px;line-height:1.6}

.sofPricingGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:36px;
}
.sofPriceCard{
  display:flex;
  flex-direction:column;
  min-height:520px;
  padding:25px;
  border:1px solid rgba(139,101,207,.19);
  border-radius:22px;
  background:linear-gradient(160deg,rgba(20,12,39,.8),rgba(8,5,20,.9));
  box-shadow:inset 0 1px rgba(255,255,255,.025);
}
.sofPriceCard.isFeatured{border-color:rgba(142,83,255,.42);box-shadow:0 0 40px rgba(98,43,190,.07)}
.sofPriceCard.isEnterprise{
  border-color:rgba(92,187,255,.38);
  box-shadow:0 0 0 1px rgba(123,44,255,.13) inset,0 0 48px rgba(0,145,255,.08);
  background:linear-gradient(155deg,rgba(13,22,42,.92),rgba(15,8,34,.94));
}
.sofPriceTop{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.sofPriceTop h3{margin:0;color:#f1ecfa;font-size:18px}
.sofPriceTop span{
  padding:6px 9px;border-radius:999px;
  border:1px solid rgba(143,97,226,.27);
  color:#aa91dc;background:rgba(112,56,190,.1);
  font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.09em;
}
.sofPrice{margin-top:24px;color:#fff;font-size:31px;font-weight:900;letter-spacing:-.03em}
.sofPrice small{color:#82778f;font-size:11px;font-weight:600;letter-spacing:0}
.sofCapacity{min-height:42px;color:#a99db7;font-size:12px;line-height:1.55}
.sofPriceCard ul{display:grid;gap:10px;margin:18px 0 0;padding:0;list-style:none}
.sofPriceCard li{position:relative;padding-left:17px;color:#aaa0b8;font-size:12px;line-height:1.45}
.sofPriceCard li:before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:#8e5cff;box-shadow:0 0 10px rgba(142,92,255,.55)}
.sofComingSoon{
  display:grid;
  gap:5px;
  margin-top:auto;
  padding:15px;
  border:1px dashed rgba(177,126,255,.3);
  border-radius:14px;
  background:rgba(109,49,194,.07);
}
.sofComingSoon b{color:#d4c1fb;font-size:11px;text-transform:uppercase;letter-spacing:.07em}
.sofComingSoon span{color:#877b99;font-size:10px;line-height:1.45}

.sofResearchValue{
  margin-top:28px;
  padding:30px;
  border:1px solid rgba(145,92,255,.25);
  border-radius:20px;
  background:linear-gradient(120deg,rgba(90,38,169,.12),rgba(6,13,31,.34));
}
.sofResearchValue h3{margin:10px 0 12px;font-size:25px}
.sofResearchValue p{max-width:880px;color:#9b8eaa;line-height:1.7}
.sofResearchValue strong{color:#c9b0ff}

.sofBillingGrid{grid-template-columns:repeat(2,1fr)}
.sofBillingFineprint,.sofContactCopy{
  margin:22px 0 0;
  color:#756d83;
  font-size:11px;
  line-height:1.6;
}
.sofLegalLinks{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.sofLegalLinks a{
  padding:10px 13px;
  border:1px solid rgba(144,105,204,.2);
  border-radius:11px;
  color:#b9a9d1;
  background:rgba(16,9,31,.5);
  text-decoration:none;
  font-size:11px;
  font-weight:750;
}
.sofLegalLinks a:hover{color:#fff;border-color:rgba(169,121,255,.45)}
.sofPublicFooter{text-align:center;color:#5e566a;font-size:10px;padding:8px 0 24px}
#app[data-state=entrance] .tunnelFooter{display:none}

@media(max-width:980px){
  .sofPricingGrid{grid-template-columns:repeat(2,1fr)}
  .sofCapabilityGrid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  #app[data-state=entrance] .brand{top:16px;left:16px;gap:8px!important}
  #app[data-state=entrance] .brand img{
    width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;
    max-width:54px!important;max-height:54px!important;
  }
  #app[data-state=entrance] .brand strong{font-size:22px}
  #app[data-state=entrance] .brand span{font-size:6px}
  .sofPublicMenu{top:18px;right:16px}
  .sofPublicMenu summary{width:44px;height:44px}
  .sofPublicPage{width:min(100% - 24px,1160px);padding-top:110px}
  .sofPublicHero{padding:50px 8px 64px;min-height:680px}
  .sofPublicHero h1{font-size:clamp(42px,13vw,64px)}
  .sofPublicLead{font-size:17px;line-height:1.55}
  .sofPublicFlow{grid-template-columns:1fr 1fr;gap:8px}
  .sofPublicFlow span,.sofPublicFlow span:first-child,.sofPublicFlow span:last-child{border-radius:10px}
  .sofPublicActions{display:grid;width:100%;gap:12px}
  #app[data-state=entrance] #access.sofPublicPrimary,.sofPublicSecondary{width:100%;min-width:0}
  .sofPublicSection{padding:28px 20px;margin-bottom:34px;border-radius:22px}
  .sofCapabilityGrid,.sofBillingGrid,.sofPricingGrid{grid-template-columns:1fr}
  .sofPriceCard{min-height:0}
  .sofComingSoon{margin-top:22px}
}


/* SOF_PUBLIC_LANDING_HERO_TUNNEL_VISIBILITY_POLISH_V57 */

#app[data-state=entrance]{
  background:
    radial-gradient(circle at 30% 16%,rgba(76,28,138,.09),transparent 33%),
    radial-gradient(circle at 82% 52%,rgba(0,114,180,.035),transparent 28%),
    #020108;
}
#app[data-state=entrance] .vignette{
  background:
    linear-gradient(rgba(100,70,175,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(100,70,175,.035) 1px,transparent 1px),
    radial-gradient(ellipse at center,rgba(1,1,6,.02) 18%,rgba(1,1,6,.58) 100%);
  background-size:132px 132px,132px 132px,auto;
}

.sofPublicPage{padding-top:112px}

.sofPublicHero{
  box-sizing:border-box;
  height:calc(100dvh - 112px);
  min-height:700px;
  padding:14px 0 28px;
  justify-content:flex-start;
}

.sofPublicEyebrow{
  margin-top:0;
  padding:8px 16px;
  font-size:10px;
  background:rgba(49,21,84,.15);
  border-color:rgba(154,105,238,.28);
}

.sofPublicHero h1{
  max-width:900px;
  margin:50px 0 18px;
  font-size:clamp(42px,5.7vw,74px);
  line-height:1.01;
  letter-spacing:-.045em;
  opacity:.91;
  text-shadow:0 3px 22px rgba(0,0,0,.36);
}
.sofPublicHero h1 span{opacity:.91}

.sofPublicLead{
  max-width:900px;
  font-size:clamp(15px,1.55vw,20px);
  line-height:1.55;
  color:rgba(203,193,218,.72);
  text-shadow:0 2px 16px rgba(0,0,0,.32);
}

.sofPublicFlow{
  width:min(760px,90%);
  margin-top:auto;
  margin-bottom:18px;
}
.sofPublicFlow span{
  padding:10px 13px;
  font-size:9px;
  background:rgba(8,5,20,.52);
}

.sofPublicActions{
  margin-top:0;
  margin-bottom:4px;
  gap:14px;
}
#app[data-state=entrance] #access.sofPublicPrimary,
.sofPublicSecondary{
  min-width:220px;
  min-height:58px;
  border-radius:14px;
}
#app[data-state=entrance] #access.sofPublicPrimary{
  padding:10px 22px;
  background:linear-gradient(110deg,rgba(145,109,236,.9),rgba(112,42,218,.9));
  box-shadow:0 12px 32px rgba(70,20,148,.25),inset 0 1px rgba(255,255,255,.14);
}
#app[data-state=entrance] #access.sofPublicPrimary strong{font-size:15px}
#app[data-state=entrance] #access.sofPublicPrimary small{font-size:10px}
.sofPublicSecondary{
  font-size:14px;
  background:rgba(8,5,20,.42);
}

.sofPublicHero + .sofPublicSection{
  margin-top:44px;
  padding-top:36px;
}
.sofPublicHero + .sofPublicSection h2{
  margin-bottom:8px;
  font-size:clamp(28px,3.4vw,42px);
}
.sofPublicHero + .sofPublicSection .sofCapabilityGrid{
  margin-top:24px;
}

@media(max-height:820px) and (min-width:681px){
  .sofPublicPage{padding-top:100px}
  .sofPublicHero{
    height:calc(100dvh - 100px);
    min-height:620px;
    padding-top:6px;
  }
  .sofPublicHero h1{
    margin-top:30px;
    font-size:clamp(40px,5.2vw,66px);
  }
  .sofPublicLead{font-size:16px}
  .sofPublicFlow{margin-bottom:12px}
  #app[data-state=entrance] #access.sofPublicPrimary,
  .sofPublicSecondary{min-height:54px}
}

@media(max-width:680px){
  .sofPublicPage{padding-top:96px}
  .sofPublicHero{
    height:auto;
    min-height:calc(100dvh - 96px);
    padding:12px 6px 26px;
  }
  .sofPublicEyebrow{
    margin-top:0;
    font-size:8px;
    padding:7px 11px;
  }
  .sofPublicHero h1{
    margin:34px 0 16px;
    font-size:clamp(38px,11.5vw,54px);
  }
  .sofPublicLead{
    font-size:15px;
    line-height:1.5;
  }
  .sofPublicFlow{
    width:100%;
    margin-top:auto;
    margin-bottom:14px;
  }
  #app[data-state=entrance] #access.sofPublicPrimary,
  .sofPublicSecondary{
    min-height:54px;
  }
  .sofPublicHero + .sofPublicSection{
    margin-top:28px;
  }
}


/* SOF_PUBLIC_LANDING_HERO_PREMIUM_TYPE_FOLD_V58 */

/* Darker product surface: reference tone derived from screenshot ≈ #160F2B. */
.sofPublicSection{
  background:
    radial-gradient(circle at 10% 0,rgba(92,45,158,.055),transparent 31%),
    linear-gradient(145deg,rgba(22,15,43,.97),rgba(6,4,16,.985));
  border-color:rgba(110,76,171,.15);
}
.sofCapabilityGrid article,
.sofBillingGrid article{
  background:rgba(9,6,22,.72);
  border-color:rgba(111,78,174,.14);
}
.sofPriceCard{
  background:linear-gradient(160deg,rgba(15,10,31,.94),rgba(6,4,16,.98));
  border-color:rgba(112,79,177,.16);
}
.sofPriceCard.isFeatured{
  border-color:rgba(130,79,226,.34);
}
.sofPriceCard.isEnterprise{
  background:linear-gradient(155deg,rgba(9,18,34,.97),rgba(12,7,27,.985));
}

/* Guarantee a clean first screen: Product content cannot peek into the fold. */
.sofPublicHero{
  height:100dvh;
  min-height:100dvh;
}
.sofPublicHero + .sofPublicSection{
  margin-top:96px;
}

/* Premium hero typography: strong identity without covering the tunnel center. */
.sofPublicHero h1{
  position:relative;
  max-width:940px;
  margin-top:42px;
  color:rgba(250,249,255,.94);
  opacity:1;
  text-shadow:
    0 2px 0 rgba(255,255,255,.03),
    0 12px 32px rgba(0,0,0,.42);
}
.sofPublicHero h1 span{
  display:block;
  margin-top:2px;
  opacity:1;
  background:
    linear-gradient(
      90deg,
      #9c7cff 0%,
      #b964ff 30%,
      #dc70f2 58%,
      #b989ff 78%,
      #7fdcff 100%
    );
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 18px rgba(151,89,255,.18));
}
.sofPublicHero h1::after{
  content:"";
  display:block;
  width:min(520px,62vw);
  height:1px;
  margin:18px auto 0;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(141,83,255,.18) 15%,
    rgba(190,111,255,.78) 46%,
    rgba(0,212,255,.62) 54%,
    rgba(141,83,255,.18) 85%,
    transparent
  );
  box-shadow:0 0 14px rgba(127,87,255,.24);
}

/* Turn paragraph copy into a subtle interface element rather than plain text. */
.sofPublicLead{
  position:relative;
  max-width:920px;
  margin-top:2px;
  padding:12px 22px;
  border-radius:14px;
  color:rgba(216,208,228,.76);
  background:
    linear-gradient(90deg,transparent,rgba(5,3,16,.22) 18%,rgba(5,3,16,.28) 50%,rgba(5,3,16,.22) 82%,transparent);
  border-top:1px solid rgba(164,113,238,.08);
  border-bottom:1px solid rgba(0,212,255,.055);
  letter-spacing:.002em;
}
.sofPublicLead::before,
.sofPublicLead::after{
  content:"";
  position:absolute;
  top:50%;
  width:26px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(175,112,255,.42));
}
.sofPublicLead::before{left:-18px}
.sofPublicLead::after{
  right:-18px;
  transform:rotate(180deg);
}

/* Keep the lower controls visually small so the tunnel remains dominant. */
.sofPublicFlow{
  width:min(720px,88%);
  margin-bottom:14px;
}
.sofPublicFlow span{
  padding:9px 12px;
  font-size:8.5px;
}
.sofPublicActions{gap:12px}
#app[data-state=entrance] #access.sofPublicPrimary,
.sofPublicSecondary{
  min-width:205px;
  min-height:52px;
}
#app[data-state=entrance] #access.sofPublicPrimary strong{font-size:14px}
.sofPublicSecondary{font-size:13px}

/* Capability cards now belong clearly to the scroll section, not the hero. */
.sofPublicHero + .sofPublicSection{
  padding-top:58px;
  padding-bottom:58px;
}
.sofPublicHero + .sofPublicSection .sofCapabilityGrid{
  margin-top:38px;
  gap:20px;
}
.sofPublicHero + .sofPublicSection .sofCapabilityGrid article{
  min-height:150px;
  padding:28px;
}

/* Keep short laptop heights safe while preserving the clean fold. */
@media(max-height:820px) and (min-width:681px){
  .sofPublicHero{
    height:100dvh;
    min-height:100dvh;
  }
  .sofPublicHero h1{
    margin-top:28px;
  }
  .sofPublicHero + .sofPublicSection{
    margin-top:82px;
  }
}

@media(max-width:680px){
  .sofPublicHero{
    height:auto;
    min-height:100dvh;
  }
  .sofPublicHero h1{
    margin-top:28px;
  }
  .sofPublicHero h1::after{
    width:72vw;
    margin-top:14px;
  }
  .sofPublicLead{
    padding:10px 12px;
  }
  .sofPublicLead::before,
  .sofPublicLead::after{
    display:none;
  }
  .sofPublicHero + .sofPublicSection{
    margin-top:64px;
    padding-top:38px;
  }
}


/* SOF_PUBLIC_LANDING_HERO_HUD_TYPOGRAPHY_V59 */

/*
   Typography-only override.
   V58 color system, gradient, signal line, workflow strip and CTA geometry
   intentionally remain untouched.
*/

.sofPublicHero h1{
  max-width:900px;
  margin-top:34px;
  margin-bottom:14px;
  font-size:0;
  line-height:1;
  letter-spacing:0;
  text-shadow:none;
}

/* First phrase becomes a compact system/HUD label. */
.sofPublicHero h1::before{
  content:"EVERYTHING YOU NEED TO";
  display:block;
  margin-bottom:11px;
  color:rgba(244,240,250,.78);
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-size:clamp(12px,1.05vw,16px);
  font-weight:700;
  line-height:1.1;
  letter-spacing:.22em;
  text-transform:uppercase;
  text-shadow:0 2px 14px rgba(0,0,0,.38);
}

/* Hide the original text node visually while keeping the existing span as the main statement. */
.sofPublicHero h1{
  color:transparent;
}

/* Main statement stays premium, but no longer dominates the tunnel. */
.sofPublicHero h1 span{
  display:block;
  margin-top:0;
  font-size:clamp(28px,3.6vw,48px);
  font-weight:800;
  line-height:1.02;
  letter-spacing:-.035em;
  filter:drop-shadow(0 0 14px rgba(151,89,255,.14));
}

/* Preserve V58 signal line exactly in character, only tighten its spacing to the new type scale. */
.sofPublicHero h1::after{
  margin-top:14px;
}

/* Supporting copy becomes secondary interface text. */
.sofPublicLead{
  max-width:820px;
  margin-top:0;
  padding:9px 18px;
  font-size:clamp(12px,1.05vw,15px);
  line-height:1.5;
  color:rgba(211,203,223,.64);
  letter-spacing:.006em;
}

/* Keep text group slightly higher so the tunnel core remains the visual subject. */
.sofPublicEyebrow{
  margin-bottom:0;
}

@media(max-height:820px) and (min-width:681px){
  .sofPublicHero h1{
    margin-top:22px;
  }
  .sofPublicHero h1::before{
    font-size:12px;
    margin-bottom:8px;
  }
  .sofPublicHero h1 span{
    font-size:clamp(26px,3.25vw,42px);
  }
  .sofPublicLead{
    font-size:12px;
    padding-top:7px;
    padding-bottom:7px;
  }
}

@media(max-width:680px){
  .sofPublicHero h1{
    margin-top:24px;
  }
  .sofPublicHero h1::before{
    font-size:10px;
    letter-spacing:.16em;
    margin-bottom:9px;
  }
  .sofPublicHero h1 span{
    font-size:clamp(30px,9vw,42px);
    line-height:1.02;
  }
  .sofPublicLead{
    font-size:12px;
    padding:8px 10px;
  }
}


/* SOF_PUBLIC_LANDING_DESCRIPTION_HUD_V60
   Experiment ONLY: supporting-copy HUD treatment.
   V59 hero typography and V58 visual system intentionally untouched.
*/

.sofPublicLead{
  width:min(780px,88%);
  max-width:780px;
  margin-top:4px;
  padding:18px 24px 12px;
  border:1px solid rgba(151,105,223,.12);
  border-left-color:rgba(151,105,223,.22);
  border-right-color:rgba(72,194,224,.14);
  border-radius:10px;
  color:rgba(214,207,226,.68);
  background:
    linear-gradient(90deg,
      rgba(5,3,16,.10),
      rgba(12,7,28,.30) 18%,
      rgba(8,5,22,.34) 50%,
      rgba(10,7,27,.27) 82%,
      rgba(5,3,16,.08)
    );
  box-shadow:
    inset 0 1px rgba(255,255,255,.018),
    inset 0 0 24px rgba(83,41,144,.035);
  backdrop-filter:blur(2px);
}

/* Small system label above the description. */
.sofPublicLead::before{
  content:"SYSTEM OVERVIEW  //  SOF AI";
  position:absolute;
  left:50%;
  top:5px;
  width:auto;
  height:auto;
  transform:translateX(-50%);
  white-space:nowrap;
  background:none;
  color:rgba(178,140,238,.52);
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-size:7.5px;
  font-weight:700;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
}

/* Tiny status marker; intentionally subtle. */
.sofPublicLead::after{
  content:"●  SIGNAL ACTIVE";
  position:absolute;
  right:13px;
  bottom:5px;
  width:auto;
  height:auto;
  transform:none;
  background:none;
  color:rgba(92,206,230,.32);
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-size:6.5px;
  font-weight:700;
  line-height:1;
  letter-spacing:.12em;
}

@media(max-height:820px) and (min-width:681px){
  .sofPublicLead{
    width:min(740px,86%);
    padding:16px 20px 10px;
  }
}

@media(max-width:680px){
  .sofPublicLead{
    width:94%;
    padding:17px 12px 11px;
  }
  .sofPublicLead::before{
    font-size:6.5px;
    letter-spacing:.12em;
  }
  .sofPublicLead::after{
    display:none;
  }
}


/* SOF_PUBLIC_LANDING_SIGNAL_ACTIVE_POSITION_V61
   Micro-fix only: clear inherited top:50% and anchor status slightly lower.
*/
.sofPublicLead::after{
  top:auto;
  bottom:3px;
}

/* =====================================================================
   SOF_PUBLIC_LANDING_SCROLL_UNLOCK_V63
   Fixes the inherited login-tunnel document scroll lock only while the
   public landing/entrance state is active. Login states remain locked.
   ===================================================================== */
html:has(#app[data-state=entrance]),
body:has(#app[data-state=entrance]){
  height:auto;
  min-height:100%;
  overflow-x:hidden;
  overflow-y:auto;
}
/* END SOF_PUBLIC_LANDING_SCROLL_UNLOCK_V63 */

/* =====================================================================
   SOF_PUBLIC_LANDING_DESKTOP_FOLD_ORIGIN_V64
   Restore the accepted V61 first-fold origin after V63 enabled native
   document scrolling. Desktop only; mobile remains for separate acceptance.
   ===================================================================== */
@media(min-width:681px){
  #app[data-state=entrance] .sofPublicPage{
    padding-top:0;
  }
}
/* END SOF_PUBLIC_LANDING_DESKTOP_FOLD_ORIGIN_V64 */

/* =====================================================================
   SOF_PUBLIC_LANDING_MOBILE_TUNNEL_TEXT_PLACEMENT_V65
   Mobile only: keep the black tunnel core free and place the main text
   below it with slightly reduced typography. Desktop remains unchanged.
   ===================================================================== */
@media(max-width:680px){
  #app[data-state=entrance] .sofPublicHero h1{
    margin-top:clamp(280px,34vh,360px);
    margin-bottom:12px;
  }

  #app[data-state=entrance] .sofPublicHero h1::before{
    margin-bottom:8px;
    font-size:9px;
    letter-spacing:.14em;
  }

  #app[data-state=entrance] .sofPublicHero h1 span{
    font-size:clamp(26px,8vw,34px);
    line-height:1.02;
    letter-spacing:-.028em;
  }

  #app[data-state=entrance] .sofPublicLead{
    width:94%;
    max-width:94%;
    margin-top:0;
    padding:13px 12px 11px;
    font-size:11.5px;
    line-height:1.48;
  }

  #app[data-state=entrance] .sofPublicFlow{
    margin-top:clamp(56px,9vh,88px);
  }

  #app[data-state=entrance] .sofPublicActions{
    margin-bottom:28px;
  }
}
/* END SOF_PUBLIC_LANDING_MOBILE_TUNNEL_TEXT_PLACEMENT_V65 */

/* =====================================================================
   SOF_PUBLIC_LANDING_MOBILE_HERO_SPLIT_BUTTON_SCALE_V66
   Mobile only: headline high, description low, tunnel core free.
   Also trims pipeline + CTA sizing without affecting desktop.
   ===================================================================== */
@media(max-width:680px){
  /* Headline directly below the AI publishing badge. */
  #app[data-state=entrance] .sofPublicHero h1{
    margin-top:56px;
    margin-bottom:10px;
  }

  #app[data-state=entrance] .sofPublicHero h1::before{
    margin-bottom:7px;
    font-size:8.5px;
    letter-spacing:.13em;
  }

  #app[data-state=entrance] .sofPublicHero h1 span{
    font-size:clamp(25px,7.5vw,32px);
    line-height:1.02;
    letter-spacing:-.026em;
  }

  /* Create the visual tunnel window between headline and description. */
  #app[data-state=entrance] .sofPublicLead{
    margin-top:clamp(300px,35vh,390px);
    width:92%;
    max-width:92%;
    padding:11px 11px 10px;
    font-size:11px;
    line-height:1.46;
  }

  /* Compact mobile pipeline. */
  #app[data-state=entrance] .sofPublicFlow{
    margin-top:44px;
    margin-bottom:12px;
    gap:8px;
  }

  #app[data-state=entrance] .sofPublicFlow span{
    min-height:44px;
    padding:7px 9px;
    font-size:7.8px;
    border-radius:12px;
  }

  /* Compact customer actions on phones only. */
  #app[data-state=entrance] .sofPublicActions{
    gap:9px;
    margin-bottom:22px;
  }

  #app[data-state=entrance] #access.sofPublicPrimary,
  #app[data-state=entrance] .sofPublicSecondary{
    min-width:176px;
    min-height:46px;
    padding:8px 14px;
    border-radius:12px;
  }

  #app[data-state=entrance] #access.sofPublicPrimary strong{
    font-size:13px;
  }

  #app[data-state=entrance] #access.sofPublicPrimary small{
    font-size:9px;
  }

  #app[data-state=entrance] .sofPublicSecondary{
    font-size:12px;
  }
}
/* END SOF_PUBLIC_LANDING_MOBILE_HERO_SPLIT_BUTTON_SCALE_V66 */

/* =====================================================================
   SOF_PUBLIC_LANDING_MOBILE_HERO_BALANCE_PIPELINE_V67
   Mobile-only micro-balance:
   - headline higher
   - lower content slightly higher
   - pipeline shorter with larger centered labels
   Desktop remains untouched.
   ===================================================================== */
@media(max-width:680px){
  /* Roughly halve the remaining visual gap below the eyebrow. */
  #app[data-state=entrance] .sofPublicHero h1{
    margin-top:28px;
  }

  /* Bring the description upward while preserving a clean tunnel-core window. */
  #app[data-state=entrance] .sofPublicLead{
    margin-top:clamp(250px,29vh,320px);
  }

  /* Pull the pipeline closer to the description. */
  #app[data-state=entrance] .sofPublicFlow{
    margin-top:26px;
    margin-bottom:10px;
    gap:7px;
  }

  /* Smaller cards, stronger labels, true center alignment. */
  #app[data-state=entrance] .sofPublicFlow span{
    min-height:38px;
    padding:5px 8px;
    font-size:9px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    border-radius:11px;
  }

  #app[data-state=entrance] .sofPublicActions{
    margin-top:8px;
    margin-bottom:18px;
  }
}
/* END SOF_PUBLIC_LANDING_MOBILE_HERO_BALANCE_PIPELINE_V67 */

/* =====================================================================
   SOF_PUBLIC_LANDING_MOBILE_LOWER_GROUP_RESTORE_V68
   Keep V67 headline + pipeline appearance.
   Only restore the lower content group to the V66 vertical position.
   ===================================================================== */
@media(max-width:680px){
  #app[data-state=entrance] .sofPublicLead{
    margin-top:clamp(300px,35vh,390px);
  }
}
/* END SOF_PUBLIC_LANDING_MOBILE_LOWER_GROUP_RESTORE_V68 */

/* =====================================================================
   SOF_PUBLIC_LANDING_MOBILE_DESCRIPTION_COMPACT_OFFSET_V69
   Mobile only:
   - one small typography step down for the SOF AI description
   - slight downward offset toward the tunnel/fog transition
   - V67 pipeline geometry remains untouched
   ===================================================================== */
@media(max-width:680px){
  #app[data-state=entrance] .sofPublicLead{
    margin-top:clamp(318px,37vh,410px);
    font-size:10px;
    line-height:1.42;
  }
}
/* END SOF_PUBLIC_LANDING_MOBILE_DESCRIPTION_COMPACT_OFFSET_V69 */

