/* Canopy99 marketing site — vanilla hand-written CSS
   Cloned from canopy99.com, retargeted to property owners.
   No framework, no build step. */

:root {
  --ground: #F4F7F9;
  --raised: #FFFFFF;
  --card: #FFFFFF;
  --text-primary: #0B1221;
  --text-secondary: #475569;
  --text-muted: #3D4B5C;
  --brand: #20D3B5;
  --brand-light: rgba(32, 211, 181, 0.10);
  --brand-gradient: linear-gradient(135deg, #20D3B5, #0284C7);
  --border: #E0E7ED;
  --border-strong: #CBD5E1;
  --shadow-sm: 0 3px 5px -1px rgba(11, 18, 33, 0.03);
  --shadow-lg: 0 16px 32px -8px rgba(11, 18, 33, 0.06);
  --radius-lg: 20px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1180px;
  --header-height: 72px;
}

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

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

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

  /* Disable only continuous / decorative motion.
     Keep short state transitions (hover, focus, accordion chevron, menu open). */
  .phone-shell,
  .phone-shell:hover {
    transform: none;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--ground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 40px;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--brand);
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(244, 247, 249, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

@supports not (backdrop-filter: blur(12px)) {
  .site-header {
    background: var(--ground);
  }
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.brand-mark {
  flex: none;
}

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

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text-primary);
  background: var(--brand-light);
}

.main-nav a:active {
  transform: translateY(1px);
}

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

.main-nav .btn-primary {
  color: var(--text-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--raised);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 0;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 767px) {
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    background: var(--ground);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

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

  .main-nav a {
    justify-content: center;
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand);
  color: var(--text-primary);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-gradient);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--raised);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--brand);
  background: var(--brand-light);
}

/* Section headings */
.section-heading {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  margin-bottom: 12px;
}

/* Centered section heading (used by the "Still Doing This?" section) */
.section-heading--center {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-inline: auto;
  word-break: break-word;
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(72px);
  z-index: 0;
}

.hero::before {
  width: 28rem;
  height: 24rem;
  top: -2%;
  left: 50%;
  transform: translateX(-68%);
  background: radial-gradient(circle, rgba(32, 211, 181, 0.10), rgba(32, 211, 181, 0) 72%);
}

.hero::after {
  width: 24rem;
  height: 20rem;
  top: 10%;
  left: 50%;
  transform: translateX(-24%);
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08), rgba(2, 132, 199, 0) 74%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--raised);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.hero-headline {
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 20px;
  word-break: break-word;
}

.hero-subhead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 12px;
  word-break: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

@media (max-width: 420px) {
  .hero-actions a {
    width: 100%;
  }
}

.hero-free-line {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-ai-line {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

/* Hero mockup */
.hero-mockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
}

.hero-mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  max-width: calc(100% - 48px);
  flex-wrap: wrap;
}

.hero-mockup-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.phone-shell {
  width: min(100%, 360px);
  padding: 14px;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, #181f2b 0%, #111821 48%, #1b2837 100%);
  box-shadow:
    0 20px 48px rgba(11, 18, 33, 0.10),
    0 6px 14px rgba(11, 18, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1600px) rotateX(2deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-shell:hover {
  transform: perspective(1600px) rotateX(1deg) translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .phone-shell:hover {
    transform: none;
  }
}

.phone-screen {
  min-height: 640px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(11, 18, 33, 0.08);
  background:
    radial-gradient(circle at top, rgba(32, 211, 181, 0.08), transparent 34%),
    linear-gradient(180deg, #f0f7f7 0%, #fafcfd 24%, #f1f7f8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  display: flex;
  flex-direction: column;
}

.phone-screen--portal {
  min-height: 0;
  padding: 16px 16px 18px;
  position: relative;
}

@media (max-width: 420px) {
  .phone-screen--portal {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

/* Portal preview inside the phone mockup */
.portal-mockup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}

@media (max-width: 420px) {
  .portal-mockup {
    gap: 8px;
  }
}

.portal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  min-width: 0;
}

.portal-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--text-primary);
}

.portal-brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-card {
  border-radius: var(--radius-lg);
  background: var(--raised);
  border: 1px solid var(--border);
  box-shadow: 0 3px 10px rgba(11, 18, 33, 0.05);
  overflow: hidden;
}

.portal-photo {
  position: relative;
  height: 124px;
  background:
    linear-gradient(160deg, rgba(11, 18, 33, 0.62), rgba(11, 18, 33, 0.28)),
    linear-gradient(90deg, var(--text-muted) 0%, var(--text-secondary) 50%, var(--text-muted) 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.portal-photo__shutter {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.05));
  box-shadow: 0 2px 6px rgba(11, 18, 33, 0.15);
}

.portal-photo__shutter::before,
.portal-photo__shutter::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
}

.portal-photo__shutter::before {
  top: 6px;
  left: 6px;
  right: 6px;
  height: 2px;
}

.portal-photo__shutter::after {
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 11px;
  border-radius: var(--radius-sm);
}

.portal-photo__label {
  position: relative;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(11, 18, 33, 0.78);
  backdrop-filter: blur(4px);
}

.portal-body {
  padding: 12px;
}

.portal-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.portal-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 6px;
  word-break: break-word;
}

.portal-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.portal-price span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.portal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 6px 16px;
  border-radius: var(--radius-md);
  background: var(--brand);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.portal-footer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
  max-width: 100%;
  min-width: 0;
  word-break: break-word;
}

