:root {
  --bg: #ffffff;
  --bg-soft: #fafcfe;
  --bg-card: #eff4fb;
  --text: #000000;
  --text-soft: #000000;
  --line: #a8d9ff;
  --primary: rgb(0, 82, 255);
  --primary-dark: rgb(0, 56, 190);
  --shadow-soft: 0 22px 60px rgba(0, 52, 92, 0.08);
  --shadow-pill: 0 3px 0.1px rgba(0, 82, 255, 0.15);
  --radius-sm: 14px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shell: 1300px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.modal-open {
  overflow: hidden;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.shell {
  width: min(calc(100% - 120px), var(--shell));
  margin: 0 auto;
}

.about-page {
  overflow: clip;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--bg-soft) 0%, rgba(171, 171, 171, 0) 100%);
  border-bottom: 0;
  pointer-events: none;
}

.header-inner {
  min-height: 0;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  pointer-events: auto;
}

.brand img {
  width: 111px;
  height: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min-content;
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  height: 22px;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  color: var(--text);
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav .is-active {
  color: var(--text);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  transform: translateY(-1px);
}

.header-cta {
  flex: none;
  box-shadow: none;
}

.hero-section,
.story-section,
.values-section,
.team-section,
.cta-section {
  position: relative;
}

.hero-section {
  min-height: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero-section::before,
.hero-section::after {
  height: 121px;
}

.hero-section::before {
  top: 0;
  z-index: 1;
  background: transparent;
}

.hero-section::after {
  bottom: 0;
  z-index: 1;
  background: transparent;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 0;
  padding: 80px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.hero-copy {
  max-width: 920px;
}

.hero-keys {
  width: min(160px, 42vw);
  height: min(160px, 42vw);
  margin-bottom: 2px;
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: fit-content;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background:
    url("./assets/page3/pill-bg.png")
    center/cover no-repeat;
  color: var(--text);
  box-shadow: var(--shadow-pill);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 100%;
  margin-top: 8px;
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.14;
}

h2 {
  font-family: "Unbounded", "Inter", sans-serif;
}

.hero-copy p,
.section-heading p,
.value-card p,
.team-body p,
.stat-card p,
.cta-copy p {
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.hero-copy p {
  max-width: 656px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 30px;
}

.hero-copy + .cta-button {
  margin-top: 10px;
}

.hero-bullets,
.problem-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  width: min(100%, 860px);
  margin-top: 28px;
}

.hero-bullets li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
}

.hero-bullets img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 56px;
  min-height: 0;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  border: 0;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0, 82, 255, 0.18);
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.cta-button > span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  white-space: nowrap;
}

.cta-button.header-cta {
  height: 44px;
  padding: 12px 22px;
  font-size: 13px;
}

.stats-section {
  padding: 0 0 40px;
  background: var(--bg-soft);
}

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

.stat-card,
.value-card,
.team-body,
.founders-meta {
  border: 1px solid var(--line);
  background: var(--bg);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.stat-icon,
.value-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: transparent;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
}

