/* A2Z Trader landing — brand spec: black storytelling bands, white catalogue bands, yellow on the
   price block only, Inter (display 500 / body 400 / labels 600), pill buttons, radii 8/12/20,
   no shadows — surfaces separate by luminance and hairlines. */

/* ─── tokens ───────────────────────────────────────────────────────── */
:root {
  --canvas:        #000000;
  --canvas-light:  #ffffff;
  --soft:          #f4f4f4;
  --surface-1:     #0a0a0a;
  --surface-2:     #16181a;
  --surface-3:     #1e2329;
  --ink:           #191c1f;
  --body:          #1f2226;
  --mute:          #505a63;
  --stone:         #8d969e;
  --hairline:      #e2e2e7;
  --hairline-dark: rgba(255,255,255,.12);
  --on-dark:       #ffffff;
  --on-dark-mute:  rgba(255,255,255,.72);
  --yellow:        #fcd535;
  --yellow-active: #f0b90b;
  --on-yellow:     #181a20;
  --green:         #0ecb81;
  --red:           #f6465d;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --full: 9999px;
}

/* ─── reset / base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: .24px;
  color: var(--ink);
  background: var(--canvas-light);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 1px 6px;
  background: var(--soft);
  color: var(--ink);
  border-radius: 6px;
}
.hero code, .section-dark code, .section-cta code { background: var(--surface-3); color: #fff; }

/* ─── nav ──────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 36px;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline);
  z-index: 100;
}
/* lockup: mark + wordmark (Inter 500, -0.02em); mark ≈ 1.15× cap height, gap 0.42× mark */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { display: block; flex: 0 0 auto; }
.brand-word { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.brand.small { gap: 9px; }
.brand.small .brand-word { font-size: 18px; }
.brand-sub { font-size: 13px; color: var(--mute); }
.nav-links {
  display: flex; gap: 28px; flex: 1;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--mute); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }

/* ─── buttons: pills ───────────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--full);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .24px;
  border: 1px solid var(--ink);
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cta:hover { background: #000; border-color: #000; }
.cta-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.cta-lg { height: 56px; padding: 0 36px; font-size: 16px; }
.cta-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.cta-ghost:hover { background: var(--soft); }
/* on black bands the primary pill is white, the ghost is a hairline */
.hero .cta, .section-dark .cta, .section-cta .cta { background: #fff; color: var(--ink); border-color: #fff; }
.hero .cta:hover, .section-dark .cta:hover, .section-cta .cta:hover { background: #ededf0; border-color: #ededf0; }
.hero .cta-ghost, .section-dark .cta-ghost, .section-cta .cta-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.hero .cta-ghost:hover, .section-dark .cta-ghost:hover, .section-cta .cta-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); }

