/* Asset Master — static site styles (mirrors the original Divi theme look) */
:root {
  --purple: #7f77e3;
  --purple-dark: #6d63df;
  --purple-accent: #544fff;
  --beige: #f6f2ea;
  --ink: #514e4d;
  --ink-strong: #42403f;
  --text: #666;
  --white: #fff;
  --font-heading: "Archivo", Helvetica, Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --container: 1080px;
  --gutter: 16px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--purple); }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--ink-strong);
  margin: 0 0 .5em;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--purple-dark);
  color: var(--white);
  font-weight: 600;
  border-radius: 4px;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--purple-accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
}

.top-bar { background: var(--purple); color: var(--white); }
.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
}
.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  text-decoration: none;
}
.top-bar__link:hover { text-decoration: underline; }

.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo img { width: 190px; height: auto; }

.primary-nav ul {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  color: rgba(0, 0, 0, .6);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--purple); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 26px; height: 3px;
  margin: 0 auto;
  background: var(--purple);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before,
.nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -8px; }
.nav-toggle__bar::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: #222; }
.hero__slides {
  position: relative;
  aspect-ratio: 1920 / 700;
  max-height: 700px;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }

.hero__dots {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero__dots button {
  width: 12px; height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}
.hero__dots button.is-active { background: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col__text p,
.section-head p,
.check-list {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.6;
}

.intro h1 {
  color: var(--ink);
  font-size: 80px;
  font-weight: 600;
}

.features { background: var(--beige); }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2,
.comprehensive h2 {
  font-size: 50px;
  font-weight: 600;
}
.section-head p { font-size: 16px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 2px solid var(--ink-strong);
  padding: 16px 16px 24px;
}
.feature-card img { width: 100%; max-width: 180px; margin-bottom: 18px; }
.feature-card h3 { font-size: 26px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.6; }

.check-list { margin: 1em 0 0; padding-left: 1.2em; font-size: 16px; }

/* ---------- Footer / contact ---------- */
.site-footer {
  background: var(--purple-dark);
  color: var(--white);
  text-align: center;
  padding: 56px 0 36px;
}
.site-footer h2 {
  color: var(--white);
  font-size: 36px;
  font-weight: 600;
}
.site-footer__intro { margin: 0 auto 28px; max-width: 520px; font-size: 16px; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  font-style: normal;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 4px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.contact-link:hover { background: var(--white); color: var(--purple-dark); }

.site-footer__credit {
  margin: 36px 0 0;
  font-family: "Abel", Helvetica, Arial, sans-serif;
  font-size: 18px;
}
.site-footer__credit a { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section { padding: 56px 0; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col--reverse .two-col__media { order: 2; }
  .intro h1 { font-size: 56px; }
  .section-head h2, .comprehensive h2 { font-size: 38px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    background: var(--white);
    border-top: 3px solid var(--purple);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .1);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter); }
  .primary-nav a { display: block; padding: 12px 0; }
  .main-header { position: relative; }
}

@media (max-width: 600px) {
  .top-bar__inner { font-size: 13px; justify-content: center; }
  .logo img { width: 150px; }
  .intro h1 { font-size: 44px; }
  .section-head h2, .comprehensive h2 { font-size: 32px; }
  .section-head p br { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .site-footer h2 { font-size: 28px; }
  .contact-link { font-size: 16px; width: 100%; justify-content: center; }
  .hero__slides { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide { transition: none; }
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--purple-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