.stat-card h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.stat-card p {
  margin-top: -6px;
  color: var(--text-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.story-section,
.values-section,
.team-section,
.cta-section {
  padding: 96px 0;
}

.story-grid,
.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.story-orbit,
.values-orbit,
.team-orbit {
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(168, 217, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
  animation: orbit-drift 14s var(--ease) infinite alternate;
}

.story-orbit {
  top: 18%;
  left: -180px;
  transform: rotate(-69deg);
}

.values-orbit {
  top: 10%;
  right: -180px;
  transform: rotate(24deg);
}

.team-orbit {
  top: 6%;
  left: -150px;
}

.section-heading {
  max-width: 760px;
}

.section-heading-centered {
  text-align: left;
  margin: 0 0 44px;
}

.section-heading h1,
.section-heading h2 {
  margin-top: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.04;
}

.section-heading p {
  margin-top: 18px;
}

.section-button {
  margin-top: 28px;
}

.problem-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.problem-list li {
  position: relative;
  padding: 18px 22px;
  border: 1px solid rgba(168, 217, 255, 0.9);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: var(--shadow-soft);
}

.founders-card {
  display: grid;
  gap: 0;
}

.founders-image,
.values-image {
  min-height: 370px;
  border-radius: var(--radius-sm);
  background-position: center;
  background-size: cover;
}

.founders-image {
  background-image: url("./assets/page3/aps-phone-optimized.jpg");
}

.values-image {
  min-height: 480px;
  background-image: url("./assets/page3/values.png");
}

.founders-meta {
  margin-top: 14px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.founders-meta strong {
  display: block;
  font-size: 1rem;
  font-weight: 400;
}

.founders-meta span {
  display: inline-block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#problems {
  padding: 72px 0 96px;
}

#problems .story-orbit {
  display: none;
}

#problems .story-grid {
  display: block;
  padding: 76px 64px 0;
  border-radius: 42px;
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 82, 255, 0.16);
}

#problems .section-heading {
  max-width: 900px;
  margin: 0 auto;
}

#problems .section-heading h1 {
  color: #fff;
  text-align: center;
}

#problems .problem-list {
  max-width: 760px;
  margin: 34px auto 0;
  gap: 14px;
}

#problems .problem-list li {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

#problems .section-button {
  margin-top: 34px;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

#problems .section-button:hover,
#problems .section-button:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.problems-visual-slot {
  width: min(760px, 88vw);
  height: 320px;
  margin: 56px auto 0;
  background:
    url("./assets/page3/phone-pains.png")
    center bottom / contain no-repeat;
}

.values-layout {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 26px;
  align-items: start;
}

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

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

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

.benefits-grid .value-card {
  grid-column: span 2;
}

.benefits-grid .value-card:nth-last-child(2):nth-child(3n + 1),
.benefits-grid .value-card:nth-last-child(2):nth-child(3n + 1) ~ .value-card {
  grid-column: span 3;
}

.benefits-grid .value-card:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
}

.value-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: var(--shadow-soft);
}

#benefits .section-heading-centered {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

#reviews .section-heading {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

#benefits .value-card {
  border: 0;
  box-shadow: 0 18px 38px rgba(0, 82, 255, 0.12);
}

#benefits .value-icon {
  background: rgba(0, 82, 255, 0.08);
}

#benefits .value-icon img {
  filter: none;
}

#benefits .value-card h3 {
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
}

#benefits .value-card p {
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.value-card h3 {
  margin-top: 4px;
  font-size: 1.35rem;
  line-height: 1.08;
}

.process-grid .value-card h3 {
  margin-top: 22px;
}

.value-card p {
  margin-top: 12px;
  font-size: 0.98rem;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

#process {
  text-align: center;
}

#process .values-orbit {
  display: none;
}

#process .section-heading-centered {
  max-width: 860px;
  margin: 0 auto 58px;
  text-align: center;
}

#process .process-grid {
  grid-template-columns: 1fr;
  gap: 64px;
  max-width: 780px;
  margin: 0 auto;
}

#process .value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

#process .step-index {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

#process .value-card h3,
#process .process-grid .value-card h3 {
  max-width: 720px;
  margin-top: 22px;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
}

#process .value-card p {
  max-width: 760px;
  margin-top: 14px;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

#process .center-action {
  margin-top: 60px;
}

#projects .section-heading-centered {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  
  border-radius: var(--radius-sm);
  background: var(--bg);
  box-shadow: 0 18px 38px rgba(0, 82, 255, 0.12);
}

.project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}

.project-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.project-card h3 {
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
}

