:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #0e1b2c;
  --ink-soft: #2d3b4e;
  --mute: #687588;
  --line: #e2dfd7;
  --navy: #0e1b2c;
  --gold: #a47f3b;
  --gold-soft: #e9d9b5;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --radius: 12px;
  --shadow-card: 0 2px 6px rgba(14, 27, 44, 0.04), 0 16px 32px rgba(14, 27, 44, 0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.demo-bar {
  background: var(--ink);
  color: #ffffff;
  padding: 10px 24px;
  text-align: center;
  font-size: 13px;
}
.demo-bar a { color: var(--gold-soft); text-decoration: underline; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 245, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
}
.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 15px;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}
.nav__cta {
  background: var(--ink);
  color: #ffffff;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s;
}
.nav__cta:hover { background: #1a2b42; }
@media (max-width: 760px) {
  .nav__links { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
  font-family: inherit;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #1a2b42; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

section { padding: 96px 0; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 5.5vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
p.lead { font-size: 19px; color: var(--ink-soft); max-width: 600px; }

footer {
  background: var(--navy);
  color: #d5dbe6;
  padding: 64px 0 32px;
  margin-top: 64px;
}
footer .grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
footer h4 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}
footer ul { list-style: none; }
footer li { margin-bottom: 8px; font-size: 14px; }
footer a { text-decoration: none; opacity: 0.7; transition: opacity 0.2s; }
footer a:hover { opacity: 1; }
footer .brand {
  color: #ffffff;
  margin-bottom: 12px;
}
footer .brand__mark {
  background: #ffffff;
  color: var(--ink);
}
footer .foot-note {
  font-size: 13px;
  opacity: 0.5;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 760px) {
  footer .grid { grid-template-columns: 1fr 1fr; }
}
