:root {
  --red: #e8302a;
  --red-dark: #c4231e;
  --gray: #5e5e5e;
  --ink: #2b2b2b;
  --muted: #777;
  --bg: #ffffff;
  --bg-alt: #f6f5f3;
  --line: #e6e3df;
  --radius: 10px;
  --serif: "Playfair Display", Georgia, serif;
  --script: "Dancing Script", cursive;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, h4 { font-family: var(--serif); color: var(--gray); line-height: 1.2; margin: 0 0 .5em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gray); }
.brand:hover { text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.ai, .accent { color: var(--red); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--gray); font-weight: 500; }
.site-nav a:hover { color: var(--red); text-decoration: none; }
.site-nav .nav-cta { color: #fff; background: var(--red); padding: 8px 18px; border-radius: 999px; }
.site-nav .nav-cta:hover { color: #fff; background: var(--red-dark); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--gray); }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.tagline { font-family: var(--script); font-size: 2rem; color: var(--gray); margin: 0 0 16px; }
.tagline::before {
  content: ""; display: block; width: 120px; height: 3px; background: var(--red); margin-bottom: 16px;
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { max-height: 460px; width: auto; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 600; border: 2px solid var(--red); transition: background .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { color: var(--red); background: transparent; }
.btn-ghost:hover { background: var(--red); color: #fff; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 40px; }
.section-title::after {
  content: ""; display: block; width: 64px; height: 3px; background: var(--red); margin: 14px auto 0;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; text-align: center; }
.stat-num { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--red); font-weight: 700; }
.stat-label { color: var(--muted); font-size: .95rem; }

/* Product */
.product {
  position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: var(--radius); padding: 40px; box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}
.product h3 { font-size: 2rem; }
.product-sub { font-family: var(--script); font-size: 1.5rem; color: var(--gray); margin-top: -8px; }
.product-badge {
  position: absolute; top: -14px; right: 32px; background: var(--red); color: #fff;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.feature-list { padding: 0; margin: 24px 0 32px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.feature-list li { padding-left: 22px; position: relative; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .65em; width: 10px; height: 10px; border-radius: 50%; background: var(--red);
}
.feature-list strong { color: var(--gray); }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h4 { font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }
.card-muted { border-style: dashed; background: transparent; }

.person { text-align: center; }
.avatar {
  width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--bg-alt); border: 2px solid var(--red); color: var(--gray);
  display: grid; place-items: center; font-family: var(--serif); font-size: 2rem;
}
img.avatar { display: block; object-fit: cover; }
.role { color: var(--red) !important; font-weight: 600; margin-bottom: 8px !important; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.contact-grid h4 { font-size: 1.1rem; margin-bottom: .25em; }
.contact-grid p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; text-align: center; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo { width: 260px; }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 24px; width: 100%; text-align: center; }
  .site-nav .nav-cta { border-radius: 0; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .tagline::before { margin: 0 auto 16px; }
  .lead { margin: 0 auto 1rem; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img { max-height: 260px; }

  .feature-list, .product-grid, .card-grid, .contact-grid, .stats { grid-template-columns: 1fr; }
  .product { padding: 32px 24px; }
}