.project-card p {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.project-card strong {
  margin-top: 22px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.project-card strong span {
  color: #099c4a;
  white-space: nowrap;
}

#projects .center-action {
  margin-top: 36px;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.team-body {
  margin-top: 14px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.team-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.team-head a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid rgba(168, 217, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.35rem;
  line-height: 1;
}

.team-role {
  margin-top: 6px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-body > p {
  margin-top: 18px;
  font-size: 0.98rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.video-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 320px;
  align-items: flex-end;
  padding: 24px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(0, 52, 92, 0.05), rgba(0, 52, 92, 0.28)),
    url("./assets/page3/team-discussion.png") center/cover no-repeat;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 24px 60px rgba(0, 52, 92, 0.16);
  outline: none;
}

.video-card:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(0, 52, 92, 0.05), rgba(0, 52, 92, 0.28)),
    url("./assets/page3/team-1.png");
}

.video-card:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(0, 52, 92, 0.05), rgba(0, 52, 92, 0.28)),
    url("./assets/page3/team-2.png");
}

.video-card p {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.play-mark {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary);
}

.play-mark::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.video-modal,
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}

.video-modal.is-open,
.lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal__backdrop,
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 52, 92, 0.58);
  backdrop-filter: blur(10px);
}

.video-modal__dialog,
.lead-modal__dialog {
  position: relative;
  width: min(100%, 980px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  box-shadow: 0 30px 90px rgba(0, 52, 92, 0.28);
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms var(--ease);
}

.video-modal.is-open .video-modal__dialog,
.lead-modal.is-open .lead-modal__dialog {
  transform: translateY(0) scale(1);
}

.video-modal__close,
.lead-modal__close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0, 82, 255, 0.22);
}

.video-modal__close::before,
.video-modal__close::after,
.lead-modal__close::before,
.lead-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.video-modal__close::before,
.lead-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.video-modal__close::after,
.lead-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lead-modal__dialog {
  width: min(100%, 620px);
  border: 0;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 82, 255, 0.24);
}

.lead-modal__content {
  padding: 52px;
  text-align: center;
}

.lead-modal__content h2 {
  max-width: 520px;
  margin: 0 auto;
  color: #000;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.08;
}

.lead-modal__content p {
  max-width: 430px;
  margin: 18px auto 0;
  color: #000;
  font-size: 16px;
  line-height: 1.45;
}

.video-modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: var(--text);
}

.video-modal__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.cta-grid {
  display: block;
  padding: 76px 64px;
  border-radius: 42px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 82, 255, 0.16);
}

.cta-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}

.cta-copy h1,
.cta-copy h2 {
  margin-top: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.04;
  color: #fff;
  text-align: center;
}

