:root {
  --bg: #FAF7F2;             /* warm off-white, wood-friendly */
  --bg-alt: #FFFFFF;
  --bg-deep: #1B1F2A;        /* dark hero / footer */
  --ink: #1F2A37;
  --ink-soft: #4B5563;
  --muted: #6B7280;
  --border: #E6E2D8;
  --primary: #1E6CC7;
  --primary-hover: #155EAF;
  --primary-soft: #EDF5FF;
  --accent: #B07A38;         /* warm wood accent */
  --accent-soft: #F4E7CE;
  --ok: #047857;
  --ok-bg: #ECFDF5;
  --soon: #B45309;
  --soon-bg: #FFFBEB;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 8px 28px rgba(15, 23, 42, .07);
  --shadow-lg: 0 22px 60px rgba(15, 23, 42, .12);
  --radius-md: 12px;
  --radius-lg: 18px;
  --max-w: 1140px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); font-size: .9em; }

/* ----- Topbar ----- */
.topbar {
  position: sticky;
  top: 0;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.topbar .row { padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-size: 16px;
  letter-spacing: -.05em;
}
.brand-text { font-size: 16px; }
.brand-by { color: var(--muted); font-weight: 500; }
.topnav { display: flex; gap: 22px; align-items: center; }
.topnav a { color: var(--ink-soft); font-weight: 500; }
.topnav a:hover { color: var(--ink); text-decoration: none; }
.topnav .btn { padding: 8px 14px; font-size: 14px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .04s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 6px 16px rgba(30, 108, 199, .28);
}
.btn-primary:hover { background: var(--primary-hover); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-alt); }

/* ----- Hero ----- */
.hero {
  padding: 84px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -100px -100px auto -100px;
  height: 60%;
  background:
    radial-gradient(700px 280px at 70% 0%, rgba(176, 122, 56, .18), transparent 60%),
    radial-gradient(900px 320px at -10% 30%, rgba(30, 108, 199, .12), transparent 60%);
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  background: rgba(30, 108, 199, .08);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
}
.eyebrow-soft { background: rgba(176, 122, 56, .12); color: var(--accent); }
.eyebrow-light { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
  margin: 0 0 18px;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--ink);
}
.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 600px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.trust { color: var(--muted); font-size: 14px; }

/* Hero card mockup */
.hero-card { margin: 0; }
.hero-card-shell {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1deg);
}
.hero-card-shell:hover { transform: rotate(0); transition: transform .4s ease; }
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #F4F0EA;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #D6CFC1; display: inline-block; }
.dot:nth-child(1) { background: #F4A4A4; }
.dot:nth-child(2) { background: #F2D58F; }
.dot:nth-child(3) { background: #A6D9A6; }
.hero-card-title { margin-left: 6px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.hero-card-body { padding: 22px; background: white; }
.hero-card-body svg { width: 100%; height: auto; display: block; }
.hero-card-foot {
  display: flex;
  justify-content: space-around;
  padding: 14px 16px;
  background: #FAFBFD;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--ink-soft);
  gap: 12px;
}
.hero-card-foot strong { color: var(--ink); font-weight: 700; font-size: 16px; }

/* ----- Section heads ----- */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 36px);
  letter-spacing: -.01em;
  margin: 8px 0 0;
  font-weight: 800;
  color: var(--ink);
}

/* ----- How it works (numbered steps) ----- */
.how { padding: 88px 0; background: var(--bg); }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.steps li {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}
.steps h4 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--ink); }
.steps p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

/* ----- Modules ----- */
.modules { padding: 88px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.module {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .15s ease;
}
.module:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.module.live { border-top: 4px solid var(--primary); }
.module.soon { border-top: 4px solid var(--accent); opacity: .92; }
.module header { margin-bottom: 14px; }
.module h3 { margin: 10px 0 4px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.module .module-sub { color: var(--ink-soft); margin: 0 0 6px; font-size: 15px; }
.module .features { list-style: none; padding: 0; margin: 12px 0 22px; color: var(--ink-soft); font-size: 14.5px; }
.module .features li { position: relative; padding-left: 24px; margin-bottom: 8px; line-height: 1.5; }
.module .features li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.module footer { margin-top: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.module .note { color: var(--muted); font-size: 13px; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.soon { background: var(--soon-bg); color: var(--soon); }

/* ----- Why ----- */
.why { padding: 88px 0; background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.why-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
}
.why-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  font-size: 22px;
  margin-bottom: 14px;
}
.why-card h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; }
.why-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ----- Contact ----- */
.contact {
  padding: 88px 0;
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.92);
}
.contact h2 { color: white; font-size: clamp(28px, 3.4vw, 34px); margin: 8px 0 18px; font-weight: 800; }
.contact .lead { color: rgba(255, 255, 255, 0.78); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 26px;
}
.contact-card p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.85); }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card strong { color: white; }
.contact-card a { color: #93C5FD; }
.contact-card a:hover { color: white; }

/* ----- Footer ----- */
.bottombar {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 22px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.bottombar .row { flex-wrap: wrap; gap: 8px; }

/* ----- Responsive ----- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card-shell { transform: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .topnav { display: none; }
  .topnav .btn { display: none; }
}
