/* ==========================================================================
   Companionly — converted from React/Tailwind to static HTML/CSS
   ========================================================================== */

:root {
  --background: #ffffff;
  --foreground: #1a1a1a;
  --primary: #c1ed85;
  --primary-hover: #b3e070;
  --primary-foreground: #1a1a1a;
  --secondary: #ffe5b4;
  --muted: #f5f5f5;
  --muted-foreground: #6b7280;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 1rem;
  --off-white: #fafafa;
  --dark: #1a1a1a;
}

/* ---- Reset / base ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

input {
  font-family: inherit;
}

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

ul {
  list-style: none;
}

svg {
  display: block;
}

/* ---- Layout helpers ---- */
.min-h-screen {
  min-height: 100vh;
}
.bg-white {
  background-color: #ffffff;
}
.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.max-w-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.max-w-xl {
  max-width: 36rem;
}
.max-w-2xl {
  max-width: 42rem;
}

.flex {
  display: flex;
}
.grid {
  display: grid;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-start {
  justify-content: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.flex-col {
  flex-direction: column;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.overflow-hidden {
  overflow: hidden;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.top-0 {
  top: 0;
}
.left-0 {
  left: 0;
}
.right-0 {
  right: 0;
}
.z-50 {
  z-index: 50;
}
.z-10 {
  z-index: 10;
}
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.gap-12 {
  gap: 3rem;
}
.gap-16 {
  gap: 4rem;
}

/* ---- Section / container padding ---- */
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
.pt-20 {
  padding-top: 5rem;
}
.pt-8 {
  padding-top: 2rem;
}
.pb-10 {
  padding-bottom: 2.5rem;
}

/* ---- Typography ---- */
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.uppercase {
  text-transform: uppercase;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.underline {
  text-decoration: underline;
}
.leading-tight {
  line-height: 1.15;
}
.leading-relaxed {
  line-height: 1.65;
}
.leading-7 {
  line-height: 1.75rem;
}
.leading-8 {
  line-height: 2rem;
}

.text-white {
  color: #ffffff;
}
.text-dark {
  color: var(--dark);
}
.text-gray-500 {
  color: #6b7280;
}
.text-muted {
  color: rgba(0, 28, 71, 0.7);
}

/* ---- Rounded corners ---- */
.rounded-full {
  border-radius: 9999px;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}

/* ---- Shadows ---- */
.shadow-md {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.shadow-lg {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.shadow-xl {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ---- Transitions ---- */
.transition-all {
  transition: all 0.2s ease;
}
.transition-colors {
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.transition-shadow {
  transition: box-shadow 0.2s ease;
}
.hover-scale:hover {
  transform: scale(1.05);
}

/* ---- Buttons (shared "pill CTA" pattern) ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 9999px;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}
.site-header .header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-logo {
  height: 2.25rem;
  width: 2.25rem;
  display: block;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

/* Page header (legal pages / thank-you) */
.page-header {
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
}
.page-header .header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.page-header .brand-name {
  color: var(--dark);
}
.page-header .brand {
  width: fit-content;
}
.page-header .back-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  color: var(--dark);
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.page-header .back-home:hover {
  background-color: #f3f4f6;
  transform: translateX(-2px);
}
.page-header .back-home svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  width: 100%;
}
.hero-content .container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: flex-start;
}
.hero-text {
  max-width: 36rem;
  text-align: left;
}
.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title .accent {
  color: var(--primary);
}

.hero-cta {
  background-color: var(--primary);
  color: var(--dark);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.hero-cta:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-cta {
    padding: 1.25rem 2.5rem;
  }
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* ==========================================================================
   SECTION TITLES (shared "h2" pattern across sections)
   ========================================================================== */
.section-title-xl {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  text-align: center;
}
@media (min-width: 768px) {
  .section-title-xl {
    font-size: 4.5rem;
  }
}

.section-title-72 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  text-align: center;
}
@media (min-width: 768px) {
  .section-title-72 {
    font-size: 4.5rem;
  }
}
@media (min-width: 1024px) {
  .section-title-72 {
    font-size: 72px;
  }
}

/* ==========================================================================
   WHAT IS COMPANIONLY
   ========================================================================== */
.what-is {
  padding: 8rem 2rem;
  background-color: var(--off-white);
}
.what-is .inner {
  max-width: 80rem;
  margin: 0 auto;
}
.what-is .title-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 6rem;
}
.what-is-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
.what-is-image {
  border-radius: 1.5rem;
  overflow: hidden;
  height: 520px;
}
.what-is-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.what-is p {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  line-height: 2rem;
  margin-bottom: 1.5rem;
}
.what-is p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .what-is-grid {
    grid-template-columns: 1fr 1fr;
  }
  .what-is-image {
    height: 620px;
  }
}

/* ==========================================================================
   ABOUT US
   ========================================================================== */
.about-section {
  background-color: #ffffff;
}
.about-title-wrap {
  padding: 5rem 2rem 2.5rem;
}
.about-title-wrap .inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.about-features {
  padding: 6rem 2rem;
}
.about-features .inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}
.about-feature {
  display: grid;
  gap: 4rem;
  align-items: center;
}
.about-feature-text-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.about-feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--dark);
}
.about-feature-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--dark);
}
.about-feature-desc {
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--dark);
  font-weight: 400;
  line-height: 2rem;
}
.about-feature-image {
  border-radius: 1.5rem;
  overflow: hidden;
  height: 28rem;
}
.about-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .about-feature {
    grid-template-columns: 1fr 1fr;
  }
  .about-feature-title {
    font-size: 2.25rem;
  }
  .about-feature-desc {
    font-size: 1.25rem;
  }
  .about-feature.reverse .about-feature-text {
    order: 2;
  }
  .about-feature.reverse .about-feature-image {
    order: 1;
  }
}

