:root {
  color-scheme: light;
  --ink: #3B3561;
  --muted: #686274;
  --paper: #F7F5FF;
  --white: #ffffff;
  --accent: #8B7FD3;
  --accent-soft: rgba(139, 127, 211, 0.18);
  --button: #3B3561;
  --button-hover: #2D294D;
  --button-text: #ffffff;
  --line: rgba(59, 53, 97, 0.16);
  --teal: #3B3561;
  --teal-dark: #3B3561;
  --coral: #8B7FD3;
  --amber: #F7F5FF;
  --mint: rgba(59, 53, 97, 0.1);
  --shadow: 0 24px 70px rgba(59, 53, 97, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(247, 245, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 227, 223, 0.8);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 54px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.nav,
.hero-actions,
.hero-proof,
.hero-stats,
.audience-list,
.mini-metrics {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 800;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
  width: 42px;
}

.brand-mark img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.nav {
  color: var(--muted);
  gap: 24px;
  justify-content: center;
  font-size: 0.95rem;
}

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

.header-cta {
  background: linear-gradient(135deg, var(--button), #4a4377);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(59, 53, 97, 0.22);
  color: var(--button-text);
  font-weight: 800;
  justify-self: end;
  padding: 12px 16px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.hero {
  display: grid;
  min-height: calc(86vh - 74px);
  overflow: hidden;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(247, 245, 255, 0.98) 0%, rgba(247, 245, 255, 0.86) 36%, rgba(247, 245, 255, 0.18) 72%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center right;
  width: 100%;
}

.hero-content {
  align-self: center;
  max-width: 920px;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 5vw, 72px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.45rem);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 880px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.hero-copy {
  color: #5b556c;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
  max-width: 620px;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-stats strong {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(59, 53, 97, 0.18);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 12px 14px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  position: relative;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn::after,
.header-cta::after {
  content: "→";
  font-weight: 950;
  margin-left: 9px;
  transition: transform 160ms ease;
}

.btn:hover,
.header-cta:hover {
  background: var(--button-hover);
  box-shadow: 0 18px 36px rgba(139, 127, 211, 0.28);
  transform: translateY(-2px);
}

.btn:hover::after,
.header-cta:hover::after {
  transform: translateX(4px);
}

.btn:focus-visible,
.header-cta:focus-visible {
  box-shadow: 0 0 0 4px rgba(139, 127, 211, 0.32);
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.btn.primary,
.btn.secondary {
  background: var(--button);
  border: 1px solid rgba(59, 53, 97, 0.12);
  box-shadow: 0 14px 32px rgba(139, 127, 211, 0.24);
  color: var(--ink);
}

.header-cta,
.btn.primary,
.btn.secondary {
  background: linear-gradient(135deg, var(--button), #4a4377);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(59, 53, 97, 0.24);
  color: var(--button-text);
}

.btn::after,
.header-cta::after {
  color: var(--accent);
}

.btn:hover,
.header-cta:hover {
  background: linear-gradient(135deg, var(--button-hover), #3f386b);
  border-color: rgba(139, 127, 211, 0.76);
  box-shadow: 0 18px 38px rgba(59, 53, 97, 0.32);
}

.btn:focus-visible,
.header-cta:focus-visible {
  box-shadow: 0 0 0 4px rgba(139, 127, 211, 0.32), 0 16px 32px rgba(59, 53, 97, 0.28);
  outline: 2px solid var(--accent);
}

.hero-proof {
  color: #5b556c;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span,
.audience-list span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(139, 127, 211, 0.34);
  border-radius: 999px;
  padding: 9px 13px;
}

.section {
  padding: clamp(62px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
}

.section-heading p:not(.eyebrow),
.audience-copy p,
.final-cta p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid,
.sample-grid,
.custom-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.sample-card,
.custom-item,
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
}

.feature-card p,
.sample-card p,
.custom-item p,
.faq p {
  color: var(--muted);
  line-height: 1.65;
}

.icon {
  color: var(--accent);
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: 48px;
}

.audience {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
}

.audience .eyebrow {
  color: var(--accent);
}

.audience-copy p {
  color: rgba(247, 245, 255, 0.82);
  max-width: 620px;
}

.audience-list {
  align-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-list span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--paper);
}

.custom-focus {
  background: var(--accent-soft);
}

.custom-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.custom-item {
  min-height: 230px;
  padding: 28px;
}

.custom-item h3 {
  font-size: 1.45rem;
}

.work-samples {
  background: rgba(255, 255, 255, 0.46);
}

.sample-grid {
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
}

.sample-card {
  min-height: 280px;
  overflow: hidden;
  padding: 28px;
}

.sample-card.lead {
  background: var(--teal-dark);
  border-color: rgba(139, 127, 211, 0.42);
  color: var(--white);
}

.sample-card.lead p {
  color: rgba(247, 245, 255, 0.86);
}

.sample-bar {
  background: linear-gradient(90deg, var(--accent), rgba(247, 245, 255, 0.55));
  border-radius: 999px;
  height: 14px;
  margin-bottom: 96px;
  width: 70%;
}

.sample-lines {
  display: grid;
  gap: 12px;
  margin-bottom: 72px;
}

.sample-lines span {
  background: rgba(59, 53, 97, 0.12);
  border-radius: 999px;
  height: 13px;
}

.sample-lines span:nth-child(2) {
  width: 78%;
}

.sample-lines span:nth-child(3) {
  width: 52%;
}

.mini-metrics {
  gap: 10px;
  margin-bottom: 75px;
}

.mini-metrics strong {
  background: var(--accent-soft);
  border-radius: 8px;
  color: var(--teal-dark);
  padding: 15px;
}

.process {
  background: rgba(255, 255, 255, 0.5);
}

.process-lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 720px;
}

.timeline {
  counter-reset: steps;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.timeline li {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  min-height: 270px;
  padding: 24px;
}

.timeline li::before {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--paper);
  content: counter(steps, decimal-leading-zero);
  counter-increment: steps;
  display: inline-flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.timeline span {
  color: var(--muted);
  line-height: 1.6;
}

.timeline strong {
  font-size: 1.22rem;
  line-height: 1.15;
}

.process-cta-row {
  display: flex;
  margin-top: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  max-width: 920px;
}

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 14px 0 0;
}

.final-cta {
  align-items: center;
  background: var(--teal-dark);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
  margin: clamp(20px, 5vw, 72px);
  padding: clamp(34px, 6vw, 68px);
}

.final-cta .eyebrow {
  color: var(--accent);
}

.final-cta p {
  color: rgba(247, 245, 255, 0.84);
  margin-bottom: 0;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
}

.footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(247, 245, 255, 0.99) 0%, rgba(247, 245, 255, 0.95) 44%, rgba(247, 245, 255, 0.62) 72%, rgba(247, 245, 255, 0.18) 100%);
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-content {
    align-self: start;
    padding-top: 66px;
  }

  .feature-grid,
  .custom-grid,
  .sample-grid,
  .timeline,
  .audience {
    grid-template-columns: 1fr;
  }

  .timeline li {
    min-height: auto;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    min-height: 62px;
    padding: 10px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-mark {
    flex-basis: 40px;
    height: 40px;
    width: 40px;
  }

  .header-cta {
    font-size: 0.9rem;
    min-height: 42px;
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    top: 58%;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(247, 245, 255, 1) 0%, rgba(247, 245, 255, 0.98) 45%, rgba(247, 245, 255, 0.68) 72%, rgba(247, 245, 255, 0.24) 100%);
  }

  .hero-media img {
    height: 42%;
    object-position: 70% bottom;
    opacity: 0.95;
  }

  h1 {
    font-size: clamp(2.28rem, 10.8vw, 2.9rem);
    line-height: 1;
    max-width: 100%;
  }

  .hero-content,
  .section {
    padding-inline: 18px;
  }

  .hero-content {
    padding-bottom: 118px;
    padding-top: 42px;
  }

  .hero-copy {
    font-size: 1.04rem;
    line-height: 1.5;
  }

  .hero-stats {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats strong {
    align-items: center;
    justify-content: center;
    min-height: 54px;
    text-align: center;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .btn,
  .final-cta .btn {
    width: 100%;
  }

  .btn {
    min-height: 54px;
    padding: 15px 18px;
  }

  .hero-proof {
    display: none;
  }

  .hero-proof span {
    width: fit-content;
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
    line-height: 1.04;
  }

  .feature-card,
  .sample-card,
  .custom-item {
    padding: 22px;
  }

  .feature-card,
  .sample-card,
  .custom-item {
    min-height: auto;
  }

  .icon,
  .sample-bar,
  .sample-lines,
  .mini-metrics {
    margin-bottom: 34px;
  }

  .timeline li {
    padding: 20px;
  }

  .process-cta-row .btn {
    width: 100%;
  }

  .final-cta {
    margin: 18px;
    padding: 28px 20px;
  }

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