:root {
  --bg: #f7f4ed;
  --bg-2: #ebe6da;
  --ink: #101213;
  --muted: #5d625f;
  --line: rgba(16, 18, 19, 0.12);
  --card: #fffdf8;

  --brand-blue: #38b6ff;
  --brand-blue-dark: #0874b8;
  --brand-blue-soft: rgba(56, 182, 255, 0.16);

  --brand-green: #78c800;
  --brand-green-dark: #4d8200;
  --brand-green-soft: rgba(120, 200, 0, 0.16);

  --brand-red: #ff1010;
  --brand-red-dark: #b90000;
  --brand-red-soft: rgba(255, 16, 16, 0.12);

  --accent: var(--brand-blue);
  --accent-2: var(--brand-blue-dark);

  --dark: #101213;
  --dark-2: #181b1c;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(16, 18, 19, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-200%);
  background: var(--brand-blue);
  color: #071014;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(247, 244, 237, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(247, 244, 237, 0.94);
}

.nav-shell {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #000000;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.36);
  box-shadow: 8px 8px 0 rgba(16, 18, 19, 0.12);
}

.brand-text {
  font-size: 1.15rem;
}

.brand-logo span {
  display: inline-block;
}

.logo-blue {
  color: var(--brand-blue);
}

.logo-green {
  color: var(--brand-green);
}

.logo-red {
  color: var(--brand-red);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(16, 18, 19, 0.06);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: var(--brand-blue);
  color: #071014;
  padding-inline: 18px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--brand-green);
  color: #071014;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -220px -180px auto auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 182, 255, 0.34), rgba(56, 182, 255, 0));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(120, 200, 0, 0.18), rgba(120, 200, 0, 0));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  /* letter-spacing: -0.085em; */
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

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

.hero-subtitle {
  max-width: 680px;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 34px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-blue);
  color: #071014;
  box-shadow: 0 12px 30px rgba(56, 182, 255, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-green);
  color: #071014;
}

.btn-secondary {
  background: rgba(16, 18, 19, 0.06);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(56, 182, 255, 0.38);
  box-shadow: 0 0 0 4px var(--brand-blue-soft);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-proof span,
.offer-list span,
.industry-cloud span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-proof span::before,
.offer-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px var(--brand-blue-soft);
}

.hero-proof span:nth-child(2)::before,
.offer-list span:nth-child(2n)::before {
  background: var(--brand-green);
  box-shadow: 0 0 0 4px var(--brand-green-soft);
}

.hero-proof span:nth-child(3)::before,
.offer-list span:nth-child(3n)::before {
  background: var(--brand-red);
  box-shadow: 0 0 0 4px var(--brand-red-soft);
}