/* Banner */
.about-banner-wrap {
  padding: 6rem 2rem;
  background-color: #ffffff;
}
.about-banner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 144px;
}
.about-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #c1ed85, #d7f4a8, #eafad0);
}
.about-banner-doodles {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}
.about-banner-doodles svg {
  width: 100%;
  height: 100%;
}
.about-banner-grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("https://www.transparenttextures.com/patterns/paper-fibers.png");
}
.about-banner-glow-1 {
  position: absolute;
  top: -10rem;
  left: -10rem;
  width: 40rem;
  height: 40rem;
  background: rgba(255, 255, 255, 0.3);
  filter: blur(120px);
}
.about-banner-glow-2 {
  position: absolute;
  bottom: -10rem;
  right: -10rem;
  width: 40rem;
  height: 40rem;
  background: rgba(0, 0, 0, 0.05);
  filter: blur(140px);
}
.about-banner-text {
  position: relative;
  font-size: 24px;
  color: var(--dark);
  line-height: 1.3;
  font-weight: 500;
}
@media (min-width: 640px) {
  .about-banner-text {
    font-size: 36px;
  }
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-it-works {
  padding: 8rem 2rem;
  background-color: #ffffff;
}
.how-it-works .inner {
  max-width: 80rem;
  margin: 0 auto;
}
.how-it-works .section-title-72 {
  margin-bottom: 5rem;
}

.steps-desktop {
  display: none;
}
.steps-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
}

.step {
  position: relative;
}
.step-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}
.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.step-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--dark);
}
.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.75rem;
}
.step-arrow-vertical {
  margin: 0.5rem 0;
}

@media (min-width: 768px) {
  .steps-desktop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
  }
  .steps-mobile {
    display: none;
  }
  .step-icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
  }
  .step-icon svg {
    width: 2.5rem;
    height: 2.5rem;
  }
  .step-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    min-height: 64px;
    display: flex;
    align-items: center;
  }
  .step-desc {
    font-size: 20px;
    line-height: 2rem;
  }
  .step-arrow {
    position: absolute;
    top: 2.5rem;
    left: calc(100% - 12px);
    z-index: 10;
  }
}

.how-it-works-cta-wrap {
  display: flex;
  justify-content: center;
}
.how-it-works-cta {
  width: 100%;
  height: 56px;
  background-color: var(--primary);
  color: var(--dark);
  font-size: 18px;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.how-it-works-cta:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}
