:root {
  --bg: #0a0c0f;
  --bg-strong: #050608;
  --surface: #111318;
  --surface-alt: #171b21;
  --surface-deep: #1d232b;
  --text: #f5f7fa;
  --text-inverse: #f5f7fa;
  --muted: #9ba6b2;
  --muted-inverse: #9ba6b2;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --accent: #d8d2c4;
  --accent-strong: #c9c2b3;
  --support: #dfe7ff;
  --success: #147a55;
  --danger: #b4372f;
  --shadow-sharp: 0 24px 60px rgba(0, 0, 0, 0.28);
  --shadow-dark: 0 28px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(180deg, #090b0e 0%, #0a0c0f 48%, #08090b 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  position: relative;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 12, 15, 0.86);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: max(16px, calc((100vw - min(calc(100vw - 32px), var(--max-width))) / 2));
  padding-right: max(16px, calc((100vw - min(calc(100vw - 32px), var(--max-width))) / 2));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
}

.brand span {
  display: grid;
  gap: 3px;
}

.brand strong,
.hero h1,
.section-heading h2,
.feature-card h3,
.narrative-card h3,
.hero-card h2 {
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.brand strong {
  font-size: 1.12rem;
}

.brand small,
.nav a,
.lead,
.hero-points span,
.feature-card p,
.seo-copy p,
.faq-list p,
.footer p,
.hero-card p,
.form-status,
.narrative-card p,
.check-list li,
.ops-tags span {
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  font-size: 0.97rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--text);
}

.section {
  padding: 44px 0;
  scroll-margin-top: 96px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: stretch;
  padding-top: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #cfd6df;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.97;
  max-width: 13ch;
}

.lead {
  margin: 24px 0 0;
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 62ch;
}

.hero-copy,
.hero-card,
.feature-card,
.narrative-card,
.ops-panel,
.seo-copy,
.faq-list details,
.footer,
.hero-points div,
.hero-stats article {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.hero-copy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    var(--bg-strong);
  color: var(--text-inverse);
  padding: 40px;
  box-shadow: var(--shadow-dark);
  position: relative;
}

.hero-copy .lead,
.hero-copy .hero-points span,
.hero-copy .hero-stats span {
  color: var(--muted-inverse);
}

.hero-copy .hero-points strong,
.hero-copy h1 {
  color: var(--text-inverse);
}

.hero-copy .hero-stats span,
.hero-copy .hero-stats strong {
  color: #eef4fb;
}

.hero-points strong,
.hero-stats strong,
.section-heading h2,
.feature-card h3,
.narrative-card h3,
.ops-panel__header strong,
.faq-list summary,
.footer strong {
  color: var(--text);
}

.hero-stats span,
.ops-panel__header span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sharp);
}