.hero-panel {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.dot:nth-child(1) {
  background: var(--brand-blue);
}

.dot:nth-child(2) {
  background: var(--brand-green);
}

.dot:nth-child(3) {
  background: var(--brand-red);
}

.panel-top strong {
  margin-left: auto;
  font-size: 0.82rem;
}

.workflow-card,
.metric-card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.workflow-card {
  padding: 22px;
}

.workflow-card h2 {
  margin: 8px 0 0;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.055em;
}

.card-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.workflow-card.alert {
  border-color: rgba(255, 16, 16, 0.32);
  background: linear-gradient(145deg, rgba(255, 16, 16, 0.18), rgba(255, 255, 255, 0.03));
}

.workflow-card.success {
  border-color: rgba(120, 200, 0, 0.34);
  background: linear-gradient(145deg, rgba(120, 200, 0, 0.20), rgba(255, 255, 255, 0.04));
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}

.metric-card {
  padding: 18px;
}

.metric-card span {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  color: var(--brand-blue);
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.metric-card:nth-child(1) strong {
  color: var(--brand-red);
}

.metric-card:nth-child(2) strong {
  color: var(--brand-green);
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 18px 1fr;
  align-items: center;
  gap: 8px;
  margin: 18px 0;
}

.pipeline div {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(56, 182, 255, 0.28);
  border-radius: 18px;
  background: rgba(56, 182, 255, 0.10);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.pipeline div:nth-child(3) {
  border-color: rgba(120, 200, 0, 0.30);
  background: rgba(120, 200, 0, 0.11);
}

.pipeline div:nth-child(5) {
  border-color: rgba(255, 16, 16, 0.24);
  background: rgba(255, 16, 16, 0.08);
}

.pipeline span {
  height: 2px;
  background: rgba(56, 182, 255, 0.45);
}

.pipeline span:nth-child(4) {
  background: rgba(120, 200, 0, 0.45);
}

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.problem-section,
.process-section,
.faq-section {
  background: var(--bg-2);
}

.section-copy h2,
.section-heading h2 {
  max-width: 860px;
}

.section-copy p,
.section-heading p {
  max-width: 720px;
  font-size: 1.05rem;
}

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

.pain-list div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(16, 18, 19, 0.04);
}

.pain-list div:nth-child(1),
.pain-list div:nth-child(3),
.pain-list div:nth-child(6) {
  border-color: rgba(255, 16, 16, 0.18);
}

.section-heading {
  margin-bottom: 42px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.demo-card,
.price-card,
.timeline-item,
.proof-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(16, 18, 19, 0.06);
}

.service-card {
  padding: 28px;
}

.service-card p,
.demo-card p,
.price-card p,
.timeline-item p {
  margin-bottom: 0;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--brand-blue);
  color: #071014;
  font-weight: 900;
}

.service-card:nth-child(3n + 2) .card-icon {
  background: var(--brand-green);
}

.service-card:nth-child(3n) .card-icon {
  background: var(--brand-red);
  color: #ffffff;
}

.offer-section {
  padding-block: 0;
}

.offer-card,
.why-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 44px;
  border-radius: 34px;
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.offer-card p,
.why-card p {
  color: rgba(255, 255, 255, 0.72);
}

.offer-card h2,
.why-card h2 {
  color: var(--white);
}

.offer-card .eyebrow,
.why-card .eyebrow {
  color: var(--brand-green);
}

.offer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.offer-list span {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
}

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

.demo-card {
  padding: 20px;
}

.demo-card h3,
.demo-card p,
.demo-card a {
  margin-inline: 8px;
}

.demo-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand-blue-dark);
  font-weight: 900;
}

.demo-screen {
  min-height: 190px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(56, 182, 255, 0.20), rgba(16, 18, 19, 0.02)),
    #f1eee5;
  border: 1px solid var(--line);
}

.demo-card:nth-child(2) .demo-screen {
  background:
    linear-gradient(140deg, rgba(120, 200, 0, 0.20), rgba(16, 18, 19, 0.02)),
    #f1eee5;
}

.demo-card:nth-child(3) .demo-screen,
.demo-screen.portal {
  background:
    linear-gradient(140deg, rgba(255, 16, 16, 0.12), rgba(16, 18, 19, 0.02)),
    #f1eee5;
}

.demo-row,
.demo-total {
  height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(16, 18, 19, 0.13);
}

.demo-row.active {
  background: var(--dark);
}

.demo-row.short {
  width: 62%;
}

.demo-total {
  width: 42%;
  height: 46px;
  margin: 44px 0 0 auto;
  background: var(--brand-green);
}

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

.timeline-item {
  padding: 26px;
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #071014;
  font-weight: 900;
}

.timeline-item:nth-child(3n + 2) span {
  background: var(--brand-green);
}

.timeline-item:nth-child(3n) span {
  background: var(--brand-red);
  color: #ffffff;
}

.industry-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.why-section {
  padding-top: 0;
}

.why-card {
  align-items: center;
}

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

.price-card {
  position: relative;
  padding: 26px;
  min-height: 250px;
}