@media (min-width: 640px) {
  .how-it-works-cta {
    width: 208px;
    height: 64px;
    font-size: 20px;
  }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  padding: 8rem 2rem;
  background-color: var(--off-white);
}
.testimonials .inner {
  max-width: 80rem;
  margin: 0 auto;
}
.testimonials .section-title-xl {
  margin-bottom: 5rem;
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}
.testimonial-card:hover {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.testimonial-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid;
}
.testimonial-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}
.testimonial-meta {
  font-size: 1rem;
  color: rgba(0, 28, 71, 0.7);
}
.testimonial-text {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  line-height: 2rem;
}

/* ==========================================================================
   COMPANIONS
   ========================================================================== */
.companions-section {
  padding: 8rem 2rem;
  background-color: #ffffff;
}
.companions-section .inner {
  max-width: 80rem;
  margin: 0 auto;
}
.companions-section .section-title-xl {
  margin-bottom: 5rem;
}

.companions-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) {
  .companions-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.companions-grid p {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  line-height: 2rem;
  margin-bottom: 2rem;
}
.companions-grid p:last-child {
  margin-bottom: 0;
}

.companions-image {
  border-radius: 1.5rem;
  overflow: hidden;
  height: 520px;
}
.companions-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .companions-image {
    height: 620px;
  }
}

/* ==========================================================================
   SIGN UP FORM
   ========================================================================== */
.signup-section {
  padding: 8rem 2rem;
  background-color: var(--off-white);
}
.signup-section .inner {
  max-width: 80rem;
  margin: 0 auto;
}
.signup-section .section-title-xl {
  margin-bottom: 5rem;
}

.signup-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
/* Mobile: stack as flex so we can reorder image after the form */
@media (max-width: 767px) {
  .signup-grid {
    display: flex;
    flex-direction: column;
  }
  .signup-grid .signup-image {
    order: 2;
  }
  .signup-grid > div:not(.signup-image) {
    order: 1;
  }
}
@media (min-width: 768px) {
  .signup-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.signup-image {
  border-radius: 1.5rem;
  overflow: hidden;
  height: 800px;
}
.signup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .signup-image {
    height: 900px;
  }
}
@media (max-width: 767px) {
  .signup-image {
    height: 320px;
  }
}

.signup-intro {
  font-size: 30px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-field label {
  display: block;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-field input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid var(--border);
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
}
.form-field input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.checkbox-wrap {
  position: relative;
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.checkbox-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 0.25rem;
  background-color: #ffffff;
  border: 1px solid var(--border);
  cursor: pointer;
  margin: 0;
  display: block;
}
.checkbox-wrap input[type="checkbox"]:checked {
  background-color: var(--primary);
}
.checkbox-wrap svg {
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  height: 1.25rem;
  width: 1.25rem;
  color: var(--dark);
  opacity: 0;
}
.checkbox-wrap input[type="checkbox"]:checked + svg {
  opacity: 1;
}
.checkbox-row label {
  font-size: 16px;
  color: var(--dark);
  cursor: pointer;
  font-weight: 400;
}
.checkbox-row a {
  text-decoration: underline;
}
.checkbox-row a:hover {
  color: var(--primary-hover);
}

.signup-submit {
  width: 100%;
  background-color: var(--primary);
  color: var(--dark);
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-size: 20px;
  font-weight: 600;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.signup-submit:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  padding: 8rem 2rem;
  background-color: #ffffff;
}
.faq-section .inner {
  max-width: 56rem;
  margin: 0 auto;
}
.faq-section .section-title-xl {
  margin-bottom: 5rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
}
.accordion-trigger-text {
  font-size: 1.25rem;
  font-weight: 600;
  padding-right: 2rem;
  color: var(--dark);
}
.accordion-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}
.accordion-content {
  overflow: hidden;
  height: 0;
  transition: height 0.2s ease-out;
}
.accordion-content-inner {
  padding-bottom: 1.5rem;
  font-size: 1.125rem;
  color: #000000;
  line-height: 1.65;
}

