/* ARFAON 1.0 release polish — shared website layer.
   Loaded after existing styles so it only normalizes the final public surfaces. */

:root{
  --release-max:1500px;
  --release-radius:24px;
  --release-panel:rgba(7,24,39,.82);
  --release-panel-strong:rgba(7,24,39,.94);
  --release-border:rgba(160,214,255,.20);
  --release-gold:#ffc578;
  --release-cyan:#46cfff;
  --release-tech:#ff6f84;
}

html{scroll-padding-top:120px}
body{min-width:320px}
main{isolation:isolate}
button,a,input,textarea,summary{touch-action:manipulation}
button,.button,.product-action,.profile-button,.ecosystem-open{min-height:44px}
:focus-visible{outline:3px solid rgba(106,211,255,.92)!important;outline-offset:3px}

.topbar{
  max-width:none;
  min-height:76px;
  height:auto;
  padding-top:max(8px,env(safe-area-inset-top));
  padding-bottom:8px;
}
.topbar .master-brand{min-width:0}
.topbar .master-wordmark{height:auto}
.topbar .nav a{white-space:nowrap}

.product-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px!important;
  width:100%;
}
.product-action{
  display:flex!important;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:11px 14px!important;
  border-radius:16px!important;
  font-weight:900!important;
  line-height:1.2;
  text-decoration:none;
}
.product-actions--drive .product-action--open{
  background:linear-gradient(125deg,#0a71c9,#153a78)!important;
  border:1px solid rgba(91,190,255,.65)!important;
  box-shadow:0 12px 32px rgba(30,139,224,.18);
}
.product-actions--tech .product-action--open{
  background:linear-gradient(125deg,#b72e51,#275a97)!important;
  border:1px solid rgba(255,121,145,.60)!important;
  box-shadow:0 12px 32px rgba(205,52,86,.16);
}
.product-action--download{
  background:rgba(7,29,47,.86)!important;
  border:1px solid rgba(148,211,255,.34)!important;
}
.product-action--details{
  background:rgba(13,22,34,.76)!important;
  border:1px solid rgba(255,255,255,.13)!important;
}

.product-hero-v5{
  overflow:hidden;
  position:relative;
}
.product-hero-v5::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 82% 18%,rgba(255,116,74,.12),transparent 31%),
    radial-gradient(circle at 14% 24%,rgba(48,174,255,.15),transparent 34%);
  z-index:0;
}
.product-hero-v5>*{position:relative;z-index:1}
.product-hero-v5__copy{min-width:0}
.product-hero-v5 h1{
  max-width:880px;
  text-wrap:balance;
}
.product-hero-lead{
  max-width:760px;
  line-height:1.55!important;
}
.product-proof-row{
  gap:8px!important;
}
.product-proof-row span{
  min-height:36px;
  display:inline-flex;
  align-items:center;
}

.product-showcase{
  border:1px solid var(--release-border)!important;
  border-radius:30px!important;
  background:
    linear-gradient(145deg,rgba(14,45,69,.86),rgba(5,17,29,.88))!important;
  box-shadow:0 28px 80px rgba(0,0,0,.34)!important;
}

.section{
  scroll-margin-top:110px;
}
.section-heading{
  max-width:820px;
}
.section-heading p{
  line-height:1.65;
}
.product-value-grid article,
.steps-grid article,
.security-grid article,
.tech-levels article,
.price-card,
.delivery-card,
.legal-grid a{
  border-radius:20px!important;
  border-color:var(--release-border)!important;
}

.tech-catalog-section{
  position:relative;
}
.tech-catalog-section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 95% 0%,rgba(235,66,86,.07),transparent 30%);
}
.tech-catalog-section>*{position:relative;z-index:1}
.tech-catalog-section input:not([type=checkbox]),
.tech-catalog-section textarea{
  background:rgba(8,25,40,.90)!important;
  border-color:rgba(105,179,224,.28)!important;
  border-radius:16px!important;
}
.tech-choice,.tech-device{
  background:rgba(12,33,50,.88)!important;
  border-color:rgba(126,192,231,.24)!important;
  transition:border-color .16s ease,transform .16s ease,background .16s ease;
}
.tech-choice:hover,.tech-device:hover{
  transform:translateY(-1px);
}
.tech-choice[aria-pressed=true],.tech-device[aria-pressed=true]{
  background:linear-gradient(135deg,rgba(126,34,58,.88),rgba(18,74,111,.92))!important;
  border-color:rgba(255,127,149,.72)!important;
}
.tech-intake,.tech-prepared{
  background:linear-gradient(145deg,rgba(12,37,55,.94),rgba(6,19,31,.95))!important;
  border-color:rgba(83,177,225,.28)!important;
}

@media (max-width:1090px){
  .topbar .nav{
    display:flex!important;
    order:3;
    flex:1 0 100%;
    overflow-x:auto;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    padding:2px 0 3px;
    scrollbar-width:none;
  }
  .topbar .nav::-webkit-scrollbar{display:none}
  .topbar .nav a{
    flex:0 0 auto;
    min-height:42px;
    padding:0 10px;
    border-radius:999px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.06);
  }
}

@media (max-width:760px){
  html{scroll-padding-top:138px}
  .topbar{
    gap:8px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .topbar .master-brand{max-width:62%!important}
  .topbar .profile-button{
    font-size:12px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }

  .hero-v5,
  .product-hero-v5{
    padding-left:16px!important;
    padding-right:16px!important;
  }

  .product-hero-v5{
    gap:22px!important;
  }
  .product-hero-v5 h1{
    font-size:clamp(36px,10.4vw,58px)!important;
    line-height:1.01!important;
    letter-spacing:-.045em!important;
    overflow-wrap:anywhere;
  }
  .product-hero-v5 h1 span{
    display:block;
  }
  .product-hero-lead{font-size:15px!important}
  .product-status-line{
    flex-wrap:wrap;
  }
  .product-proof-row{
    display:flex!important;
    overflow-x:auto;
    flex-wrap:nowrap!important;
    padding-bottom:4px;
    scrollbar-width:none;
  }
  .product-proof-row::-webkit-scrollbar{display:none}
  .product-proof-row span{flex:0 0 auto}

  .product-actions{
    grid-template-columns:1fr!important;
  }
  .product-action{
    width:100%;
    min-height:52px;
  }
  .product-showcase{
    width:100%!important;
    min-height:330px!important;
  }

  .section{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .section-heading h2{
    overflow-wrap:anywhere;
  }

  .tech-search-row{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .tech-search-row .tech-choice{width:100%}
  .tech-device-grid{
    grid-template-columns:1fr!important;
  }
  .tech-intake,.tech-prepared{
    padding:18px!important;
    border-radius:20px!important;
  }
}

@media (max-width:390px){
  .master-wordmark{max-width:94px!important}
  .topbar .profile-button{font-size:11px!important}
  .product-hero-v5 h1{font-size:34px!important}
  .section-heading h2{font-size:30px!important}
}

@media (prefers-reduced-motion:reduce){
  .tech-choice,.tech-device{transition:none!important}
}
