:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6777;
  --paper: #f7f8fb;
  --surface: #ffffff;
  --line: #dde3ed;
  --navy: #101828;
  --coral: #f75f57;
  --teal: #18a999;
  --amber: #f4a622;
  --shadow: 0 18px 46px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(221, 227, 237, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-size: 13px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: #384152;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--coral);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, 86svh);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 13, 36, 0.88) 0%, rgba(13, 19, 43, 0.72) 46%, rgba(13, 19, 43, 0.16) 100%),
    url("assets/hero-background.png") center / cover no-repeat;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.08), rgba(5, 8, 22, 0.18));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(740px, calc(100% - 36px));
  align-self: center;
  margin-left: clamp(18px, 7vw, 96px);
  padding: 72px 0 86px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(52px, 8vw, 104px);
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 14px 28px rgba(247, 95, 87, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e84d45;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  background: var(--navy);
  color: white;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -34px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-strip div {
  min-height: 116px;
  padding: 24px;
  background: white;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  margin-bottom: 6px;
  font-size: 19px;
}

.quick-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(76px, 10vw, 124px) clamp(18px, 5vw, 72px);
}

.section-light {
  background: var(--paper);
}

.section-accent {
  background: #101828;
  color: white;
}

.section-contact {
  background: #eaf8f5;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split-layout h2,
.contact-panel h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.section-heading p:not(.eyebrow),
.split-layout p,
.contact-panel p,
.feature-card p,
.workflow-grid p {
  color: var(--muted);
}

.section-accent .section-heading p:not(.eyebrow),
.section-accent .workflow-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.feature-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.feature-card:nth-child(2n) .feature-kicker {
  background: var(--coral);
}

.feature-card:nth-child(3n) .feature-kicker {
  background: var(--amber);
  color: #2f2100;
}

.feature-card h3,
.workflow-grid h3 {
  margin: 22px 0 10px;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: 0;
}

.feature-card p,
.workflow-grid p,
.contact-panel p,
.split-layout p {
  margin: 0;
  font-size: 16px;
}

.template-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(960px, 100%);
  margin: 0 auto 34px;
}

.template-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.workflow-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 6vw, 84px);
  width: min(1080px, 100%);
  margin: 0 auto;
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-panel-light {
  background: #ffffff;
}

.contact-panel h2 {
  margin: 0 0 10px;
  line-height: 1.08;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #0b1220;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: white;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 78svh;
    background-position: 58% center;
  }

  .hero-inner {
    width: min(660px, calc(100% - 36px));
    padding: 58px 0 72px;
  }

  .quick-strip,
  .feature-grid,
  .workflow-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    margin-top: -22px;
  }

  .feature-card,
  .workflow-grid article {
    min-height: auto;
  }

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

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

@media (max-width: 560px) {
  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-inner {
    margin-left: 18px;
  }

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

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-block: 64px;
  }

  .quick-strip div {
    min-height: auto;
  }
}