.cta-copy p {
  max-width: 560px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

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

.lead-form {
  width: min(100%, 720px);
  margin: 36px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.lead-form input {
  width: min(100%, 330px);
  height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  font: 500 16px/1.2 "Inter", sans-serif;
  outline: none;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
  transition: box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.lead-form input::placeholder {
  color: rgba(0, 0, 0, 0.42);
}

.lead-form input:focus {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.16), 0 0 0 3px rgba(255, 255, 255, 0.32);
}

.lead-form .cta-button {
  margin-top: 0;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.lead-form .cta-button:hover,
.lead-form .cta-button:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.lead-form .cta-button:disabled {
  cursor: default;
  transform: none;
  opacity: 0.82;
}

.lead-form__status {
  flex-basis: 100%;
  margin: 2px 0 0;
  align-self: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.lead-form.has-error .lead-form__status {
  color: #fff;
}

.lead-form.is-submitted .lead-form__status {
  color: #fff;
}

.lead-form--modal {
  width: 100%;
  margin-top: 28px;
}

.lead-form--modal input {
  width: 100%;
  box-shadow: 0 0 0 1px rgba(0, 82, 255, 0.16), 0 18px 38px rgba(0, 82, 255, 0.08);
}

.lead-form--modal .cta-button {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 82, 255, 0.18);
}

.lead-form--modal .cta-button:hover,
.lead-form--modal .cta-button:focus-visible {
  background: var(--primary-dark);
  color: #fff;
}

.lead-form--modal .lead-form__status {
  color: rgba(0, 0, 0, 0.72);
}

.lead-form--modal.has-error .lead-form__status {
  color: #b00020;
}

.lead-form--modal.is-submitted .lead-form__status {
  color: #0a7a32;
}

/* Deprecated visual block kept harmless if old markup is reintroduced. */
.cta-visual {
  display: none;
  min-height: 420px;
}

.cta-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.section-reveal {
  opacity: 0.001;
  transform: translateY(34px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

@keyframes orbit-drift {
  from {
    scale: 1;
  }

  to {
    scale: 1.06;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 36px;
  }

  .stats-grid,
  .team-grid,
  .process-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .benefits-grid .value-card {
    grid-column: span 2;
  }

  .benefits-grid .value-card:nth-last-child(2):nth-child(3n + 1),
  .benefits-grid .value-card:nth-last-child(2):nth-child(3n + 1) ~ .value-card {
    grid-column: span 2;
  }

  .benefits-grid .value-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .benefits-grid .value-card:nth-child(5):last-child {
    grid-column: 1 / -1;
  }

  .story-grid,
  .values-layout,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-section .cta-grid {
    text-align: center;
  }

  .cta-section .cta-copy {
    align-items: center;
  }

  .cta-section .cta-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-section .cta-copy .cta-button {
    align-self: center;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .header-inner {
    min-height: 72px;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    padding: 112px 0 72px;
  }

  h1 {
    font-size: 30px;
  }

  .section-heading h1,
  .section-heading h2,
  .cta-copy h1,
  .cta-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2rem);
  }

  .stats-grid,
  .team-grid,
  .process-grid,
  .benefits-grid,
  .reviews-grid,
  .project-cards {
    grid-template-columns: 1fr;
  }

  .benefits-grid .value-card,
  .benefits-grid .value-card:nth-last-child(2):nth-child(3n + 1),
  .benefits-grid .value-card:nth-last-child(2):nth-child(3n + 1) ~ .value-card,
  .benefits-grid .value-card:last-child:nth-child(odd),
  .benefits-grid .value-card:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }

  .hero-bullets {
    display: grid;
    gap: 20px;
  }

  .hero-bullets li {
    font-size: 14px;
  }

  .hero-bullets img {
    width: 38px;
    height: 38px;
  }

  .project-card-body {
    padding: 22px;
  }

  .story-section,
  .values-section,
  .team-section,
  .cta-section {
    padding: 78px 0;
  }

  .cta-section .cta-grid {
    padding: 52px 22px;
    border-radius: 28px;
  }

  .lead-form {
    flex-direction: column;
    align-items: center;
  }

  .lead-form input,
  .lead-form .cta-button {
    width: min(100%, 360px);
  }

  .lead-modal {
    padding: 20px;
  }

  .lead-modal__dialog {
    border-radius: 26px;
  }

  .lead-modal__content {
    padding: 42px 22px 34px;
  }

  .lead-modal__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  #problems {
    padding: 48px 0 78px;
  }

  #problems .story-grid {
    padding: 52px 22px 0;
    border-radius: 28px;
  }

  #problems .problem-list li {
    font-size: 16px;
  }

  .problems-visual-slot {
    width: min(100%, 560px);
    height: 220px;
    margin-top: 42px;
  }

  #process .section-heading-centered {
    margin-bottom: 46px;
  }

  #process .process-grid {
    gap: 48px;
  }

  #process .step-index {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  #process .value-card h3,
  #process .process-grid .value-card h3 {
    font-size: 20px;
  }

  #process .value-card p {
    font-size: 16px;
  }

  .story-orbit,
  .values-orbit,
  .team-orbit {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 560px) {
  .hero-bullets {
    grid-template-columns: 1fr;
  }
}