/* ─── hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 36px;
  background: var(--canvas);
  color: #fff;
  overflow: hidden;
}
.hero-inner { position: relative; max-width: 1100px; margin: 0 auto; }
.chip {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--hairline-dark);
  color: var(--on-dark-mute);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--full);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: 76px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--on-dark-mute);
  max-width: 720px;
}
.section .lede { color: var(--mute); }
.section-dark .lede { color: var(--on-dark-mute); }
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 56px;
  margin-top: 72px;
  flex-wrap: wrap;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong {
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-meta span {
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── sections ─────────────────────────────────────────────────────── */
.section {
  padding: 88px 36px;
  max-width: 1180px;
  margin: 0 auto;
}
.section-dark {
  max-width: none;
  padding-left: 0; padding-right: 0;
  background: var(--canvas);
  color: #fff;
}
.section-dark > * { max-width: 1180px; margin-left: auto; margin-right: auto;
                    padding-left: 36px; padding-right: 36px; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.kicker {
  display: inline-block;
  color: var(--stone);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 44px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-dark .section-head h2 { color: #fff; }

/* ─── card grids ───────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-compact { gap: 16px; }

.card {
  padding: 32px;
  background: var(--soft);
  border-radius: var(--r-lg);
}
.card-dark {
  background: var(--surface-2);
  color: #fff;
}
.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  border-radius: var(--r-md);
  margin-bottom: 16px;
}
.card-dark .card-icon { background: var(--surface-3); color: #fff; }
.card h3, .card-flat h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.card-dark h3, .card-flat-dark h3 { color: #fff; }
.card p, .card-flat p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
  margin-bottom: 12px;
}
.card ul, .card-flat ul {
  list-style: none;
  margin-top: 12px;
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}
.card-dark ul, .card-flat-dark ul { border-top-color: var(--hairline-dark); }
.card li, .card-flat li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--body);
  padding: 5px 0 5px 18px;
  position: relative;
}
.card li::before, .card-flat li::before {
  content: '✓';
  color: var(--ink);
  position: absolute; left: 0;
  font-weight: 600;
}
.card-dark p, .card-flat-dark p { color: var(--on-dark-mute); }
.card-dark li, .card-flat-dark li { color: #fff; }
.card-dark li::before, .card-flat-dark li::before { color: var(--green); }

.card-flat {
  padding: 32px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.card-flat-dark {
  border-color: var(--hairline-dark);
  background: var(--surface-1);
}

/* ─── feature blocks (split layout) ──────────────────────────────── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 72px 0;
  padding: 56px;
  background: var(--soft);
  border-radius: var(--r-lg);
}
.feature-block-dark {
  background: var(--surface-1);
  border: 1px solid var(--hairline-dark);
}
.feature-text h3 {
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-dark .feature-text h3 { color: #fff; }
.feature-text p { color: var(--mute); margin-bottom: 12px; font-size: 15px; line-height: 1.6; }
.section-dark .feature-text p { color: var(--on-dark-mute); }

.feature-steps { display: flex; flex-direction: column; gap: 12px; }
.step {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--r-md);
}
.step-num {
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
  min-width: 28px;
}
.step strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.step em { color: var(--mute); font-style: normal; font-size: 13px; }

.feature-list { display: flex; flex-direction: column; gap: 10px; }
.bullet {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--body);
}
.section-dark .bullet { background: var(--surface-2); color: #fff; }

/* ─── link cards (demo URLs, downloads) ──────────────────────────── */
.link-card {
  display: flex; flex-direction: column;
  padding: 24px;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  text-align: left;
  gap: 4px;
  transition: border-color 0.15s;
}
.link-card:hover { border-color: var(--ink); }
.link-card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.link-card strong { font-size: 16px; color: var(--ink); font-weight: 600; }
.link-card span { font-size: 12px; color: var(--mute); }

.docs-row {
  display: flex; gap: 16px; justify-content: center; margin-top: 40px;
  flex-wrap: wrap;
}
.doc-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  transition: border-color 0.15s;
  min-width: 280px;
}
.doc-card:hover { border-color: var(--ink); }
.doc-card > span { font-size: 26px; }
.doc-card strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.doc-card em { font-style: normal; font-size: 12px; color: var(--mute); }

/* ─── CTA band (contact) ─────────────────────────────────────────── */
.section-cta {
  padding: 96px 36px;
  background: var(--canvas);
  color: #fff;
  max-width: none;
}
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta-inner h2 {
  font-size: 40px; font-weight: 500; margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cta-inner p { color: var(--on-dark-mute); font-size: 17px; margin-bottom: 28px; }
.cta-inner p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ─── lead form ─────────────────────────────────────────────────────── */
.lead-form {
  max-width: 640px; margin: 28px auto 0;
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: 26px;
  text-align: left;
}
.lead-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 10px;
}
.lead-form input, .lead-form textarea {
  width: 100%;
  background: var(--surface-1);
  border: 1px solid var(--hairline-dark);
  color: #fff;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--stone); }
.lead-form input:focus, .lead-form textarea:focus { border-color: rgba(255,255,255,0.6); }
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-actions {
  display: flex; align-items: center; gap: 16px; margin-top: 6px;
}
.lead-msg { font-size: 13px; }
.lead-msg.ok  { color: var(--green); }
.lead-msg.err { color: var(--red); }
.lead-fineprint {
  font-size: 11px; color: var(--stone); margin-top: 12px;
}
@media (max-width: 600px) {
  .lead-grid { grid-template-columns: 1fr; }
}

/* ─── footer ──────────────────────────────────────────────────────── */
.foot, .footer {
  padding: 32px 36px;
  background: #fff;
  border-top: 1px solid var(--hairline);
}
.foot-inner, .footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--mute);
  flex-wrap: wrap; gap: 12px;
}
.foot-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.foot-meta a:hover, .footer-inner a:hover { color: var(--ink); }

/* ─── responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { padding: 72px 20px 80px; }
  .hero h1 { font-size: 44px; }
  .lede { font-size: 16px; }
  .section { padding: 60px 20px; }
  .section-dark > * { padding-left: 20px; padding-right: 20px; }
  .section-head h2 { font-size: 32px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-block { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; margin: 40px 0; }
  .feature-text h3 { font-size: 22px; }
  .hero-meta { gap: 24px; }
  .hero-meta strong { font-size: 28px; }
  .cta-inner h2 { font-size: 28px; }
}

/* ─── Screenshots gallery ─────────────────────────────────────────── */
#screens { max-width: 1180px; margin-left: auto; margin-right: auto; }
.shot {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--canvas);
  overflow: hidden;
}
.shot a { display: block; line-height: 0; }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  line-height: 1.5;
  color: var(--on-dark-mute);
  font-size: 0.95rem;
  padding: 16px 20px;
  border-top: 1px solid var(--hairline-dark);
}
.shot figcaption strong { color: #fff; font-weight: 600; }
.shot-hero { margin: 8px 0 22px; }
.shots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 760px) {
  .shots-grid { grid-template-columns: 1fr; }
}

