/* ============================================================
   Marketing home — slate (#0f172a) palette
   ============================================================ */

.home-body {
  margin: 0;
  min-height: 100dvh;
  background: #f1f5f9;
  color: #0f172a;
  font-family: "Outfit", system-ui, sans-serif;
  color-scheme: light;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --text-inverse: #f8fafc;
  --background: #f1f5f9;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --primary: #0f172a;
  --primary-hover: #020617;
  --primary-soft: rgba(15, 23, 42, 0.08);
  --border-focus: #0f172a;
  --shadow-focus: 0 0 0 3px rgba(15, 23, 42, 0.18);
}

.home {
  --home-ink: #0f172a;
  --home-muted: #475569;
  --home-soft: #64748b;
  --home-teal: #0f172a;
  --home-teal-mid: #1e293b;
  --home-teal-deep: #020617;
  --home-teal-soft: #e2e8f0;
  --home-mist: #f1f5f9;
  --home-paper: #f8fafc;
  --home-line: rgba(15, 23, 42, 0.09);
  --home-display: "Fraunces", Georgia, "Times New Roman", serif;
  --home-sans: "Outfit", system-ui, sans-serif;
  color: var(--home-ink);
  background: linear-gradient(180deg, #e8eef5 0%, #f1f5f9 18%, #f1f5f9 100%);
}

.home h1,
.home h2,
.home h3,
.home h4,
.home h5,
.home h6 {
  color: var(--home-ink);
}

.home .btn--primary {
  background: var(--home-teal);
  border-color: var(--home-teal);
  color: #f8fafc;
}

.home .btn--primary:hover,
.home .btn--primary:focus-visible {
  background: var(--home-teal-deep);
  border-color: var(--home-teal-deep);
  color: #f8fafc;
}

.home .btn--secondary {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.14);
  color: var(--home-teal-deep);
}

.home .btn--secondary:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.22);
  color: var(--home-teal-deep);
}

.home .form-input {
  border-color: rgba(15, 23, 42, 0.14);
  background: #ffffff;
}

.home .form-input:focus {
  border-color: var(--home-teal);
  box-shadow: var(--shadow-focus);
}

.home a:focus-visible,
.home button:focus-visible,
.home summary:focus-visible,
.home input:focus-visible {
  outline: 2px solid var(--home-teal);
  outline-offset: 2px;
}

/* ---- Nav ---- */
.home-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.75rem);
  background: rgba(241, 245, 249, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--home-line);
}

.home-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--home-ink);
  font-weight: 700;
}

.home-nav__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1e293b, #020617);
  color: #f8fafc;
}

.home-nav__mark svg { width: 1.05rem; height: 1.05rem; }

.home-nav__name {
  font-family: var(--home-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.home-nav__links {
  display: none;
  gap: 1.15rem;
  margin-left: 0.5rem;
}

.home-nav__links a {
  color: var(--home-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.home-nav__links a:hover { color: var(--home-teal); }

.home-nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-link {
  color: var(--home-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.home-link:hover { color: var(--home-teal); }

.home-nav__cta { display: none; }

.home-nav__menu {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--home-line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.65);
  color: var(--home-ink);
  cursor: pointer;
}

.home-nav__menu svg { width: 1.15rem; height: 1.15rem; }

.home-nav-drawer {
  display: grid;
  gap: 0.85rem;
  padding: 1rem clamp(1rem, 4vw, 2.75rem) 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--home-line);
}

.home-nav-drawer[hidden] { display: none !important; }

.home-nav-drawer a {
  color: var(--home-ink);
  text-decoration: none;
  font-weight: 500;
}

@media (min-width: 960px) {
  .home-nav__links { display: flex; }
  .home-nav__cta { display: inline-flex; }
  .home-nav__menu { display: none; }
  .home-nav-drawer { display: none !important; }
}

.home-flash {
  max-width: 760px;
  margin: 1rem auto 0;
  padding: 0 clamp(1rem, 4vw, 2.75rem);
}

/* ---- Hero: darker texture + content slider ---- */
.home-hero {
  position: relative;
  min-height: min(94dvh, 900px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  color: #f8fafc;
}

.home-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.25) 0%, transparent 35%, rgba(2, 6, 23, 0.6) 100%),
    linear-gradient(118deg, #020617 0%, #0f172a 28%, #1e293b 58%, #334155 100%);
}

.home-hero__plane {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 82% 18%, rgba(148, 163, 184, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 12% 78%, rgba(15, 23, 42, 0.7), transparent 55%),
    radial-gradient(circle at 60% 60%, rgba(0, 0, 0, 0.25), transparent 50%);
  animation: home-atmosphere 16s ease-in-out infinite alternate;
}

.home-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.12) 0,
      rgba(0, 0, 0, 0.12) 1px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 4px
    );
  pointer-events: none;
}