.portal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

/* WhatsApp share bubble */
.whatsapp-card {
  position: absolute;
  top: 78px;
  right: 12px;
  width: calc(100% - 28px);
  max-width: 272px;
  padding: 8px 10px;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg);
  background: var(--raised);
  border: 1px solid var(--border);
  box-shadow:
    0 6px 14px rgba(11, 18, 33, 0.08),
    0 2px 4px rgba(11, 18, 33, 0.04);
}

@media (max-width: 420px) {
  .whatsapp-card {
    top: 82px;
    right: 10px;
    width: calc(100% - 26px);
    padding: 7px 9px;
  }
}

.whatsapp-sender {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.whatsapp-avatar {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--text-primary);
  font-size: 0.625rem;
  font-weight: 700;
}

.whatsapp-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.whatsapp-time {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.whatsapp-message {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.whatsapp-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  border-radius: var(--radius-md);
  background: var(--ground);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  line-height: 1.3;
  transition: background 0.2s, border-color 0.2s;
}

.whatsapp-link:hover {
  background: var(--brand-light);
  border-color: var(--brand);
}

.whatsapp-link__domain {
  font-weight: 600;
  color: var(--text-primary);
}

.whatsapp-link__path {
  color: var(--text-secondary);
}

/* Entrance motion for the WhatsApp bubble (one authored moment) */
@keyframes whatsapp-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.whatsapp-card {
  animation: whatsapp-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-card {
    animation: none;
  }
}

/* Problems */
.problems {
  padding: 80px 24px;
  background: var(--raised);
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .problems {
    padding: 80px 40px;
  }
}

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

.problem-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--ground);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-width: 0;
  word-break: break-word;
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.problem-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  color: var(--text-primary);
  margin-bottom: 18px;
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.2;
  word-break: break-word;
}

.problem-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.55;
  word-break: break-word;
}

@media (max-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    padding: 22px;
  }
}

/* USPs */
.usps {
  padding: 80px 0;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}

.usp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--raised);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-width: 0;
  word-break: break-word;
}

.usp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.usp-card__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.25rem;
  line-height: 1.15;
  margin-bottom: 12px;
  min-width: 0;
  word-break: break-word;
}

.usp-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand);
  color: var(--text-primary);
}

.usp-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.55;
  word-break: break-word;
}

@media (max-width: 1024px) {
  .usp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usp-grid .usp-card:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

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

  .usp-grid .usp-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .usp-card {
    padding: 22px;
  }

}

/* How it works */
.how-it-works {
  padding: 80px 24px;
  background: var(--raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .how-it-works {
    padding: 80px 40px;
  }
}

/* How it works — four-step timeline.
   Desktop: horizontal cards connected by a gradient line.
   Tablet: four compact cards in a row, no connectors.
   Mobile: vertical stacked cards with marker + text inline. */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.step {
  flex: 1 1 0;
  min-width: 0;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--ground);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  word-break: break-word;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.step-marker {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--text-primary);
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  word-break: break-word;
}

.step p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.55;
  word-break: break-word;
}

.step-caption {
  margin-top: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.step-connector {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-connector::before {
  content: "";
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(32, 211, 181, 0.55), rgba(2, 132, 199, 0.55));
  border-radius: 0;
}

.step-connector::after {
  content: "";
  position: absolute;
  right: 0;
  width: 8px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M0 0 L8 4 L0 8 Z' fill='rgba(2,132,199,0.55)'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

@media (max-width: 1024px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .step {
    padding: 22px 16px;
  }

  .step h3 {
    font-size: 1.25rem;
  }

  .step p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 767px) {
  .steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    text-align: left;
    align-items: center;
    padding: 18px;
  }

  .step-marker {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
  }

  .step h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }

  .step p {
    grid-column: 2;
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* FAQ */
.faq {
  padding: 80px 0;
}

.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--raised);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  min-width: 0;
}

.faq-item summary > span:first-child {
  min-width: 0;
  word-break: break-word;
}

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

.faq-chevron {
  flex: none;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
  word-break: break-word;
}

.faq-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text-primary);
  font-weight: 500;
}

.faq-body a:hover,
.faq-body a:focus-visible {
  color: var(--text-secondary);
}

@media (max-width: 767px) {
  .faq-item summary {
    font-size: 1rem;
    padding: 16px 18px;
  }

  .faq-body {
    padding: 0 18px 18px;
  }
}

/* Closing CTA */
.closing-cta {
  padding: 80px 24px;
  background: var(--raised);
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .closing-cta {
    padding: 80px 40px;
  }
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--ground);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 211, 181, 0.08), transparent 72%);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  min-width: 0;
}

.cta-copy h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 10px;
  word-break: break-word;
}

.cta-card .btn {
  position: relative;
  z-index: 1;
  flex: none;
}

@media (max-width: 640px) {
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--ground);
}

.footer-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 24rem;
  line-height: 1.5;
  text-wrap: balance;
}

.footer-copy {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-copy a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: var(--text-primary);
}

@media (max-width: 767px) {
  .footer-stack {
    gap: 14px;
  }

  .footer-copy {
    line-height: 1.7;
  }
}

/* Browser surfaces */
::selection {
  background: rgba(32, 211, 181, 0.25);
  color: var(--text-primary);
}

/* Closing CTA two-button row */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
@media (max-width: 560px) {
  .cta-actions .btn {
    width: 100%;
  }
}