/* phones row */
.shots-subhead {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 48px 0 22px;
}
.phones {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.phone {
  margin: 0;
  width: 270px;
  max-width: 44vw;
  border: 6px solid var(--surface-2);
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface-2);
}
.phone a { display: block; line-height: 0; }
.phone img { width: 100%; height: auto; display: block; }
.phones-cap {
  max-width: 620px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--mute);
}

/* ─── capacity / performance ───────────────────────────────────────── */
.cap-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 34px;
  align-items: center;
}
.cap-chart {
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: 20px 22px 14px;
}
.cap-chart svg { width: 100%; height: auto; }
.cap-chart figcaption {
  color: var(--stone);
  font-size: 12.5px;
  margin-top: 10px;
  line-height: 1.5;
}
.cap-stats { display: grid; gap: 16px; }
.cap-stat {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 16px 20px;
}
.cap-stat strong {
  display: block;
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cap-stat span { font-size: 13.5px; color: var(--on-dark-mute); }

.cap-subhead {
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin: 46px 0 18px;
}
.cap-table-wrap { max-width: 1000px; margin: 0 auto; }
.cap-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-2);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: 14.5px;
}
.cap-table th {
  background: var(--surface-3);
  color: #fff;
  text-align: left;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 13px;
}
.cap-table td { padding: 12px 18px; border-top: 1px solid var(--hairline-dark); color: var(--on-dark-mute); font-variant-numeric: tabular-nums; }
.cap-table tr.cap-row-hot td {
  background: var(--surface-3);
  color: #fff;
  font-weight: 600;
}
.cap-note {
  color: var(--stone);
  font-size: 13px;
  margin: 16px 4px 0;
  line-height: 1.55;
}

/* ─── pricing — ONE price: installation + per-volume fee ─────────── */
.price-wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--yellow);          /* the one yellow block on the page */
  color: var(--on-yellow);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.price-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: .8;
}
.price-amt { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-amt strong {
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-amt span { font-size: 15px; font-weight: 600; }
.price-plus { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; margin: 8px 0 28px; }
.price-plus em { display: block; font-style: normal; font-size: 14px; font-weight: 400; opacity: .8; margin-top: 4px; }
.price-card .cta { align-self: flex-start; }
.price-note { font-size: 13px; line-height: 1.5; opacity: .8; margin-top: auto; padding-top: 28px; }
.price-includes {
  background: var(--soft);
  border-radius: var(--r-lg);
  padding: 40px;
}
.price-includes h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 16px; }
.price-includes ul { list-style: none; }
.price-includes li {
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 14.5px;
  color: var(--body);
  border-top: 1px solid var(--hairline);
}
.price-includes li:first-child { border-top: none; }
.price-includes li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  color: var(--ink); font-weight: 600;
}
.price-foot {
  max-width: 720px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--mute);
  font-size: 13.5px;
}
.price-foot a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ─── responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cap-wrap { grid-template-columns: 1fr; }
  .cap-stats { grid-template-columns: repeat(2, 1fr); }
  .price-wrap { grid-template-columns: 1fr; }
  .price-card, .price-includes { padding: 28px; }
  .price-amt strong { font-size: 56px; }
  .cap-table { font-size: 13px; }
  .cap-table th, .cap-table td { padding: 10px 12px; }
}
