/* styles-2.css */
@font-face {
  font-family: "Figtree";
  src: url('/uploads/crit/81f3fc9d8d4e307e5ae0-figtree-400.ttf') format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url('/uploads/crit/f8a90c01bc4c31aa84be-figtree-500.ttf') format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url('/uploads/crit/b5d3fe714f8283b07257-figtree-600.ttf') format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url('/uploads/crit/26ad3db9b31ff7dde67a-figtree-700.ttf') format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url('/uploads/crit/1b08e7fc267a5c7e1d61-inter-400.ttf') format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url('/uploads/crit/8c883f63b2c4157d9973-inter-500.ttf') format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url('/uploads/crit/e7a1aaf7eda9f2fad413-inter-600.ttf') format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #141210;
  --black-70: rgba(20, 18, 16, 0.7);
  --black-56: rgba(20, 18, 16, 0.56);
  --cream: #f6f2ec;
  --accent: #efe9e2;
  --grey: #e9e3dc;
  --orange: #de2e11;
  --green: #2b7f53;
  --line: rgba(20, 18, 16, 0.1);
  color: var(--black);
  background: var(--cream);
  font-family: "Figtree", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.site-shell {
  min-height: 100vh;
  background: var(--cream);
}

.page-width {
  width: calc(100% - 128px);
  max-width: 1072px;
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  overflow: hidden;
  background: rgba(246, 242, 236, 0.94);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.header-inner {
  width: calc(100% - 40px);
  max-width: 1075px;
  height: 70px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: "Figtree", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.desktop-nav > a:not(.demo-button) {
  transition: color 400ms cubic-bezier(0.44, 0, 0.56, 1);
}

.desktop-nav > a:not(.demo-button):hover {
  color: var(--black-70);
}

.demo-button {
  width: max-content;
  height: 50px;
  padding: 0 12px 0 24px;
  border-radius: 65px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  color: var(--cream);
  background: var(--orange);
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition:
    background-color 400ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-button:hover {
  background: var(--black);
}

.demo-button:active {
  transform: scale(0.98);
}

.demo-button:focus-visible,
.flow-tabs button:focus-visible,
.faq-question:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.demo-button-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: block;
  background-color: var(--cream);
  background-image: url('/uploads/crit/6def52a329c576364d5f-arrow-right-orange.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  border-radius: 50%;
}

.header-cta,
.mobile-menu-cta {
  height: auto;
  min-height: 34px;
  padding: 10px 16px;
  border-radius: 8px;
  gap: 0;
  font-size: 12px;
  line-height: 1.2;
}

.header-cta .demo-button-icon,
.mobile-menu-cta .demo-button-icon {
  display: none;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.tag {
  width: max-content;
  height: 33px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black-70);
  background: rgba(222, 46, 17, 0.08);
  border: 1px solid rgba(222, 46, 17, 0.22);
  border-radius: 40px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.tag-light {
  color: rgba(246, 242, 236, 0.92);
  background: rgba(246, 242, 236, 0.14);
  border-color: rgba(246, 242, 236, 0.26);
}

.hero {
  height: 1142px;
  padding: 140px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  background: var(--cream);
}

.hero-copy {
  display: grid;
  grid-template-columns: 693px 379px;
  grid-template-rows: 33px 141px 50px;
  row-gap: 24px;
  position: relative;
}

.hero-copy .tag {
  width: 259px;
  grid-column: 1 / -1;
}

.hero-tag-brand {
  color: var(--orange);
}

.hero h1,
.flow-heading h2,
.evidence-heading h2,
.capability-card h3,
.flow-copy h3 {
  font-family: "Figtree", sans-serif;
  font-weight: 500;
}

.hero h1 {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  width: 693px;
  font-size: 64px;
  letter-spacing: -0.06em;
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

.hero-lede {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  width: 379px;
  color: var(--black);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero-action {
  grid-column: 1 / -1;
  grid-row: 3;
}

.hero-visual {
  height: 610px;
  flex: 0 0 610px;
  overflow: hidden;
  border: 1px solid rgba(239, 43, 10, 0.16);
  border-radius: 24px;
  background: var(--accent);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.flow-section {
  height: 873px;
  padding: 96px 0 104px;
  overflow: hidden;
  color: var(--black);
  background: var(--orange);
  border: 1px solid rgba(20, 18, 16, 0.1);
  scroll-margin-top: 30px;
}

.flow-inner {
  max-width: 950px;
}

.flow-heading {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.flow-heading .tag {
  width: 98px;
  margin-inline: auto;
  padding-inline: 14px;
}

.flow-heading h2 {
  margin-top: 18px;
  font-size: 48px;
  letter-spacing: -0.05em;
  line-height: 1.1;
  text-wrap: balance;
}

.flow-heading p {
  margin-top: 18px;
  color: rgba(246, 242, 236, 0.92);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.flow-tabs {
  width: 100%;
  margin: 48px auto 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.flow-tabs button {
  width: auto;
  min-width: 0;
  min-height: 41px;
  padding: 12px 24px;
  border: 0;
  border-radius: 40px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  color: var(--black-70);
  background: var(--cream);
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  cursor: pointer;
  transition:
    color 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flow-tabs button:hover {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.24);
}

.flow-tabs button:active {
  transform: scale(0.98);
}

.flow-tabs button[aria-selected="true"] {
  color: var(--cream);
  background: var(--black);
}

.flow-card {
  min-height: 411px;
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  background: var(--accent);
}

.flow-image-frame {
  width: 100%;
  height: 315px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(246, 242, 236, 0.45);
  animation: flow-image-in 500ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.flow-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.4);
}

.flow-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: flow-copy-in 500ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.flow-copy > span {
  color: var(--black-70);
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.flow-copy h3 {
  font-size: 28px;
  letter-spacing: -0.05em;
  line-height: 1.2;
  text-wrap: balance;
}

.flow-copy p {
  color: var(--black-70);
  font-family: "Figtree", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

@keyframes flow-image-in {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
}

@keyframes flow-copy-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
}

.evidence-section {
  height: 1730px;
  padding: 80px 0;
  overflow: hidden;
  background: var(--cream);
}

.evidence-heading {
  max-width: 900px;
  text-align: center;
}

.evidence-heading > span {
  color: var(--orange);
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.evidence-heading h2 {
  margin-top: 18px;
  font-size: 48px;
  letter-spacing: -0.05em;
  line-height: 1.1;
  text-wrap: balance;
}

.evidence-heading p {
  margin-top: 18px;
  color: var(--black-70);
  font-family: "Figtree", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
  text-wrap: balance;
}

.evidence-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px 48px;
  align-items: center;
}

.evidence-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-family: "Inter", sans-serif;
}

.evidence-copy h3,
.evidence-copy p,
.evidence-copy li {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.evidence-copy h3 {
  width: 100%;
  max-width: 360px;
}

.evidence-copy ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.evidence-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  background-color: var(--black);
  background-image: url('/uploads/crit/52654dcd51f0426a140a-check-white.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px 11px;
  border-radius: 50%;
}

.evidence-visual {
  --screen-wash: transparent;
  width: 100%;
  height: 400px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
}

.evidence-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.evidence-visual::after {
  z-index: 1;
  inset: 0;
  background: var(--screen-wash);
}

.evidence-overview {
  --screen-wash:
    radial-gradient(ellipse at 18% 12%, rgba(255, 255, 255, 0.82), transparent 44%),
    radial-gradient(ellipse at 92% 96%, rgba(222, 46, 17, 0.15), transparent 52%),
    linear-gradient(145deg, rgba(222, 46, 17, 0.1) 0%, rgba(246, 242, 236, 0.94) 100%);
  background: #f2dfd8;
}

.evidence-notification {
  --screen-wash:
    radial-gradient(ellipse at 18% 8%, rgba(20, 18, 16, 0.13), transparent 46%),
    radial-gradient(ellipse at 76% 92%, rgba(222, 46, 17, 0.22), transparent 50%),
    linear-gradient(145deg, rgba(20, 18, 16, 0.06) 0%, rgba(222, 46, 17, 0.14) 100%);
  background: #e8d8d2;
}

.evidence-detail {
  --screen-wash:
    radial-gradient(ellipse at 6% 6%, rgba(222, 46, 17, 0.14), transparent 42%),
    radial-gradient(ellipse at 84% 18%, rgba(255, 255, 255, 0.76), transparent 44%),
    linear-gradient(145deg, rgba(222, 46, 17, 0.12) 0%, rgba(246, 242, 236, 0.94) 100%);
  background: #f1ddd5;
}

.phone-mockup {
  --scroll-shift-y: 0px;
  width: 364px;
  height: 753px;
  position: absolute;
  display: block;
  translate: 0 var(--scroll-shift-y);
  will-change: translate;
}

.phone-mockup-screen,
.phone-mockup-frame {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.phone-mockup-screen {
  z-index: 1;
  left: 50.18%;
  top: 49.91%;
  width: 92.307692%;
  height: calc(100% - 23px);
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
}

.phone-mockup-frame {
  z-index: 2;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  max-width: none;
}

.evidence-phone {
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
}

.evidence-overview .evidence-phone,
.evidence-detail .evidence-phone {
  top: 52px;
}

.evidence-notification .evidence-phone {
  top: -405px;
}

.capabilities-section {
  min-height: 787px;
  padding: 80px 0;
  overflow: hidden;
  background: var(--cream);
  scroll-margin-top: 30px;
}

.capabilities-intro {
  max-width: 900px;
  margin: 0 auto 48px;
  padding-inline: 86px;
  font-family: "Inter", sans-serif;
}

.capabilities-intro .tag,
.faq-intro .tag {
  height: 31px;
  margin: 0 auto 18px;
  padding: 6px 14px;
  color: var(--orange);
  background: var(--grey);
  border: 0;
}

.capabilities-intro .tag {
  width: 106px;
  display: flex;
}

.capabilities-intro p,
.faq-intro p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.capabilities-intro p + p,
.faq-intro p + p {
  margin-top: 18px;
}

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

.capability-card {
  min-height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--accent);
}

.capability-card > span {
  width: 100%;
  color: var(--orange);
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.capability-card h3 {
  width: 100%;
  font-size: 28px;
  letter-spacing: -0.05em;
  line-height: 1.2;
  text-align: left;
  text-wrap: balance;
}

.capability-card p {
  width: 100%;
  color: var(--black-70);
  font-family: "Figtree", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
  text-align: left;
}

.faq-section {
  height: 656px;
  padding: 80px 0;
  overflow: hidden;
  background: var(--cream);
  scroll-margin-top: 30px;
}

.faq-section:has(.faq-item.is-open) {
  height: auto;
  min-height: 656px;
}

.faq-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.faq-intro {
  font-family: "Inter", sans-serif;
}

.faq-intro .tag {
  width: 99px;
  margin-left: 0;
}

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

.faq-item {
  overflow: hidden;
  background: var(--cream);
}

.faq-question {
  width: 100%;
  min-height: 76px;
  padding: 24px 64px 24px 24px;
  display: flex;
  align-items: center;
  color: var(--black);
  background-color: transparent;
  background-image: url('/uploads/crit/4bf968eb0f4c8187fb25-plus-black.svg');
  background-position: right 24px center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  border: 0;
  font-family: "Figtree", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.faq-item.is-open .faq-question {
  background-image: url('/uploads/crit/92dbbef481e78883f1ac-minus-black.svg');
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 64px 24px 24px;
  color: var(--black-70);
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 300ms ease,
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  opacity: 1;
  transform: translateY(0);
}

.closing-section {
  min-height: 568px;
  padding: 72px 0;
  overflow: hidden;
  background: var(--cream);
}

.closing-card {
  min-height: 424px;
  padding: 32px 40px 32px 56px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: center;
  gap: 40px;
  overflow: hidden;
  border-radius: 32px;
  color: var(--cream);
  background:
    radial-gradient(circle at 83% 18%, rgba(222, 46, 17, 0.34), transparent 33%),
    radial-gradient(circle at 72% 94%, rgba(222, 46, 17, 0.17), transparent 39%),
    linear-gradient(135deg, #171411 0%, #211815 58%, #321611 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 72px rgba(20, 18, 16, 0.12);
}

.closing-copy {
  z-index: 4;
  width: 100%;
  position: relative;
}

.closing-copy .tag {
  margin-bottom: 24px;
}

.closing-copy h2 {
  max-width: 540px;
  font-family: "Figtree", sans-serif;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.closing-copy > p {
  max-width: 500px;
  margin-top: 20px;
  color: rgba(246, 242, 236, 0.72);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

.closing-copy .demo-button {
  margin-top: 28px;
}

.closing-visual {
  --scroll-shift-y: 0px;
  z-index: 2;
  width: 100%;
  height: 360px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(246, 242, 236, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.19), transparent 34%),
    linear-gradient(160deg, rgba(222, 46, 17, 0.64), rgba(116, 24, 14, 0.76));
  translate: 0 var(--scroll-shift-y);
  will-change: translate;
}

.closing-product-shot {
  width: auto;
  max-width: none;
  height: 334px;
  position: absolute;
  left: 50%;
  bottom: 13px;
  transform: translateX(-50%) rotate(1.25deg);
  clip-path: inset(0 2.2% 0 2.2% round 21% / 14%);
  filter: drop-shadow(0 24px 24px rgba(20, 18, 16, 0.32));
}

.site-footer {
  border-top: 1px solid rgba(20, 18, 16, 0.08);
  background: var(--cream);
}

.footer-inner {
  min-height: 86px;
  padding: 34px 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--black-70);
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.footer-inner nav {
  display: flex;
  gap: 12px;
}

.footer-inner a {
  transition: color 400ms cubic-bezier(0.44, 0, 0.56, 1);
}

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

.motion-ready [data-reveal] {
  --reveal-x: 0px;
  --reveal-y: 30px;
  --reveal-duration: 700ms;
  --reveal-easing: cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
  transition:
    opacity var(--reveal-duration) var(--reveal-easing),
    transform var(--reveal-duration) var(--reveal-easing);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready.motion-booting [data-reveal] {
  transition: none !important;
}

.motion-ready [data-reveal="left"],
.motion-ready [data-reveal="right"] {
  --reveal-duration: 1200ms;
  --reveal-easing: cubic-bezier(0.15, 0.85, 0.2, 1);
}

.motion-ready [data-reveal="left"] {
  --reveal-x: -148px;
  --reveal-y: 0px;
}

.motion-ready [data-reveal="right"] {
  --reveal-x: 148px;
  --reveal-y: 0px;
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (max-width: 1199px) {
  .page-width {
    width: calc(100% - 64px);
    max-width: none;
  }

  .hero {
    height: 1012px;
    padding: 128px 0 64px;
    gap: 40px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    width: 100%;
    margin-top: 0;
    font-size: 58px;
    line-height: 1.1;
  }

  .hero-lede {
    width: 100%;
    max-width: 690px;
    margin-top: -6px;
    text-align: center;
  }

  .hero-action {
    margin-top: 0;
  }

  .hero-visual {
    height: 465px;
    flex-basis: 465px;
  }

  .flow-section {
    height: 849px;
    padding: 80px 0 88px;
  }

  .flow-inner {
    width: calc(100% - 64px);
    max-width: none;
  }

  .flow-heading h2,
  .evidence-heading h2 {
    font-size: 38px;
  }

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

  .evidence-section {
    height: 2291px;
  }

  .evidence-heading {
    max-width: none;
  }

  .evidence-grid {
    margin-top: 80px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .evidence-grid > :nth-child(2) {
    margin-top: 48px;
  }

  .evidence-grid > :nth-child(3) {
    margin-top: 80px;
  }

  .evidence-grid > :nth-child(4) {
    margin-top: 48px;
  }

  .evidence-grid > :nth-child(5) {
    margin-top: 80px;
  }

  .evidence-grid > :nth-child(6) {
    margin-top: 48px;
  }

  .capabilities-section {
    min-height: 1029px;
  }

  .capabilities-intro {
    padding: 0;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .faq-section {
    height: 809px;
  }

  .faq-section:has(.faq-item.is-open) {
    height: auto;
    min-height: 809px;
  }

  .faq-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .faq-intro {
    width: 100%;
    max-width: 650px;
    text-align: center;
  }

  .faq-intro .tag {
    margin-inline: auto;
  }

  .faq-list {
    width: 100%;
  }

  .closing-section {
    min-height: 552px;
    padding: 64px 0;
  }

  .closing-card {
    min-height: 424px;
    padding: 32px 32px 32px 40px;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
    gap: 28px;
  }

  .closing-copy h2 {
    font-size: 40px;
  }

  .closing-visual {
    height: 360px;
  }
}

@media (max-width: 809px) {
  .page-width {
    width: calc(100% - 48px);
  }

  .header-inner,
  .hero .page-width,
  .flow-inner {
    width: calc(100% - 40px);
  }

  .site-header,
  .header-inner {
    height: 65px;
  }

  .site-header {
    overflow: hidden;
    transition: height 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .site-header.menu-open {
    position: fixed;
    height: 246px;
    background: var(--cream);
    box-shadow: 0 0.5px 5px rgba(0, 0, 0, 0.15);
  }

  .wordmark {
    font-size: 24px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    width: 20px;
    height: 20px;
    padding: 0;
    display: block;
    background-color: transparent;
    background-image: url('/uploads/crit/7ea165a1fa5816ccd8c2-menu-black.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    border: 0;
    cursor: pointer;
  }

  .site-header.menu-open .menu-toggle {
    background-image: url('/uploads/crit/d5e0e432b1f995d6cb20-x-black.svg');
  }

  .mobile-menu {
    height: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
    transition:
      height 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 240ms ease;
  }

  .menu-open .mobile-menu {
    height: 181px;
    opacity: 1;
  }

  .mobile-menu nav {
    height: 181px;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    font-family: "Figtree", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .mobile-menu-cta {
    width: 100%;
    margin-top: 2px;
  }

  .hero {
    height: 868px;
    padding: 112px 0 52px;
    gap: 32px;
  }

  .hero-copy {
    align-items: flex-start;
    text-align: left;
  }

  .hero-copy .tag {
    width: 259px;
  }

  .hero h1 {
    margin-top: 0;
    font-size: 36px;
    line-height: 1.1;
    text-align: left;
  }

  .hero-lede {
    max-width: none;
    margin-top: -8px;
    text-align: left;
  }

  .hero-action {
    margin-top: -2px;
  }

  .hero-visual {
    height: 390px;
    flex-basis: 390px;
    border-radius: 24px;
  }

  .flow-section {
    height: 1024px;
    padding: 72px 0 80px;
  }

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

  .flow-heading .tag {
    margin-left: 0;
  }

  .flow-heading h2,
  .evidence-heading h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .flow-heading p {
    line-height: 1.2;
  }

  .flow-tabs {
    margin: 36px auto 32px;
  }

  .flow-tabs button {
    padding-inline: 24px;
  }

  .flow-card {
    min-height: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    border-radius: 18px;
  }

  .flow-image-frame {
    height: 235px;
    border-radius: 18px;
  }

  .flow-copy {
    gap: 12px;
  }

  .flow-copy h3 {
    font-size: 24px;
  }

  .flow-copy p {
    font-size: 18px;
    line-height: 1.5;
  }

  .evidence-section {
    height: 2085px;
    padding: 64px 0;
  }

  .evidence-heading p {
    font-size: 18px;
    line-height: 1.5;
  }

  .evidence-grid {
    margin-top: 61px;
  }

  .evidence-grid > :nth-child(2) {
    margin-top: 46px;
  }

  .evidence-grid > :nth-child(3) {
    margin-top: 65px;
  }

  .evidence-grid > :nth-child(4) {
    margin-top: 48px;
  }

  .evidence-grid > :nth-child(5) {
    margin-top: 64px;
  }

  .evidence-grid > :nth-child(6) {
    margin-top: 48px;
  }

  .evidence-visual {
    height: 314px;
  }

  .evidence-phone {
    width: 273px;
    height: 563px;
  }

  .evidence-phone .phone-mockup-screen {
    height: calc(100% - 15px);
  }

  .evidence-overview .evidence-phone,
  .evidence-detail .evidence-phone {
    top: 56px;
  }

  .evidence-notification .evidence-phone {
    top: -305px;
  }

  .capabilities-section {
    min-height: 1691px;
    padding: 64px 0;
  }

  .capabilities-intro {
    margin-bottom: 48px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .capability-card {
    min-height: 220px;
  }

  .capability-card h3 {
    font-size: 24px;
  }

  .faq-section {
    height: 953px;
    padding: 64px 0;
  }

  .faq-section:has(.faq-item.is-open) {
    height: auto;
    min-height: 953px;
  }

  .faq-inner {
    gap: 48px;
  }

  .faq-question {
    min-height: 102px;
  }

  .closing-section {
    min-height: 552px;
    padding: 64px 0;
  }

  .closing-card {
    min-height: 424px;
    padding: 32px 28px 32px 36px;
    grid-template-columns: minmax(0, 1.08fr) minmax(244px, 0.92fr);
    gap: 24px;
  }

  .closing-copy .tag {
    margin-bottom: 18px;
  }

  .closing-copy h2 {
    font-size: 36px;
  }

  .closing-copy > p {
    margin-top: 16px;
    font-size: 15px;
  }

  .footer-inner {
    min-height: 94px;
    padding: 32px 0;
  }
}

@media (max-width: 640px) {
  .closing-section {
    min-height: 0;
    padding: 48px 0;
  }

  .closing-card {
    min-height: 650px;
    padding: 36px 24px 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(300px, 1fr);
    align-items: start;
    gap: 26px;
    border-radius: 24px;
  }

  .closing-copy h2 {
    font-size: 36px;
  }

  .closing-copy > p {
    font-size: 16px;
  }

  .closing-visual {
    width: calc(100% + 48px);
    height: 330px;
    margin-left: -24px;
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .closing-product-shot {
    height: 310px;
    bottom: 10px;
  }

  .footer-inner {
    min-height: 126px;
    padding: 32px 0 34px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  [data-scroll-shift] {
    translate: 0 0;
  }
}
