:root {
  --ink: #2f3437;
  --muted: #70777c;
  --soft: #f4f6f7;
  --line: #dfe5e8;
  --brand: #338db0;
  --brand-dark: #17677f;
  --coral: #d97762;
  --green: #4f9d74;
  --amber: #d7a742;
  --violet: #8067b7;
  --slate: #596a78;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(27, 42, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  border-top: 3px solid var(--ink);
  background: #eeeeee;
  color: #697176;
  font-size: 0.94rem;
}

.topbar__inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.topbar__link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.social-link {
  width: 34px;
  height: 34px;
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: #9a9a9a;
  border-radius: 4px;
  font-weight: 700;
}

.navbar {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 3px;
  translate: -50% 0;
  background: var(--brand);
}

.brand {
  width: 160px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.3rem, 3vw, 3.5rem);
  color: #73787b;
  font-size: 1.05rem;
}

.nav-links a {
  padding: 0.65rem 0;
}

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

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-button span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--ink);
}

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-band {
  background: linear-gradient(180deg, #f7f8f9 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 660px;
  display: grid;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  line-height: 1.05;
  font-weight: 500;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.18;
  font-weight: 500;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.18rem;
  font-weight: 600;
}

.hero__lead,
.section-heading p,
.split p,
.contact p {
  color: var(--muted);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
}

.button--primary {
  background: var(--brand);
  color: var(--white);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--brand-dark);
}

.button--ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button--secondary {
  background: #a7a7a7;
  color: var(--white);
}

.hero__media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-heading {
  width: min(900px, 100%);
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 3rem);
}

.benefit,
.feature,
.audience-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.benefit {
  padding: 1.6rem;
}

.benefit p,
.feature li,
.audience-card p {
  color: var(--muted);
}

.icon-box {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: var(--brand);
  color: var(--white);
  font-size: 1.85rem;
  font-weight: 800;
}

.icon-box--coral { background: var(--coral); }
.icon-box--green { background: var(--green); }
.icon-box--amber { background: var(--amber); }
.icon-box--violet { background: var(--violet); }
.icon-box--slate { background: var(--slate); }

.feature-icon {
  color: var(--white);
}

.benefit-icon {
  color: var(--white);
}

.benefit-icon svg,
.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.product-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-panel__bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.product-panel__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.product-panel__bar span:nth-child(2) { background: var(--amber); }
.product-panel__bar span:nth-child(3) { background: var(--green); }

.metric-row,
.mini-cards {
  display: grid;
  gap: 1rem;
}

.metric-row {
  grid-template-columns: 1fr auto;
  margin: 1.2rem 0;
}

.metric-row span {
  color: var(--brand-dark);
  font-weight: 700;
}

.calendar-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.calendar-preview span {
  min-height: 58px;
  border-radius: 6px;
  background: #edf4f6;
}

.calendar-preview span:nth-child(3n) { background: #f7e7df; }
.calendar-preview span:nth-child(4n) { background: #edf5ee; }

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

.mini-cards span {
  padding: 1rem;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  line-height: 1.4;
}

.mini-cards strong {
  color: var(--ink);
}

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

.feature {
  padding: 1.6rem;
}

.feature ul {
  margin: 0;
  padding-left: 1.1rem;
}

.feature li + li {
  margin-top: 0.45rem;
}

.audience-carousel {
  position: relative;
}

.audience-carousel__controls {
  position: absolute;
  top: -5.9rem;
  right: 0;
  display: flex;
  gap: 0.65rem;
}

.audience-carousel__button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--brand-dark);
  cursor: pointer;
}

.audience-carousel__button:hover,
.audience-carousel__button:focus-visible {
  border-color: var(--brand);
  color: var(--white);
  background: var(--brand);
}

.audience-carousel__button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.audience-carousel__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.audience-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.audience-carousel__track {
  display: flex;
  gap: 1.2rem;
}

.audience-card {
  flex: 0 0 calc((100% - 2.4rem) / 3);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 18px 42px rgba(27, 42, 51, 0.1);
}

.audience-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.audience-card__body {
  padding: 1.35rem;
}

.audience-card span {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.audience-card p {
  margin-bottom: 0;
}

.audience-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.audience-carousel__dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #c7d2d8;
  cursor: pointer;
}

.audience-carousel__dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--brand);
}

.contact-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--brand-dark);
  font-weight: 700;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.contact-form {
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: #4c5458;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #b84b3a;
}

.form-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-hero {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.legal-hero h1 {
  margin-bottom: 1rem;
}

.legal-content {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.legal-content__inner {
  width: min(880px, calc(100% - 2rem));
}

.legal-content h2 {
  margin: 2.5rem 0 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--brand-dark);
  font-weight: 700;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-content li + li {
  margin-top: 0.55rem;
}

.thank-you {
  min-height: 54vh;
  display: grid;
  align-items: center;
}

.thank-you__content {
  max-width: 760px;
  text-align: center;
}

.thank-you__content h1 {
  margin: 0 auto 1rem;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1;
}

.thank-you__content p:not(.eyebrow) {
  margin: 0 auto 2rem;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.18rem;
}

.thank-you__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer {
  background: #2f3030;
  color: rgba(255, 255, 255, 0.78);
}

.footer__grid {
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) repeat(3, minmax(140px, 0.7fr));
  gap: 2rem;
}

.brand--footer {
  padding: 0.35rem;
  border-radius: 6px;
  background: var(--white);
}

.footer strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer a {
  display: block;
  margin-bottom: 0.6rem;
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer__contact-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.52);
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: rgba(96, 96, 96, 0.68);
  font-size: 1.5rem;
}

@media (max-width: 980px) {
  .hero__grid,
  .split__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .audience-card {
    flex-basis: calc((100% - 1.2rem) / 2);
  }

  .audience-carousel__controls {
    position: static;
    justify-content: flex-end;
    margin-bottom: 1rem;
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.6rem 0;
  }

  .social-link {
    margin-left: 0;
  }

  .navbar {
    min-height: 92px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 12;
    display: none;
    padding: 1rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.08);
  }

  .nav-links.is-open {
    display: grid;
    gap: 0.35rem;
  }

  .hero__media img {
    aspect-ratio: 1 / 1;
  }

  .benefit-grid,
  .feature-grid,
  .mini-cards,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    flex-basis: 100%;
  }

  .audience-carousel__controls {
    justify-content: flex-start;
  }

  .section-heading {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    display: grid;
  }

  .brand {
    width: 136px;
  }
}
