/* ==========================================================================
   Convearn — static site styles
   Single consolidated stylesheet (replaces Tailwind + per-component CSS-in-JS)
   ========================================================================== */

:root {
  --background: 0 0% 3%;
  --foreground: 0 0% 98%;

  --surface-subtle: rgba(255, 255, 255, 0.025);
  --surface-soft: rgba(255, 255, 255, 0.05);
  --surface-mid: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);

  --line: rgba(255, 255, 255, 0.05);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-mid: rgba(255, 255, 255, 0.12);

  --text-primary: rgba(255, 255, 255, 1);
  --text-secondary: rgba(255, 255, 255, 0.5);
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-faint: rgba(255, 255, 255, 0.25);

  --tab-active-bg: rgba(255, 255, 255, 1);
  --tab-active-color: rgba(0, 0, 0, 0.9);

  --radius: 0.5rem;
  --content-max: 1152px; /* ~ max-w-6xl */
  --nav-height: 88px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

/* Generative background canvas, sits behind everything */
#plum-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 0%, black 62%);
  mask-image: radial-gradient(ellipse at center, transparent 0%, black 62%);
}

#page {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  animation: pageFadeIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes pageFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ---------- shared building blocks ---------- */

.section {
  padding: 96px 24px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.hr {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-head {
  text-align: left;
  margin-bottom: 48px;
}

.section-head.faq-head,
.section-head .center {
  text-align: center;
}

.h-xl {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.h-lg {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.h-sm {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--text-muted);
}

.lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 380px;
  margin-top: 24px;
}

.lead.center {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 380px;
  margin-top: 20px;
}

.small {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 14px 32px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--surface-soft);
  border: 1px solid var(--line-mid);
  color: var(--text-primary);
  transition: transform 0.3s ease;
}

.btn:hover {
  transform: scale(1.03);
}

/* scroll-reveal (IntersectionObserver driven) */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }
  [data-reveal="fade"] {
    transform: none;
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- navbar ---------- */

.navbar {
  position: relative;
  z-index: 50;
  height: var(--nav-height, 88px);
  background: transparent;
}

.navbar-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  flex: 1;
}

.navbar-links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 40px;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
}

.navbar-link {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  padding-bottom: 8px;
  transition: color 0.25s ease;
}

.navbar-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.navbar-link:hover {
  color: var(--text-primary);
}

.navbar-link.active {
  color: var(--text-primary);
}

.navbar-link.active::after {
  transform: scaleX(1);
}

.navbar-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.navbar-cta {
  display: none;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .navbar-cta {
    display: inline-flex;
  }
}

/* burger (mobile only) */

.navbar-burger {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.navbar-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

@media (min-width: 768px) {
  .navbar-burger {
    display: none;
  }
}

/* mobile dropdown menu */

.navbar-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 24px;
  background: rgba(7, 7, 7, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-mobile-menu.is-open {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.navbar-mobile-link {
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-soft);
}

.navbar-mobile-link.active {
  color: var(--text-primary);
  font-weight: 600;
}

.navbar-mobile-cta {
  margin-top: 16px;
  height: 44px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .navbar-mobile-menu {
    display: none;
  }
}

/* ---------- coming soon modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid var(--line-mid);
  background: #0a0a0a;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  color: var(--text-primary);
  background: var(--surface-soft);
}

.modal-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height, 88px));
  overflow: hidden;
  display: flex;
  background: transparent;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.hero-left {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 24px 48px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn 0.7s ease 0.1s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero.is-loaded .hero-brand {
  opacity: 1;
  transform: translateY(0);
}

.hero-logo {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-logo-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--line-mid);
  background: var(--surface-soft);
  font-family: 'Archivo Black', 'Helvetica Neue', Arial, sans-serif;
  font-size: 26px;
  color: var(--text-primary);
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 6.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
}

.hero-description {
  margin-top: 28px;
  max-width: 420px;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.55;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn 0.7s ease 0.25s forwards;
}

.hero.is-loaded .hero-description {
  opacity: 1;
  transform: translateY(0);
}

.hero-right {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
}

.hex-field {
  position: absolute;
  inset: 0;
}

.hex-item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: calc(var(--s) * 1.1547);
  transform: translate(-50%, -50%);
}

.hex-item .glow {
  position: absolute;
  inset: calc(var(--s) * -0.85);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.35) 28%,
    rgba(255, 255, 255, 0.12) 52%,
    rgba(255, 255, 255, 0) 78%
  );
  filter: blur(8px);
  opacity: var(--glow-a, 0.5);
  pointer-events: none;
}

.hex-item .shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #ffffff;
  opacity: var(--shape-a, 1);
}

/* ---------- 3D phone mockup ---------- */

.phone-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  transform: translateX(-36px);
}

.phone-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  max-width: 70vw;
  max-height: 70vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.06) 38%,
    rgba(255, 255, 255, 0) 72%
  );
  filter: blur(6px);
  pointer-events: none;
}

.phone-mockup {
  position: relative;
  width: auto;
  height: 480px;
  max-height: 64vh;
  max-width: 82%;
  object-fit: contain;
  filter: drop-shadow(-20px 40px 50px rgba(0, 0, 0, 0.55));
}

@media (max-width: 767px) {
  .hex-field {
    display: none;
  }

  .phone-scene {
    display: none;
  }
}

