:root {
  --ink: #172018;
  --muted: #637063;
  --line: #e7ece4;
  --soft: #f7faf4;
  --white: #ffffff;
  --accent: #f47b20;
  --accent-dark: #c95d10;
  --green: #5e8d52;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(30, 48, 28, 0.09);
  --container-max: 1324px;
  --container-gutter: clamp(24px, 5vw, 72px);
  --section-space: clamp(72px, 9vw, 112px);
  --grid-gap: clamp(20px, 2.4vw, 30px);
  --card-space: clamp(22px, 2.4vw, 30px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

p {
  color: var(--muted);
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  font-size: 1.28rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-gutter);
}

.narrow {
  max-width: 840px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(231, 236, 228, 0.8);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #ffb45f, var(--accent));
  box-shadow: 0 10px 24px rgba(244, 123, 32, 0.24);
}

.brand-mark i {
  font-size: 1.05rem;
  transform: rotate(-18deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #405040;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 10px 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(244, 123, 32, 0.24);
}

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

.button-secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--soft);
  color: var(--ink);
}

.button-small {
  min-height: 40px;
  padding: 10px 15px;
  font-size: 0.9rem;
}

.button-full {
  width: 100%;
  margin-top: auto;
}

.product-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.product-actions .button-full {
  margin-top: 0;
}

.hero {
  padding: clamp(88px, 10vw, 128px) 0 clamp(84px, 9vw, 112px);
  background:
    radial-gradient(circle at 85% 20%, rgba(244, 123, 32, 0.14), transparent 34%),
    linear-gradient(180deg, #fffdfa 0%, #f8fbf5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.65fr);
  gap: clamp(44px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 690px;
  margin-top: 22px;
  font-size: 1.14rem;
}

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

.trust-line {
  margin-top: 22px;
  color: #41513e;
  font-weight: 700;
}

.hero-panel,
.product-card,
.steps article,
.faq-list details,
.contact-card,
.form-card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: var(--card-space);
}

.panel-top,
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-dot {
  color: var(--green);
}

.data-carousel {
  position: relative;
  height: 336px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 68%, #ffffff 100%),
    var(--soft);
}

.data-carousel::before,
.data-carousel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 58px;
  pointer-events: none;
}

.data-carousel::before {
  top: 0;
  background: linear-gradient(180deg, var(--soft), rgba(247, 250, 244, 0));
}

.data-carousel::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--soft), rgba(247, 250, 244, 0));
}

.carousel-track {
  display: grid;
  gap: 12px;
  padding: 16px;
  animation: carousel-scroll 30s linear infinite;
}

.data-carousel:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-item {
  display: grid;
  gap: 8px;
  min-height: 106px;
  padding: 16px;
  border: 1px solid rgba(231, 236, 228, 0.92);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(30, 48, 28, 0.06);
}

