:root {
  --ink: #111319;
  --muted: #5f6672;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #dedfdc;
  --navy: #13263d;
  --sky: #c7e8ff;
  --lime: #d9ff55;
  --lavender: #eee7ff;
  --blue: #4d5dff;
  --shadow: 0 20px 60px rgba(17, 19, 25, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(17, 19, 25, 0.08);
  background: rgba(251, 250, 247, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.08em;
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.brand-tagline {
  color: #59758f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  color: #2b3038;
  font-size: 14px;
  font-weight: 650;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.header-cta {
  padding: 14px 18px;
  white-space: nowrap;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
  background: var(--blue);
  border-color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 17px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 160ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  transform: translateY(-6px);
}

.menu-icon::after {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: rotate(-45deg);
}

.page-main {
  overflow: hidden;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 112px 0 94px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  content: "";
}

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

h1,
h2,
h3 {
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 760px;
  margin: 28px 0 25px;
  font-size: clamp(3.7rem, 7.4vw, 7.2rem);
  font-weight: 850;
  line-height: 0.93;
}

.hero h1 span {
  color: #86bff0;
}

.hero-copy {
  max-width: 660px;
  color: #424a55;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 35px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
}

.button.secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

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

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 34px;
  color: #68717d;
  font-size: 13px;
}

.hero-footnote span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-footnote span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.loop-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.loop-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.loop-kicker {
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loop-panel h2 {
  max-width: 360px;
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.loop-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d6dfe9;
  font-size: 12px;
  font-weight: 700;
}

.loop-state::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.loop-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.loop-card {
  min-height: 160px;
  padding: 15px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
}

.loop-card:nth-child(2),
.loop-card:nth-child(4) {
  background: rgba(199, 232, 255, 0.12);
}

.loop-number {
  color: var(--sky);
  font-size: 12px;
  font-weight: 850;
}

.loop-card h3 {
  margin: 39px 0 6px;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.loop-card p {
  margin: 0;
  color: #b8c4d3;
  font-size: 12px;
  line-height: 1.35;
}

.section {
  padding: 100px 0;
}

.section.border-top {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  line-height: 0.98;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.problem-grid,
.service-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.problem-card,
.service-card,
.faq-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.problem-card:nth-child(2) {
  background: var(--sky);
}

.problem-card:nth-child(3) {
  background: var(--lime);
}

.problem-card h3,
.service-card h3,
.faq-card h3 {
  margin: 72px 0 12px;
  font-size: 1.45rem;
  line-height: 1.08;
}

.problem-card p,
.service-card p,
.faq-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.problem-card:nth-child(2) p,
.problem-card:nth-child(3) p {
  color: #344050;
}

.index-number {
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
}

.dark-section {
  background: var(--navy);
  color: var(--white);
}

.dark-section .section-label {
  color: var(--lime);
}

.dark-section .section-heading p {
  color: #b7c4d2;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.system-step {
  min-height: 200px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
}

.system-step:nth-child(2) {
  background: rgba(199, 232, 255, 0.12);
}

.system-step:nth-child(3) {
  background: rgba(217, 255, 85, 0.14);
}

.system-step:nth-child(4) {
  background: rgba(238, 231, 255, 0.12);
}

.system-step h3 {
  margin: 76px 0 9px;
  font-size: 1.6rem;
}

.system-step p {
  margin: 0;
  color: #c1ccd8;
  font-size: 14px;
}

.system-step:nth-child(3) p {
  color: #e4ecc3;
}

.service-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
}

.service-card:nth-child(2) {
  background: var(--sky);
}

.service-card:nth-child(3) {
  background: var(--lavender);
}

.service-card h3 {
  margin-top: 75px;
}

.service-card p {
  max-width: 360px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 30px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.service-link:hover {
  color: var(--blue);
}

.proof-band {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 44px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band strong {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

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

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.proof-tag {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #38404b;
  font-size: 12px;
  font-weight: 750;
}

.review-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  padding: 54px;
  border-radius: var(--radius-lg);
  background: var(--lime);
}

.review-band h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  line-height: 0.96;
}

.review-band p {
  max-width: 440px;
  margin: 0 0 25px;
  color: #3f4a2d;
}

.button.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.page-hero {
  padding: 92px 0 75px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 930px;
  margin: 24px 0 22px;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.95;
}

.page-hero p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

.content-grid h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 0.98;
}

.content-grid > div > p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.step-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.step-item:last-child {
  border-bottom: 1px solid var(--line);
}

.step-item-number {
  color: var(--blue);
  font-weight: 850;
}

.step-item h3 {
  margin: 0 0 7px;
  font-size: 1.5rem;
}

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

.service-detail-list {
  display: grid;
  gap: 15px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.service-detail:nth-child(2) {
  background: var(--sky);
}

.service-detail:nth-child(3) {
  background: var(--lavender);
}

.service-detail h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.05;
}

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

.service-detail ul,
.review-list {
  margin: 18px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.service-detail li + li,
.review-list li + li {
  margin-top: 7px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.principle {
  min-height: 190px;
  padding: 25px;
  border-radius: var(--radius-md);
  background: var(--white);
}

.principle:nth-child(2) {
  background: var(--sky);
}

.principle:nth-child(3) {
  background: var(--lime);
}

.principle:nth-child(4) {
  background: var(--lavender);
}

.principle strong {
  display: block;
  margin-bottom: 65px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.review-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
}

.review-grid h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 0.97;
}

.review-grid > div > p {
  color: var(--muted);
  font-size: 1.06rem;
}

.review-list {
  padding-left: 22px;
}

.review-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.contact-card {
  margin-top: 30px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--white);
}

.contact-card p {
  margin: 0 0 14px;
  color: #bdc9d6;
}

.contact-card a {
  color: var(--lime);
  font-weight: 800;
}

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

.faq-card h3 {
  margin-top: 0;
}

.site-footer {
  padding: 62px 0 30px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 50px;
  padding-bottom: 56px;
}

.footer-brand .brand-name {
  font-size: 25px;
}

.footer-brand p {
  max-width: 330px;
  margin: 18px 0 0;
  color: #adb5c0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column strong {
  margin-bottom: 9px;
  color: var(--lime);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  color: #d8dee5;
  font-size: 14px;
}

.footer-column a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #87919d;
  font-size: 12px;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 18px;
  }

  .header-cta {
    padding-inline: 14px;
    font-size: 12px;
  }

  .hero-grid {
    gap: 42px;
  }

  .loop-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .loop-card {
    min-height: 135px;
  }

  .loop-card h3 {
    margin-top: 24px;
  }
}

@media (max-width: 800px) {
  .header-inner,
  .container {
    width: min(var(--max), calc(100% - 34px));
  }

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

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 17px;
    left: 17px;
    display: none;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 10px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 74px 0 72px;
  }

  .hero-grid,
  .section-heading,
  .proof-band,
  .review-band,
  .content-grid,
  .review-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 55px;
  }

  .hero h1 {
    max-width: 600px;
    font-size: clamp(3.4rem, 15vw, 6rem);
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 30px;
  }

  .problem-grid,
  .service-grid,
  .system-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .problem-card h3,
  .service-card h3 {
    margin-top: 54px;
  }

  .system-step {
    min-height: 150px;
  }

  .system-step h3 {
    margin-top: 42px;
  }

  .review-band {
    gap: 25px;
    padding: 32px;
  }

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

  .page-hero h1 {
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

  .content-grid,
  .review-grid {
    gap: 40px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .footer-grid {
    gap: 32px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 460px) {
  .hero-actions,
  .review-cta {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .loop-panel {
    padding: 22px;
  }

  .loop-panel-header {
    display: grid;
    gap: 14px;
  }

  .loop-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .loop-card:last-child {
    grid-column: span 2;
  }

  .review-band {
    padding: 25px;
  }
}
