:root {
  --cm-font:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --cm-ink: #102521;
  --cm-ink-soft: #29443f;
  --cm-muted: #667c78;
  --cm-line: #d8e7e3;
  --cm-line-strong: #bad8d1;
  --cm-surface: #ffffff;
  --cm-surface-soft: #f3faf8;
  --cm-page: #f7faf9;
  --cm-teal-950: #092f2b;
  --cm-teal-900: #0f3f3a;
  --cm-teal-800: #115e59;
  --cm-teal-700: #0f766e;
  --cm-teal-600: #0d9488;
  --cm-teal-500: #14b8a6;
  --cm-teal-200: #99f6e4;
  --cm-teal-100: #ccfbf1;
  --cm-teal-50: #f0fdfa;
  --cm-positive: #059669;
  --cm-negative: #dc2626;
  --cm-coral: #f47b5f;
  --cm-shadow-sm: 0 8px 24px rgba(15, 63, 58, 0.08);
  --cm-shadow-md: 0 18px 50px rgba(15, 63, 58, 0.12);
  --cm-shadow-lg: 0 32px 90px rgba(15, 63, 58, 0.18);
  --cm-radius-sm: 8px;
  --cm-radius-md: 12px;
  --cm-radius-lg: 18px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--cm-page);
  color: var(--cm-ink);
  font-family: var(--cm-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img,
video {
  height: auto;
}

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

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

a {
  color: var(--cm-teal-700);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--cm-teal-900);
}

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

h1,
h2,
h3 {
  color: var(--cm-ink);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.3vw, 5.25rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 3.5vw, 3.6rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--cm-teal-100);
  color: var(--cm-teal-950);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--cm-radius-sm);
  background: var(--cm-teal-950);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: clamp(80px, 9vw, 124px);
}

.section--soft {
  border-block: 1px solid rgba(15, 118, 110, 0.1);
  background: var(--cm-surface-soft);
}

.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--cm-teal-700);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.section-heading > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--cm-muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.section-heading--centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading--centered > p:last-child {
  margin-inline: auto;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: var(--cm-radius-sm);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--cm-teal-800), var(--cm-teal-600));
  box-shadow: 0 13px 28px rgba(15, 118, 110, 0.22);
  color: #ffffff;
}

.button--primary:hover {
  box-shadow: 0 17px 34px rgba(15, 118, 110, 0.3);
  color: #ffffff;
}

.button--secondary {
  border-color: var(--cm-line-strong);
  background: rgba(255, 255, 255, 0.76);
  color: var(--cm-teal-900);
}

.button--secondary:hover {
  border-color: var(--cm-teal-600);
  background: var(--cm-surface);
  box-shadow: var(--cm-shadow-sm);
  color: var(--cm-teal-800);
}

.button--ghost {
  border-color: rgba(15, 118, 110, 0.22);
  background: var(--cm-teal-50);
  color: var(--cm-teal-800);
}

.button--ghost:hover {
  border-color: var(--cm-teal-600);
  background: var(--cm-teal-100);
}

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

.button--light {
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(4, 30, 27, 0.23);
  color: var(--cm-teal-900);
}

.button--light:hover {
  box-shadow: 0 18px 40px rgba(4, 30, 27, 0.32);
  color: var(--cm-teal-800);
}

.button--full {
  width: 100%;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 63, 58, 0.1);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 6px;
}

.brand-logo {
  width: 173px;
  height: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > a:not(.button) {
  position: relative;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--cm-ink-soft);
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.main-nav > a:not(.button):hover,
.main-nav > a:not(.button).is-active {
  background: var(--cm-teal-50);
  color: var(--cm-teal-800);
}

.nav-login {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border: 1px solid var(--cm-line);
  border-radius: var(--cm-radius-sm);
  background: var(--cm-surface);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--cm-teal-900);
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 112px) clamp(76px, 8vw, 112px);
  background:
    radial-gradient(
      circle at 87% 14%,
      rgba(20, 184, 166, 0.14),
      transparent 26%
    ),
    radial-gradient(circle at 8% 86%, rgba(15, 118, 110, 0.1), transparent 30%),
    linear-gradient(180deg, #fbfefd, #eff9f6 76%, #f7faf9);
}

