:root {
  --red: #e2231a;
  --red-dark: #c11c14;
  --black: #14171c;
  --black-2: #1b1f26;
  --ink: #14171c;
  --ink-dim: #6b7280;
  --line: #e6e7eb;
  --bg-soft: #f4f5f7;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 3px; border: 2px solid transparent; cursor: pointer;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }

/* ── header ──────────────────────────────────────────── */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: 0.02em; color: var(--red); }
.brand-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink-dim); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--red); border-bottom-color: var(--red); }
.header-login { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--red); white-space: nowrap; }
.nav-toggle { display: none; }

/* ── hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 75% 30%, #23282f 0%, var(--black) 60%);
  color: #fff;
  overflow: hidden;
  padding: 70px 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(226,35,26,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226,35,26,.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(120deg, black, transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #9aa1ad; margin-bottom: 14px; text-transform: uppercase; }
.hero h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 18px; }
.hero h1 .accent { color: var(--red); }
.hero-lead { font-size: 16px; color: #c3c8d1; max-width: 46ch; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }

.hero.compact { padding: 56px 0; }
.hero-breadcrumb { font-size: 12px; color: #9aa1ad; margin-bottom: 10px; }
.hero-breadcrumb a { color: #c3c8d1; }
.hero-breadcrumb a:hover { color: #fff; }

/* ── feature icon row ────────────────────────────────── */
.feature-row { background: var(--white); padding: 46px 0; border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.feature-icon {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.feature-item h3 { font-size: 14px; font-weight: 700; }
.feature-item p { font-size: 12.5px; color: var(--ink-dim); }

/* ── product cards ───────────────────────────────────── */
.products { background: var(--bg-soft); padding: 64px 0; }
.section-title { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink-dim); margin-bottom: 34px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.product-card-media { background: #0e1014; padding: 26px; display: flex; align-items: center; justify-content: center; min-height: 150px; }
.product-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--red); text-transform: uppercase; }
.product-card h3 { font-size: 19px; font-weight: 800; }
.product-card p { font-size: 13px; color: var(--ink-dim); flex: 1; }

/* ── about ───────────────────────────────────────────── */
.about-dark { background: var(--black); color: #fff; padding: 60px 0; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; }
.about-media { border-radius: 6px; overflow: hidden; }
.about-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #9aa1ad; margin-bottom: 12px; text-transform: uppercase; }
.about-grid h2 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.about-grid h2 .accent { color: var(--red); }
.about-grid > div > p.lead { color: #c3c8d1; font-size: 14.5px; margin-bottom: 16px; }
.checklist { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #dfe3e9; }
.checklist li .tick { color: var(--red); font-weight: 800; }
.about-stats { display: flex; gap: 40px; margin-bottom: 24px; }
.about-stats .num { font-size: 30px; font-weight: 800; color: var(--red); }
.about-stats .label { font-size: 11.5px; color: #9aa1ad; margin-top: 2px; }

/* ── CTA strip ───────────────────────────────────────── */
.cta-strip { background: var(--black-2); color: #fff; padding: 30px 0; }
.cta-strip-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-strip-left { display: flex; align-items: center; gap: 16px; }
.cta-strip-icon { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-strip h3 { font-size: 16px; font-weight: 800; }
.cta-strip p { font-size: 12.5px; color: #9aa1ad; margin-top: 2px; }

/* ── footer ──────────────────────────────────────────── */
main { flex: 1 0 auto; }
footer { flex-shrink: 0; background: var(--black); color: #c3c8d1; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid #2a2f38; }
.footer-brand .brand-name { color: var(--red); }
.footer-brand .brand-tag { color: #7a8290; }
.footer-brand p { font-size: 13px; color: #8a919d; margin-top: 14px; max-width: 32ch; }
.footer-col h4 { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: #9aa1ad; }
.footer-col a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: #9aa1ad; margin-bottom: 9px; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #3a404b; display: flex; align-items: center; justify-content: center; color: #c3c8d1; }
.social-row a:hover { border-color: var(--red); color: var(--red); }
.footer-bottom { text-align: center; font-size: 12px; color: #7a8290; padding: 18px 0; }

/* ── generic content section ─────────────────────────── */
.section { padding: 60px 0; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 36px; }
.section-head .about-eyebrow { justify-content: center; }
.section-head h2 { font-size: 28px; font-weight: 800; }
.section-head p { color: var(--ink-dim); font-size: 14.5px; margin-top: 10px; }

/* ── how it works ────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.step-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); color: var(--red); display: flex; align-items: center; justify-content: center; }
.step-card h3 { font-size: 14px; font-weight: 700; }
.step-card p { font-size: 12.5px; color: var(--ink-dim); }

/* ── login page ──────────────────────────────────────── */
.login-section { background: var(--black); color: #fff; padding: 60px 0 90px; }
.login-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: start; }
.login-grid h1 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.login-grid > div:first-child > p { color: #c3c8d1; font-size: 14.5px; margin-bottom: 26px; }
.mini-feature-list { display: flex; flex-direction: column; gap: 16px; }
.mini-feature { display: flex; gap: 12px; align-items: flex-start; }
.mini-feature .ic { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-feature strong { font-size: 13.5px; }
.mini-feature span { display: block; font-size: 12px; color: #9aa1ad; margin-top: 2px; }
.login-card { background: #fff; color: var(--ink); border-radius: 8px; padding: 30px 28px; }
.login-card h2 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.login-card .sub { font-size: 12.5px; color: var(--ink-dim); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-dim); text-transform: uppercase; margin-bottom: 6px; }
.field input[type="email"], .field input[type="password"], .field input[type="text"], .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 4px;
  font-family: inherit; font-size: 14px; outline: none; background: #fafafa;
}
.field input:focus, .field textarea:focus { border-color: var(--red); background: #fff; }
.field-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-size: 12.5px; color: var(--ink-dim); }
.field-row label { display: flex; align-items: center; gap: 7px; text-transform: none; font-weight: 500; font-size: 12.5px; }
.field-row a { color: var(--red); font-weight: 600; }
.login-card .btn { width: 100%; justify-content: center; }

/* ── contact ─────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-item .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: 13px; }
.contact-info-item span { font-size: 13px; color: var(--ink-dim); }
.map-frame { border-radius: 6px; overflow: hidden; margin-top: 20px; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(0.3); }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero-grid, .about-grid, .login-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
