/* Inner pages: page-hero · breadcrumb · subnav · steps · tiers · pods · form layout · visuals */

/* ══════════════════════════════════════════════════════════
   PAGE HERO
   ══════════════════════════════════════════════════════════ */
.phero {
  position: relative;
  padding: clamp(120px, 14vh, 164px) 0 clamp(40px, 5.5vw, 68px);
  overflow: hidden; isolation: isolate;
  background: #fff;
}
.phero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(40% 60% at 92% 20%, rgba(233,73,219,.12), transparent 70%),
    radial-gradient(40% 60% at 75% 95%, rgba(99,191,244,.14), transparent 70%);
}
.phero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  pointer-events: none; opacity: .45;
  background-image: radial-gradient(rgba(23,23,33,.16) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask: radial-gradient(60% 80% at 25% 50%, #000, transparent 75%);
          mask: radial-gradient(60% 80% at 25% 50%, #000, transparent 75%);
}
.phero h1    { font-size: var(--font-h1); font-weight: 700; letter-spacing: -.045em; max-width: 18ch; }
.phero h1 .w { display: inline-block; white-space: pre; }
.phero .lede { margin-top: 18px; font-size: var(--font-lede); }
.phero .btns { margin-top: 28px; }

/* ── page hero visual layout ── */
.phero .wrap.has-viz { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pviz { width: 100%; max-width: 380px; justify-self: end; aspect-ratio: 1; }
.pviz svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 980px) { .phero .wrap.has-viz { grid-template-columns: minmax(0,1fr); } .pviz { max-width: 240px; justify-self: start; order: 2; } }

/* ══════════════════════════════════════════════════════════
   BREADCRUMB & SUB-NAVIGATION
   ══════════════════════════════════════════════════════════ */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--text-3); margin-bottom: 16px; }
.crumb a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid transparent; }
.crumb a:hover { color: var(--text); border-color: currentColor; }
.crumb span[aria-hidden] { opacity: .5; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.subnav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); text-decoration: none;
  font-size: .9rem; font-weight: 600; color: var(--text);
  background: rgba(255,255,255,.7); overflow: hidden; isolation: isolate;
  transition: color .25s, border-color .25s;
}
.subnav a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--iri); opacity: 0;
  transform: scaleX(.2); transform-origin: left;
  transition: opacity .3s, transform .4s var(--ease);
}
.subnav a:hover { border-color: transparent; }
.subnav a:hover::before { opacity: .35; transform: none; }

/* ══════════════════════════════════════════════════════════
   ADAPTIVE DELIVERY STEPS
   ══════════════════════════════════════════════════════════ */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 10px; counter-reset: s; perspective: 1200px;
}
.steps li {
  position: relative; counter-increment: s;
  padding: 20px 16px; border-radius: var(--r-sm);
  display: grid; gap: 6px; align-content: start; overflow: hidden;
}
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-size: .85rem; color: var(--text-3); }
.steps b    { font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.steps span { font-size: .88rem; color: var(--text-2); line-height: 1.4; }
@media (max-width: 1140px) { .steps { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 680px)  { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 440px)  { .steps { grid-template-columns: minmax(0,1fr); } }

/* ══════════════════════════════════════════════════════════
   BUILD TIERS (golden-ratio proportions within tiers)
   ══════════════════════════════════════════════════════════ */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; perspective: 1200px; }
.tier  { padding: clamp(24px, 2.8vw, 34px); border-radius: var(--r); display: flex; flex-direction: column; gap: 14px; }
.tier.deep { background: linear-gradient(160deg, rgba(167,139,250,.2), rgba(99,191,244,.1)); }
.tier .lv { display: flex; gap: 6px; }
.tier .lv i { width: 28px; height: 6px; border-radius: 6px; background: rgba(23,23,33,.1); }
.tier .lv i.on { background: var(--iri); background-size: 200% 100%; }
.tier h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.04em; }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: var(--font-sm); }
.tier li { display: flex; gap: 10px; align-items: baseline; color: var(--text-2); }
.tier li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; transform: translateY(-1px); }
.tier .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 980px) { .tiers { grid-template-columns: minmax(0,1fr); } }

