:root {
  --black: #050706;
  --green: #009b3a;
  --bright-green: #22c55e;
  --gold: #fed100;
  --white: #f8fbf7;
  --muted: #b7c2ba;
  --line: rgba(255, 255, 255, 0.13);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(rgba(254, 209, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 155, 58, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 8% 0%, rgba(254, 209, 0, 0.15), transparent 32rem),
    radial-gradient(circle at 88% 14%, rgba(0, 155, 58, 0.18), transparent 34rem),
    var(--black);
  background-size: 70px 70px, 70px 70px, auto, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  font: inherit;
}

.care-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  background: rgba(5, 7, 6, 0.80);
  backdrop-filter: blur(18px);
}

.care-header nav {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.care-header nav a,
.care-subnav a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.care-header nav a:hover,
.care-header nav a:focus-visible,
.care-subnav a:hover,
.care-subnav a:focus-visible {
  color: var(--gold);
}

.care-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.care-mark {
  position: relative;
  width: 28px;
  height: 20px;
}

.care-mark::before,
.care-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 13px;
  height: 13px;
  border-left: 4px solid var(--bright-green);
  border-top: 4px solid var(--bright-green);
  border-radius: 3px 0 0 0;
  transform: rotate(45deg);
}

.care-mark::before {
  left: 1px;
}

.care-mark::after {
  left: 10px;
  border-color: var(--gold);
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.primary-cta {
  color: #041a0d;
  background: linear-gradient(145deg, var(--gold), #c9a500);
  box-shadow: 0 14px 36px rgba(254, 209, 0, 0.18);
}

.secondary-cta {
  color: var(--white);
  background: rgba(0, 155, 58, 0.08);
  border-color: rgba(0, 155, 58, 0.45);
}

.care-hero,
.offer-section,
.outreach-section,
.fulfillment-section,
.close-section,
.template-library-section,
.template-details,
.care-subnav,
.care-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.care-subnav {
  position: sticky;
  top: 84px;
  z-index: 9;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  background: rgba(5, 7, 6, 0.76);
  backdrop-filter: blur(18px);
}

.care-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.care-subnav a:hover,
.care-subnav a:focus-visible {
  border-color: rgba(254, 209, 0, 0.30);
  background: rgba(254, 209, 0, 0.08);
}

.care-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 64px 0 36px;
}

.flag-beam {
  position: absolute;
  inset: 12% auto auto 4%;
  width: min(720px, 78vw);
  height: 360px;
  background:
    linear-gradient(22deg, transparent 0 36%, rgba(254, 209, 0, 0.30) 36% 39%, rgba(0, 155, 58, 0.25) 39% 61%, rgba(254, 209, 0, 0.30) 61% 64%, transparent 64%),
    radial-gradient(circle at 50% 50%, rgba(0, 155, 58, 0.18), transparent 66%);
  opacity: 0.85;
  pointer-events: none;
  transform: rotate(-4deg);
}

.hero-copy,
.result-card,
.offer-section,
.outreach-section,
.fulfillment-section,
.close-section,
.template-library-section,
.template-details,
.care-footer {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(254, 209, 0, 0.35);
  border-radius: 999px;
  background: rgba(254, 209, 0, 0.08);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
}

.hero-copy p,
.section-heading p,
.fulfillment-section p,
.close-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.result-card,
.offer-section,
.outreach-section,
.fulfillment-section,
.close-section,
.template-library-section,
.template-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 14, 10, 0.80);
  box-shadow: 0 28px 80px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
}

.result-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.result-card > span {
  color: var(--gold);
  font-weight: 900;
}

.result-card > strong {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
}

.result-list {
  display: grid;
  gap: 10px;
}

.result-list div,
.tier-grid article,
.script-grid article,
.checklist article,
.template-market-grid article,
.detail-grid article {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
}

.result-list b,
.checklist b {
  display: block;
  margin-bottom: 4px;
}

.result-list small,
.tier-grid p,
.tier-grid li,
.script-grid p,
.checklist span,
.template-market-grid p,
.detail-grid span {
  color: var(--muted);
}

