/* ============================================================
   SCALE — 3PL / Fulfillment
   Blueprint-canvas design system: white ground, dashed guide
   rails, Inter typography, one saturated violet hero block,
   modular hairline grid.
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-2:      oklch(0.985 0.002 286);
  --ink:       oklch(0.175 0.010 286);
  --ink-2:     oklch(0.30 0.010 286);
  --gray:      oklch(0.515 0.008 286);
  --gray-2:    oklch(0.64 0.006 286);
  --gray-3:    oklch(0.74 0.005 286);

  --line:      oklch(0.905 0.003 286);
  --line-2:    oklch(0.86 0.004 286);
  --line-3:    oklch(0.80 0.005 286);
  --guide:     oklch(0.90 0.004 286);

  --violet:        #A950FC;
  --violet-700:    oklch(0.52 0.235 300);
  --violet-tint:   color-mix(in oklab, #A950FC 12%, white);
  --violet-faint:  color-mix(in oklab, #A950FC 6%, white);
  --block:     oklch(0.505 0.225 300);
  --block-2:   oklch(0.435 0.205 301);

  --font-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --frame: 1080px;
  --pad: 40px;
  --r: 10px;
  --r-sm: 7px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--violet-tint); color: var(--ink); }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: var(--ink);
}

/* ---------- Blueprint frame ---------- */
.blueprint { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.blueprint .rails {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--frame), 100vw);
  border-left: 1px dashed var(--guide);
  border-right: 1px dashed var(--guide);
}
@media (max-width: 1120px) { .blueprint { display: none; } }

/* ---------- Layout ---------- */
.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--frame); margin-inline: auto; }
.pad { padding-inline: var(--pad); }
@media (max-width: 600px) { :root { --pad: 22px; } }

.rule { position: relative; z-index: 1; max-width: var(--frame); margin-inline: auto; height: 0; border-top: 1px solid var(--line); }

/* crosshair marks */
.plus { position: absolute; width: 9px; height: 9px; z-index: 3; pointer-events: none; color: var(--line-2); }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.plus::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }

