:root {
  --navy: #15233f;
  --navy-soft: #1d2e4f;
  --blue: #2f6bed;
  --text: #16233f;
  --muted: #5c6b82;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --border: #e4e9f2;
  --card: #ffffff;
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand img.mark { height: 34px; width: auto; display: block; }
.brand img.wordmark { height: 17px; width: auto; display: block; }
nav.top a { color: var(--navy); margin-left: 24px; font-size: 15px; font-weight: 500; }
nav.top a:hover { color: var(--blue); text-decoration: none; }

/* Hero */
.hero { padding: 84px 0 64px; position: relative; }
.hero h1 {
  font-size: 50px;
  line-height: 1.06;
  margin: 0 0 18px;
  letter-spacing: -1.2px;
  color: var(--navy);
}
.hero h1 .accent { color: var(--blue); }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 600px; margin: 0; }
.hero .hero-mark {
  position: absolute;
  right: -10px;
  top: 40px;
  width: 230px;
  opacity: 0.06;
  pointer-events: none;
}

/* Sections */
section { padding: 52px 0; border-top: 1px solid var(--border); }
section h2 { font-size: 26px; margin: 0 0 24px; color: var(--navy); }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(21, 35, 63, 0.04), 0 8px 24px rgba(21, 35, 63, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(21, 35, 63, 0.06), 0 14px 36px rgba(21, 35, 63, 0.09); }
.card h3 { margin: 0 0 6px; font-size: 19px; color: var(--navy); }
.card .tag { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0 0 18px; flex: 1; }
.card .cta { font-weight: 600; }
.card.soon { background: var(--bg-soft); box-shadow: none; }
.card.soon .tag { color: var(--muted); }

/* Legal pages */
.legal { padding: 56px 0; }
.legal h1 { font-size: 34px; margin: 0 0 8px; color: var(--navy); }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 21px; margin: 36px 0 12px; color: var(--navy); }
.legal h3 { font-size: 17px; margin: 24px 0 8px; color: var(--navy); }
.legal p, .legal li { color: #344256; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); font-size: 15px; vertical-align: top; }
.legal th { background: var(--bg-soft); }
.placeholder { background: #fff5d6; border: 1px dashed #d4a017; color: #8a6400; padding: 4px 8px; border-radius: 6px; font-size: 14px; }

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--navy); }
footer .legal-id { max-width: 480px; line-height: 1.5; }
footer .legal-id strong { color: var(--navy); }
footer nav a { margin-right: 18px; }

@media (max-width: 640px) {
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 36px; }
  .hero .hero-mark { display: none; }
  nav.top a { margin-left: 16px; font-size: 14px; }
}
