/* Magneplex Systems — landing
   Direction: soft stone + deep jade, Syne + Figtree
   Mobile-first, reduced-motion aware */

:root {
  --bg: #f3f5f2;
  --bg-alt: #e8ece7;
  --surface: #fafbf9;
  --ink: #121816;
  --ink-soft: #3d4842;
  --muted: #4f5852;
  --line: #d5ddd6;
  --jade: #0f6b5c;
  --jade-deep: #0a4f44;
  --jade-soft: #d8ebe5;
  --mint: #e6f4ef;
  --warn-bg: #f7f1e8;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(18, 24, 22, 0.04), 0 18px 48px rgba(18, 24, 22, 0.08);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --container: 1120px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--jade-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--jade);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.15rem, 6.5vw, 3.65rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.45rem);
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 720px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-lockup {
  display: block;
  width: 190px;
  height: auto;
}

@media (max-width: 359px) {
  .brand-lockup {
    width: 176px;
  }
}

.nav {
  display: none;
  gap: 1.35rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--jade);
}

.btn.header-cta {
  display: none;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
}

.nav-toggle span:not(.sr-only) {
  position: relative;
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only) {
  background: transparent;
  box-shadow: none;
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only)::before,
.nav-toggle[aria-expanded="true"] span:not(.sr-only)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only)::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only)::after {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 1rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.7rem 0.5rem;
  font-weight: 500;
  border-radius: 8px;
}

.mobile-nav a:hover {
  background: var(--mint);
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  justify-content: center;
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }

  .btn.header-cta {
    display: inline-flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--jade);
  color: #f7fbf9;
  border-color: var(--jade-deep);
}

.btn-primary:hover {
  background: var(--jade-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--jade) 35%, var(--line));
}

.btn-sm {
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 1.45rem;
  font-size: 1.05rem;
}

.icon {
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  overflow: clip;
}

.hero-atmosphere {
  position: absolute;
  inset: -10% -20% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 55% 60% at 15% 20%, rgba(15, 107, 92, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 50% at 85% 10%, rgba(90, 120, 100, 0.1), transparent 65%),
    linear-gradient(180deg, #eef2ee 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.75rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--jade);
  margin-bottom: 0.85rem;
}

.hero-copy h1 {
  font-family: var(--font-body);
  font-size: clamp(2rem, 7.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 100%;
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 1.15rem;
}

.hero-note {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.hero-note-sub {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 1rem;
}

/* Phone mockup */
.phone-frame {
  width: min(100%, 288px);
  background: #0e1412;
  border-radius: 24px;
  padding: 6px;
  box-shadow: var(--shadow);
  border: 1px solid #1c2622;
}

.phone-notch {
  width: 28%;
  height: 0.4rem;
  margin: 0.3rem auto 0.4rem;
  background: #1a2220;
  border-radius: 999px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--jade-deep);
  color: #f4faf8;
  padding: 0.7rem 0.85rem;
  border-radius: 18px 18px 0 0;
}

.chat-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--jade);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.chat-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.chat-status {
  font-size: 0.7rem;
  opacity: 0.85;
}

.chat-body {
  background:
    linear-gradient(rgba(230, 244, 239, 0.45), rgba(230, 244, 239, 0.45)),
    #ebe7e1;
  min-height: 320px;
  padding: 0.75rem;
  border-radius: 0 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-day {
  align-self: center;
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.25rem;
}

.bubble {
  max-width: 90%;
  padding: 0.6rem 0.7rem 0.4rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

html.js .phone-frame.js-enhance .bubble:not(.is-visible) {
  opacity: 0;
  transform: translateY(6px);
}

html.js .phone-frame.js-enhance .bubble.is-visible {
  opacity: 1;
  transform: none;
}

html.js .phone-frame.js-enhance .chat-day[data-step] {
  opacity: 0;
}

.bubble p {
  margin: 0 0 0.2rem;
}

.bubble time {
  display: block;
  text-align: right;
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.bubble.in {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border-top-left-radius: 3px;
}

.bubble.out {
  align-self: flex-end;
  background: var(--jade-soft);
  color: var(--ink);
  border-top-right-radius: 3px;
}

.phone-frame.is-playing .bubble:not(.is-visible),
.phone-frame.is-playing .chat-day[data-step] {
  animation: bubble-in 0.4s var(--ease) forwards;
}

.phone-frame.is-playing .bubble[data-step="2"] {
  animation-delay: 0.4s;
}
.phone-frame.is-playing .bubble[data-step="3"] {
  animation-delay: 0.95s;
}
.phone-frame.is-playing .chat-day[data-step="4"] {
  animation-delay: 1.45s;
}
.phone-frame.is-playing .bubble[data-step="5"] {
  animation-delay: 1.7s;
}

.bubble.follow {
  margin-top: 0.15rem;
}

@keyframes bubble-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Inbox card */
.inbox-card {
  width: min(100%, 288px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  box-shadow: var(--shadow);
}

.inbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.inbox-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
}

.inbox-pill {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--jade-deep);
  background: var(--jade-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.inbox-item {
  padding: 0.6rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--bg);
}

.inbox-item.active {
  background: var(--mint);
  border-color: color-mix(in srgb, var(--jade) 28%, var(--line));
}

.inbox-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.inbox-who {
  font-weight: 600;
  font-size: 0.85rem;
}

.inbox-time {
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.inbox-item p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0 0 0.3rem;
}

.inbox-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--jade-deep);
}

.inbox-tag.muted {
  color: var(--ink-soft);
  font-weight: 500;
}

.inbox-caption {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

@media (max-width: 639px) {
  .hero {
    padding-top: 2rem;
  }

  .hero-grid {
    gap: 2rem;
  }

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

  .hero-actions .btn-ghost {
    min-height: 44px;
    padding: 0.5rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    color: var(--ink-soft);
  }

  .hero-actions .btn-ghost:hover {
    color: var(--jade);
    background: transparent;
    border-color: transparent;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 3.5rem 0 5rem;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 4.1vw, 3.5rem);
    max-width: 18ch;
  }

  .hero-visual {
    justify-items: start;
    min-height: 440px;
  }

  .phone-frame {
    margin-left: 0.25rem;
  }

  .inbox-card {
    position: absolute;
    right: 0;
    bottom: 1.25rem;
    width: 220px;
  }

  html.js .inbox-card {
    animation: float-in 0.55s var(--ease) 1.1s both;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 0.75rem;
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 52ch;
}

/* Before / after */
.compare {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.compare-col {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.compare-col.before {
  background: color-mix(in srgb, var(--warn-bg) 70%, var(--surface));
}

.compare-col.after {
  background: var(--mint);
  border-color: color-mix(in srgb, var(--jade) 25%, var(--line));
}

.compare-col h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  font-weight: 700;
}

.compare-col.after h3 {
  color: var(--jade-deep);
}

.compare-col li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
}

.compare-col li:last-child {
  margin-bottom: 0;
}

.compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--muted);
}

.compare-col.after li::before {
  background: var(--jade);
}

@media (min-width: 720px) {
  .compare {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

/* Features */
.feature-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.feature {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--jade);
  margin-bottom: 1rem;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Video */
.video-wrap {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e1412;
  aspect-ratio: 16 / 9;
  max-width: 900px;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-placeholder {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  color: #c5d0ca;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(15, 107, 92, 0.35), transparent 70%),
    #121a17;
}

.video-placeholder p {
  margin: 0;
  font-size: 1.05rem;
}

.play-glyph {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  position: relative;
}

.play-glyph::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 1.05rem;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.1rem;
  border-color: transparent transparent transparent #e8f5f0;
}

/* Keep number */
.keep-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .keep-grid {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: start;
    gap: 3rem;
  }
}

.check-list {
  margin-top: 1.5rem;
}

.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.75rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: inset 0 0 0 2px var(--jade);
  background:
    linear-gradient(var(--mint), var(--mint)) padding-box,
    linear-gradient(var(--jade), var(--jade)) border-box;
  border: 2px solid transparent;
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 1.05rem;
  width: 0.35rem;
  height: 0.2rem;
  border-left: 2px solid var(--jade);
  border-bottom: 2px solid var(--jade);
  transform: rotate(-45deg);
}

.limits-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.limits-card h3 {
  margin-bottom: 0.75rem;
}

.limits-card > p {
  color: var(--ink-soft);
}

.limits-card ul {
  margin: 1rem 0;
}

.limits-card li {
  padding: 0.4rem 0 0.4rem 1rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.limits-card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.fine-print {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: none;
  border-left: 2px solid var(--line);
  margin-left: 0.65rem;
}

.timeline-item {
  position: relative;
  padding: 0 0 2rem 1.75rem;
  display: grid;
  gap: 0.5rem;
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--jade);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--jade-soft);
}

