:root {
  --yellow: #fdbe33;
  --blue: #4a4c70;
  --text: #777777;
  --soft: #f7f7f7;
  --line: #e7e7e7;
  --white: #ffffff;
  --dark: #252642;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

a:hover {
  color: var(--yellow);
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

p {
  margin: 0;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.btn-custom {
  color: #000000;
  background: var(--yellow);
  border-color: var(--yellow);
}

.btn-custom:hover {
  color: var(--text);
  background: #dddddd;
  border-color: var(--yellow);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  color: #000000;
  background: var(--white);
  border-color: var(--white);
}

.btn-outline-dark {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--white);
}

.btn-outline-dark:hover {
  color: #000000;
  background: var(--yellow);
  border-color: var(--yellow);
}

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  color: var(--blue);
  background: var(--white);
}

.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
}

.top-contact,
.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-contact span,
.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 15px;
}

.top-contact .icon,
.social-links a {
  color: var(--yellow);
}

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}

.social-links a:hover {
  color: var(--white);
  background: var(--yellow);
}

.navbar {
  position: absolute;
  top: 45px;
  left: 0;
  z-index: 5;
  width: 100%;
  background: rgba(37, 38, 66, 0.96);
}

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

.brand {
  color: var(--yellow);
  font-size: 30px;
  font-weight: 700;
}

.brand:hover {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 24px 13px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links .nav-cta {
  color: var(--yellow);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37, 38, 66, 0.95) 0%, rgba(37, 38, 66, 0.78) 47%, rgba(37, 38, 66, 0.28) 100%),
    url("img/carousel-1.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(230px, 320px);
  gap: 48px;
  align-items: end;
  padding-top: 150px;
  padding-bottom: 74px;
}

.eyebrow,
.section-header p {
  color: var(--yellow);
  font-size: 18px;
  font-weight: 700;
}

.hero h1 {
  max-width: 760px;
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
}

.hero-lede {
  max-width: 660px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
}

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

.hero-panel {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-panel div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-panel strong {
  display: block;
  color: var(--blue);
  font-size: 40px;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: var(--text);
}

.page-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37, 38, 66, 0.96) 0%, rgba(37, 38, 66, 0.82) 52%, rgba(37, 38, 66, 0.42) 100%),
    url("img/carousel-1.jpg") center / cover no-repeat;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-top: 160px;
  padding-bottom: 72px;
}

.page-hero h1 {
  max-width: 880px;
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(40px, 5vw, 64px);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.action-strip {
  position: relative;
  z-index: 2;
  margin-top: -58px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.action-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 3px 18px;
  min-height: 148px;
  padding: 26px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(74, 76, 112, 0.12);
}

.action-card span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--blue);
  background: var(--yellow);
  font-size: 24px;
}

.action-card strong {
  color: var(--blue);
  font-size: 21px;
}

.action-card small {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.action-card:hover {
  transform: translateY(-4px);
}

.section {
  padding: 96px 0;
}

.split-grid,
.demo-grid,
.image-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.image-block {
  position: relative;
}

.image-block::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 22px;
  width: 100%;
  height: 100%;
  background: var(--yellow);
}

.image-block img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  margin-top: 10px;
  font-size: clamp(32px, 4vw, 48px);
}

.centered {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-copy > p + p {
  margin-top: 16px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-top: 26px;
}

.check-list span {
  color: var(--blue);
  font-weight: 700;
}

.check-list .icon {
  color: var(--yellow);
  margin-right: 8px;
}

.feature-section,
.pricing-section {
  background: var(--soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card,
.price-card,
.demo-cards article {
  background: var(--white);
  border: 1px solid var(--line);
}

.feature-card {
  padding: 30px 24px;
  min-height: 260px;
}

.feature-card > .icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  color: var(--blue);
  background: var(--yellow);
  font-size: 23px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.feature-card p {
  font-size: 15px;
}

.image-band {
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(rgba(37, 38, 66, 0.92), rgba(37, 38, 66, 0.92)),
    url("img/facts.jpg") center / cover fixed;
}

.image-band h2 {
  color: var(--white);
}

.image-band .btn {
  margin-top: 24px;
}

.image-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.16);
}

.trial-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 0 0 28px;
  padding: 28px 30px;
  color: var(--white);
  background: var(--blue);
  border-left: 8px solid var(--yellow);
  box-shadow: 0 18px 45px rgba(74, 76, 112, 0.16);
}

