:root {
  --ink: #111827;
  --muted: #4b5563;
  --soft: #f9fafb;
  --line: #e5e7eb;
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --blue: #2563eb;
  --green: #10b981;
  --amber: #f59e0b;
  --purple: #7c3aed;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--muted);
  background:
    radial-gradient(circle at 14% 6%, rgba(79, 70, 229, 0.08), transparent 28rem),
    radial-gradient(circle at 90% 38%, rgba(16, 185, 129, 0.06), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #ffffff 36%, #f9fafb 100%);
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

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

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(2.85rem, 7vw, 6.4rem);
  font-weight: 800;
  line-height: 0.98;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.13rem;
  line-height: 1.18;
}

.custom-screen {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand-mark path {
  fill: none;
  stroke: var(--indigo);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

.brand-mark circle {
  fill: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease, transform 180ms ease, background 180ms ease;
}

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

.nav-button,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-button {
  color: white;
  background: var(--ink);
}

.nav-button:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle,
.nav-menu-button {
  display: none;
}

.button-dark {
  color: white;
  background: var(--ink);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.16);
}

.button-light {
  color: #374151;
  border: 1px solid var(--line);
  background: white;
}

.button-indigo {
  color: white;
  background: var(--indigo);
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.2);
}

.hero {
  display: grid;
  min-height: 620px;
  place-items: center;
  padding: 112px 0 80px;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.eyebrow {
  color: var(--indigo);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 680px;
  font-size: clamp(1.06rem, 1.9vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 4px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 4px 0 0;
  padding: 0;
  color: #4b5563;
  font-size: 0.94rem;
  font-weight: 700;
  list-style: none;
}

.hero-proof li {
  position: relative;
  padding-left: 18px;
}

.hero-proof li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.logo-grid {
  padding: 10px 0 70px;
  text-align: center;
}

.logo-grid h2 {
  color: #6b7280;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.logo-grid ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 42px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.logo-grid li {
  color: #9ca3af;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
}

.gradient-wrapper {
  background:
    radial-gradient(circle at 24% 8%, rgba(79, 70, 229, 0.1), transparent 28rem),
    linear-gradient(180deg, rgba(249, 250, 251, 0), #f9fafb 18%, #f9fafb 88%, rgba(249, 250, 251, 0));
}

.gradient-wrapper.soft {
  background:
    radial-gradient(circle at 80% 16%, rgba(37, 99, 235, 0.08), transparent 30rem),
    linear-gradient(180deg, rgba(249, 250, 251, 0), #f9fafb 18%, #fff 100%);
}

.section {
  padding: 90px 0;
  scroll-margin-top: 96px;
}

.feature-grid,
.package-grid,
.tool-grid,
.testimonial-grid,
.process-grid {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.feature-card {
  display: grid;
  gap: 15px;
}

.icon-ring {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--indigo);
  background: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.packages .section-heading {
  max-width: 820px;
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.package-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.045);
}

.featured-package {
  border-color: rgba(79, 70, 229, 0.26);
  box-shadow: 0 24px 64px rgba(79, 70, 229, 0.12);
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 20px;
  color: #374151;
  font-size: 0.96rem;
}

.package-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--indigo);
  content: "";
}

.cta-split {
  display: grid;
  grid-template-columns: minmax(420px, 0.96fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding-top: 30px;
}

.cta-image {
  width: 100%;
  max-width: 640px;
}

.product-mockup {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  width: 100%;
  min-height: clamp(390px, 34vw, 500px);
  border: 1px solid rgba(229, 231, 235, 0.96);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 250, 251, 0.92)),
    radial-gradient(circle at 20% 8%, rgba(79, 70, 229, 0.12), transparent 20rem);
  box-shadow: var(--shadow);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #374151;
  font-size: 0.9rem;
}

.mockup-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db;
}

.mockup-topbar span:nth-child(1) { background: #f87171; }
.mockup-topbar span:nth-child(2) { background: #fbbf24; }
.mockup-topbar span:nth-child(3) { background: #34d399; }

.mockup-topbar strong {
  margin-left: 8px;
  color: var(--ink);
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  gap: clamp(12px, 1.3vw, 16px);
  padding: clamp(16px, 1.6vw, 22px);
}

.mockup-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: clamp(116px, 10vw, 142px);
  padding: clamp(16px, 1.45vw, 20px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.mockup-panel.wide {
  grid-column: span 2;
}

.mockup-panel span {
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-panel strong {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.mockup-panel em {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--indigo-dark);
  background: rgba(79, 70, 229, 0.09);
  font-style: normal;
  font-weight: 700;
}

.sparkline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 7px;
  height: 70px;
}

.sparkline i {
  display: block;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--indigo), var(--blue));
}

.sparkline i:nth-child(1) { height: 36%; }
.sparkline i:nth-child(2) { height: 54%; }
.sparkline i:nth-child(3) { height: 44%; }
.sparkline i:nth-child(4) { height: 74%; }
.sparkline i:nth-child(5) { height: 92%; }

.workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.workflow b {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #f9fafb;
  font-size: 0.9rem;
}

.workflow i {
  flex: 0 1 34px;
  width: min(34px, 8vw);
  height: 2px;
  border-radius: 999px;
  background: var(--indigo);
}

.cta-copy {
  display: grid;
  gap: 20px;
}

.cta-copy p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.04rem;
}

.cta-copy .button {
  width: max-content;
  margin-top: 2px;
}

.section-heading {
  display: grid;
  max-width: 720px;
  margin: 0 auto 54px;
  gap: 14px;
  text-align: center;
}

.tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 48px;
}

.tool-grid li {
  display: flex;
  gap: 18px;
}

.tool-icon {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(30deg, #e5e7eb, #111827, #e5e7eb) border-box;
}

.tool-icon img {
  width: 25px;
  max-height: 25px;
}

.product-icon {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.tool-grid p {
  margin-top: 8px;
}

.product-link {
  display: inline-flex;
  width: max-content;
  margin-top: 12px;
  color: var(--indigo);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  transition: color 180ms ease, transform 180ms ease;
}

.product-link:hover {
  color: var(--indigo-dark);
  transform: translateX(2px);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-grid li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.045);
}

.testimonial-grid figure {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
}

.avatar {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  color: white;
  font-weight: 800;
}

.avatar.blue { background: var(--blue); }
.avatar.green { background: var(--green); }
.avatar.amber { background: var(--amber); }
.avatar.purple { background: var(--purple); }

figcaption strong,
figcaption span {
  display: block;
}

figcaption strong {
  color: var(--ink);
  font-weight: 800;
}

figcaption span {
  color: #6b7280;
  font-size: 0.92rem;
}

.result-stat {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--indigo-dark);
  background: rgba(79, 70, 229, 0.09);
  font-size: 0.86rem;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.process-grid li {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.process-grid span {
  color: var(--indigo);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-cta {
  padding-top: 80px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.05rem;
}

.contact-copy .button {
  width: max-content;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f9fafb;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(79, 70, 229, 0.16);
  border-color: rgba(79, 70, 229, 0.52);
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.site-footer {
  padding-top: 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer-links,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  justify-content: flex-end;
  gap: 20px 28px;
}

.footer-nav {
  gap: 18px;
}

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

.reveal {
  animation: riseIn 720ms ease both;
}

.reveal-grid > * {
  animation: riseIn 720ms ease both;
}

.reveal-grid > *:nth-child(2) { animation-delay: 80ms; }
.reveal-grid > *:nth-child(3) { animation-delay: 160ms; }
.reveal-grid > *:nth-child(4) { animation-delay: 220ms; }
.reveal-grid > *:nth-child(5) { animation-delay: 280ms; }
.reveal-grid > *:nth-child(6) { animation-delay: 340ms; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .cta-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-image {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .nav-menu-button {
    display: grid;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
  }

  .nav-menu-button span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
  }

  .nav-links {
    position: absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-toggle:checked ~ .nav-links {
    display: grid;
    gap: 18px;
  }

  .nav-button {
    width: 100%;
  }

  .feature-grid,
  .package-grid,
  .tool-grid,
  .testimonial-grid,
  .process-grid,
  .contact-panel,
  .cta-split {
    grid-template-columns: 1fr;
  }

  .cta-split {
    gap: 32px;
  }

  .contact-copy .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.45rem, 10.4vw, 3.2rem);
    line-height: 1.04;
  }

  .custom-screen {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: auto;
    padding: 84px 0 58px;
  }

  .hero-actions,
  .hero-actions .button,
  .cta-copy .button,
  .contact-copy .button,
  .footer-cta .button {
    width: 100%;
  }

  .hero-proof {
    justify-content: flex-start;
    text-align: left;
  }

  .section {
    padding: 64px 0;
  }

  .tool-grid li {
    align-items: flex-start;
  }

  .contact-panel {
    padding: 22px;
  }

  .mockup-grid {
    grid-template-columns: 1fr;
  }

  .mockup-panel.wide {
    grid-column: auto;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