/* ---------- struggle ---------- */

.struggle-head {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.struggle-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(10px, 3.05vw, 50px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.struggle-subtitle {
  margin: 20px auto 0;
  max-width: 100%;
  width: fit-content;
  font-size: clamp(10px, 2.1vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
  white-space: nowrap;
}

.struggle-paths {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  margin-top: 72px;
  counter-reset: path-index;
}

.struggle-path-card {
  width: 100%;
  max-width: 460px;
  position: relative;
  text-align: left;
  padding-top: 28px;
}

.struggle-path-card::before {
  counter-increment: path-index;
  content: counter(path-index, decimal-leading-zero);
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.struggle-path-card .h-lg {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  position: relative;
  padding-top: 16px;
}

.struggle-path-card .h-lg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--text-faint);
}

.struggle-path-card .body {
  max-width: none;
}

.struggle-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.struggle-arrow-svg.desktop {
  display: none;
}

.struggle-arrow-svg.mobile {
  display: block;
  width: 56px;
  height: 96px;
}

@media (min-width: 900px) {
  .struggle-paths {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
  }

  .struggle-path-card {
    flex: 0 0 380px;
  }

  .struggle-path-card:first-child {
    text-align: left;
  }

  .struggle-path-card:last-child {
    text-align: right;
  }

  .struggle-path-card:last-child .h-lg::before {
    left: auto;
    right: 0;
  }

  .struggle-arrow {
    flex: 0 0 140px;
  }

  .struggle-arrow-svg.mobile {
    display: none;
  }

  .struggle-arrow-svg.desktop {
    display: block;
    width: 140px;
    height: 60px;
  }
}

/* ---------- tabs / what-we-do ---------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.tab.active {
  background: var(--tab-active-bg);
  color: var(--tab-active-color);
  border-color: var(--tab-active-bg);
}

.tab-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.tab-panel {
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line-soft);
  background: var(--surface-subtle);
}

.tab-panel-text {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.tab-panel-visual {
  padding: 28px 24px;
  min-height: 260px;
  border-top: 1px solid var(--line-soft);
  display: flex;
}

/* tab visual — schema diagrams built via JS */
.visual {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 8px;
  user-select: none;
}

.node {
  border: 1px solid var(--line-mid);
  border-radius: 12px;
  padding: 10px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--surface-soft);
}

.node.strong {
  border-radius: 16px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--surface-mid);
}

.node-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4px 0;
}

.node-arrow .stem {
  width: 1px;
  height: 24px;
  background: var(--line-soft);
}

.node-caption {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.chat-msg {
  display: flex;
  width: 100%;
}

.chat-msg.from-lead {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 80%;
  border-radius: 16px;
  padding: 10px 14px;
  background: var(--surface-mid);
}

.chat-msg.from-lead .chat-bubble {
  background: var(--surface-strong);
}

.chat-bubble p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.chat-bubble .time {
  font-size: 10px;
  color: var(--text-faint);
  text-align: right;
  margin-top: 4px;
}

.optimize-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.optimize-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.optimize-stat {
  border: 1px solid var(--line-soft);
  background: var(--surface-subtle);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.optimize-stat .val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.optimize-stat .label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- steps ---------- */

.steps-list {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 40px;
}

.steps-line {
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line-mid) 8%, var(--line-mid) 92%, transparent);
  pointer-events: none;
}

.step-item {
  position: relative;
  margin-bottom: 56px;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-dot {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: hsl(var(--background));
  border: 2px solid var(--line-mid);
}

.step-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.step-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---------- faq ---------- */

.faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
}

.faq-q span {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-secondary);
}

.chev {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.open .chev {
  transform: rotate(180deg);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-a p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---------- final cta ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 96px;
}

.final-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(180, 170, 255, 0.07) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.final-inner {
  position: relative;
  z-index: 1;
  max-width: 768px;
  margin: 0 auto;
}

.cal-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 600px;
  border: 1px solid var(--line-soft);
}

.cal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.cal-loading.hidden {
  display: none;
}

.spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--line-mid);
  border-top-color: var(--text-muted);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- footer ---------- */

.footer {
  padding: 24px;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
}

.footer-rights {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive — desktop breakpoint (mirrors Tailwind's md: 768px)
   ========================================================================== */

@media (min-width: 768px) {
  .section {
    padding: 128px 64px;
  }

  .hero-grid {
    flex-direction: row;
  }

  .hero-left {
    flex: 0 0 52%;
    max-width: 52%;
    padding: 70px 64px 110px 140px;
  }

  .hero-right {
    position: relative;
    inset: auto;
    flex: 0 0 48%;
    opacity: 1;
  }

  .hero-description {
    max-width: 460px;
  }

  .struggle-grid {
    grid-template-columns: minmax(0, 460px) 1fr;
    gap: 140px;
    align-items: center;
  }

  .h-xl {
    font-size: 52px;
  }

  .h-lg {
    font-size: 34px;
  }

  .tab-panel {
    grid-template-columns: 1fr 1fr;
  }

  .tab-panel-text {
    padding: 48px;
  }

  .tab-panel-visual {
    padding: 40px;
    border-top: none;
  }

  .steps-list {
    padding-left: 48px;
  }

  .step-dot {
    left: -48px;
  }

  .faq-q span {
    font-size: 17px;
  }
}