.timeline-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--jade);
  letter-spacing: 0.04em;
}

.timeline-item p {
  color: var(--ink-soft);
  max-width: 48ch;
}

@media (min-width: 800px) {
  .timeline {
    border-left: 0;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .timeline-item {
    padding: 0;
    border-top: 2px solid var(--line);
    padding-top: 1.5rem;
  }

  .timeline-item::before {
    left: 0;
    top: -0.45rem;
  }
}

.mid-cta {
  margin-top: 2.75rem;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item > summary {
  list-style: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.1rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

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

.faq-item > summary:hover {
  background: color-mix(in srgb, var(--mint) 50%, transparent);
}

.faq-item > summary:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: -2px;
}

.faq-chevron {
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] > summary .faq-chevron {
  transform: rotate(225deg);
  margin-top: 0.25rem;
}

.faq-panel {
  padding: 0 1.15rem 1.15rem;
  color: var(--ink-soft);
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(15, 107, 92, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(15, 107, 92, 0.12), transparent 50%),
    #163a33;
  color: #eef6f2;
  text-align: center;
}

.cta-inner {
  max-width: 560px;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #c5d9d1;
  margin-bottom: 1.5rem;
}

.cta-band .btn-primary {
  background: #f4faf7;
  color: var(--jade-deep);
  border-color: #fff;
}

.cta-band .btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

/* Footer */
.site-footer {
  padding: 3rem 0 6.5rem;
  background: #0e1412;
  color: #a8b5ae;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #24302b;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    text-align: right;
  }
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.footer-brand .brand-lockup {
  width: 220px;
}

.footer-meta {
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-legal {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8a9790;
  max-width: 36ch;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-contact a {
  color: #d5e0da;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.25rem;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* Sticky WhatsApp — hidden over hero, revealed after */
.sticky-wa {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--jade);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(18, 24, 22, 0.22);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    opacity 0.2s var(--ease);
}

.sticky-wa:hover {
  color: #fff;
  background: var(--jade-deep);
  transform: translateY(-2px);
}

.sticky-wa.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

@media (min-width: 880px) {
  .site-footer {
    padding-bottom: 3rem;
  }
}

/* Reveals — visible by default; animate only when html.js is present */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.js .phone-frame.js-enhance .bubble,
  html.js .phone-frame.js-enhance .chat-day[data-step],
  .phone-frame.is-playing .bubble,
  .inbox-card {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .sticky-wa.is-hidden {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .btn,
  .sticky-wa,
  .nav-toggle span:not(.sr-only) {
    transition: none;
  }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 3px;
}

.btn:focus-visible,
.sticky-wa:focus-visible {
  outline-offset: 3px;
}