.hero::before {
  position: absolute;
  top: -200px;
  right: -580px;
  width: 1180px;
  height: 740px;
  background: url("/assets/images/auth-background.webp") center / cover
    no-repeat;
  content: "";
  opacity: 0.16;
  pointer-events: none;
  z-index: -2;
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 84%);
  pointer-events: none;
  z-index: -3;
}

.hero-orb {
  position: absolute;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero-orb--one {
  top: 92px;
  right: 4vw;
  width: 320px;
  height: 320px;
}

.hero-orb--two {
  right: 20vw;
  bottom: -160px;
  width: 260px;
  height: 260px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(560px, 1.13fr);
  align-items: center;
  gap: clamp(48px, 6vw, 84px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-copy .eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cm-teal-500);
  box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.12);
  content: "";
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 31px;
  color: var(--cm-ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  color: var(--cm-muted);
  font-size: 0.86rem;
  font-weight: 650;
  list-style: none;
}

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

.hero-points svg {
  width: 17px;
  height: 17px;
  padding: 2px;
  border-radius: 50%;
  background: var(--cm-teal-100);
  fill: none;
  stroke: var(--cm-teal-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding-block: 36px 52px;
  perspective: 1800px;
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 16px;
  background: #f4f8f7;
  box-shadow: var(--cm-shadow-lg);
  transform: rotateY(-3deg) rotateX(1deg);
  transform-origin: center;
}

.app-window__topbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 17px;
  border-bottom: 1px solid var(--cm-line);
  background: rgba(255, 255, 255, 0.96);
}

.app-window__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cm-teal-900);
  font-size: 0.9rem;
}

.app-window__brand img {
  width: 30px;
  height: 30px;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cm-line-strong);
}

.window-dots span:nth-child(2) {
  background: var(--cm-teal-200);
}

.window-dots span:nth-child(3) {
  background: var(--cm-teal-500);
}

.app-window__context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 18px;
  background: linear-gradient(90deg, var(--cm-teal-900), var(--cm-teal-700));
  color: #ffffff;
  font-size: 0.73rem;
}

