:root {
  color: #171717;
  background: #f6f6f3;
  font-family: "Karla", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
}

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

a {
  color: #145bb8;
}

.public-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.public-header > a {
  display: block;
  flex: 0 0 auto;
}

.public-header > a img {
  width: 154px;
  height: auto;
  object-fit: contain;
}

.public-header nav,
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.public-header nav a {
  color: #242424;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  min-height: 540px;
  padding: 64px 0 72px;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  max-width: 720px;
  margin: 8px 0 24px;
  font-family: "Unica One", "Karla", sans-serif;
  font-size: clamp(3.25rem, 5.35vw, 4.85rem);
  font-weight: 400;
  text-transform: uppercase;
}

h2 {
  margin: 8px 0 28px;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
}

h3 {
  font-size: 1.35rem;
}

.eyebrow {
  margin: 0;
  color: #d94b00;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.hero-copy {
  max-width: 700px;
  font-size: 1.15rem;
}

.section-intro {
  max-width: 820px;
  margin: -8px 0 30px;
  color: #4a4a46;
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 2px solid #f45100;
  border-radius: 5px;
  background: #f45100;
  color: white !important;
  font-weight: 700 !important;
  text-decoration: none;
}

.button-secondary {
  background: transparent;
  color: #c83f00 !important;
}

.button-small {
  padding: 8px 13px;
}

.demo-card,
.content-section,
.cta {
  border: 1px solid #deded8;
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 36px rgb(0 0 0 / 7%);
}

.demo-card {
  padding: 30px;
}

.demo-card h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.content-section {
  margin-bottom: 32px;
  padding: clamp(28px, 4.5vw, 56px);
}

.card-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-grid article,
.link-grid a {
  padding: 24px;
  border: 1px solid #e3e3de;
  border-radius: 10px;
  background: #fafaf8;
}

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

.link-grid a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #171717;
  text-decoration: none;
}

.link-grid a:hover strong {
  color: #d94b00;
}

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

.steps li {
  position: relative;
  min-height: 148px;
  padding: 26px 24px 24px 78px;
  border: 1px solid #e1e1dc;
  border-radius: 10px;
  background: #fafaf8;
  counter-increment: workflow;
}

.steps li::before {
  position: absolute;
  top: 24px;
  left: 22px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #f45100;
  color: white;
  content: counter(workflow);
  font-size: .95rem;
  font-weight: 700;
}

.steps li strong,
.steps li span {
  display: block;
}

.steps li strong {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.faq details {
  padding: 18px 0;
  border-top: 1px solid #deded8;
}

.faq summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
}

.cta {
  margin: 64px 0;
  padding: clamp(28px, 5vw, 56px);
  background: #171717;
  color: white;
}

.cta .text-link,
footer a {
  color: #71adff;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 50px;
}

@media (max-width: 800px) {
  .public-header {
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 0 8px;
  }

  .public-header > a img {
    width: 132px;
  }

  .public-header nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .public-header nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    border-radius: 5px;
    background: #ecece8;
    font-size: .86rem;
    line-height: 1.2;
    text-align: center;
  }

  .public-header nav .button {
    grid-column: 1 / -1;
    min-height: 46px;
    background: #f45100;
  }

  .hero,
  .card-grid,
  .link-grid,
  .steps ol {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 32px;
    padding: 48px 0 36px;
  }

  h1 {
    max-width: 560px;
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 11vw, 3.35rem);
    line-height: 1.06;
  }

  h2 {
    margin-bottom: 22px;
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .section-intro {
    margin-top: -4px;
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .demo-card,
  .content-section {
    padding: 26px;
  }

  .card-grid,
  .link-grid {
    gap: 12px;
  }

  .card-grid article,
  .link-grid a {
    padding: 20px;
  }

  .steps li {
    min-height: auto;
    padding: 22px 20px 22px 68px;
  }

  .steps li::before {
    top: 20px;
    left: 18px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
  }
}

@media (max-width: 430px) {
  .public-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .public-header nav a {
    font-size: .79rem;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 2.85rem);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .actions .button {
    width: 100%;
  }

  .demo-card,
  .content-section {
    padding: 23px;
  }

  .eyebrow {
    font-size: .75rem;
    letter-spacing: .13em;
  }

  .cta {
    margin: 42px 0;
    padding: 26px 24px;
  }
}
