:root {
  --white: #FFFFFF;
  --alt: #F6F7F8;
  --alt-2: #FAFAFB;
  --line: #E8EAED;
  --ink: #0B0C0E;
  --body: #4B5563;
  --muted: #9CA3AF;
  --green: #5C9E31;
  --green-deep: #4C8428;
  --green-pale: #EEF6E8;
  --lime: #7CB342;
  --lime-pale: #F1F8E9;
  --navy: #0B1F3A;
  --font: "Sora", system-ui, sans-serif;
  --shadow-soft: 0 8px 30px rgba(11, 12, 14, 0.06);
  --shadow-hover: 0 14px 40px rgba(11, 12, 14, 0.1);
  --shadow-pill: 0 18px 50px rgba(92, 158, 49, 0.14), 0 6px 18px rgba(11, 12, 14, 0.06);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

.font-display,
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.rx-container {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .rx-container {
    padding-inline: 24px;
  }
}

/* —— Standard sticky header —— */
.rx-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.rx-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(11, 12, 14, 0.08);
}

.rx-header-inner {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 0 24px;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.rx-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.rx-logo img {
  height: 2.65rem;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 768px) {
  .rx-logo img {
    height: 2.9rem;
  }
}

.rx-nav {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 1.05rem;
  min-width: 0;
}

.rx-nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
  padding: 0.45rem 0;
  white-space: nowrap;
  transition: color 0.2s;
}

.rx-nav-link:hover {
  color: var(--ink);
}

.rx-nav-link.is-active {
  color: var(--green-deep);
}

.rx-nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}

.rx-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  flex-shrink: 0;
}

.rx-header-phone {
  display: none;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.rx-header-phone:hover {
  color: var(--green-deep);
}

.rx-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: none;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.rx-header-cta:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
}

.rx-header-cta-block {
  width: 100%;
  margin-top: 0.5rem;
}

.rx-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.rx-menu-btn span {
  display: block;
  width: 14px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.rx-menu-btn.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.rx-menu-btn.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.rx-mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem 24px 1.15rem;
  flex-direction: column;
  gap: 0.15rem;
}

.rx-mobile-nav:not([hidden]) {
  display: flex;
}

.rx-mobile-link {
  display: block;
  padding: 0.8rem 0.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.rx-mobile-link.is-active,
.rx-mobile-link:hover {
  color: var(--green-deep);
}

.rx-mobile-phone {
  display: block;
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

@media (min-width: 1100px) {
  .rx-nav { display: flex; }
  .rx-menu-btn { display: none; }
  .rx-mobile-nav { display: none !important; }
}

@media (min-width: 1280px) {
  .rx-header-phone { display: inline; }
}

/* —— Buttons —— */
.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-family: var(--font);
  letter-spacing: -0.01em;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(92, 158, 49, 0.22);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-lime:hover {
  transform: translateY(-2px);
  background: var(--green-deep);
  box-shadow: 0 10px 26px rgba(92, 158, 49, 0.28);
  color: #fff;
}

.btn-lime.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 12, 14, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-ghost:hover {
  background: var(--white);
  border-color: #DDE0E4;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font);
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-navy:hover {
  background: var(--alt);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* —— Dot / spiral motif —— */
.dot-spiral {
  position: absolute;
  width: 280px;
  height: 280px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 55%, var(--lime) 0 14px, transparent 15px),
    radial-gradient(circle at 28% 38%, var(--lime) 0 11px, transparent 12px),
    radial-gradient(circle at 42% 26%, var(--lime) 0 9px, transparent 10px),
    radial-gradient(circle at 58% 20%, var(--lime) 0 7px, transparent 8px),
    radial-gradient(circle at 72% 22%, var(--lime) 0 5px, transparent 6px),
    radial-gradient(circle at 82% 30%, var(--lime) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 42%, var(--lime) 0 3px, transparent 4px),
    radial-gradient(circle at 90% 54%, var(--green) 0 2.5px, transparent 3.5px);
  opacity: 0.3;
  animation: spiralDrift 12s ease-in-out infinite;
}

.dot-spiral.section-spiral {
  right: -40px;
  top: 20%;
  opacity: 0.2;
}

.dot-spiral.footer-spiral {
  right: -60px;
  bottom: -40px;
  opacity: 0.12;
}

@keyframes spiralDrift {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-10px); }
}

.dot-field {
  background-image: radial-gradient(rgba(124, 179, 66, 0.16) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
}

/* —— Home hero —— */
.rx-hero {
  position: relative;
  min-height: min(86vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.rx-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: heroKen 20s ease-out both;
}

.rx-hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8, 18, 34, 0.82) 0%, rgba(8, 18, 34, 0.55) 38%, rgba(8, 18, 34, 0.2) 68%, rgba(8, 18, 34, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 18, 34, 0.5) 0%, transparent 42%);
}