.app-window__context span {
  color: rgba(240, 253, 250, 0.7);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-window__context strong {
  padding: 7px 10px;
  border: 1px solid rgba(204, 251, 241, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.app-window__body {
  padding: 18px;
}

.mock-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.mock-heading div {
  display: grid;
  gap: 2px;
}

.mock-heading div > span {
  color: var(--cm-teal-700);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mock-heading div > strong {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.sample-badge {
  padding: 4px 8px;
  border: 1px solid var(--cm-line);
  border-radius: 999px;
  background: var(--cm-surface);
  color: var(--cm-muted);
  font-size: 0.62rem;
  font-weight: 750;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 10px;
}

.mock-stat {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 13px 12px;
  border: 1px solid var(--cm-line);
  border-radius: 8px;
  background: var(--cm-surface);
}

.mock-stat--positive {
  border-color: rgba(5, 150, 105, 0.18);
  background: #edfcf6;
}

.mock-stat--negative {
  border-color: rgba(220, 38, 38, 0.14);
  background: #fff5f4;
}

.mock-stat > span {
  overflow: hidden;
  color: var(--cm-muted);
  font-size: 0.63rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-stat > strong {
  overflow: hidden;
  font-size: clamp(0.7rem, 1.3vw, 0.9rem);
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-stat > small {
  overflow: hidden;
  color: #82938f;
  font-size: 0.52rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-chart-card {
  padding: 14px 14px 6px;
  border: 1px solid var(--cm-line);
  border-radius: 8px;
  background: var(--cm-surface);
}

.mock-chart-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock-chart-card__head > div {
  display: grid;
  gap: 1px;
}

.mock-chart-card__head span {
  color: var(--cm-teal-700);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mock-chart-card__head strong {
  font-size: 0.8rem;
}

.mock-chart-card__head .chart-period {
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--cm-teal-50);
  color: var(--cm-muted);
  font-size: 0.5rem;
  letter-spacing: 0;
  text-transform: none;
}

.balance-chart {
  width: 100%;
  margin-top: 3px;
}

.chart-grid {
  fill: none;
  stroke: #e5efed;
  stroke-width: 1;
}

.chart-area {
  fill: url("#chart-fill");
}

.chart-line {
  fill: none;
  stroke: var(--cm-teal-600);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.chart-point {
  fill: #ffffff;
  stroke: var(--cm-teal-600);
  stroke-width: 4;
}

.floating-note {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 12px 15px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--cm-shadow-md);
  backdrop-filter: blur(12px);
}

.floating-note span {
  color: var(--cm-muted);
  font-size: 0.65rem;
}

.floating-note strong {
  color: var(--cm-teal-900);
  font-size: 0.83rem;
}

.floating-note--balance {
  right: -28px;
  bottom: 16px;
}

.floating-note--alert {
  bottom: 6px;
  left: -28px;
  display: flex;
  max-width: 205px;
  align-items: center;
  gap: 9px;
}

.floating-note--alert .floating-note__icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: #fff1ed;
  color: var(--cm-coral);
  font-size: 0.82rem;
  font-weight: 900;
}

.trust-strip {
  border-block: 1px solid rgba(15, 118, 110, 0.1);
  background: var(--cm-surface);
}

.trust-strip__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  color: var(--cm-muted);
  font-size: 0.85rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-strip__inner span[aria-hidden="true"] {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cm-teal-500);
}

/* Steps and demo */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-card {
  position: relative;
  min-height: 282px;
  padding: 28px 24px 24px;
  overflow: hidden;
  border: 1px solid var(--cm-line);
  border-radius: var(--cm-radius-md);
  background: var(--cm-surface);
  box-shadow: 0 10px 30px rgba(15, 63, 58, 0.045);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.step-card:hover {
  border-color: var(--cm-line-strong);
  box-shadow: var(--cm-shadow-sm);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 17px;
  right: 18px;
  color: rgba(15, 118, 110, 0.12);
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.step-icon,
.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: 10px;
  background: linear-gradient(145deg, var(--cm-teal-50), var(--cm-teal-100));
  color: var(--cm-teal-700);
}

.step-icon svg,
.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.step-card p {
  margin-bottom: 0;
  color: var(--cm-muted);
  font-size: 0.94rem;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
}

.demo-copy > p:not(.eyebrow):not(.demo-duration):not(.demo-disclaimer) {
  margin-bottom: 24px;
  color: var(--cm-muted);
  font-size: 1.05rem;
}

.check-list,
.price-features {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  margin-bottom: 26px;
}

.check-list li,
.price-features li {
  position: relative;
  padding-left: 29px;
  color: var(--cm-ink-soft);
}

.check-list li::before,
.price-features li::before {
  position: absolute;
  top: 0.32em;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--cm-teal-100);
  color: var(--cm-teal-800);
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
}

.demo-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--cm-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.demo-duration svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cm-teal-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.demo-disclaimer {
  margin: 10px 0 0;
  color: var(--cm-muted);
  font-size: 0.76rem;
  font-style: italic;
}

.video-frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 16px;
  background: var(--cm-surface);
  box-shadow: var(--cm-shadow-lg);
}

.video-frame::before {
  position: absolute;
  inset: -14px 40px 50%;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.2);
  content: "";
  filter: blur(45px);
  pointer-events: none;
  z-index: -1;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 9px;
  background: var(--cm-ink);
  object-fit: cover;
}

/* Feature cards */

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

.feature-card {
  position: relative;
  min-height: 268px;
  padding: 26px;
  border: 1px solid var(--cm-line);
  border-radius: var(--cm-radius-md);
  background: var(--cm-surface);
  box-shadow: 0 12px 36px rgba(15, 63, 58, 0.045);
}

.feature-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 80px;
  height: 80px;
  border-radius: 80px 0 var(--cm-radius-md) 0;
  background: linear-gradient(135deg, transparent, rgba(20, 184, 166, 0.07));
  content: "";
  pointer-events: none;
}

.feature-card p {
  margin: 0;
  color: var(--cm-muted);
  font-size: 0.94rem;
}

.feature-card--wide {
  display: grid;
  min-height: 235px;
  grid-column: span 3;
  grid-template-columns: auto minmax(280px, 1fr) minmax(250px, 0.8fr);
  align-items: center;
  gap: 24px;
  padding: 32px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 95% 10%,
      rgba(20, 184, 166, 0.13),
      transparent 36%
    ),
    var(--cm-surface);
}

.feature-card--wide .feature-icon {
  width: 58px;
  height: 58px;
  margin: 0;
}

.feature-card--wide .feature-icon svg {
  width: 29px;
  height: 29px;
}

.feature-card--wide h3 {
  font-size: 1.65rem;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mini-metrics span {
  display: grid;
  gap: 3px;
  padding: 15px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 8px;
  background: rgba(240, 253, 250, 0.82);
}

.mini-metrics small {
  color: var(--cm-muted);
  font-size: 0.67rem;
  font-weight: 700;
}

.mini-metrics strong {
  font-size: 0.95rem;
}

.text-positive {
  color: var(--cm-positive);
}

/* Guide */

.section--guide {
  border-block: 1px solid rgba(15, 118, 110, 0.13);
  background:
    radial-gradient(circle at 8% 8%, rgba(20, 184, 166, 0.08), transparent 24%),
    linear-gradient(180deg, #f5fbf9, #edf7f4);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(44px, 7vw, 92px);
}

.guide-intro {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.guide-intro > p:not(.eyebrow) {
  color: var(--cm-muted);
  font-size: 1.04rem;
}

.guide-tip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.guide-tip svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--cm-teal-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.guide-tip p {
  margin: 0;
  color: var(--cm-muted);
  font-size: 0.86rem;
}

.guide-accordion,
.faq-list {
  display: grid;
  gap: 10px;
}

.guide-accordion details,
.faq-list details {
  overflow: clip;
  border: 1px solid var(--cm-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(15, 63, 58, 0.035);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.guide-accordion details[open],
.faq-list details[open] {
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: var(--cm-shadow-sm);
}

summary {
  list-style: none;
}

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

.guide-accordion summary {
  display: grid;
  cursor: pointer;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.guide-number {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 8px;
  background: var(--cm-teal-50);
  color: var(--cm-teal-700);
  font-size: 0.72rem;
  font-weight: 850;
}

.guide-accordion summary > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.guide-accordion summary strong {
  color: var(--cm-ink);
  font-size: 1rem;
  line-height: 1.3;
}

.guide-accordion summary small {
  color: var(--cm-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.guide-accordion summary > svg,
.faq-list summary > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--cm-teal-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.guide-accordion details[open] summary > svg,
.faq-list details[open] summary > svg {
  transform: rotate(180deg);
}

.details-content {
  padding: 0 20px 20px;
  color: var(--cm-muted);
}

.guide-accordion .details-content {
  margin-left: 71px;
  padding-top: 1px;
  border-top: 1px solid var(--cm-line);
}

.details-content p {
  margin: 15px 0 10px;
}

.details-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.details-content li::marker {
  color: var(--cm-teal-600);
}

/* Pricing */

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

.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--cm-line);
  border-radius: 14px;
  background: var(--cm-surface);
  box-shadow: 0 14px 42px rgba(15, 63, 58, 0.06);
}

.price-card--featured {
  border-color: var(--cm-teal-600);
  box-shadow: 0 24px 60px rgba(15, 118, 110, 0.17);
}

.price-ribbon {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 7px 12px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(135deg, var(--cm-teal-800), var(--cm-teal-600));
  color: #ffffff;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.price-card__head {
  min-height: 150px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cm-line);
}

.price-card__head .eyebrow {
  max-width: 72%;
  min-height: 34px;
  margin-bottom: 8px;
}

.price-card__head h3 {
  margin-bottom: 10px;
  font-size: 1.85rem;
}

.price-card__head > p:last-child {
  margin-bottom: 0;
  color: var(--cm-muted);
  font-size: 0.9rem;
}

.prices {
  display: grid;
  gap: 4px;
  padding-block: 20px 8px;
}

.prices p {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
}

.prices strong {
  color: var(--cm-ink);
  font-size: 1.72rem;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

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

.prices .yearly-price strong {
  color: var(--cm-teal-700);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.saving {
  margin-bottom: 22px;
  color: var(--cm-positive);
  font-size: 0.76rem;
  font-weight: 750;
}

.price-features {
  flex: 1;
  margin-bottom: 27px;
}

.price-features li {
  font-size: 0.88rem;
}

.pricing-note {
  display: flex;
  max-width: 760px;
  align-items: flex-start;
  gap: 12px;
  margin: 26px auto 0;
  padding: 14px 17px;
  border: 1px solid var(--cm-line);
  border-radius: 10px;
  background: var(--cm-teal-50);
}

.pricing-shared-features {
  display: flex;
  max-width: 840px;
  align-items: flex-start;
  gap: 12px;
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 10px;
  background: #eafaf6;
  color: var(--cm-muted);
  font-size: 0.88rem;
}

.pricing-shared-features svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  padding: 3px;
  border-radius: 50%;
  background: var(--cm-teal-100);
  fill: none;
  stroke: var(--cm-teal-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.pricing-shared-features strong {
  color: var(--cm-teal-900);
}

.pricing-note svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: var(--cm-teal-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.pricing-note p {
  margin: 0;
  color: var(--cm-muted);
  font-size: 0.85rem;
}

/* FAQ and closing */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(44px, 7vw, 88px);
}

.faq-layout .section-heading {
  margin-bottom: 0;
}

.faq-list summary {
  display: grid;
  cursor: pointer;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 19px 20px;
}

.faq-list summary strong {
  font-size: 0.96rem;
}

.faq-list .details-content {
  border-top: 1px solid var(--cm-line);
}

.faq-list .details-content p {
  margin-bottom: 0;
}

.closing-section {
  padding-block: 76px;
  background: var(--cm-page);
}

.closing-card {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px);
  border-radius: 18px;
  background:
    linear-gradient(
      90deg,
      rgba(9, 47, 43, 0.99) 0%,
      rgba(15, 94, 89, 0.95) 58%,
      rgba(15, 118, 110, 0.78)
    ),
    url("/assets/images/auth-background.webp") right center / cover no-repeat;
  box-shadow: var(--cm-shadow-lg);
}

.closing-card::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(204, 251, 241, 0.16);
  border-radius: 50%;
  content: "";
}

.closing-card__copy,
.closing-card__actions {
  position: relative;
  z-index: 1;
}

.closing-card .eyebrow {
  color: var(--cm-teal-200);
}

.closing-card h2 {
  max-width: 700px;
  margin-bottom: 16px;
  color: #ffffff;
}

.closing-card__copy > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(240, 253, 250, 0.78);
  font-size: 1.04rem;
}

.closing-card__actions {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.closing-card__actions > span {
  color: rgba(240, 253, 250, 0.66);
  font-size: 0.72rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--cm-line);
  background: var(--cm-surface);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(52px, 8vw, 112px);
  padding-block: 62px 46px;
}

.footer-brand img {
  width: 173px;
  height: 48px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  color: var(--cm-muted);
  font-size: 0.9rem;
}

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

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: var(--cm-ink);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--cm-muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cm-teal-700);
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--cm-line);
  color: var(--cm-muted);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--cm-teal-700);
  font-weight: 750;
  text-decoration: none;
}

/* Responsive layout */

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
    gap: 38px;
  }

  .floating-note--balance {
    right: -8px;
  }

  .floating-note--alert {
    left: -8px;
  }

  .main-nav > a:not(.button) {
    padding-inline: 9px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 38px, 880px);
  }

  .brand-logo {
    width: 151px;
    height: 42px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - var(--header-height));
    align-content: start;
    gap: 4px;
    overflow-y: auto;
    padding: 18px;
    border-bottom: 1px solid var(--cm-line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--cm-shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

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

  .main-nav > a:not(.button) {
    padding: 13px 14px;
    font-size: 1rem;
  }

  .nav-login {
    width: 100%;
    margin: 8px 0 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero-visual {
    width: min(100%, 760px);
    margin-inline: auto;
  }

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

  .step-card {
    min-height: 250px;
  }

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

  .demo-copy {
    max-width: 720px;
  }

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

  .feature-card--wide {
    grid-column: span 2;
    grid-template-columns: auto 1fr;
  }

  .feature-card--wide .mini-metrics {
    grid-column: 1 / -1;
  }

  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .guide-intro {
    position: static;
    max-width: 720px;
  }

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

  .price-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 9px);
    justify-self: center;
  }

  .closing-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .closing-card__actions {
    justify-items: start;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 30px, 650px);
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .section {
    padding-block: 72px;
  }

  .hero {
    padding-block: 52px 68px;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
  }

  .hero-visual {
    padding-bottom: 66px;
  }

  .app-window {
    transform: none;
  }

  .app-window__context span {
    display: none;
  }

  .app-window__context {
    justify-content: flex-end;
  }

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

  .mock-stat:last-child {
    grid-column: 1 / -1;
  }

  .floating-note--balance {
    right: 8px;
  }

  .floating-note--alert {
    bottom: 2px;
    left: 8px;
  }

  .trust-strip__inner {
    display: grid;
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-block: 16px;
  }

  .trust-strip__inner span:not([aria-hidden="true"]) {
    padding: 9px 6px;
    text-align: center;
  }

  .trust-strip__inner span[aria-hidden="true"] {
    display: none;
  }

  .steps,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
  }

  .feature-card,
  .feature-card--wide {
    min-height: auto;
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .feature-card--wide .feature-icon {
    width: 48px;
    height: 48px;
  }

  .mini-metrics {
    grid-column: auto;
  }

  .guide-accordion summary {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 17px;
  }

  .guide-number {
    display: none;
  }

  .guide-accordion .details-content {
    margin-left: 17px;
    padding-right: 17px;
    padding-left: 0;
  }

  .price-card,
  .price-card:last-child {
    width: 100%;
    grid-column: auto;
  }

  .price-card__head {
    min-height: auto;
  }

  .closing-section {
    padding-block: 48px;
  }

  .closing-card {
    width: calc(100% - 24px);
    padding: 34px 24px;
  }

  .closing-card__actions,
  .closing-card__actions .button {
    width: 100%;
  }

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

  .footer-links > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 20px;
  }
}