.carousel-item span {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: #fff1e5;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.carousel-item h3 {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.02rem;
  letter-spacing: 0;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.carousel-item p {
  color: #41513e;
  font-size: 0.9rem;
  font-weight: 800;
}

@keyframes carousel-scroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.table-card {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 12px;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

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

.row-head {
  background: var(--soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.hero-stats div {
  padding: 14px;
  border-radius: 16px;
  background: #fff6ed;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: var(--section-space) 0;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(34px, 4vw, 48px);
}

.section-heading p:last-child,
.narrow p:last-child {
  margin-top: 18px;
  font-size: 1.06rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

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

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

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: var(--card-space);
}

.product-card h3 {
  min-height: 58px;
}

.best-for {
  font-size: 0.94rem;
}

.best-for strong {
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.steps article {
  padding: var(--card-space);
  box-shadow: none;
}

.steps span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff0e2;
  color: var(--accent-dark);
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 10px;
}

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

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

.build-steps article:last-child {
  grid-column: 1 / -1;
}

.value-line,
.process-note {
  color: var(--ink);
  font-weight: 800;
}

.value-line {
  margin-top: 18px;
}

.process-note {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}

.field-grid,
.persona-grid {
  display: grid;
  gap: var(--grid-gap);
}

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

.field-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(30, 48, 28, 0.05);
}

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

.persona-grid article {
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: none;
}

.persona-grid span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff0e2;
  color: var(--accent-dark);
  font-weight: 800;
}

.persona-grid h3 {
  margin-bottom: 10px;
}

.agent-callout {
  margin-top: 18px;
  padding: 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: var(--soft);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.section-cta {
  background: #172018;
  color: white;
}

.section-cta p,
.section-cta .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.section-cta h2 {
  margin-bottom: 18px;
}

.cta-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.section-cta .button {
  margin-top: 26px;
}

.example-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.example-list li {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  color: var(--ink);
}

.section-cta .example-list li {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.split p {
  margin-bottom: 24px;
  font-size: 1.04rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 12px;
}

.page-hero {
  padding: clamp(76px, 9vw, 112px) 0 clamp(68px, 8vw, 96px);
  background: linear-gradient(180deg, #fffdfa 0%, #f8fbf5 100%);
}

.page-hero p {
  max-width: 760px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.search-panel {
  max-width: 760px;
  margin-top: 34px;
}

.search-panel label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.search-panel input {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 1rem;
}

.catalog-summary {
  margin-bottom: 28px;
}

.catalog-summary strong {
  color: var(--accent-dark);
}

.summary-detail {
  max-width: 820px;
  margin-top: 8px;
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.topic-cloud span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #405040;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.catalog-note {
  margin-top: 38px;
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.catalog-note a {
  color: var(--accent-dark);
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  padding: clamp(34px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.empty-state p {
  max-width: 560px;
  margin: 12px auto 22px;
}

.category-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #fff2e5;
  color: var(--accent-dark);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.request-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(30, 48, 28, 0.06);
  font-weight: 800;
}

.category-link-grid {
  margin: 30px 0 38px;
}

.category-link-grid a {
  color: var(--ink);
}

.category-link-grid a:hover {
  color: var(--accent-dark);
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.qa-grid-single {
  grid-template-columns: 1fr;
}

.qa-grid article {
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(30, 48, 28, 0.06);
}

.qa-grid h3 {
  margin-bottom: 10px;
}

.qa-grid a {
  color: var(--accent-dark);
}

.list-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tr:last-child td {
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--grid-gap);
  align-items: start;
}

.contact-card,
.form-card,
.policy-card {
  padding: var(--card-space);
}

.request-card {
  display: grid;
  gap: 20px;
}

.request-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.request-email-button {
  margin-top: 18px;
  width: fit-content;
}

.request-brief {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.request-brief h3 {
  margin-bottom: 14px;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
}

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

.policy-card h3 {
  margin-bottom: 12px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list-plain {
  margin-top: 0;
}

.code-card {
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.code-card p + pre,
.code-card pre + p {
  margin-top: 18px;
}

pre {
  overflow-x: auto;
  margin: 0;
  border: 1px solid rgba(23, 32, 24, 0.09);
  border-radius: 16px;
  background: #172018;
  color: #fff8ef;
  padding: 18px;
  line-height: 1.5;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92rem;
}

.agent-notes {
  margin-top: 18px;
}

.compliance-note {
  margin-top: 28px;
  text-align: center;
}

.compliance-note .button {
  margin-top: 22px;
}

.example-list-spaced,
.spaced-copy {
  margin-top: 22px;
}

.footer {
  padding: 58px 0 40px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 0%, rgba(244, 123, 32, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fff8ef 100%);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--grid-gap);
  padding-bottom: 34px;
}

.footer p {
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.footer-links a {
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 32, 24, 0.09);
}

.footer-bottom p {
  margin: 0;
  color: #546154;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .cta-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .catalog-grid,
  .featured-grid,
  .steps,
  .process-grid,
  .build-steps,
  .field-grid,
  .persona-grid,
  .policy-grid,
  .request-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    max-width: 620px;
  }
}

@media (max-width: 1120px) and (min-width: 761px) {
  .nav-menu {
    gap: 12px;
    font-size: 0.86rem;
  }

  .button-small {
    padding-inline: 12px;
  }
}

@media (max-width: 760px) {
  .container {
    padding-inline: 20px;
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .hero,
  .section,
  .page-hero {
    padding: 58px 0;
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

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

  .button {
    width: 100%;
  }

  .request-email-button {
    width: 100%;
  }

  .product-grid,
  .catalog-grid,
  .featured-grid,
  .steps,
  .process-grid,
  .build-steps,
  .field-grid,
  .persona-grid,
  .policy-grid,
  .qa-grid,
  .request-grid {
    grid-template-columns: 1fr;
  }

  .product-card h3 {
    min-height: 0;
  }

  .build-steps article:last-child {
    grid-column: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .data-carousel {
    height: 304px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    animation: none;
  }
}