.rx-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4.5rem 24px 4.25rem;
  max-width: 40rem;
  margin-left: max(0px, calc((100% - min(1180px, 100%)) / 2));
  margin-right: auto;
  animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rx-hero-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
}

.rx-hero-brand span {
  color: var(--lime);
}

.rx-hero-brand::after {
  content: '';
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.85rem;
  background: var(--green);
  border-radius: 2px;
  animation: heroBar 0.7s 0.18s both cubic-bezier(0.22, 1, 0.36, 1);
}

.rx-hero-title {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2rem, 4.8vw, 3.55rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
}

.rx-hero-lead {
  margin: 1.15rem 0 0;
  max-width: 30rem;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.rx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.rx-hero .btn-lime {
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(11, 12, 14, 0.28);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

@keyframes heroKen {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroBar {
  from { opacity: 0; transform: scaleX(0); transform-origin: left center; }
  to { opacity: 1; transform: scaleX(1); transform-origin: left center; }
}

@media (min-width: 768px) {
  .rx-hero {
    min-height: min(90vh, 780px);
  }
  .rx-hero-inner {
    padding: 5.5rem 24px 5rem;
  }
}

/* —— Product strip —— */
.product-strip-wrap {
  margin-top: 0;
  position: relative;
  z-index: 5;
  padding: 1.5rem 24px 1rem;
  overflow: hidden;
  background: var(--alt);
}

@media (min-width: 768px) {
  .product-strip-wrap {
    padding-inline: 24px;
  }
}

.product-strip-wrap .rx-container {
  padding-inline: 0;
  max-width: none;
  width: 100%;
}

.product-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .product-strip {
    grid-auto-columns: minmax(240px, 1fr);
    gap: 1rem;
  }
}

.product-strip::-webkit-scrollbar { height: 6px; }
.product-strip::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.product-chip {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.85rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.35rem;
  padding: 0.8rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(11, 12, 14, 0.08);
  border: 1px solid rgba(232, 234, 237, 0.95);
  transition: transform 0.25s, box-shadow 0.25s;
  min-height: 112px;
  backdrop-filter: blur(8px);
}

.product-chip:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(11, 12, 14, 0.12);
  color: var(--ink);
}

.product-chip img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 1rem;
}

.product-chip h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.product-chip p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--body);
  line-height: 1.4;
}

.product-chip .chip-arrow {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
}

/* —— App-store review score card —— */
.review-score-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.6rem 1.5rem;
  border-radius: 1.75rem;
  background:
    linear-gradient(135deg, rgba(241, 248, 233, 0.9), rgba(255, 255, 255, 0.95) 45%, #fff),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
  .review-score-card {
    grid-template-columns: 1.1fr 1.3fr auto;
    align-items: center;
    padding: 1.85rem 2rem;
    gap: 2rem;
  }
}

.rsc-score {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rsc-badge {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.05rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--lime), var(--green-deep));
  box-shadow: 0 10px 24px rgba(92, 158, 49, 0.28);
}
.rsc-badge svg { display: block; }

.rsc-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.rsc-rating-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.rsc-number {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}

.rsc-stars {
  color: var(--lime);
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  line-height: 1;
}

.rsc-count {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--body);
}

.rsc-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.rsc-quote p {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.rsc-quote footer {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.rsc-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .rsc-meta {
    grid-template-columns: 1fr;
    min-width: 9.5rem;
  }
}

.rsc-meta div {
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.rsc-meta strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.rsc-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.cta-startup {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem 1.75rem;
  border-radius: 2rem;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(124, 179, 66, 0.18), transparent 55%),
    linear-gradient(180deg, #F7FCF0, #FFFFFF);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

@media (min-width: 800px) {
  .cta-startup {
    grid-template-columns: 1.4fr auto;
    padding: 3rem 2.5rem;
  }
}

.cta-startup h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.65rem;
}

.cta-startup p {
  margin: 0;
  max-width: 34rem;
  color: var(--body);
}

.cta-startup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Sections —— */
.section-pad { padding: 4.5rem 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 12px 0 0 -2px rgba(124, 179, 66, 0.6), 22px 0 0 -3px rgba(124, 179, 66, 0.3);
}

.section-navy {
  background: var(--alt);
  color: var(--body);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-light { background: var(--white); }

.section-mist {
  background: var(--alt-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-tile {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  margin-bottom: 1rem;
  box-shadow: 16px 0 0 var(--lime), 30px 0 0 rgba(124, 179, 66, 0.35);
}

.step-rail { display: grid; gap: 1rem; }

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
  border-radius: 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow 0.25s;
}

.step-item:hover { box-shadow: 0 10px 30px rgba(11, 12, 14, 0.07); }

.step-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-deep);
  font-family: var(--font);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 80% 0%, rgba(124, 179, 66, 0.16), transparent 55%),
    var(--alt-2);
  color: var(--ink);
  padding: 6.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero img.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.55) 75%, rgba(255, 255, 255, 0.2) 100%);
}

