/* Bantay by Bisdak LLC. Draft product site.
   Design language mirrors the original Bisdak LLC trading site:
   green terminal palette, DM Sans + IBM Plex Mono, eyebrow labels,
   capability rows, decision-sequence workflow, dark access panel. */

:root {
  color-scheme: light dark;
  --bg: #f5f8f6;
  --surface: #ffffff;
  --surface-2: #edf3ef;
  --ink: #102019;
  --muted: #53655c;
  --line: #cfdbd3;
  --line-strong: #9bb0a4;
  --accent: #0a7f4e;
  --accent-strong: #00673d;
  --accent-soft: #dff5e9;
  --warning: #a76508;
  --warning-soft: #fff0d8;
  --dark-panel: #07110d;
  --dark-panel-2: #0d1b15;
  --dark-text: #f2f7f4;
  --dark-muted: #9fb4a8;
  --shadow: 0 24px 60px rgba(16, 32, 25, .12);
  --font-sans: "DM Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07100c;
    --surface: #0d1813;
    --surface-2: #13231b;
    --ink: #edf5f0;
    --muted: #a6b8ae;
    --line: #273a30;
    --line-strong: #466052;
    --accent: #42d891;
    --accent-strong: #76edaf;
    --accent-soft: #123d2a;
    --warning: #efb257;
    --warning-soft: #3b2b12;
    --shadow: 0 24px 60px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* Navigation */

.site-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.pilot {
  color: var(--accent-strong);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  gap: 72px;
  align-items: center;
  padding-block: 76px 92px;
}
.hero-copy { max-width: 580px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
h1 {
  max-width: 680px;
  margin: 20px 0 24px;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 700;
}
.hero-copy > p {
  margin: 0;
  max-width: 545px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
}
.hero-copy > p.meaning {
  font-size: clamp(17px, 1.8vw, 19px);
}
.hero-copy > p.meaning .accent {
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: .92em;
}
.hero-copy > p.tagline-line {
  margin-top: 26px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.hero-copy > p.lede { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover, .button.primary:focus-visible { background: var(--accent-strong); }
.button.secondary { border: 1px solid var(--line-strong); color: var(--ink); }
.button.secondary:hover, .button.secondary:focus-visible { background: var(--surface-2); }

/* Terminal decision panel */

.terminal {
  position: relative;
  overflow: hidden;
  border: 1px solid #1f3329;
  border-radius: 18px;
  background: var(--dark-panel);
  color: var(--dark-text);
  box-shadow: var(--shadow);
}
.terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(129, 168, 147, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 168, 147, .07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 72%);
}
.terminal-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid #1d2c25;
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots i { width: 7px; height: 7px; border-radius: 50%; background: #355044; }
.signal {
  position: relative;
  padding: 28px;
}
.signal-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.signal-kicker { color: #75eeb0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.signal h2 { margin: 8px 0 0; font-size: 27px; line-height: 1.18; letter-spacing: -.025em; }
.signal-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid #2b5942;
  border-radius: 999px;
  color: #75eeb0;
  font-family: var(--font-mono);
  font-size: 10px;
  white-space: nowrap;
}
.signal-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #42d891; }
.chart {
  width: 100%;
  height: 170px;
  margin: 26px 0 24px;
  display: block;
}
.checks { display: grid; gap: 10px; }
.check {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #1d2c25;
  font-size: 13px;
}
.check-mark {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #123d2a;
  color: #75eeb0;
  font-family: var(--font-mono);
  font-size: 11px;
}
.check small { color: var(--dark-muted); }
.check b { color: #75eeb0; font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.decision {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 18px 18px;
  padding: 17px 18px;
  border-radius: 10px;
  background: #103722;
  border: 1px solid #24623f;
}
.decision span { color: #b5c9bd; font-size: 12px; }
.decision strong { color: #75eeb0; font-family: var(--font-mono); font-size: 20px; letter-spacing: .06em; }

/* Strip */

.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.strip-inner {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  min-height: 128px;
}
.strip-copy, .stat { padding: 28px 30px; }
.stat { border-left: 1px solid var(--line); }
.strip-copy { display: flex; flex-direction: column; justify-content: center; }
.strip-copy strong { font-size: 17px; }
.strip-copy span { color: var(--muted); font-size: 14px; }
.stat b { display: block; margin-bottom: 5px; font-size: 15px; }
.stat span { color: var(--muted); font-size: 13px; }

/* Sections */

section { scroll-margin-top: 24px; }
.section { padding-block: 110px; }
.section-head {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 18px; max-width: 620px; }
.prose { max-width: 780px; }
.prose p { margin: 0 0 16px; color: var(--muted); font-size: 17px; }
.prose p:last-child { margin-bottom: 0; }
.status-head .pilot { margin-bottom: 18px; display: inline-block; }

/* Workflow */

.workflow { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.step { min-width: 0; padding: 30px 24px 34px 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: 24px; }
.step-number { display: block; margin-bottom: 34px; color: var(--accent-strong); font-family: var(--font-mono); font-size: 12px; }
.step h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.2; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Features */

.features-section { background: var(--surface); border-block: 1px solid var(--line); }
.feature-layout { display: grid; grid-template-columns: .74fr 1.26fr; gap: 72px; align-items: start; }
.feature-intro { position: sticky; top: 28px; }
.feature-intro h2 { margin: 14px 0 18px; font-size: clamp(34px, 4vw, 50px); line-height: 1.05; letter-spacing: -.045em; }
.feature-intro p { color: var(--muted); font-size: 17px; }
.feature-list { border-top: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
}
.feature h3 { margin: 0 0 7px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature-note { margin: 26px 0 0; color: var(--muted); font-size: 15px; max-width: 640px; }

/* Access / connecting */

.access {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  padding: 44px;
  border-radius: 16px;
  background: var(--dark-panel);
  color: var(--dark-text);
}
.access h2 { margin: 12px 0 18px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.045em; }
.access-copy > p { margin: 0; color: var(--dark-muted); font-size: 17px; max-width: 610px; }
.access-list { display: grid; align-content: center; gap: 0; }
.access-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #213229;
  color: #c9d7cf;
  font-size: 14px;
}
.access-row:first-child { border-top: 1px solid #213229; }
.access-row > span:first-child { color: #75eeb0; font-family: var(--font-mono); }
.access-row strong { color: var(--dark-text); }

/* Reconnect panel */

.reconnect {
  margin-top: 36px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.reconnect h2 { margin: 12px 0 14px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.04em; }
.reconnect p { margin: 0; color: var(--muted); font-size: 17px; max-width: 760px; }
.reconnect .signal-kicker { color: var(--accent-strong); }

/* Disclosure + footer */

.disclosure {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  padding-block: 40px 72px;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.disclosure strong { color: var(--ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.disclosure p { margin: 0; }
.disclosure p + p { margin-top: 10px; }
footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-block: 26px 42px;
  color: var(--muted);
  font-size: 12px;
}
footer strong { color: var(--ink); font-weight: 600; }
footer nav { display: flex; gap: 20px; }
footer nav a { text-decoration: none; color: var(--muted); }
footer nav a:hover, footer nav a:focus-visible { color: var(--ink); }
footer a.mail { text-decoration: none; }
footer a.mail:hover, footer a.mail:focus-visible { color: var(--ink); }

/* Long-form pages (privacy, terms) */

.doc { padding-block: 76px 24px; }
.doc-head { max-width: 780px; margin-bottom: 44px; }
.doc-head h1 {
  margin: 16px 0 12px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.doc-head .updated { margin: 0; color: var(--muted); font-size: 15px; }
.doc-section {
  max-width: 780px;
  padding-block: 26px 8px;
  border-top: 1px solid var(--line);
}
.doc-section h2 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.02em; }
.doc-section p { margin: 0 0 12px; font-size: 16px; }
.doc-section p:last-child { margin-bottom: 0; }
.doc-section ul { margin: 0 0 12px; padding-left: 22px; }
.doc-section li { margin-bottom: 6px; font-size: 16px; }
.doc-section a { color: var(--accent-strong); text-decoration: none; }
.doc-section a:hover, .doc-section a:focus-visible { text-decoration: underline; }
.doc-head a { color: var(--accent-strong); }

/* Responsive */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 56px; padding-block: 62px 74px; }
  .hero-copy { max-width: 720px; }
  .terminal { max-width: 680px; }
  .strip-inner { grid-template-columns: repeat(3, 1fr); }
  .strip-copy { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .stat:first-of-type { border-left: 0; }
  .section-head, .feature-layout { grid-template-columns: 1fr; gap: 28px; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .step:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-intro { position: static; }
  .access { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .site-nav { min-height: 62px; gap: 15px; justify-content: space-between; }
  .site-nav a:nth-child(2) { display: none; }
  .pilot { padding: 6px 10px; }
  .hero { padding-block: 50px 60px; gap: 44px; }
  h1 { font-size: clamp(42px, 14.5vw, 60px); }
  .hero-copy > p { font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .terminal { border-radius: 14px; }
  .terminal-bar { padding: 13px 14px; }
  .signal { padding: 22px 18px; }
  .signal h2 { font-size: 23px; }
  .signal-state { display: none; }
  .chart { height: 130px; }
  .decision { margin: 0 12px 12px; padding: 14px; }
  .strip-inner { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 21px 4px; }
  .strip-copy { padding: 24px 4px; }
  .section { padding-block: 78px; }
  .section-head { margin-bottom: 38px; }
  .section-head p { font-size: 16px; }
  .workflow { grid-template-columns: 1fr; }
  .step { padding: 25px 0; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .step-number { margin-bottom: 18px; }
  .feature-layout { gap: 36px; }
  .access { padding: 30px 22px; border-radius: 12px; }
  .reconnect { padding: 30px 22px; border-radius: 12px; }
  .disclosure { grid-template-columns: 1fr; gap: 10px; padding-block: 34px 54px; }
  footer { flex-direction: column; gap: 8px; }
  .doc { padding-block: 54px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
