:root {
  --bg: #0f1115;
  --bg-soft: #131720;
  --panel: #16202c;
  --panel-alt: #1c2634;
  --text: #e7ecf3;
  --muted: #9ba7b8;
  --accent: #c77b30;
  --accent-2: #5a7ea6;
  --stroke: #243041;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --paper: #f6f8fb;
  --paper-strong: #eef2f7;
  --ink: #0f141c;
  --muted-ink: #4c5563;
  --stroke-light: #d6dde7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    radial-gradient(120% 80% at 20% 20%, #1a2330, #0f1115 50%),
    var(--bg);
  color: var(--text);
  font-family: "DM Mono", monospace;
  line-height: 1.6;
  min-height: 100vh;
}

body.product-page {
  background: linear-gradient(160deg, #f9fbfe 0%, #eef2f7 60%, #e3e8f0 100%);
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--text);
}

body.product-page h1,
body.product-page h2,
body.product-page h3,
body.product-page h4 {
  color: var(--ink);
}

body.product-page p,
body.product-page a {
  color: var(--muted-ink);
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

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

.shell {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(15, 17, 21, 0.8);
  border-bottom: 1px solid var(--stroke);
  z-index: 10;
}

body.product-page .site-header {
  background: rgba(255, 255, 255, 0.8);
  border-bottom-color: var(--stroke-light);
}

body.product-page .nav a {
  color: var(--muted-ink);
}

body.product-page .nav a:hover {
  color: var(--ink);
}

body.product-page .brand-tag {
  color: var(--muted-ink);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(199, 123, 48, 0.15), rgba(90, 126, 166, 0.15));
  color: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav a {
  padding: 6px 8px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.nav-login {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 6px 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.btn.small {
  padding: 10px 14px;
  font-size: 14px;
}

.btn.full {
  width: 100%;
}

.btn.solid {
  background: linear-gradient(135deg, var(--accent), #d68a3f);
  color: #0e0f12;
  box-shadow: var(--shadow);
}

.btn.ghost {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero {
  padding: 90px 0 60px;
}

.product-hero {
  padding: 80px 0 50px;
  background: linear-gradient(135deg, #ffffff 0%, #eef3f8 60%, rgba(90, 126, 166, 0.08));
  border-bottom: 1px solid var(--stroke-light);
}

.product-hero .lede {
  max-width: 680px;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.product-pill {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke-light);
  background: #ffffff;
  color: var(--muted-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.product-section {
  padding: 50px 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.feature-list li {
  list-style: none;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke-light);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 20, 30, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 10px;
}

.lede {
  font-size: 18px;
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.trust-item {
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.trust-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.trust-value {
  font-weight: 700;
}

.hero-card {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(36, 48, 65, 0.85), rgba(22, 32, 44, 0.95));
  box-shadow: var(--shadow);
}

.hero-card .badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(199, 123, 48, 0.14);
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

.hero-card-body {
  margin-top: 12px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
}

.stat-value {
  font-weight: 700;
}

.link {
  color: var(--accent);
  font-weight: 700;
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: radial-gradient(120% 60% at 80% 30%, rgba(90, 126, 166, 0.16), transparent), var(--bg-soft);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section.platform {
  background:
    linear-gradient(135deg, rgba(90, 126, 166, 0.14), rgba(12, 17, 24, 0.92)),
    radial-gradient(120% 70% at 15% 15%, rgba(199, 123, 48, 0.12), transparent),
    var(--bg);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section.platform .card {
  background: rgba(22, 32, 44, 0.9);
  border-color: rgba(90, 126, 166, 0.28);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.section.light {
  --text: var(--ink);
  --muted: var(--muted-ink);
  --panel: #ffffff;
  --panel-alt: var(--paper);
  --stroke: var(--stroke-light);
  --shadow: 0 18px 40px rgba(15, 20, 30, 0.12);
  background: linear-gradient(145deg, #f9fbfe 0%, var(--paper-strong) 65%, rgba(19, 23, 32, 0.04));
  color: var(--text);
  border-top: 1px solid var(--stroke-light);
  border-bottom: 1px solid var(--stroke-light);
}

.section.light .eyebrow {
  color: #6c7c92;
}

.section.light .card {
  box-shadow: 0 14px 38px rgba(15, 20, 30, 0.1);
}

.section.light .products .card {
  background: linear-gradient(155deg, #ffffff 0%, var(--panel-alt) 75%);
}

.section.light .badge.subtle {
  background: rgba(15, 17, 21, 0.06);
}

.section.light .btn.ghost {
  background: rgba(15, 17, 21, 0.04);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.section-title {
  max-width: 640px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--panel);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.card h3 {
  margin-top: 4px;
}

.products .card {
  position: relative;
  background: linear-gradient(155deg, rgba(90, 126, 166, 0.16), #ffffff 55%);
  border-color: rgba(36, 48, 65, 0.12);
  overflow: hidden;
}

.products .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 220px at 85% 10%, rgba(199, 123, 48, 0.12), transparent);
  pointer-events: none;
}

.product .badge {
  margin-bottom: 8px;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.product-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: linear-gradient(135deg, rgba(199, 123, 48, 0.2), rgba(90, 126, 166, 0.24));
  color: #0f141c;
  border: 1px solid rgba(36, 48, 65, 0.1);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.product-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  margin-top: auto;
}

.product-link::after {
  content: ">";
  transition: transform 120ms ease;
}

.product-link:hover::after {
  transform: translateX(2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--stroke);
  color: var(--muted);
}

.badge.ready {
  background: rgba(199, 123, 48, 0.14);
  color: var(--accent);
  border-color: rgba(199, 123, 48, 0.5);
}

.badge.subtle {
  background: rgba(255, 255, 255, 0.04);
}

.metric {
  margin-top: 8px;
  font-weight: 700;
  color: var(--accent);
}

.pricing .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured {
  border-color: rgba(199, 123, 48, 0.6);
  background: linear-gradient(145deg, rgba(199, 123, 48, 0.08), var(--panel));
}

.contact {
  background: var(--bg-soft);
  border-top: 1px solid var(--stroke);
}

.section.light.contact {
  background: linear-gradient(135deg, #ffffff 0%, #f3f6fb 80%);
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: var(--shadow);
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #ffffff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 96px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(90, 126, 166, 0.3);
  border-color: rgba(90, 126, 166, 0.6);
}

.contact-form .full {
  width: 100%;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.captcha-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: center;
}

.captcha-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
  font-size: 13px;
}

.captcha-display {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, #0f141c, #1f2a36);
  color: #f6f8fb;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
}

.captcha-note {
  font-size: 12px;
}

.form-error {
  color: #b3261e;
  font-size: 13px;
}

.contact-form button[type="submit"] {
  margin-top: 4px;
}

.site-footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--stroke);
  background: #0c0d10;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.footer-grid h4 {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 6px;
}

.brand-foot {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
}

.footer-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .site-header .shell {
    flex-wrap: wrap;
  }

  .nav {
    flex: 1;
    flex-wrap: wrap;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
  }

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