.faq-cta-wrap {
  text-align: center;
  margin-top: 4rem;
}
.faq-cta {
  background-color: var(--primary);
  color: var(--dark);
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.faq-cta:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark);
  color: #ffffff;
  padding: 5rem 2rem;
}
.site-footer .inner {
  max-width: 80rem;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand .brand {
  margin-bottom: 1.5rem;
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-col ul a {
  transition: color 0.2s ease;
}
.footer-col ul a:hover {
  color: var(--primary);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-newsletter-form input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}
.footer-newsletter-form button {
  width: 100%;
  background-color: var(--primary);
  color: var(--dark);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.footer-newsletter-form button:hover {
  background-color: var(--primary-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   LEGAL PAGES (Privacy Policy / Terms of Service)
   ========================================================================== */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}
.legal-main {
  flex: 1;
  padding: 6rem 2rem;
}
.legal-main .inner {
  max-width: 48rem;
  margin: 0 auto;
}

.legal-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(26, 26, 26, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.legal-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .legal-title {
    font-size: 3.75rem;
  }
}
.legal-updated {
  font-size: 17px;
  color: #6b7280;
  margin-bottom: 2rem;
}
.legal-intro {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  line-height: 2rem;
  margin-bottom: 4rem;
}

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.legal-section {
  border-top: 1px solid #f3f4f6;
  padding-top: 3rem;
}
.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}
.legal-section p {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  line-height: 2rem;
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */
.thankyou-main .inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.thankyou-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .thankyou-title {
    font-size: 48px;
  }
}

.thankyou-subtext {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  line-height: 2rem;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.fb-btn-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: #1877f2;
  color: #ffffff;
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-size: 20px;
  font-weight: 600;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.fb-btn:hover {
  background-color: #1565d8;
  transform: scale(1.05);
}
.fb-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.companion-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.companion-photo {
  border-radius: 1.5rem;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  height: 540px;
}
.companion-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .companion-photo {
    width: 420px;
    height: 620px;
  }
}

.companion-meta {
  margin-bottom: 3rem;
}
.companion-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}
.companion-distance-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.ping-dot {
  position: relative;
  display: flex;
  height: 0.75rem;
  width: 0.75rem;
}
.ping-dot-ping {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background-color: #22c55e;
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ping-dot-core {
  position: relative;
  display: inline-flex;
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 9999px;
  background-color: #22c55e;
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
.companion-distance-text {
  font-size: 17px;
  color: #6b7280;
}

.important-notes {
  margin-top: 3rem;
  background-color: var(--off-white);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: left;
  width: 100%;
}
@media (min-width: 768px) {
  .important-notes {
    padding: 3.5rem;
  }
}
.important-notes h3 {
  font-size: 30px;
  font-weight: 700;
  color: #8d0000;
  margin-bottom: 1.5rem;
}
.important-notes p {
  font-size: 20px;
  color: var(--dark);
  line-height: 2rem;
  margin-bottom: 1.5rem;
}
.important-notes p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   MOBILE SPACING OVERRIDES
   Several sections use heavy desktop padding (8rem ≈128px top/bottom) that
   wastes a lot of vertical space on phones and makes the page feel long and
   harder to navigate. Tighten it up below 768px.
   ========================================================================== */
@media (max-width: 767px) {
  .what-is,
  .how-it-works,
  .testimonials,
  .companions-section,
  .signup-section,
  .faq-section {
    padding: 4rem 1.5rem;
  }
  .about-title-wrap {
    padding: 3rem 1.5rem 1.5rem;
  }
  .about-features {
    padding: 4rem 1.5rem;
  }
  .about-features .inner {
    gap: 4rem;
  }
  .about-banner-wrap {
    padding: 3rem 1.5rem;
  }
  .site-footer {
    padding: 3rem 1.5rem;
  }
  .legal-main {
    padding: 4rem 1.5rem;
  }

  .what-is .title-wrap {
    margin-bottom: 3rem;
  }
  .how-it-works .section-title-72 {
    margin-bottom: 2.5rem;
  }
  .testimonials .section-title-xl,
  .companions-section .section-title-xl,
  .signup-section .section-title-xl,
  .faq-section .section-title-xl {
    margin-bottom: 2.5rem;
  }
}
