:root {
  --ink: #16181d;
  --muted: #5c6370;
  --accent: #0f4c81;
  --accent-soft: #eef4fa;
  --line: #e3e6ea;
  --bg: #ffffff;
  --ok: #1a7f4b;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 15.5px;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { font-weight: 800; letter-spacing: -0.3px; font-size: 16.5px; text-decoration: none; color: var(--ink); }
.brand span { color: var(--accent); }
nav ul { display: flex; gap: 22px; list-style: none; }
nav a.navlink { text-decoration: none; color: var(--muted); font-size: 13.5px; font-weight: 600; }
nav a.navlink:hover { color: var(--accent); }
.cta-btn {
  background: var(--accent); color: #fff !important; padding: 8px 16px; border-radius: 6px;
  font-size: 13.5px; font-weight: 700; text-decoration: none;
}

/* Hero */
header.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--line); }
.kicker { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
h1 { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; max-width: 720px; }
.hero p.sub { font-size: 18px; color: var(--muted); margin-top: 18px; max-width: 640px; }
.hero .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 7px;
  font-weight: 700; text-decoration: none; font-size: 15px;
}
.btn-ghost {
  border: 1.5px solid var(--line); color: var(--ink); padding: 12px 22px; border-radius: 7px;
  font-weight: 700; text-decoration: none; font-size: 15px;
}

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; font-weight: 700; }
.h2-sub { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 28px; }
.lead { font-size: 16.5px; max-width: 720px; }
.lead + .lead { margin-top: 12px; }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.case { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 22px 24px; margin-bottom: 16px; }
.case h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.case .role { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.case p { margin-bottom: 10px; font-size: 14.5px; }
.case .label { font-weight: 700; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 11.5px; background: var(--accent-soft); color: var(--accent); padding: 3px 9px; border-radius: 99px; font-weight: 600; }

/* Demo cards */
.demo-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .15s ease;
}
.demo-card:hover { box-shadow: 0 4px 18px rgba(15, 76, 129, .08); }
.demo-card h3 { font-size: 16.5px; font-weight: 700; }
.demo-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.demo-card .status { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.status.live { color: var(--ok); }
.status.soon { color: var(--muted); }
.demo-card a.demo-link { color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.demo-card a.demo-link:hover { text-decoration: underline; }

/* Packages */
.pkg { border: 1px solid var(--line); border-radius: 10px; padding: 24px 20px; display: flex; flex-direction: column; }
.pkg.featured { border: 2px solid var(--accent); }
.pkg h3 { font-size: 16px; font-weight: 700; }
.pkg .price { font-size: 24px; font-weight: 800; color: var(--accent); margin: 8px 0 2px; }
.pkg .time { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.pkg ul { list-style: none; flex: 1; }
.pkg li { font-size: 13.5px; padding-left: 16px; position: relative; margin-bottom: 8px; }
.pkg li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.retainer { margin-top: 16px; background: var(--accent-soft); border-radius: 8px; padding: 18px 22px; font-size: 14px; }
.retainer strong { color: var(--accent); }

/* Principles */
.principle h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.principle p { font-size: 13.5px; color: var(--muted); }

/* Contact */
.contact-box { background: var(--ink); color: #fff; border-radius: 12px; padding: 40px; text-align: center; }
.contact-box h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.contact-box p { color: #b8bec9; max-width: 520px; margin: 0 auto 22px; font-size: 15px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 12.5px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); }

/* Legal pages */
.legal { padding: 56px 0; max-width: 760px; }
.legal h1 { font-size: 28px; margin-bottom: 24px; }
.legal h2 { font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--ink); margin: 28px 0 8px; }
.legal p, .legal li { font-size: 14.5px; color: var(--ink); margin-bottom: 10px; }
.todo { background: #fff7e6; border: 1px solid #f0d9a8; border-radius: 6px; padding: 3px 8px; font-weight: 700; }

@media (max-width: 760px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  nav ul { display: none; }
}
