/* ATHRTY PX-40 | Obsidian Cinematic public-experience convergence
 * Release scope: public V16 page compositions only. No auth, checkout,
 * native builder canvas, client-published sites, or business data mutations.
 * This stylesheet consumes existing primitives and is intentionally last in
 * the public document cascade. Keep it scoped to .v16-site.
 */
.v16-site{
  --px40-canvas:#0c151a;
  --px40-panel:#142229;
  --px40-panel-raised:#1c3038;
  --px40-border:#29424a;
  --px40-mint:#a4f1e9;
  --px40-ink:#edf6f5;
  --px40-muted:#aec1c4;
  --px40-radius:20px;
  --px40-gutter:clamp(16px,4.3vw,26px);
  color:var(--px40-ink);
  min-width:0;
  padding-bottom:max(24px,env(safe-area-inset-bottom,0px));
}
.v16-site :is(section,article,header,footer,main,.v16-container,.v16-grid,.v16-card){min-width:0}
.v16-site :is(img,video,svg){max-width:100%}
.v16-site :is(h1,h2,h3,p){overflow-wrap:break-word}
.v16-site :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid var(--px40-mint);
  outline-offset:3px;
}
.v16-site .v16-container{max-width:1240px}
.v16-site .v16-page-hero{
  padding-block:clamp(42px,6vw,84px) clamp(20px,3vw,38px);
}
.v16-site .v16-page-hero h1{
  max-width:17ch;
  font-size:clamp(2.5rem,5.2vw,4.9rem);
  letter-spacing:-.055em;
  line-height:1.065;
  text-wrap:balance;
}
.v16-site .v16-page-hero p{
  max-width:62ch;
  margin-top:clamp(14px,2vw,23px);
  font-size:clamp(1rem,1.2vw,1.2rem);
  line-height:1.52;
  color:var(--px40-muted);
}
.v16-site .v16-section{padding-block:clamp(31px,5vw,74px)}
.v16-site .v16-section-top{
  align-items:end;
  gap:clamp(12px,2vw,28px);
  margin-bottom:clamp(20px,3vw,36px);
}
.v16-site .v16-section-top h2{
  letter-spacing:-.05em;
  line-height:1.1;
}
.v16-site .v16-section-top p{
  color:var(--px40-muted);
  line-height:1.5;
  max-width:36ch;
}
.v16-site .v16-grid{
  gap:clamp(12px,1.7vw,23px);
  align-items:stretch;
}
.v16-site .v16-grid > .v16-card{
  position:relative;
  isolation:isolate;
  min-height:0;
  height:auto;
  padding:clamp(21px,2.4vw,34px);
  gap:clamp(10px,1.5vw,18px);
  background:linear-gradient(145deg,rgba(35,57,64,.75) 0%,rgba(20,34,41,.98) 60%,rgba(12,21,26,.96) 100%);
  border:1px solid var(--px40-border);
  border-radius:var(--px40-radius);
  box-shadow:inset 0 1px 0 rgba(237,246,245,.035),0 14px 38px rgba(0,0,0,.08);
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.v16-site .v16-grid > .v16-card:hover{
  border-color:rgba(164,241,233,.4);
  transform:translateY(-2px);
  box-shadow:inset 0 1px 0 rgba(237,246,245,.05),0 18px 42px rgba(0,0,0,.14);
}
.v16-site .v16-card-number{
  font-size:clamp(11px,.85vw,12px);
  line-height:1.35;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--px40-mint);
}
.v16-site .v16-grid > .v16-card h3{
  margin:0;
  font-size:clamp(1.35rem,1.7vw,1.9rem);
  letter-spacing:-.042em;
  line-height:1.15;
  color:var(--px40-ink);
}
.v16-site .v16-grid > .v16-card p{
  margin:0;
  flex:0 1 auto;
  color:var(--px40-muted);
  font-size:clamp(.9rem,1vw,1rem);
  line-height:1.55;
}
.v16-site .v16-grid > .v16-card :is(a,.v61-case-actions a){
  width:fit-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  min-height:44px;
  padding:7px 0;
  margin-top:auto;
  font-size:clamp(.86rem,.9vw,.98rem);
  line-height:1.4;
  color:var(--px40-mint);
  text-decoration-thickness:1px;
  text-underline-offset:5px;
  overflow-wrap:anywhere;
}
.v16-site .v61-case-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:6px 20px;
  min-width:0;
  margin-top:auto;
}
.v16-site .v61-case-actions a{margin-top:0!important}
.v16-site .v16-note-card{
  border:1px solid var(--px40-border);
  border-inline-start:3px solid rgba(164,241,233,.55);
  border-radius:17px;
  background:linear-gradient(135deg,rgba(28,48,56,.92),rgba(20,34,41,.95));
  box-shadow:none;
}
.v16-site .v16-note-card p{line-height:1.56;color:var(--px40-muted)}
.v16-site .v16-bottom-cta{
  background:radial-gradient(ellipse at 92% 3%,rgba(85,207,203,.12),transparent 58%),linear-gradient(125deg,#172931,#0d191e);
  border:1px solid rgba(164,241,233,.28);
  border-radius:24px;
  gap:clamp(17px,2.5vw,32px);
}
.v16-site .v16-button.primary{
  background:var(--px40-mint);
  border-color:var(--px40-mint);
  color:#0a2023;
  font-weight:750;
}
.v16-site .v16-button:not(.primary){
  background:rgba(20,34,41,.6);
  border-color:rgba(164,241,233,.28);
  color:var(--px40-ink);
}
.v16-site .v16-button{border-radius:13px;min-height:48px}
.v16-site .v16-button:hover{box-shadow:0 6px 24px rgba(72,205,197,.08)}
.v16-site .v16-process-row{
  grid-template-columns:40px minmax(0,1fr);
  align-items:start;
  gap:12px;
  min-width:0;
}
.v16-site .v16-process-row strong{
  width:36px;height:36px;
  display:grid;place-items:center;
  border:1px solid rgba(164,241,233,.45);
  border-radius:50%;
  color:var(--px40-mint);
  background:#0d1b21;
}
.v16-site .v16-process-row p{margin-top:5px}
/* Six-step project process: informative timeline, compact content-driven cards. */
.v16-site .v59-process{
  list-style:none;
  counter-reset:process;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(12px,1.7vw,20px);
  margin:0 0 clamp(18px,3vw,34px);
  padding:0;
}
.v16-site .v59-process > li{
  counter-increment:process;
  min-width:0;
  min-height:0;
  height:auto;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-content:start;
  column-gap:15px;
  row-gap:7px;
  padding:clamp(19px,2.1vw,28px);
  border:1px solid var(--px40-border);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(28,48,56,.92),rgba(13,24,29,.98));
  box-shadow:inset 0 1px 0 rgba(237,246,245,.035);
}
.v16-site .v59-process > li::before{
  content:counter(process,decimal-leading-zero);
  display:grid;place-items:center;
  box-sizing:border-box;
  width:46px;height:46px;
  margin:0;
  grid-row:1/span 2;
  border:1px solid rgba(164,241,233,.48);
  border-radius:50%;
  color:var(--px40-mint);
  background:#0c1b20;
  font:650 13px/1 var(--ath-os-font,system-ui,sans-serif);
  letter-spacing:.02em;
}
.v16-site .v59-process > li h2{
  grid-column:2;
  margin:0;
  font-size:clamp(1.15rem,1.7vw,1.5rem);
  line-height:1.16;
  letter-spacing:-.03em;
}
.v16-site .v59-process > li p{
  grid-column:2;
  margin:0;
  font-size:clamp(.875rem,1.05vw,1rem);
  line-height:1.5;
  color:var(--px40-muted);
}
/* Layout contracts do not interfere with account, editor, or checkout shells. */
@media(max-width:1020px){
  .v16-site .v59-process{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:780px){
  .v16-site .v16-section{padding-block:clamp(24px,4vw,44px)}
  .v16-site .v16-section-top{align-items:start}
  .v16-site .v16-section-top p{max-width:60ch}
  .v16-site .v16-grid{grid-template-columns:minmax(0,1fr)}
  .v16-site .v16-grid > .v16-card:last-child:nth-child(odd){grid-column:auto}
  .v16-site .v59-process{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
  .v16-site .v16-page-hero{
    padding-top:clamp(28px,7vw,48px);
    padding-bottom:clamp(14px,4vw,22px);
  }
  .v16-site .v16-page-hero h1{
    font-size:clamp(2.1rem,9.4vw,3.15rem);
    line-height:1.09;
    letter-spacing:-.055em;
  }
  .v16-site .v16-page-hero p{font-size:clamp(.97rem,3.8vw,1.08rem)}
  .v16-site .v16-grid{gap:13px}
  .v16-site .v16-grid > .v16-card{
    padding:clamp(17px,4.7vw,23px);
    border-radius:18px;
    gap:10px;
    transform:none;
  }
  .v16-site .v16-grid > .v16-card:hover{transform:none}
  .v16-site .v16-grid > .v16-card h3{font-size:clamp(1.29rem,5.65vw,1.65rem)}
  .v16-site .v16-grid > .v16-card p{font-size:clamp(.92rem,3.7vw,1rem)}
  .v16-site .v59-process{gap:10px}
  .v16-site .v59-process > li{
    padding:17px 16px;
    grid-template-columns:42px minmax(0,1fr);
    column-gap:13px;
    border-radius:17px;
  }
  .v16-site .v59-process > li::before{width:40px;height:40px;font-size:12px}
  .v16-site .v59-process > li h2{font-size:clamp(1.18rem,5vw,1.42rem)}
  .v16-site .v59-process > li p{font-size:clamp(.87rem,3.55vw,.97rem)}
  .v16-site .v16-note-card{padding:16px 19px}
  .v16-site .v16-bottom-cta{padding:24px 19px;border-radius:19px}
  .v16-site .v16-bottom-cta h2{font-size:clamp(1.75rem,7vw,2.35rem)}
  .v16-site .v16-actions{display:flex;flex-wrap:wrap;gap:10px}
  .v16-site .v16-actions > .v16-button{width:100%;margin:0}
  .v16-site .v16-process-row{padding-block:11px}
}
@media(max-width:360px){
  .v16-site .v59-process > li{grid-template-columns:36px minmax(0,1fr);gap:8px 10px}
  .v16-site .v59-process > li::before{width:35px;height:35px;font-size:11px}
  .v16-site .v16-grid > .v16-card{padding:16px}
}
/* Accessible editorial form controls for existing public advisor flows. */
.v16-site :is(.v16-advisor-panel,.v16-advisor-results){
  min-width:0;
  border:1px solid var(--px40-border);
  border-radius:21px;
  padding:clamp(18px,2.3vw,32px);
  background:linear-gradient(145deg,rgba(28,48,56,.92),rgba(13,24,29,.98));
  box-shadow:inset 0 1px 0 rgba(237,246,245,.045);
}
.v16-site .v16-advisor-form{gap:clamp(14px,1.5vw,19px);min-width:0}
.v16-site .v16-advisor-form label{
  min-width:0;
  font-size:13px;
  font-weight:650;
  line-height:1.4;
  color:var(--px40-ink);
}
.v16-site .v16-form-label-copy{display:inline;line-height:1.45}
.v16-site .v16-form-required{
  display:inline!important;
  position:static!important;
  margin-left:.13em;
  color:var(--px40-mint);
  font-size:inherit;
  line-height:inherit;
  vertical-align:baseline;
}
.v16-site .v16-advisor-form :is(input:not([type=checkbox]),select,textarea){
  min-width:0;
  max-width:100%;
  width:100%;
  min-height:50px;
  border-radius:13px;
  border:1px solid rgba(174,193,196,.34);
  background:rgba(7,14,18,.5);
  color:var(--px40-ink);
  font-size:16px;
  line-height:1.5;
  padding:13px 15px;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.v16-site .v16-advisor-form textarea{min-height:112px;resize:vertical}
.v16-site .v16-advisor-form :is(input,textarea)::placeholder{color:#96aeb2;opacity:1}
.v16-site .v16-advisor-form :is(input:not([type=checkbox]),select,textarea):focus-visible{
  outline:2px solid var(--px40-mint);
  outline-offset:2px;
  border-color:var(--px40-mint);
}
.v16-site .v16-advisor-form .v16-check{gap:12px;align-items:start}
.v16-site .v16-advisor-form .v16-check input[type=checkbox]{
  accent-color:var(--px40-mint);
  min-width:20px;
  width:20px;
  height:20px;
  flex:0 0 20px;
}
.v16-site .v16-advisor-form button[type=submit]{width:fit-content;max-width:100%}
@media(max-width:600px){
  .v16-site .v16-advisor-shell{grid-template-columns:minmax(0,1fr)}
  .v16-site .v16-form-row{grid-template-columns:minmax(0,1fr);gap:14px}
  .v16-site :is(.v16-advisor-panel,.v16-advisor-results){padding:19px 17px;border-radius:18px}
  .v16-site .v16-advisor-form button[type=submit]{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .v16-site .v16-grid > .v16-card,
  .v16-site .v16-button{transition:none!important;transform:none!important}
}