.hero-card--calculator {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-card--preview {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.card-glow {
  display: none;
}

.form-shell {
  position: relative;
  z-index: 1;
  padding: 34px 30px;
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.hero-card .eyebrow {
  color: #cfd6df;
}

.hero-card .eyebrow::before {
  background: rgba(255, 255, 255, 0.45);
}

.app-carousel {
  display: grid;
  gap: 14px;
  padding: 0;
}

.app-carousel__viewport {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.app-carousel__viewport.is-dragging {
  cursor: grabbing;
}

.app-carousel__track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.app-carousel-slide {
  min-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.app-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center top;
  background: transparent;
}

.app-carousel-slide figcaption {
  padding: 18px 0 0;
  display: grid;
  gap: 8px;
  background: transparent;
}

.app-carousel-slide strong {
  font-size: 1.06rem;
  line-height: 1.2;
  color: var(--text);
}

.app-carousel-slide span {
  color: var(--muted);
  line-height: 1.65;
}

.app-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.app-carousel__dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 180ms ease, transform 180ms ease;
}

.app-carousel__dots span.is-active {
  background: #f4f5f6;
  transform: scale(1.1);
}

.hero-highlights {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.argument-card {
  min-height: 224px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  align-content: start;
  gap: 10px;
}

.argument-card small {
  color: var(--muted-inverse);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.argument-card strong {
  display: block;
  color: var(--text-inverse);
  font-size: 1rem;
  line-height: 1.2;
}

.argument-card span {
  color: var(--muted-inverse);
  line-height: 1.55;
}

.lead-form {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: #0d1116;
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #7f93a6;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.lead-form button,
.footer a,
.calculator-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: #f4f5f6;
  color: #0a0c0f;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  padding: 15px 18px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.lead-form button:hover,
.footer a:hover,
.calculator-cta:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.88;
}

.form-status {
  min-height: 1.3rem;
  margin: 2px 0 0;
  font-size: 0.92rem;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  max-width: 18ch;
}

.spotlight,
.metrics,
.app-showcase,
.pricing,
.seo-block,
.faq {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    var(--surface);
  padding: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sharp);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 22px;
  box-shadow: none;
}

.feature-index {
  color: #d0d6df;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.feature-card h3 {
  margin: 20px 0 12px;
  font-size: 1.32rem;
}

.feature-card p,
.seo-copy p,
.faq-list p,
.narrative-card p,
.check-list li {
  line-height: 1.72;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.calculator-card,
.calculator-results article {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
}

.calculator-card h3,
.calculator-results strong {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--text);
}

.calculator-card p,
.calculator-results span,
.calculator-note {
  color: var(--muted);
  line-height: 1.7;
}

.calculator-card {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 22%),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-sharp);
}

.calculator-card--wide {
  padding: 42px 44px 30px;
}

.calculator-card--hero {
  height: 100%;
}

.app-showcase .calculator-card {
  max-width: 980px;
  margin: 0 auto;
}

.calculator-head h3 {
  margin: 0 0 10px;
}

.calculator-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.calculator-form {
  display: grid;
  gap: 30px;
  margin-top: 28px;
}

.slider-group {
  display: grid;
  gap: 14px;
}

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

.slider-head span {
  color: var(--muted);
  font-size: 0.96rem;
}

.slider-head strong {
  color: var(--text);
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.calculator-form input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.calculator-form input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1f6feb;
  box-shadow: 0 10px 22px rgba(31, 111, 235, 0.3);
  cursor: pointer;
}

.calculator-form input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.calculator-form input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1f6feb;
  border: 0;
  box-shadow: 0 10px 22px rgba(31, 111, 235, 0.3);
  cursor: pointer;
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.calculator-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.calculator-results article {
  padding: 18px 20px;
  min-height: 122px;
}

.calculator-results span {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.45;
}

.calculator-meta {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.calculator-meta b {
  color: var(--text);
  font-weight: 700;
}

.calculator-results strong {
  font-size: clamp(1.15rem, 2vw, 1.85rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.calculator-detail {
  background: rgba(255, 255, 255, 0.015);
}

.calculator-total {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  min-height: auto;
}

.calculator-total strong {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.calculator-total > span {
  margin-bottom: 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calculator-total__tax {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.calculator-total__tax b {
  color: var(--text);
  font-weight: 700;
}

.calculator-note {
  margin: 18px 0 0;
  text-align: center;
}

.calculator-cta {
  margin: 18px auto 0;
  width: fit-content;
  display: flex;
}

.pricing-contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.metrics-simple {
  display: block;
}

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

.showcase-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.015);
  overflow: hidden;
  box-shadow: var(--shadow-sharp);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.showcase-card img {
  width: 100%;
  height: 520px;
  background: #0a0c10;
  object-fit: cover;
  object-position: top center;
}

.showcase-card figcaption {
  padding: 18px 20px 22px;
  display: grid;
  gap: 8px;
  flex: 1;
  align-content: start;
}

.showcase-card strong {
  font-size: 1.06rem;
  line-height: 1.2;
  color: var(--text);
}

.showcase-card span {
  color: var(--muted);
  line-height: 1.65;
}

.showcase-card--wide img {
  height: 520px;
}

.pricing-contact__copy {
  padding: 12px 0;
}

.pricing-contact__copy h3,
.pricing-form-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-contact__copy p {
  color: var(--muted);
  line-height: 1.75;
}

.pricing-form-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    var(--surface);
  box-shadow: var(--shadow-sharp);
}

.narrative-card,
.ops-panel,
.seo-copy {
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.narrative-card h3 {
  margin: 0 0 16px;
  font-size: 1.55rem;
}

.check-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #d7dde6;
  border-radius: 50%;
}

.ops-panel {
  display: grid;
  gap: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 24%),
    var(--bg-strong);
  color: var(--text-inverse);
  box-shadow: var(--shadow-dark);
}

.ops-panel .ops-panel__header strong,
.ops-panel .ops-bars span,
.ops-panel .ops-tags span {
  color: var(--text-inverse);
}

.ops-panel .ops-panel__header span {
  color: var(--muted-inverse);
}

.ops-bars {
  display: grid;
  gap: 16px;
}

.ops-bars div {
  display: grid;
  gap: 10px;
}

.ops-bars span {
  color: var(--text-inverse);
  font-weight: 600;
}

.ops-bars i {
  display: block;
  height: 12px;
  background: linear-gradient(90deg, #f1f3f5, #cfd6df);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

.ops-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ops-tags span {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text-inverse);
}

.seo-copy {
  max-width: 100%;
}

.seo-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 600;
}

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

.faq-list details {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.08rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 14px 0 2px;
}

.footer {
  margin: 10px 0 36px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    var(--bg-strong);
  color: var(--text-inverse);
  box-shadow: var(--shadow-dark);
}

.footer strong {
  color: var(--text-inverse);
}

.footer p {
  color: var(--muted-inverse);
}

.footer p {
  margin: 6px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 1080px) {
  .hero,
  .split-layout,
  .grid-cards,
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    align-items: start;
  }

  .app-carousel-slide img {
    aspect-ratio: 9 / 16;
  }

  .pricing-contact {
    grid-template-columns: 1fr;
  }

  .showcase-card--wide {
    grid-column: 1 / -1;
  }

  .showcase-card img,
  .showcase-card--wide img {
    height: 460px;
  }
}

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

  .topbar {
    padding-top: 18px;
    padding-left: 10px;
    padding-right: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 14px;
  }

  .hero,
  .grid-cards,
  .split-layout,
  .showcase-grid,
  .calculator-results {
    grid-template-columns: 1fr;
  }

  .calculator-card--wide {
    padding: 28px 22px;
  }

  .slider-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .argument-card {
    min-height: 196px;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy,
  .spotlight,
  .metrics,
  .app-showcase,
  .seo-block,
  .faq {
    padding: 24px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9.8vw, 3.4rem);
  }

  .app-carousel {
    padding: 22px;
  }

  .app-carousel-slide img {
    height: auto;
    aspect-ratio: 9 / 16;
  }

  .form-shell,
  .narrative-card,
  .ops-panel,
  .seo-copy,
  .feature-card,
  .showcase-card figcaption {
    padding: 22px;
  }

  .showcase-card--wide {
    grid-column: auto;
  }

  .showcase-card img,
  .showcase-card--wide img {
    height: auto;
    aspect-ratio: 2 / 3;
  }

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

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

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

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