/* ============================================================
   Beykro — graphite & copper theme
   Theme variables: edit these to retheme the whole site.
   ============================================================ */
:root {
  color-scheme: light;
  --ink: #1f2430;          /* graphite */
  --ink-soft: #5a6172;
  --accent: #b87333;       /* copper */
  --accent-dark: #9a5e26;
  --accent-bright: #c98a4b;
  --bg: #f8f8f7;
  --bg-tint: #eeeff1;      /* cool gray sections */
  --bg-hero: #e5e7ec;      /* steel hero band */
  --bg-footer: #14171f;
  --border: #d8dade;
  --card: #ffffff;
  --radius: 8px;           /* squarer corners — infrastructure feel */
  --shadow: 0 2px 8px rgba(31, 36, 48, 0.09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 2rem; margin-bottom: 12px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }   /* for dark CTA panel */
.btn-light:hover { background: var(--bg-tint); }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }

/* ============ Nav ============ */
.nav {
  background: rgba(248, 248, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--ink); }

/* ============ Hero ============ */
.hero {
  background:
    /* crosshatch — both diagonal directions, engineering-paper feel */
    repeating-linear-gradient(45deg, transparent 0, transparent 17px, rgba(31, 36, 48, 0.045) 17px, rgba(31, 36, 48, 0.045) 18px),
    repeating-linear-gradient(-45deg, transparent 0, transparent 17px, rgba(31, 36, 48, 0.045) 17px, rgba(31, 36, 48, 0.045) 18px),
    var(--bg-hero);
  padding: 76px 0 96px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
}
.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.hero-ticker b { color: var(--ink); }
.tick-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---- Hero visual: transaction thread ---- */
.thread { display: flex; flex-direction: column; gap: 12px; }

.msg {
  max-width: 86%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
}
.msg p { font-size: 0.85rem; color: var(--ink); }
.msg-left { align-self: flex-start; border-left: 3px solid var(--ink); }
.msg-right { align-self: flex-end; border-right: 3px solid var(--accent); }

.msg-agent {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.agent-dot { width: 8px; height: 8px; border-radius: 50%; }
.agent-dot.buyer { background: var(--ink); }
.agent-dot.seller { background: var(--accent); }

.thread-check {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  font-size: 0.74rem;
  font-weight: 600;
  color: #2e6b3f;
  background: #e3efe5;
  border: 1px solid #c3dcc8;
  border-radius: 999px;
  padding: 6px 14px;
}

.receipt {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(20, 23, 31, 0.3);
}
.receipt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.receipt-id { color: rgba(255, 255, 255, 0.55); letter-spacing: 0.03em; }
.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.85);
}
.receipt-row b { color: #fff; }
.receipt-row .ok { color: #7fc98f; }
.receipt-foot {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  padding-top: 8px;
  margin-top: 4px;
}

/* ============ Sections ============ */
.section { padding: 80px 0; }
.section-tint { background: var(--bg-tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-lead {
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 640px;
  margin-bottom: 44px;
}

/* ============ Cards ============ */
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);   /* copper top edge — site signature */
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.93rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: #f3e8db;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }

/* ============ Steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.step-num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.93rem; }

/* ============ Stats ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 44px 0;
}
.stat {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px;
}
.stat-num {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 4px;
}
.stat p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

/* ============ Testimonial ============ */
.quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  max-width: 780px;
  margin: 0 auto;
}
.quote-card blockquote p {
  font-size: 1.1rem;
  margin-bottom: 22px;
}
.quote-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.quote-card footer strong { display: block; font-size: 0.95rem; }
.quote-card footer span { color: var(--ink-soft); font-size: 0.85rem; }

/* ============ Trust badges ============ */
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.trust-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 18px;
}

/* ============ CTA (dark panel, light button) ============ */
.section-cta {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
}
.cta-inner { text-align: center; max-width: 620px; }
.section-cta h2 { color: #fff; }
.section-cta p { color: rgba(255, 255, 255, 0.72); margin: 12px 0 28px; }
.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-form input {
  flex: 1;
  min-width: 240px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}
.cta-form input:focus { outline: 3px solid rgba(184, 115, 51, 0.55); }
.cta-confirm { font-weight: 600; color: var(--accent-bright) !important; }

/* ============ Footer ============ */
.footer {
  background: var(--bg-footer);
  color: rgba(255, 255, 255, 0.68);
  padding: 56px 0 28px;
}
.footer .logo { color: #fff; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col a, .footer-col span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 9px;
}
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; font-size: 0.82rem; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 2.2rem; }
  .cards-3, .cards-4, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .cards-3, .cards-4, .steps, .stats { grid-template-columns: 1fr; }
  .msg { max-width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 64px; }
  h2 { font-size: 1.6rem; }
}