.page-hero .rx-container { position: relative; z-index: 2; }

.page-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.split-media {
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(11, 12, 14, 0.08);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }

.faq-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-toggle span {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-toggle span {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
}

.faq-panel {
  display: none;
  padding: 0 0 1.1rem;
  color: var(--body);
  line-height: 1.65;
}

.faq-item.open .faq-panel { display: block; }

/* —— Contact rail —— */
.contact-rail {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.55rem 0.45rem 0.55rem 0.55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-right: none;
  border-radius: 1.25rem 0 0 1.25rem;
  box-shadow: -8px 12px 40px rgba(11, 12, 14, 0.1);
}

.rail-btn {
  width: 44px;
  height: 44px;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  color: var(--green-deep);
  background: var(--green-pale);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  text-decoration: none;
}

.rail-btn:hover {
  background: var(--green);
  color: #fff;
  transform: translateX(-3px);
}

.rail-btn.rail-wa:hover { background: #25D366; color: #fff; }
.rail-btn.rail-quote { background: var(--green); color: #fff; }
.rail-btn.rail-quote:hover { background: var(--green-deep); }

@media (max-width: 768px) {
  .contact-rail {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    border-radius: 1.25rem 1.25rem 0 0;
    border-right: 1px solid var(--line);
    border-bottom: none;
    padding: 0.55rem;
  }
  .rail-btn:hover { transform: translateY(-3px); }
  body { padding-bottom: 4.5rem; }

  .rx-hero {
    min-height: min(78vh, 640px);
  }

  .rx-hero-inner {
    padding: 3.5rem 24px 3.75rem;
  }
}

/* —— Forms —— */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: var(--white);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(92, 158, 49, 0.18);
}

.consent-row {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.75rem 0.9rem;
  margin: 0;
  background: var(--white);
}

.consent-row legend {
  font-size: 0.8rem;
  color: var(--body);
  padding: 0 0.25rem;
  float: left;
  width: 100%;
  margin-bottom: 0.5rem;
}

.consent-row::after {
  content: "";
  display: table;
  clear: both;
}

.consent-options {
  display: flex;
  gap: 1.25rem;
}

.consent-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.consent-options input[type="radio"] { accent-color: var(--green); }

/* —— Modal —— */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.quote-modal.is-open { display: flex; }

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 14, 0.4);
  backdrop-filter: blur(4px);
}

.quote-modal-panel {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  max-height: min(90vh, 900px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(11, 12, 14, 0.18);
}

.modal-close {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--alt);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* —— Footer —— */
.site-footer {
  background: var(--white);
  color: var(--body);
  border-top: 1px solid var(--line);
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--body);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green); }
.footer-links li { color: var(--body); font-size: 0.95rem; }

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.legal-content p,
.legal-content li {
  color: var(--body);
  line-height: 1.7;
}

.legal-content a { color: var(--green); }

.legal-content ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.prose-rx p { color: var(--body); line-height: 1.75; }

.blog-content { color: var(--body); }

.blog-content p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.blog-content h2 {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.875rem;
}

.blog-content h3 {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1.75rem 0 0.75rem;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 1.25rem 1.25rem;
  padding-left: 0.25rem;
  list-style: disc;
}

.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.blog-content strong { color: var(--ink); }
.blog-content a { color: var(--green); font-weight: 600; }
.blog-content a:hover { color: var(--green-deep); }

@media (prefers-reduced-motion: reduce) {
  .rx-hero-media,
  .rx-hero-inner,
  .rx-hero-brand::after,
  .dot-spiral {
    animation: none !important;
  }

  .rx-hero-media { transform: none; }
}