.home-hero__atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 78%);
  animation: home-grid 30s linear infinite;
  opacity: 0.7;
}

@keyframes home-atmosphere {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.04); opacity: 0.92; }
}

@keyframes home-grid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 24px, 24px 48px; }
}

.home-hero__layout {
  display: grid;
  gap: 2rem;
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 6.5rem) clamp(1rem, 4vw, 2.75rem) clamp(2.75rem, 6vw, 4rem);
}

@media (min-width: 960px) {
  .home-hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 3rem;
    align-items: center;
    min-height: min(86dvh, 820px);
  }
}

.home-hero__inner {
  max-width: 34rem;
  animation: home-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-hero__brand {
  margin: 0 0 1.1rem;
  font-family: var(--home-display);
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #f8fafc !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.home-hero__title {
  margin: 0 0 1rem;
  font-family: var(--home-sans);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(248, 250, 252, 0.94) !important;
  max-width: 28ch;
}

.home-hero__lead {
  margin: 0 0 1.85rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(210, 232, 226, 0.88);
  max-width: 44ch;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-hero .btn--primary {
  background: #f8fafc;
  color: #0f172a;
  border-color: #f8fafc;
}

.home-hero .btn--primary:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #0f172a;
}

.home-hero .btn--secondary {
  background: rgba(248, 250, 252, 0.06);
  color: #f8fafc;
  border: 1px solid rgba(248, 250, 252, 0.28);
}

.home-hero .btn--secondary:hover {
  background: rgba(248, 250, 252, 0.12);
  color: #f8fafc;
}

/* Hero slider — blended into dark texture, not a white card */
.home-hero__slider {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 1.5rem 1.35rem 1.2rem;
  border-radius: 1.1rem;
  background:
    linear-gradient(165deg, rgba(248, 250, 252, 0.08), rgba(2, 6, 23, 0.35)),
    rgba(6, 40, 38, 0.55);
  border: 1px solid rgba(248, 250, 252, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(248, 250, 252, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  animation: home-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.home-hero__slides {
  position: relative;
  min-height: 11.5rem;
  margin-bottom: 1.25rem;
}

.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
  pointer-events: none;
}

.home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.home-hero__slide-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.home-hero__slide-title {
  margin: 0 0 0.65rem;
  font-family: var(--home-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #f8fafc !important;
}

.home-hero__slide-text {
  margin: 0;
  color: rgba(210, 232, 226, 0.88);
  line-height: 1.6;
  font-size: 0.98rem;
  max-width: 34ch;
}

.home-hero__slider-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-hero__dots {
  display: flex;
  gap: 0.45rem;
}

.home-hero__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 0.15rem;
  background: rgba(248, 250, 252, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.home-hero__dot.is-active {
  background: #94a3b8;
  transform: scaleX(1.55);
}

.home-hero__slider-nav {
  display: flex;
  gap: 0.4rem;
}

.home-hero__nav-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(248, 250, 252, 0.22);
  background: rgba(248, 250, 252, 0.06);
  color: #f8fafc;
  cursor: pointer;
}

.home-hero__nav-btn:hover {
  background: rgba(248, 250, 252, 0.12);
}

.home-hero__nav-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.home-hero__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(248, 250, 252, 0.1);
  overflow: hidden;
  border-radius: 0 0 1.1rem 1.1rem;
}

.home-hero__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0f172a, #94a3b8);
  transform-origin: left center;
}

@media (max-width: 959px) {
  .home-hero {
    align-items: end;
  }
  .home-hero__layout {
    padding-bottom: 2.25rem;
  }
}

/* ---- Sections ---- */
.home-section {
  padding: clamp(3.75rem, 8vw, 5.75rem) clamp(1rem, 4vw, 2.75rem);
  background: transparent;
}

.home-section--alt {
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.55) 0%, rgba(241, 245, 249, 0.95) 100%);
}

.home-section--ink {
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(51, 65, 85, 0.55), transparent 55%),
    linear-gradient(180deg, #1e293b 0%, #0f172a 55%, #020617 100%);
  color: #f8fafc;
}

.home-section--ink h1,
.home-section--ink h2,
.home-section--ink h3,
.home-section--ink h4,
.home-section--ink .home-section__title,
.home-section--ink .home-module h3 {
  color: #f8fafc;
}

.home-section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.home-section__title {
  margin: 0 0 0.7rem;
  font-family: var(--home-display);
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1.15;
  color: var(--home-ink);
}