@media (max-width: 460px) {
  .container {
    width: calc(100% - 24px);
  }

  .header-inner {
    width: calc(100% - 30px);
  }

  .hero-copy .eyebrow {
    border-radius: 8px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .app-window__body {
    padding: 11px;
  }

  .mock-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sample-badge {
    display: none;
  }

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

  .mock-stat:last-child {
    grid-column: auto;
  }

  .mock-stat > strong {
    font-size: 0.85rem;
  }

  .floating-note--balance {
    right: 0;
  }

  .floating-note--alert {
    left: 0;
  }

  .trust-strip__inner {
    font-size: 0.7rem;
  }

  .mini-metrics,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-links > div:last-child {
    grid-column: auto;
  }

  .guide-accordion summary small {
    display: none;
  }

  .prices strong {
    font-size: 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

@media (forced-colors: active) {
  .button,
  .price-card--featured,
  .feature-card,
  .step-card,
  details {
    border: 1px solid CanvasText;
  }

  .hero-copy .eyebrow::before,
  .trust-strip__inner span[aria-hidden="true"] {
    background: CanvasText;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .video-frame,
  .closing-section,
  .site-footer {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .section,
  .hero {
    padding-block: 28px;
  }

  .hero-grid,
  .guide-layout,
  .faq-layout,
  .demo-grid {
    display: block;
  }

  .hero-visual {
    display: none;
  }

  details:not([open]) > *:not(summary) {
    display: block;
  }
}
