/* Brokered Access landing — Walden Ltd */

:root {
  --bg: #0b0f14;
  --bg-alt: #111821;
  --bg-card: #161f2b;
  --fg: #e6edf3;
  --fg-dim: #9aa7b4;
  --accent: #4ea1ff;
  --accent-2: #6cf0c2;
  --warn: #ffb454;
  --bad: #ff6b6b;
  --good: #6cf0c2;
  --border: #243042;
  --max: 1100px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { color: var(--accent); font-size: 1.3rem; }
.brand-name { letter-spacing: 0.3px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--fg-dim); font-size: 0.95rem; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #0b1320; }
.btn-primary:hover { background: #6db4ff; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 8px 14px; font-size: 0.9rem; background: var(--accent); color: #0b1320; }
.btn-large { padding: 16px 28px; font-size: 1.05rem; }

/* Hero */
.hero {
  padding: 90px 0 80px;
  background: radial-gradient(ellipse at top, #1a2738 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  color: var(--accent-2);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.accent { color: var(--accent); }
.lede {
  font-size: 1.15rem;
  color: var(--fg-dim);
  max-width: 720px;
  margin: 0 0 32px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.cta-row.center { justify-content: center; }
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--fg-dim);
  font-size: 0.95rem;
}
.hero-bullets li { color: var(--fg); }

/* Section base */
section { padding: 72px 0; border-bottom: 1px solid var(--border); }
section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 18px;
  letter-spacing: -0.3px;
}
section > .container > p { color: var(--fg-dim); max-width: 760px; }

/* Problem cards */
.problem { background: var(--bg-alt); }
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0 16px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--fg); }
.card p { margin: 0; color: var(--fg-dim); font-size: 0.95rem; }
.warn {
  margin-top: 24px;
  padding: 14px 18px;
  border-left: 3px solid var(--warn);
  background: rgba(255, 180, 84, 0.08);
  color: var(--warn);
  border-radius: 6px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b1320;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--fg-dim); font-size: 0.95rem; }

/* Scenario compare */
.scenario { background: var(--bg-alt); }
.scenario-setup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0 30px;
  color: var(--fg);
}
.scenario-setup strong { color: var(--accent); margin-right: 4px; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.compare-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.compare-col h3 { margin: 0 0 14px; font-size: 1.1rem; }
.compare-col.bad { border-top: 3px solid var(--bad); }
.compare-col.bad h3 { color: var(--bad); }
.compare-col.good { border-top: 3px solid var(--good); }
.compare-col.good h3 { color: var(--good); }
.compare-col ol { margin: 0; padding-left: 20px; color: var(--fg-dim); }
.compare-col li { margin-bottom: 8px; }

/* Permissions table */
.table-wrap { overflow-x: auto; margin-top: 24px; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--bg-card); }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
th { background: var(--bg-alt); color: var(--accent-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.78rem; }
tr:last-child td { border-bottom: none; }
.note { margin-top: 18px; color: var(--fg-dim); font-style: italic; }

/* Apps */
.apps { background: var(--bg-alt); }

/* Value */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.value-grid h2 { font-size: 1.5rem; }
.value-grid ul { padding-left: 20px; color: var(--fg-dim); }
.value-grid li { margin-bottom: 10px; }

/* Final CTA */
.cta {
  background: linear-gradient(135deg, #14233a 0%, #0e1a2c 100%);
  text-align: center;
  border-bottom: none;
}
.cta-inner { max-width: 720px; }
.cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.cta p { color: var(--fg-dim); margin: 12px auto 28px; font-size: 1.1rem; }
.cta-foot { font-size: 0.9rem; margin-top: 22px !important; }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 20px auto 0;
  text-align: left;
  max-width: 560px;
}
.contact-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-of-type { border-bottom: none; }
.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-2);
  min-width: 72px;
}
.contact-value {
  color: var(--fg);
  font-size: 1.05rem;
  font-weight: 500;
  word-break: break-all;
}
a.contact-value { color: var(--accent); }
.contact-foot {
  margin: 16px 0 0 !important;
  font-size: 0.92rem !important;
  color: var(--fg-dim) !important;
  text-align: left;
}

/* Footer */
.site-footer {
  background: #07090d;
  color: var(--fg-dim);
  font-size: 0.9rem;
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--fg-dim); }

/* Responsive */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  section { padding: 56px 0; }
}