.offer-section,
.outreach-section,
.fulfillment-section,
.close-section,
.template-library-section,
.template-details {
  margin-top: 20px;
  padding: clamp(22px, 4vw, 34px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 18px;
}

.tier-grid,
.script-grid,
.template-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.script-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tier-grid small,
.template-market-grid small {
  color: var(--gold);
  font-weight: 900;
}

.tier-grid h3,
.script-grid h3,
.template-market-grid h3 {
  margin: 12px 0 8px;
}

.tier-grid ul {
  margin: 0;
  padding-left: 18px;
}

.tier-grid .featured {
  border-color: rgba(254, 209, 0, 0.35);
  background: linear-gradient(145deg, rgba(254, 209, 0, 0.12), rgba(0, 155, 58, 0.10));
}

.template-hero {
  min-height: 74vh;
}

.template-market-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.template-market-grid article {
  display: grid;
  align-content: start;
  min-height: 226px;
}

.template-market-grid p,
.detail-grid span {
  line-height: 1.5;
}

.template-market-grid a {
  width: fit-content;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 900;
}

.template-details {
  scroll-margin-top: 96px;
}

section[id] {
  scroll-margin-top: 150px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-grid b {
  display: block;
  margin-bottom: 6px;
}

.fulfillment-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: start;
}

.checklist {
  display: grid;
  gap: 10px;
}

.close-section {
  text-align: center;
}

.close-section p {
  max-width: 760px;
  margin-inline: auto;
}

.care-footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0 42px;
  color: var(--muted);
}

.care-voice-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  justify-items: end;
  gap: 12px;
  color: var(--white);
}

.care-voice-bubble {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(254, 209, 0, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(6, 18, 13, 0.92);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
}

.care-voice-pulse {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bright-green);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.72);
}

.care-voice-pulse::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(34, 197, 94, 0.42);
  border-radius: inherit;
  animation: careVoicePulse 1.7s ease-out infinite;
}

.care-voice-panel {
  width: min(370px, calc(100vw - 30px));
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 155, 58, 0.16), transparent 14rem),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035)),
    rgba(8, 13, 10, 0.96);
  box-shadow: 0 24px 80px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.10);
  backdrop-filter: blur(22px);
}

.care-voice-panel[hidden] {
  display: none;
}

.care-voice-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.care-voice-panel-header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  cursor: pointer;
}

.care-voice-panel h2 {
  margin: 16px 0 8px;
  font-size: 1.7rem;
  line-height: 1.05;
}

.care-voice-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.care-voice-status {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(0, 155, 58, 0.28);
  border-radius: 8px;
  background: rgba(0, 155, 58, 0.08);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
}

.care-voice-status[data-state="active"] {
  border-color: rgba(34, 197, 94, 0.44);
  color: var(--bright-green);
}

.care-voice-status[data-state="error"] {
  border-color: rgba(224, 92, 92, 0.44);
  color: #ffb6b6;
}

.care-voice-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.care-voice-actions .primary-cta,
.care-voice-actions .secondary-cta {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 8px;
  cursor: pointer;
}

.care-voice-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.care-voice-phone {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

@keyframes careVoicePulse {
  from {
    opacity: 0.9;
    transform: scale(0.7);
  }

  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

@media (max-width: 1040px) {
  .tier-grid,
  .script-grid,
  .template-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .care-hero,
  .fulfillment-section,
  .detail-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .care-header,
  .care-hero,
  .offer-section,
  .outreach-section,
  .fulfillment-section,
  .close-section,
  .template-library-section,
  .template-details,
  .care-subnav,
  .care-footer {
    width: calc(100% - 22px);
  }

  .care-header {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 8px;
  }

  .care-header nav,
  .care-subnav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .care-header nav::-webkit-scrollbar,
  .care-subnav::-webkit-scrollbar {
    display: none;
  }

  .care-subnav {
    top: 118px;
  }

  .care-voice-widget {
    right: 11px;
    bottom: 11px;
  }

  .care-voice-bubble,
  .care-voice-panel {
    width: min(100%, calc(100vw - 22px));
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.4rem);
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .tier-grid,
  .script-grid,
  .template-market-grid {
    grid-template-columns: 1fr;
  }
}
