/* =========================================================
   Aster Health — marketing pages
   ========================================================= */

/* ---------- inner page hero ---------- */

.page-hero {
  position: relative;
  padding: 84px 0 56px;
}

.page-hero.center {
  text-align: center;
}

.page-hero h1 {
  max-width: 920px;
  margin-top: 16px;
  font-size: clamp(2.75rem, 5vw, 4rem);
}

.page-hero.center h1 {
  margin-inline: auto;
}

.page-hero .page-lede {
  max-width: 640px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.page-hero.center .page-lede {
  margin-inline: auto;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.page-hero.center .page-hero-actions {
  justify-content: center;
}

.page-hero.tinted {
  background:
    radial-gradient(700px 380px at 50% -10%, rgba(11, 92, 255, 0.1), transparent 65%),
    linear-gradient(180deg, #f8fbff, #fff);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 0.8125rem;
}

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

.breadcrumb .icon {
  width: 13px;
  height: 13px;
}

/* ---------- care page ---------- */

.care-hero {
  padding-bottom: 40px;
}

.care-search {
  position: relative;
  width: min(100%, 560px);
  margin: 30px auto 0;
}

.care-search .icon {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  color: var(--muted-2);
  transform: translateY(-50%);
  pointer-events: none;
}

.care-search input {
  width: 100%;
  height: 56px;
  padding: 0 18px 0 50px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9375rem;
  box-shadow: 0 8px 24px rgba(16, 34, 64, 0.05);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.care-search input::placeholder {
  color: var(--muted-2);
}

.care-search input:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(11, 92, 255, 0.12);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.filter-btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-btn.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.care-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.care-count {
  color: var(--muted);
  font-size: 0.875rem;
}

.care-count strong {
  color: var(--ink);
  font-weight: 600;
}

.care-tools .note {
  max-width: 460px;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 28px;
}

.condition-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.condition-card:hover {
  border-color: var(--blue-200);
  box-shadow: 0 12px 30px rgba(16, 34, 64, 0.07);
  transform: translateY(-2px);
}

.condition-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-050);
  color: var(--blue);
}

.condition-icon .icon {
  width: 20px;
  height: 20px;
}

.condition-card h3 {
  margin-top: 16px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.condition-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 16px;
}

.condition-tags span {
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--bg-soft);
  color: var(--muted-2);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.care-empty {
  display: grid;
  padding: 64px 24px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

.care-empty .icon {
  width: 32px;
  height: 32px;
  color: var(--muted-2);
}

.care-empty h3 {
  margin-top: 14px;
}

.care-empty p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.care-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

.care-info-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.care-info-card.green {
  background: linear-gradient(135deg, #f5fcf8, #edf9f3);
  border-color: #d6f0e3;
}

.care-info-card.amber {
  background: linear-gradient(135deg, #fffbf2, #fff6e6);
  border-color: #f5e5c2;
}

.care-info-card h2 {
  font-size: 1.375rem;
}

.care-info-card > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.care-info-card ul {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.care-info-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.5;
}

.care-info-card li .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--green);
}

.care-info-card.amber li .icon {
  color: #b7791f;
}

.emergency-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #f5d9d4;
  border-radius: 12px;
  background: #fff8f6;
  color: #7a2e25;
  font-size: 0.875rem;
  line-height: 1.6;
}

.emergency-banner .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #c24136;
}

.emergency-banner a {
  color: #a12a20;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- how it works ---------- */

.how-hero {
  padding: 68px 0 72px;
}

.how-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 64px;
  align-items: center;
}

.how-hero h1 {
  max-width: 660px;
}

.how-hero .page-lede {
  max-width: 540px;
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 620px;
  padding: 36px;
  place-items: center;
  overflow: visible;
}

.phone {
  position: relative;
  z-index: 1;
  width: 290px;
  height: 580px;
  padding: 9px;
  border-radius: 44px;
  background: #0b0e13;
  box-shadow: 0 30px 70px rgba(16, 34, 64, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone::after {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 82px;
  height: 22px;
  border-radius: 999px;
  background: #0b0e13;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background-image:
    radial-gradient(rgba(11, 92, 255, 0.12) 1px, transparent 1px),
    radial-gradient(420px 300px at 75% 20%, rgba(255, 255, 255, 0.9), transparent 65%),
    linear-gradient(145deg, #eef5ff, #dcebff 60%, #e9f6f3);
  background-size: 18px 18px, auto, auto;
}

.video-ui {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 42px 18px 18px;
}

.video-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #27436d;
  font-size: 0.625rem;
  font-weight: 600;
}

.video-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.5625rem;
}

.video-live::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d92d20;
  content: "";
}

.video-person {
  display: grid;
  margin-top: 46px;
  place-items: center;
  text-align: center;
}

.video-avatar {
  position: relative;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: linear-gradient(145deg, #d9e6ff, #7ea8f5);
  box-shadow: 0 20px 40px rgba(24, 53, 105, 0.2);
  color: #173e82;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.video-avatar::after {
  position: absolute;
  right: 4px;
  bottom: 8px;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #17b26a;
  content: "";
}

.video-person strong {
  margin-top: 18px;
  color: #132c50;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.video-person small {
  margin-top: 3px;
  color: #496587;
  font-size: 0.6875rem;
}

.video-note {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  color: #27436d;
  font-size: 0.6875rem;
  line-height: 1.5;
  backdrop-filter: blur(6px);
}

.video-note strong {
  display: block;
  margin-bottom: 2px;
  color: #132c50;
  font-weight: 600;
}

.video-controls {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding-bottom: 8px;
}

.video-control {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #1e3a63;
  box-shadow: 0 6px 16px rgba(24, 53, 105, 0.14);
}

.video-control .icon {
  width: 18px;
  height: 18px;
}

.video-control.end {
  background: #d92d20;
  color: #fff;
}

.phone-stage .team-float {
  z-index: 2;
}

.detail-list {
  border-top: 1px solid var(--line);
}

.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row.flip .detail-copy {
  order: 2;
}

.detail-copy .eyebrow {
  margin-bottom: 14px;
}

.detail-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.detail-copy > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.detail-copy .check-list {
  margin-top: 22px;
}

.detail-visual {
  display: grid;
  min-height: 380px;
  place-items: center;
}

.detail-mock {
  width: 100%;
  max-width: 380px;
  min-height: 380px;
  padding: 28px;
  border: 1px solid rgba(11, 92, 255, 0.12);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(360px 260px at 80% 20%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(135deg, #f4f8ff, #e8f1ff);
  box-shadow: 0 20px 50px rgba(16, 34, 64, 0.1);
}

.detail-visual.green .detail-mock {
  border-color: rgba(10, 122, 83, 0.14);
  background:
    radial-gradient(360px 260px at 80% 20%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(135deg, #f2fbf7, #e2f5ec);
}

.detail-visual.peach .detail-mock {
  border-color: rgba(201, 104, 39, 0.14);
  background:
    radial-gradient(360px 260px at 80% 20%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(135deg, #fff8f2, #ffeadb);
}

.detail-mock-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted-2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chat-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 0.75rem;
  line-height: 1.5;
}

.chat-bubble.me {
  margin-left: auto;
  border-radius: 12px 12px 4px 12px;
  background: var(--blue);
  color: #fff;
}

.chat-bubble + .chat-bubble {
  margin-top: 8px;
}

.chat-typing {
  display: inline-flex;
  gap: 3px;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
}

.chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-2);
  animation: typing 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.rx-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.rx-card + .rx-card {
  margin-top: 10px;
}

.rx-icon {
  display: grid;
  flex: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
}

.rx-icon .icon {
  width: 19px;
  height: 19px;
}

.rx-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

.rx-card small {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 0.6875rem;
}

.rx-status {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.follow-line {
  display: grid;
  gap: 0;
}

.follow-step {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding-bottom: 18px;
}

.follow-step:last-child {
  padding-bottom: 0;
}

.follow-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.follow-marker::before {
  position: absolute;
  top: 20px;
  bottom: -18px;
  width: 1px;
  background: var(--line);
  content: "";
}

.follow-step:last-child .follow-marker::before {
  display: none;
}

.follow-marker span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--muted-2);
}

.follow-marker .icon {
  width: 10px;
  height: 10px;
}

.follow-step.done .follow-marker span {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.follow-step strong {
  display: block;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

.follow-step small {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 0.6875rem;
}

.included-section {
  padding-top: 88px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.included-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.included-card .condition-icon {
  width: 38px;
  height: 38px;
}

.included-card h3 {
  margin-top: 16px;
  font-size: 1.0625rem;
}

.included-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
  align-items: start;
  padding-top: 96px;
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-aside h2 {
  margin-top: 14px;
}

.faq-aside p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-aside .btn {
  margin-top: 22px;
}

/* ---------- pricing ---------- */

.pricing-hero {
  padding-bottom: 36px;
}

.billing-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.billing-toggle {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}

.billing-toggle button {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.billing-toggle button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(16, 34, 64, 0.1);
}

.save-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.6875rem;
  font-weight: 600;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 40px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 20px 50px rgba(11, 92, 255, 0.13);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.price-card h2 {
  font-size: 1.25rem;
}

.price-card > p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.price-line {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 24px;
}

.price-value {
  color: var(--ink);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.price-per {
  padding-bottom: 5px;
  color: var(--muted-2);
  font-size: 0.8125rem;
}

.price-note {
  min-height: 34px;
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1.5;
}

.price-card .btn {
  width: 100%;
  margin-top: 22px;
}

.price-card .check-list {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.price-card .check-list li {
  font-size: 0.875rem;
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 0.8125rem;
}

.pricing-note .icon {
  width: 15px;
  height: 15px;
}

.compare-section {
  padding-top: 88px;
}

.compare-wrap {
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table thead th {
  background: #fbfcfd;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.compare-table tbody th {
  color: var(--ink-2);
  font-weight: 500;
}

.compare-table td {
  color: var(--muted);
}

.compare-table td:not(:first-child),
.compare-table th:not(:first-child) {
  text-align: center;
}

.compare-table .icon {
  width: 18px;
  height: 18px;
  margin-inline: auto;
  color: var(--green);
}

.compare-table .dash {
  color: var(--muted-2);
}

.pricing-faq {
  max-width: 860px;
  margin: 96px auto 0;
}

.pricing-faq > h2 {
  margin-bottom: 28px;
  text-align: center;
}

/* ---------- resources ---------- */

.resources-hero {
  padding-bottom: 40px;
}

.resource-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
}

.resource-feature-cover {
  position: relative;
  display: flex;
  min-height: 360px;
  align-items: flex-end;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(500px 300px at 70% 20%, rgba(255, 255, 255, 0.6), transparent 70%),
    linear-gradient(135deg, #0b5cff, #4b8cff 55%, #9bc2ff);
}

.resource-feature-cover::before {
  position: absolute;
  top: -60px;
  right: -40px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "";
}

.resource-feature-cover::after {
  position: absolute;
  top: 60px;
  right: 90px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.resource-feature-cover .cover-label {
  position: relative;
  z-index: 1;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0a3fb0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.resource-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
}

.resource-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.75rem;
}

.resource-meta span + span::before {
  margin-right: 8px;
  content: "·";
}

.resource-feature-body h2 {
  margin-top: 12px;
  font-size: 1.9rem;
}

.resource-feature-body > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.resource-feature-body .text-link {
  margin-top: 22px;
}

.resource-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 56px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.resource-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.resource-cover {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef5ff, #d8e8ff);
}

.resource-cover::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 92, 255, 0.16) 1px, transparent 1px);
  background-size: 14px 14px;
  content: "";
  opacity: 0.6;
}

.resource-cover::after {
  position: absolute;
  right: -40px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(11, 92, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.resource-cover.green {
  background: linear-gradient(135deg, #eefbf5, #cdeedd);
}

.resource-cover.green::before {
  background-image: radial-gradient(rgba(13, 138, 95, 0.18) 1px, transparent 1px);
}

.resource-cover.green::after {
  border-color: rgba(13, 138, 95, 0.2);
}

.resource-cover.peach {
  background: linear-gradient(135deg, #fff7ef, #ffe2cb);
}

.resource-cover.peach::before {
  background-image: radial-gradient(rgba(190, 103, 40, 0.16) 1px, transparent 1px);
}

.resource-cover.peach::after {
  border-color: rgba(190, 103, 40, 0.2);
}

.resource-cover.lilac {
  background: linear-gradient(135deg, #f8f2ff, #e5d7ff);
}

.resource-cover.lilac::before {
  background-image: radial-gradient(rgba(103, 63, 180, 0.16) 1px, transparent 1px);
}

.resource-cover.lilac::after {
  border-color: rgba(103, 63, 180, 0.2);
}

.resource-cover .cover-art {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 40px rgba(16, 34, 64, 0.1);
  color: var(--blue);
  transform: translate(-50%, -50%) rotate(-6deg);
  backdrop-filter: blur(6px);
}

.resource-cover.green .cover-art {
  color: var(--green);
}

.resource-cover.peach .cover-art {
  color: #b25e1f;
}

.resource-cover.lilac .cover-art {
  color: #5b3aa8;
}

.resource-cover .cover-art .icon {
  width: 40px;
  height: 40px;
}

.resource-cover .cover-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-2);
  font-size: 0.625rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.resource-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.resource-body h3 {
  margin-top: 8px;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.resource-body > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.resource-body .resource-meta {
  margin-top: auto;
  padding-top: 18px;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 72px;
  padding: 40px;
  border: 1px solid #dbe8ff;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(500px 260px at 85% 10%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(135deg, #f3f8ff, #e7f1ff);
}

.newsletter-panel h2 {
  font-size: 1.75rem;
}

.newsletter-panel p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  width: 280px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
}

.newsletter-form input:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.12);
}

.newsletter-note {
  grid-column: 1 / -1;
  margin-top: -20px;
  color: var(--muted-2);
  font-size: 0.75rem;
}

.newsletter-success {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 500;
}

.newsletter-success .icon {
  width: 18px;
  height: 18px;
}

/* ---------- article ---------- */

.article-page {
  padding: 44px 0 96px;
}

.article-head {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: center;
}

.article-head h1 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
}

.article-head .article-lede {
  max-width: 660px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 0.8125rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta .icon {
  width: 14px;
  height: 14px;
}

.article-cover {
  position: relative;
  display: grid;
  width: min(100%, 1000px);
  height: 380px;
  margin: 44px auto 0;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 340px at 70% 30%, rgba(255, 255, 255, 0.55), transparent 70%),
    linear-gradient(135deg, #0b5cff, #4b8cff 55%, #a8c9ff);
}

.article-cover::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
}

.article-cover .cover-art {
  position: relative;
  z-index: 1;
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(3, 30, 90, 0.22);
  color: #fff;
  transform: rotate(-5deg);
  backdrop-filter: blur(8px);
}

.article-cover .cover-art .icon {
  width: 64px;
  height: 64px;
}

.article-cover.green {
  background:
    radial-gradient(600px 340px at 70% 30%, rgba(255, 255, 255, 0.5), transparent 70%),
    linear-gradient(135deg, #0d8a5f, #42b98c 55%, #a8e5cc);
}

.article-cover.peach {
  background:
    radial-gradient(600px 340px at 70% 30%, rgba(255, 255, 255, 0.5), transparent 70%),
    linear-gradient(135deg, #b25e1f, #e59a5e 55%, #ffd9b8);
}

.article-cover.lilac {
  background:
    radial-gradient(600px 340px at 70% 30%, rgba(255, 255, 255, 0.5), transparent 70%),
    linear-gradient(135deg, #5b3aa8, #8f74d6 55%, #d9c9ff);
}

.article-body-wrap {
  display: grid;
  grid-template-columns: minmax(0, 720px) 240px;
  gap: 64px;
  justify-content: center;
  margin-top: 56px;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.article-aside h2 {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-aside ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.article-aside a {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.article-aside a:hover {
  color: var(--blue);
}

.article-aside .note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-disclaimer {
  margin-top: 40px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--muted-2);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.related-section {
  padding-top: 80px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

/* ---------- teams page ---------- */

.team-hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 48px;
  align-items: center;
  padding: 64px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 400px at 80% 30%, rgba(11, 92, 255, 0.16), transparent 65%),
    linear-gradient(115deg, #f8fbfd, #edf5ff 55%, #e1eefc);
}

.team-hero-panel::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 92, 255, 0.1) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(600px 400px at 80% 50%, #000, transparent 70%);
  mask-image: radial-gradient(600px 400px at 80% 50%, #000, transparent 70%);
}

.team-hero-panel > * {
  position: relative;
  z-index: 1;
}

.team-hero-panel .eyebrow {
  color: #0847c9;
}

.team-hero-panel h1 {
  font-size: clamp(2.75rem, 4.6vw, 4rem);
}

.team-hero-panel .page-lede {
  max-width: 540px;
}

.team-hero-art {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
}

.team-hero-art .team-stack {
  width: min(100%, 360px);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.benefit-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.benefit-card .condition-icon {
  width: 44px;
  height: 44px;
}

.benefit-card h3 {
  margin-top: 20px;
  font-size: 1.1875rem;
}

.benefit-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.admin-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.admin-mock {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  box-shadow: 0 18px 50px rgba(16, 34, 64, 0.1);
}

.admin-mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
  color: var(--muted-2);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-mock-top .brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  box-shadow: none;
}

.admin-mock-body {
  padding: 18px;
}

.admin-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.admin-stat {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.admin-stat small {
  display: block;
  color: var(--muted-2);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-stat strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.admin-bar {
  height: 6px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f4;
}

.admin-bar span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.admin-people {
  display: grid;
  gap: 0;
  margin-top: 14px;
}

.admin-person {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.admin-person .avatar {
  width: 28px;
  height: 28px;
  font-size: 0.5rem;
}

.admin-person strong {
  display: block;
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
}

.admin-person small {
  display: block;
  color: var(--muted-2);
  font-size: 0.5625rem;
}

.admin-person .team-status {
  font-size: 0.5rem;
}

.team-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.team-step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.team-step span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.team-step h3 {
  font-size: 1.0625rem;
}

.team-step p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.demo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 64px;
  padding: 32px 36px;
  border: 1px solid #dbe8ff;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f4f9ff, #eaf3ff);
}

.demo-strip h2 {
  font-size: 1.5rem;
}

.demo-strip p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.demo-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: none;
}

/* ---------- legal ---------- */

.legal-page {
  padding: 64px 0 96px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 72px;
  justify-content: center;
  margin-top: 48px;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
}

.legal-nav p {
  color: var(--muted-2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-nav ul {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.legal-nav a {
  display: block;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.legal-nav a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.legal-block + .legal-block {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  scroll-margin-top: calc(var(--header-h) + 24px);
  font-size: 1.75rem;
}

.legal-block .updated {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 0.8125rem;
}

.legal-block .prose {
  margin-top: 20px;
}

/* ---------- 404 ---------- */

.notfound {
  display: grid;
  min-height: calc(100vh - var(--header-h));
  padding: 64px 0;
  place-items: center;
  text-align: center;
}

.notfound-mark {
  position: relative;
  display: grid;
  width: 152px;
  height: 152px;
  margin-inline: auto;
  place-items: center;
}

.notfound-mark::before {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 92, 255, 0.14), rgba(11, 92, 255, 0) 68%);
  content: "";
  transform: scale(1.18);
}

.notfound-mark svg {
  position: relative;
  width: 116px;
  height: 116px;
  overflow: visible;
}

.notfound-mark .mark-petals {
  fill: var(--blue);
}

.notfound-mark .mark-core {
  fill: #fff;
}

.notfound-mark .mark-dot {
  fill: var(--green);
}

.notfound h1 {
  margin-top: 36px;
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.notfound p {
  max-width: 460px;
  margin: 14px auto 0;
  color: var(--muted);
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

/* ---------- pages responsive ---------- */

@media (max-width: 1100px) {
  .care-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-grid {
    gap: 14px;
  }

  .price-card {
    padding: 24px;
  }

  .resource-feature-body {
    padding: 32px;
  }

  .article-body-wrap {
    grid-template-columns: minmax(0, 680px);
  }

  .article-aside {
    display: none;
  }
}

@media (max-width: 940px) {
  .how-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phone-stage {
    min-height: 560px;
  }

  .detail-row,
  .detail-row.flip {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-row.flip .detail-copy {
    order: 0;
  }

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

  .faq-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-aside {
    position: static;
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .price-card.featured {
    order: -1;
  }

  .resource-feature {
    grid-template-columns: 1fr;
  }

  .resource-feature-cover {
    min-height: 260px;
  }

  .resource-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .newsletter-note {
    grid-column: auto;
    margin-top: 0;
  }

  .team-hero-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 40px;
  }

  .team-hero-art {
    min-height: 380px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .admin-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .team-steps {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .demo-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .care-split {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-nav {
    position: static;
  }

  .legal-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .legal-nav a {
    border: 1px solid var(--line);
    border-radius: 999px;
  }
}

@media (max-width: 760px) {
  .page-hero {
    padding: 56px 0 40px;
  }

  .page-hero h1 {
    font-size: clamp(2.4rem, 9vw, 3rem);
  }

  .page-hero .page-lede {
    font-size: 1rem;
  }

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

  .care-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .care-info-card {
    padding: 24px;
  }

  .how-hero {
    padding-top: 44px;
  }

  .phone-stage {
    min-height: 520px;
    padding: 24px;
  }

  .phone {
    width: 260px;
    height: 520px;
  }

  .phone-screen {
    border-radius: 34px;
  }

  .video-person {
    margin-top: 30px;
  }

  .video-avatar {
    width: 100px;
    height: 100px;
    font-size: 1.4rem;
  }

  .detail-row {
    padding: 44px 0;
  }

  .detail-visual {
    min-height: 320px;
  }

  .detail-mock {
    min-height: 320px;
    padding: 22px;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }

  .faq-section {
    padding-top: 72px;
  }

  .billing-row {
    flex-wrap: wrap;
  }

  .compare-table th,
  .compare-table td {
    padding: 13px 16px;
  }

  .resource-feature-body {
    padding: 26px;
  }

  .resource-feature-body h2 {
    font-size: 1.55rem;
  }

  .resource-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .article-page {
    padding-top: 28px;
  }

  .article-cover {
    height: 240px;
    margin-top: 32px;
  }

  .article-cover .cover-art {
    width: 110px;
    height: 110px;
    border-radius: 26px;
  }

  .article-cover .cover-art .icon {
    width: 46px;
    height: 46px;
  }

  .article-body-wrap {
    margin-top: 36px;
  }

  .team-hero-panel {
    padding: 36px 24px;
    border-radius: 20px;
  }

  .team-hero-art {
    min-height: 330px;
  }

  .demo-strip {
    padding: 24px;
  }

  .demo-strip-actions {
    width: 100%;
  }

  .demo-strip-actions .btn {
    flex: 1;
  }
}

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

  .filter-row {
    justify-content: flex-start;
  }

  .resource-feature-cover {
    min-height: 210px;
  }

  .phone-stage {
    min-height: 480px;
    padding: 16px;
  }

  .phone {
    width: 240px;
    height: 480px;
  }

  .video-note {
    display: none;
  }

  .included-grid {
    margin-top: 28px;
  }
}