/* ---------- Label ---------- */
.label {
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; white-space: nowrap;
  letter-spacing: 0.005em; color: var(--gray-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.label .sq { width: 6px; height: 6px; background: var(--violet); display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  padding: 10px 16px; border-radius: var(--r-sm); border: 1px solid transparent; line-height: 1;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .2s;
  white-space: nowrap;
}
.btn .ar { transition: transform .2s; }
.btn:hover .ar { transform: translateX(3px); }
.btn:active { transform: translateY(.5px); }

.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(10,8,20,.16); }
.btn-dark:hover { background: oklch(0.27 0.02 295); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-light:hover { border-color: var(--gray-3); }
.btn-onblock { background: var(--ink); color: #fff; }
.btn-onblock:hover { background: #000; }
.btn-link { padding: 10px 2px; color: var(--ink); }
.btn-link .ar { color: var(--violet-700); }
.btn-sm { font-size: 13px; padding: 8px 13px; }
.btn-cta { background: #F9FAFB; color: var(--ink); }
.btn-cta:hover { background: #fff; }
.btn-onblock-ghost { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-onblock-ghost:hover { background: rgba(255,255,255,.18); }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: sticky; top: 0; z-index: 40; padding: 12px 14px 0; }
.nav-bar {
  max-width: calc(var(--frame) - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding-inline: 18px;
  border: 1px solid transparent; border-radius: 13px;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled .nav-bar {
  background: color-mix(in oklab, #fff 72%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-color: var(--line);
  box-shadow: 0 6px 24px -14px rgba(20,16,40,.22);
}
.nav-left { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; color: var(--gray); font-weight: 500; transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
@media (max-width: 720px) { .nav-links { display: none; } }

.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo .mk { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.logo .mk i { width: 3.5px; background: var(--ink); display: block; }
.logo .mk i:nth-child(1) { height: 6px; }
.logo .mk i:nth-child(2) { height: 10px; }
.logo .mk i:nth-child(3) { height: 16px; background: var(--violet); }
.logo .w { font-family: var(--font-serif); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero-pad { padding-top: 26px; padding-bottom: 0; }
.hero {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: var(--block);
  padding: 100px 32px 92px; text-align: center; isolation: isolate;
}
.hero-fx { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-in { position: relative; z-index: 2; }
.hero .ey { color: rgba(255,255,255,.72); margin-bottom: 26px; }
.hero .ey .sq { background: #fff; }
.hero h1 {
  color: #fff; font-weight: 600;
  font-size: clamp(40px, 6.6vw, 80px); line-height: 1.0; letter-spacing: -0.02em;
  max-width: 13ch; margin-inline: auto;
}
.hero h1 .mark {
  background: #fff; color: var(--violet);
  padding: 0 .16em; border-radius: 5px; white-space: nowrap;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero p {
  color: rgba(255,255,255,.84); font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.55; max-width: 50ch; margin: 26px auto 0; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 34px; flex-wrap: wrap; }

/* ============================================================
   LOGO ROW
   ============================================================ */
.logos { padding-block: 30px; }
.logos .cap { text-align: center; font-family: var(--font-sans); font-size: 13px; color: var(--gray-2); font-weight: 500; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; margin-top: 22px; }
.logo-row .lp { display: inline-flex; align-items: center; gap: 8px; opacity: .55; filter: grayscale(1); transition: opacity .2s; }
.logo-row .lp:hover { opacity: .9; }
.logo-row .lp .gx { width: 18px; height: 18px; border-radius: 4px; background: var(--gray-3); }
.logo-row .lp .gx.c { border-radius: 50%; }
.logo-row .lp .nm { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--gray); letter-spacing: -0.01em; }

/* ============================================================
   FEATURE ROWS
   ============================================================ */
.row { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.row > .cell { padding: 56px 40px; min-width: 0; }
.row > .cell.txt { display: flex; flex-direction: column; justify-content: center; }
.row > .cell + .cell { border-left: 1px solid var(--line); }
.row.flip .cell.viz { order: -1; border-left: 0; }
.row.flip .cell.txt { border-left: 1px solid var(--line); }
.row .label { margin-bottom: 18px; }
.row h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; letter-spacing: -0.018em; max-width: 17ch; }
.row .more { margin-top: 22px; }
.row .more a {
  font-size: 14px; font-weight: 600; color: var(--gray-3);
  display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; transition: color .2s;
}
.row .more a .ar { color: var(--gray-3); transition: transform .2s, color .2s; }
.row .more a:hover,
.row .more a:hover .ar { color: var(--violet); }
.row .more a:hover .ar { transform: translateX(3px); }
.cell.viz { display: flex; align-items: center; justify-content: center; background: var(--bg-2); }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; }
  .row > .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
  .row.flip .cell.viz { order: 0; }
  .row.flip .cell.txt { border-left: 0; }
  .row > .cell { padding: 40px 24px; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); }
.stats .s {
  padding: 44px 30px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; transition: background .25s;
}
.stats .s::before { content: ""; width: 20px; height: 2px; background: var(--violet); margin-bottom: 20px; }
.stats .s .sl { font-size: 13px; font-weight: 600; color: var(--gray); line-height: 1.35; max-width: 22ch; }
.stats .s:hover { background: var(--bg-2); }
.stats .s:last-child { border-right: 0; }
.stats .s .n { margin-top: auto; padding-top: 26px; font-size: clamp(38px, 4.8vw, 56px); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: .95; }
.stats .s .n em { font-style: normal; color: var(--violet); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .s:nth-child(2) { border-right: 0; }
  .stats .s:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.band-pad { padding-block: 0; }
.cta-block {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 0;
  background: linear-gradient(157deg, var(--block) 0%, var(--block-2) 100%);
}
.cta-block::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(120% 130% at 80% 0%, #000, transparent 82%);
  mask-image: radial-gradient(120% 130% at 80% 0%, #000, transparent 82%);
}
.cta-in {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; padding: 46px 40px;
}
.cta-in h2 { color: #fff; font-size: clamp(24px, 3vw, 38px); font-weight: 600; letter-spacing: -0.02em; }
.cta-in p { color: rgba(255,255,255,.80); font-size: 15px; margin-top: 8px; }
.cta-in .ba { display: flex; gap: 10px; align-items: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-row { display: grid; grid-template-columns: 0.7fr 1.3fr; }
.faq-row .head { padding: 56px 40px; }
.faq-row .head h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.015em; }
.faq-list { border-left: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px;
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { flex: none; width: 13px; height: 13px; position: relative; }
.faq .chev::before, .faq .chev::after {
  content: ""; position: absolute; background: var(--gray);
  transition: transform .25s, opacity .25s;
}
.faq .chev::before { left: 50%; top: 0; width: 1.4px; height: 100%; transform: translateX(-50%); }
.faq .chev::after { top: 50%; left: 0; height: 1.4px; width: 100%; transform: translateY(-50%); }
.faq[open] .chev::before { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq[open] summary { color: var(--violet-700); }
.faq .a { padding: 0 40px 24px; color: var(--gray); font-size: 14.5px; line-height: 1.6; max-width: 60ch; }
@media (max-width: 760px) {
  .faq-row { grid-template-columns: 1fr; }
  .faq-list { border-left: 0; }
  .faq-row .head { padding: 40px 24px 16px; }
  .faq summary, .faq .a { padding-inline: 24px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-block: 64px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand .logo { margin-bottom: 16px; }
.foot-brand p { font-size: 13.5px; color: var(--gray); max-width: 26ch; line-height: 1.55; }
.foot-col h5 { font-family: var(--font-sans); font-size: 12px; color: var(--gray-2); margin: 0 0 14px; font-weight: 600; }
.foot-col a { display: block; font-size: 13.5px; color: var(--gray); padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: var(--ink); }
.foot-bot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line);
  gap: 16px; flex-wrap: wrap;
}
.foot-bot .c { font-size: 12.5px; color: var(--gray-3); }
.foot-bot .m { display: flex; gap: 20px; font-family: var(--font-mono); font-size: 11.5px; color: var(--gray-3); }
.foot-bot .m a:hover { color: var(--ink); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   SECTION MOCKUPS
   ============================================================ */
.vz { width: 100%; max-width: 416px; }
.brand-card, .flow-card, .price-card, .air-card {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 1px 2px rgba(20,16,40,.04), 0 18px 40px -22px rgba(40,16,70,.22);
}
[data-tilt] { perspective: 900px; }
[data-tilt] > * { transition: transform .35s cubic-bezier(.2,.7,.3,1); transform-style: preserve-3d; }

/* — 1 · Branded product spec card — */
.brand-card { padding: 18px; }
.brand-head { display: flex; align-items: center; gap: 12px; }
.brand-box {
  width: 46px; height: 46px; border-radius: 11px;
  background: linear-gradient(150deg, #b76bff, #7a2bd6);
  display: grid; place-items: center; flex: none;
  box-shadow: 0 8px 18px -8px var(--violet);
}
.brand-mk { display: inline-flex; align-items: flex-end; gap: 2px; height: 18px; }
.brand-mk i { width: 3px; background: #fff; display: block; }
.brand-mk i:nth-child(1) { height: 7px; }
.brand-mk i:nth-child(2) { height: 12px; }
.brand-mk i:nth-child(3) { height: 18px; }
.brand-meta { min-width: 0; }
.brand-t { font-size: 14px; font-weight: 700; color: var(--ink); }
.brand-s { font-size: 12px; color: var(--gray); margin-top: 2px; }
.brand-badge { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--violet); background: var(--violet-tint); padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.brand-specs { margin-top: 16px; border-top: 1px solid var(--line); }
.brand-specs .sp { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.brand-specs .sp span { color: var(--gray); white-space: nowrap; }
.brand-specs .sp b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.brand-certs { display: flex; gap: 7px; margin-top: 14px; flex-wrap: wrap; }
.cert {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; white-space: nowrap;
  color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 9px;
  transition: border-color .2s, color .2s, background .2s;
}
.cert:hover { border-color: var(--violet); color: var(--violet); background: var(--violet-faint); }

/* — 2 · Process monitor card — */
.flow-card { padding: 18px 18px 14px; }
.flow-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.flow-id { font-family: var(--font-mono); font-size: 12px; color: var(--gray); }
.flow-live {
  font-family: var(--font-mono); font-size: 11px; color: var(--violet);
  display: inline-flex; align-items: center; gap: 6px;
}
.flow-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet); box-shadow: 0 0 0 3px var(--violet-faint);
  animation: vpulse 2s infinite;
}
@keyframes vpulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.flow-steps { position: relative; }
.flow-steps::before {
  content: ""; position: absolute; left: 6px; top: 16px; bottom: 18px;
  width: 2px; background: var(--line);
}
.flow-steps .prog { position: absolute; left: 6px; top: 16px; width: 2px; height: 58%; background: var(--violet); }
.fstep { position: relative; display: flex; gap: 13px; padding: 8px 0 8px 26px; }
.fdot { position: absolute; left: 1px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line-3); }
.fstep.done .fdot { background: var(--violet); border-color: var(--violet); }
.fstep.active .fdot { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-faint); animation: vpulse 1.8s infinite; }
.fstep .fl { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fstep .fl b { font-size: 13px; font-weight: 600; color: var(--ink); }
.fstep .fl span { font-size: 11.5px; color: var(--gray); }
.fstep:not(.done):not(.active) .fl b { color: var(--gray-2); }

/* — 3 · Price calculator card — */
.price-card { padding: 20px; }
.price-head { display: flex; align-items: baseline; justify-content: space-between; }
.price-head span { font-size: 13px; color: var(--gray); }
.price-head .vol { font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: 5px; margin: 16px 0 4px;
  outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--violet) 50%, var(--line-2) 50%);
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--violet); border: 3px solid #fff;
  box-shadow: 0 1px 5px rgba(80,20,160,.45); cursor: pointer;
}
.price-slider::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--violet); border: 3px solid #fff; cursor: pointer;
}
.price-out { margin-top: 18px; }
.po-lbl { font-size: 12px; color: var(--gray); }
.po-val { font-size: 40px; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.price-cmp { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.cmp-row { display: flex; align-items: center; gap: 12px; font-size: 12.5px; }
.cmp-row > span { width: 72px; color: var(--gray); flex: none; }
.cmp-row .bar { flex: 1; height: 8px; border-radius: 5px; background: var(--bg-2); overflow: hidden; }
.cmp-row .bar i { display: block; height: 100%; border-radius: 5px; transition: width .25s; }
.cmp-row .bar i.scale { background: var(--violet); width: 73%; }
.cmp-row .bar i.mkt { background: var(--line-3); width: 100%; }
.cmp-row b { width: 48px; text-align: right; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.price-save { margin-top: 14px; font-size: 12.5px; color: var(--gray); }
.price-save b { color: var(--violet); }

/* — 4 · Air network card — */
.air-card { padding: 18px; }
.air-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.air-cap { font-family: var(--font-mono); font-size: 11px; color: var(--gray-3); letter-spacing: .04em; white-space: nowrap; }
.air-map { position: relative; height: 170px; }
.air-map svg { width: 100%; height: 100%; display: block; overflow: visible; }
.air-map .arc { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.air-map .arc.lit { stroke: var(--violet); opacity: .85; }
.air-map .pt { fill: var(--gray-3); }
.air-map .hub { fill: var(--violet); }
.air-stats { display: flex; gap: 22px; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.air-stats b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.air-stats b em { font-style: normal; color: var(--violet); }
.air-stats span { display: block; font-size: 11.5px; color: var(--gray); margin-top: 2px; }