.trial-kicker {
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.trial-callout h3 {
  color: var(--white);
  font-size: 30px;
}

.trial-callout p:not(.trial-kicker) {
  max-width: 690px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  overflow: hidden;
}

.price-card.featured {
  border-color: var(--yellow);
  box-shadow: 0 22px 50px rgba(74, 76, 112, 0.16);
}

.ribbon {
  position: absolute;
  top: 18px;
  right: -40px;
  width: 170px;
  padding: 8px 0;
  color: #000000;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transform: rotate(38deg);
}

.price-head {
  min-height: 118px;
}

.price-head h3 {
  font-size: 28px;
}

.price-head p {
  margin-top: 10px;
}

.price {
  margin-top: 8px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.price small {
  display: block;
  font-size: 16px;
}

.price span {
  font-size: 48px;
}

.price em {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-style: normal;
}

.setup {
  margin-top: 6px;
  color: var(--yellow);
  font-weight: 700;
}

.price-card ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 30px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 26px;
  color: var(--blue);
  font-weight: 600;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 7px;
  height: 13px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  color: var(--yellow);
  transform: rotate(45deg);
}

.price-card .btn {
  margin-top: auto;
}

.plan-detail {
  margin-top: 34px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(74, 76, 112, 0.1);
}

.plan-detail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.plan-detail-header h3 {
  max-width: 680px;
  font-size: 32px;
}

.plan-matrix {
  display: grid;
  border: 1px solid var(--line);
}

.matrix-row {
  display: grid;
  grid-template-columns: 0.85fr repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.matrix-row:first-child {
  border-top: 0;
}

.matrix-row > div {
  min-width: 0;
  padding: 18px;
  border-left: 1px solid var(--line);
  line-height: 1.55;
}

.matrix-row > div:first-child {
  border-left: 0;
}

.matrix-head {
  color: var(--white);
  background: var(--blue);
}

.matrix-head > div {
  color: var(--white);
  font-weight: 700;
}

.matrix-row [role="rowheader"] {
  color: var(--blue);
  font-weight: 700;
  background: #fbfbfb;
}

.network-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 20px;
  color: var(--blue);
  background: #fff7df;
  border-left: 6px solid var(--yellow);
}

.network-note strong {
  color: var(--dark);
}

.terms-section {
  background: var(--soft);
}

.terms-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.terms-summary {
  position: sticky;
  top: 104px;
  padding: 30px;
  color: var(--white);
  background: var(--blue);
  border-left: 8px solid var(--yellow);
  box-shadow: 0 18px 45px rgba(74, 76, 112, 0.16);
}

.terms-summary h2 {
  color: var(--white);
  font-size: 32px;
}

.terms-summary p:not(.trial-kicker) {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.terms-summary .btn {
  width: 100%;
  margin-top: 24px;
}

.terms-content {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(74, 76, 112, 0.1);
}

.terms-list {
  display: grid;
  gap: 22px;
  padding-left: 24px;
  margin: 0;
}

.terms-list > li {
  padding-left: 8px;
}

.terms-list > li::marker {
  color: var(--yellow);
  font-size: 22px;
  font-weight: 700;
}

.terms-list h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.terms-list ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.terms-list li li {
  line-height: 1.55;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.mini-stats div {
  padding: 18px;
  background: var(--soft);
  border-left: 4px solid var(--yellow);
}

.mini-stats strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
}

.mini-stats span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.demo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

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

.demo-cards h3,
.demo-cards p {
  padding-right: 22px;
  padding-left: 22px;
}

.demo-cards h3 {
  margin-top: 22px;
  font-size: 22px;
}

.demo-cards p {
  padding-bottom: 24px;
  margin-top: 10px;
}

.owner-section {
  padding-top: 54px;
  padding-bottom: 58px;
  background: var(--light);
}

.owner-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
}

.owner-grid .section-header {
  grid-column: 1 / -1;
  max-width: 760px;
}

.owner-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(4, 38, 70, 0.12);
}

.owner-copy p + p {
  margin-top: 16px;
}

.owner-copy .btn {
  margin-top: 24px;
}

.cta-section {
  padding: 78px 0;
  color: var(--white);
  background: var(--blue);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.cta-inner h2 {
  max-width: 780px;
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(30px, 4vw, 46px);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1.1fr;
  gap: 34px;
  padding: 64px 0 42px;
}

.footer h2 {
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 22px;
}

.footer a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.78);
}

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

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.copyright a {
  margin: 0;
  color: var(--yellow);
}

@media (max-width: 980px) {
  .top-bar {
    display: none;
  }

  .navbar {
    position: fixed;
    top: 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    display: none;
    width: 100%;
    padding: 10px 16px 18px;
    background: var(--dark);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 13px 0;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content,
  .split-grid,
  .demo-grid,
  .image-band-grid,
  .terms-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .terms-summary {
    position: static;
  }

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

  .action-grid,
  .pricing-grid,
  .feature-grid,
  .matrix-row {
    grid-template-columns: 1fr 1fr;
  }

  .plan-detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .matrix-head {
    display: none;
  }

  .matrix-row {
    border-top: 8px solid var(--soft);
  }

  .matrix-row > div {
    border-left: 0;
  }

  .matrix-row > div:first-child {
    grid-column: 1 / -1;
    color: var(--white);
    background: var(--blue);
  }

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

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .brand {
    font-size: 24px;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    background:
      linear-gradient(rgba(37, 38, 66, 0.9), rgba(37, 38, 66, 0.82)),
      url("img/carousel-1.jpg") center / cover no-repeat;
  }

  .hero-content {
    padding-top: 132px;
    padding-bottom: 96px;
  }

  .page-hero-content {
    padding-top: 132px;
    padding-bottom: 58px;
  }

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

  .page-hero h1 {
    font-size: 38px;
  }

  .hero-lede {
    font-size: 18px;
  }

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

  .hero-panel,
  .action-grid,
  .trial-callout,
  .pricing-grid,
  .feature-grid,
  .matrix-row,
  .demo-cards,
  .owner-grid,
  .footer-grid,
  .mini-stats,
  .check-list,
  .network-note {
    grid-template-columns: 1fr;
  }

  .action-strip {
    margin-top: -42px;
  }

  .section {
    padding: 70px 0;
  }

  .section-header h2,
  .cta-inner h2 {
    font-size: 34px;
  }

  .image-block::before {
    left: -10px;
    top: 10px;
  }

  .price-head {
    min-height: 0;
  }

  .trial-callout {
    padding: 24px;
  }

  .trial-callout h3 {
    font-size: 26px;
  }

  .trial-callout .btn {
    width: 100%;
  }

  .plan-detail {
    padding: 22px 16px;
  }

  .terms-content,
  .terms-summary {
    padding: 24px;
  }

  .plan-detail-header h3 {
    font-size: 26px;
  }

  .plan-detail-header .btn {
    width: 100%;
  }

  .matrix-row > div {
    padding: 15px;
  }

  .copyright {
    flex-direction: column;
  }
}