.home-section__title--left { text-align: left; color: var(--home-ink); }
.home-section__title--light { color: #f8fafc !important; }

.home-section__lead {
  margin: 0 auto 2.75rem;
  max-width: 52ch;
  text-align: center;
  color: var(--home-muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.home-section__lead--light { color: rgba(226, 232, 240, 0.88); }

.home-kicker {
  margin: 0 0 0.55rem;
  color: var(--home-teal);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-kicker--light {
  color: #94a3b8;
  text-align: center;
}

.home-split {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 860px) {
  .home-split {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    align-items: end;
  }
}

.home-prose {
  color: var(--home-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-prose p { margin: 0 0 1rem; }
.home-prose p:last-child { margin-bottom: 0; }
.home-prose em {
  color: var(--home-ink);
  font-style: normal;
  font-weight: 600;
}

/* ---- Modules ---- */
.home-modules {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .home-modules { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

@media (min-width: 1040px) {
  .home-modules { grid-template-columns: repeat(3, 1fr); }
}

.home-module {
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: 0.9rem;
  background: rgba(248, 250, 252, 0.06);
  border: 1px solid rgba(248, 250, 252, 0.12);
}

.home-module h3 {
  margin: 0 0 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: #f8fafc;
}

.home-module h3 svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #94a3b8;
  flex-shrink: 0;
}

.home-module > p {
  margin: 0 0 0.85rem;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.6;
  font-size: 0.98rem;
}

.home-module ul {
  margin: 0;
  padding-left: 1.05rem;
  color: rgba(167, 220, 210, 0.9);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ---- Timeline ---- */
.home-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid rgba(15, 23, 42, 0.22);
}

.home-timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 0 0 2rem 1.35rem;
  position: relative;
}

.home-timeline li:last-child { padding-bottom: 0; }

.home-timeline__num {
  font-family: var(--home-display);
  font-size: 1.25rem;
  color: var(--home-teal);
  line-height: 1;
  margin-top: 0.15rem;
}

.home-timeline h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  color: var(--home-ink);
}

.home-timeline p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.65;
  max-width: 62ch;
}

.home-timeline code {
  font-size: 0.88em;
  background: var(--home-teal-soft);
  color: var(--home-teal-deep);
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
}

/* ---- Isolation ---- */
.home-iso {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .home-iso { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.home-iso__col h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  color: var(--home-ink);
}

.home-check {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.home-check li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--home-muted);
  line-height: 1.5;
}

.home-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 0.15rem;
  background: var(--home-teal);
}

.home-check--warn li::before { background: #b7791f; }

.home-diagram {
  margin: 0;
  padding: 1.35rem;
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.home-diagram__rail {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 0.85rem;
  color: var(--home-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-diagram__tenants {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .home-diagram__tenants { grid-template-columns: repeat(3, 1fr); }
}

.home-diagram__tenant {
  padding: 1rem 1rem 1.1rem;
  background: linear-gradient(180deg, #e5f2ef, #f7fbf9);
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.home-diagram__tenant strong {
  font-family: var(--home-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--home-teal-deep);
}

.home-diagram__tenant span {
  color: var(--home-muted);
  font-size: 0.88rem;
}

.home-diagram figcaption {
  margin-top: 1rem;
  color: var(--home-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---- Day in life ---- */
.home-day {
  display: grid;
  gap: 1.75rem;
}

.home-day__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: day;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .home-day__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .home-day__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-day__list li {
  counter-increment: day;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
  color: var(--home-muted);
  line-height: 1.5;
  background: linear-gradient(180deg, #ffffff, #f0f7f4);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1rem;
}

.home-day__list li::before {
  content: counter(day, decimal-leading-zero);
  font-family: var(--home-display);
  color: var(--home-teal);
  font-size: 1rem;
}

.home-day__list strong {
  display: block;
  color: var(--home-ink);
  margin-bottom: 0.15rem;
}

/* ---- Trust ---- */
.home-trust {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .home-trust { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

@media (min-width: 1100px) {
  .home-trust { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.home-trust > div {
  padding: 1.2rem 1.15rem;
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0.9rem;
}

.home-trust h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: var(--home-ink);
}

.home-trust p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.6;
}

/* ---- Pricing ---- */
.home-pricing__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .home-pricing__grid {
    grid-template-columns: 1fr minmax(320px, 400px);
    gap: 3rem;
    text-align: left;
  }
  .home-pricing .home-section__title,
  .home-pricing .home-section__lead,
  .home-pricing .home-kicker {
    text-align: left;
  }
  .home-pricing .home-section__lead { margin-left: 0; }
}

.home-pricing__copy h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  color: var(--home-ink);
}

.home-pricing__note {
  margin: 1.5rem 0 0;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.home-pricing__note a {
  color: var(--home-teal);
  font-weight: 600;
}

.home-plan-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
}

@media (min-width: 720px) {
  .home-plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-plan-card {
  position: relative;
  text-align: left;
  padding: 1.2rem 1.15rem 1.15rem;
  background: linear-gradient(180deg, #ffffff, #f3f9f7);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 1rem;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-plan-card:hover {
  border-color: rgba(15, 23, 42, 0.35);
  transform: translateY(-2px);
}

.home-plan-card.is-selected,
.home-plan-card.is-featured.is-selected {
  border-color: var(--home-teal);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  outline: 2px solid rgba(15, 23, 42, 0.25);
}

.home-plan-card__badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
  color: var(--home-teal-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-plan-card__name {
  margin: 0 0 0.35rem;
  font-family: var(--home-display);
  font-size: 1.25rem;
  color: var(--home-ink);
}

.home-plan-card__desc {
  margin: 0 0 0.75rem;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  min-height: 2.6em;
}

.home-plan-card__price {
  margin: 0 0 0.85rem;
  font-family: var(--home-display);
  font-size: 1.55rem;
  color: var(--home-teal-deep);
  letter-spacing: -0.02em;
}

.home-plan-card__price small {
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--home-muted);
  font-weight: 500;
}

.home-plan-card__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.home-plan-card__features li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--home-muted);
  font-size: 0.88rem;
}

.home-plan-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--home-teal);
}

.home-interval {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.2rem;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  gap: 0.15rem;
}

.home-interval__btn {
  border: 0;
  background: transparent;
  color: var(--home-muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
}

.home-interval__btn.is-active {
  background: #fff;
  color: var(--home-teal-deep);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.home-price {
  padding: 1.65rem 1.45rem 1.4rem;
  text-align: left;
  background: linear-gradient(165deg, #ffffff 0%, #eef7f4 100%);
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.home-price__label {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.home-price__amount {
  margin: 0.3rem 0 0.35rem;
  font-family: var(--home-display);
  font-size: clamp(2.3rem, 5vw, 2.85rem);
  letter-spacing: -0.03em;
  color: var(--home-teal-deep);
  line-height: 1;
}

.home-price__meta {
  margin: 0 0 1.25rem;
  color: var(--home-soft);
  font-size: 0.85rem;
}

.home-pay-form .form-group { margin-bottom: 0.95rem; }

.home-pay-form__note {
  margin: 0.85rem 0 0;
  min-height: 1.25rem;
  font-size: 0.88rem;
  color: var(--home-muted);
  text-align: center;
}

/* ---- FAQ ---- */
.home-faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.35rem;
  padding: 0.5rem 1.15rem 0.75rem;
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1rem;
}

.home-faq__item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.15rem 0;
}

.home-faq__item:last-child { border-bottom: 0; }

.home-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.75rem 1rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
  color: var(--home-ink);
}

.home-faq__item summary::-webkit-details-marker { display: none; }

.home-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--home-teal);
  font-size: 1.25rem;
  font-weight: 500;
}

.home-faq__item[open] summary::after { content: "–"; }

.home-faq__item p {
  margin: 0 0 1.1rem;
  color: var(--home-muted);
  line-height: 1.65;
  max-width: 62ch;
}

/* ---- Closing CTA ---- */
.home-cta {
  padding: clamp(3.5rem, 8vw, 5rem) clamp(1rem, 4vw, 2.75rem);
  background:
    radial-gradient(ellipse 70% 80% at 85% 15%, rgba(148, 163, 184, 0.18), transparent 55%),
    linear-gradient(135deg, #020617 0%, #0f172a 55%, #1e293b 100%);
  color: #f8fafc;
}

.home-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.home-cta h2 {
  margin: 0 0 0.75rem;
  font-family: var(--home-display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f8fafc;
}

.home-cta p {
  margin: 0 0 1.5rem;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.6;
}

.home-cta .btn--primary {
  background: #f8fafc;
  color: var(--home-teal-deep);
  border-color: #f8fafc;
}

.home-cta .btn--primary:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: var(--home-teal-deep);
}

/* ---- Footer ---- */
.home-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem clamp(1rem, 4vw, 2.75rem) 2.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  background: #e4efeb;
}

.home-footer__brand {
  display: grid;
  gap: 0.2rem;
  color: var(--home-muted);
  font-size: 0.9rem;
}

.home-footer__name {
  font-family: var(--home-display);
  color: var(--home-ink);
  font-size: 1.05rem;
}

.home-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.home-footer__links a {
  color: var(--home-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.home-footer__links a:hover { color: var(--home-teal); }

/* ---- Auth variant ---- */
.home--auth .home-section { padding-top: 2.5rem; }

.home-register-form {
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 1rem;
  padding: 1.35rem;
}

/* ---- Reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__plane,
  .home-hero__orbit,
  .home-hero__atmosphere::after,
  .home-hero__inner,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
