:root {
  --bg: #faf7fb;
  --surface: #ffffff;
  --surface-soft: #fcf8fb;
  --text: #111827;
  --muted: #5b6475;
  --line: #eadfea;
  --line-strong: #d8c6d5;
  --brand: #714b67;
  --brand-dark: #5f3f57;
  --brand-soft: #f4edf3;
  --shadow: 0 20px 50px rgba(76, 49, 70, 0.10);
  --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  color: var(--text);
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(113, 75, 103, 0.08);
}

.nav-bar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 6px;
}

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

.brand strong {
  font-size: 14px;
  font-weight: 800;
}

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

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
  color: #465062;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.nav-cta,
.btn {
  text-decoration: none;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.nav-cta {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(113, 75, 103, 0.12);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 30%),
    linear-gradient(135deg, #714b67 0%, #5e3f57 100%);
  color: #fff;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
}

.hero-glow-1 {
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.18);
  top: -100px;
  right: -50px;
}

.hero-glow-2 {
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.08);
  bottom: -70px;
  left: -40px;
}

.hero-top { margin-bottom: 16px; }
.eyebrow,
.kicker {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow {
  color: #fff;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.14);
}

.kicker {
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(113, 75, 103, 0.08);
  margin-bottom: 14px;
}

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

.hero h1 {
  font-size: 54px;
  line-height: 1.03;
  margin: 0 0 18px;
  max-width: 11ch;
}

.hero p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin: 0 0 24px;
  max-width: 62ch;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.badge {
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

.btn-secondary {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-metrics div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.hero-metrics span {
  display: block;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  line-height: 1.6;
}

.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.22);
}

.hero-card img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.section {
  padding: 42px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(113, 75, 103, 0.03), rgba(113, 75, 103, 0.01));
}

.section-heading {
  margin-bottom: 24px;
}

h2 {
  font-size: 34px;
  margin: 0 0 12px;
  color: #181b25;
}

.sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
  max-width: 70ch;
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(113, 75, 103, 0.10);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.panel-highlight {
  background: linear-gradient(180deg, #fff 0%, #fffafd 100%);
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 20px;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: linear-gradient(180deg, #fff 0%, #fcfbfd 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
}

.card h3,
.shot h3,
.site-footer h3,
.site-footer h4 {
  margin: 0 0 8px;
}

.card p,
.shot p,
.info-stack p,
.config p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-list,
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li,
.steps li {
  background: #fbfbfd;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  line-height: 1.7;
}

.timeline li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline li strong {
  color: #1b2432;
}

.timeline li span { color: var(--muted); }

.info-stack {
  display: grid;
  gap: 16px;
}

.info-stack div,
.config div {
  background: #fcfbfd;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.info-stack strong,
.config strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.config {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shot {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(113, 75, 103, 0.10);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.shot-trigger {
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  background: #f5f5f7;
  cursor: pointer;
}

.shot-trigger img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shot:hover .shot-trigger img {
  transform: scale(1.02);
}

.shot-copy {
  padding: 16px;
}

.site-footer {
  border-top: 1px solid rgba(113, 75, 103, 0.10);
  background: #fff;
  padding: 36px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 22px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 32px));
  margin: 32px auto;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-image {
  width: 100%;
  max-height: 75vh;
  display: block;
  object-fit: contain;
  background: #f8fafc;
}

.modal-meta {
  padding: 18px 22px 24px;
}

.modal-meta h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.modal-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .cards-4,
  .gallery,
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .two-col-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
    max-width: none;
  }
}

@media (max-width: 780px) {
  .nav-bar {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .feature-list,
  .steps,
  .config,
  .gallery,
  .cards-4,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 42px 0 56px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .panel {
    padding: 24px;
  }

  h2 {
    font-size: 28px;
  }
}