/* ══════════════════════════════════════════════════════════
   CAPABILITY PODS
   ══════════════════════════════════════════════════════════ */
/* Golden-ratio: 1 : 1.45 */
.pods { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(20px, 3vw, 40px); }
.pod-tabs { display: grid; gap: 8px; }
.pod-tabs button {
  all: unset; box-sizing: border-box; cursor: pointer;
  padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.6);
  display: grid; gap: 4px;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.pod-tabs button:hover { border-color: rgba(23,23,33,.3); transform: translateX(4px); }
.pod-tabs button b { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }
.pod-tabs button span { font-size: .88rem; color: var(--text-2); }
.pod-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pod-tabs button[aria-selected="true"] span { color: #C9C8DA; }
.pod-tabs button:focus-visible { outline: 2px solid var(--blue-d); }
.pod-view { padding: clamp(22px, 2.8vw, 34px); border-radius: var(--r); min-height: 100%; }
.ring { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.ring span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(23,23,33,.05); font-weight: 600; font-size: var(--font-sm); }
.ring span i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ring span.h { box-shadow: inset 0 0 0 1.5px var(--magenta); }
@media (max-width: 980px) { .pods { grid-template-columns: minmax(0,1fr); } }

/* ══════════════════════════════════════════════════════════
   FORM LAYOUT (GET STARTED)
   ══════════════════════════════════════════════════════════ */
.ftabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 18px; margin-bottom: 24px; }
.ftabs button { all: unset; cursor: pointer; flex: 1 1 auto; text-align: center; padding: 11px 14px; border-radius: 12px; font-weight: 600; color: var(--text-2); transition: background-color .2s, color .2s; }
.ftabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.ftabs button:focus-visible { outline: 2px solid var(--blue-d); }

/* golden-ratio: 1.618 : 1 */
.form-shell { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
@media (max-width: 980px) { .form-shell { grid-template-columns: minmax(0,1fr); } }
.panel { padding: clamp(24px,3vw,40px); }
.aside { padding: 28px; display: grid; gap: 14px; position: sticky; top: 100px; }
.aside ol { margin: 0; padding-left: 1.2em; display: grid; gap: 12px; color: var(--text-2); }
.aside strong { color: var(--text); }

/* ══════════════════════════════════════════════════════════
   INNER PAGE VISUALS (SVG BUILDERS)
   ══════════════════════════════════════════════════════════ */
.vz-label  { font: 600 15px var(--f-body); fill: var(--text-2); }
.vz-label.in { fill: #fff; font-size: 16px; }
.vz-grid   { stroke: rgba(23,23,33,.07); stroke-width: 1; }
.vz-axis   { stroke: rgba(23,23,33,.25); stroke-width: 2; }
.vz-pulse  { fill: none; stroke: var(--magenta); stroke-width: 3; transform-box: fill-box; transform-origin: center; opacity: 0; }
.vz-ring   { fill: none; stroke: rgba(23,23,33,.12); stroke-width: 1.5; stroke-dasharray: 3 9; }
.vz-orbit  { transform-origin: 200px 200px; }
.vz-core   { filter: drop-shadow(0 18px 30px rgba(106,75,224,.35)); }
.vz-team   { fill: rgba(23,23,33,.14); }
.vz-slot   { fill: none; stroke: rgba(23,23,33,.25); stroke-width: 2; stroke-dasharray: 4 5; }
.vz-draw   { fill: none; stroke: var(--violet-d); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 0; }
.vz-fill   { opacity: .9; }
.vz-trend  { fill: none; stroke: url(#vzLine); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.vz-pt     { fill: #fff; stroke: var(--violet-d); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.vz-type   { font: 800 150px var(--f-display); letter-spacing: -8px; fill: url(#vzType); opacity: .2; }
.vz-type.stroke { fill: none; stroke: url(#vzType); stroke-width: 2.5; opacity: 1; stroke-dasharray: 100; }
.vz-route  { fill: none; stroke: rgba(23,23,33,.14); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.vz-route-live { fill: none; stroke: url(#vzLine); stroke-width: 4; stroke-linecap: round; }
.vz-runner { filter: drop-shadow(0 4px 10px rgba(255,113,48,.6)); }