.price-card.featured {
  background:
    radial-gradient(circle at top right, rgba(56, 182, 255, 0.20), transparent 38%),
    var(--dark);
  border-color: rgba(56, 182, 255, 0.36);
  color: var(--white);
  transform: translateY(-10px);
}

.price-card.featured p {
  color: rgba(255, 255, 255, 0.7);
}

.price {
  margin: 16px 0;
  color: var(--ink);
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.featured .price {
  color: var(--brand-blue);
}

.badge {
  display: inline-flex;
  padding: 7px 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--brand-green-soft);
  color: var(--brand-green) !important;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.payment-note {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  color: var(--muted);
}

.payment-note strong {
  color: var(--ink);
}

.proof-section {
  padding-top: 0;
}

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

.proof-item {
  padding: 22px;
}

.proof-item strong {
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.proof-item span {
  color: var(--muted);
  font-weight: 700;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
}

summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  font-weight: 900;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  color: var(--brand-blue-dark);
}

details[open] summary::after {
  content: "–";
}

details p {
  padding: 0 22px 22px;
  margin: 0;
}

.final-cta {
  background: var(--dark);
  color: var(--white);
}

.final-cta p,
.final-cta li {
  color: rgba(255, 255, 255, 0.72);
}

.final-cta .eyebrow {
  color: var(--brand-green);
}

.audit-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}

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

.audit-bullets li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.audit-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-green);
}

.audit-bullets li:nth-child(2)::before {
  background: var(--brand-blue);
}

.audit-bullets li:nth-child(3)::before {
  background: var(--brand-red);
}

.audit-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 32px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-required-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.form-required-note span,
.form-row label span {
  color: var(--brand-red);
}

.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row select:required:invalid {
  color: var(--muted);
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px var(--brand-blue-soft);
}

.form-row input:invalid:focus,
.form-row textarea:invalid:focus,
.form-row select:invalid:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px var(--brand-red-soft);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  border: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer {
  padding: 56px 0 24px;
  background: #070808;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr;
  gap: 32px;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid strong {
  display: block;
  margin-bottom: 12px;
}

.footer-grid > div:not(:first-child) a,
.footer-grid > div:not(:first-child) span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .brand-mark {
  background: #000000;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.36);
  box-shadow: none;
}

.footer-brand .brand-logo span {
  display: inline-block;
  margin: 0;
}

.copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.legal-page {
  min-height: 100vh;
  padding: 48px 0 96px;
  background: var(--bg);
}

.legal-card {
  max-width: 880px;
  margin-top: 48px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.legal-card h2 {
  margin-top: 36px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.legal-card a {
  color: var(--brand-blue-dark);
  font-weight: 900;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 76px 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 16px auto 16px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--card);
    box-shadow: var(--shadow);
    transform-origin: top right;
    transform: scale(0.96) translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-open .site-nav {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .site-nav .nav-cta {
    margin: 8px 0 0;
    justify-content: center;
  }

  .hero-grid,
  .two-col,
  .offer-card,
  .why-card,
  .audit-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

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

  .services-grid,
  .demo-grid,
  .timeline,
  .pricing-grid,
  .proof-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card.featured {
    transform: none;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .hero-actions {
    align-items: stretch;
  }

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

  .hero-proof span,
  .offer-list span,
  .industry-cloud span {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-panel,
  .offer-card,
  .why-card,
  .audit-form {
    border-radius: 24px;
  }

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

  .pipeline span {
    width: 2px;
    height: 14px;
    margin-inline: auto;
  }

  .mini-grid,
  .services-grid,
  .demo-grid,
  .timeline,
  .pricing-grid,
  .proof-grid,
  .footer-grid,
  .form-pair {
    grid-template-columns: 1fr;
  }

  .offer-card,
  .why-card {
    padding: 28px;
  }

  .audit-form {
    padding: 20px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .legal-card {
    padding: 24px;
    border-radius: 24px;
  }
}
