:root {
  --navy: #0B1D2D;
  --sage: #4E7F6B;
  --coral: #E56A57;
  --cream: #F7F4EF;
  --white: #FFFFFF;
  --text: #102332;
  --muted: #66727D;
  --border: #E7E3DC;
  --shadow: 0 18px 40px rgba(11, 29, 45, 0.08);
  --shadow-lg: 0 30px 70px rgba(11, 29, 45, 0.12);
  --shadow-soft: 0 14px 28px rgba(11, 29, 45, 0.06);
  --radius: 24px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.5;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6vw;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 227, 220, 0.9);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-logo {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.logo-mark {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-house {
  fill: none;
  stroke: var(--coral);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-person,
.logo-heart-body {
  fill: var(--coral);
}

.logo-heart-cutout {
  fill: var(--white);
}

.logo-stem {
  fill: none;
  stroke: var(--sage);
  stroke-width: 5;
  stroke-linecap: round;
}

.logo-leaf {
  fill: var(--sage);
}

.logo h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.logo h1 span {
  color: var(--coral);
}

.logo p {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--sage);
}

.active-nav-link {
  color: var(--sage);
}

button {
  border: none;
  border-radius: 14px;
  background: var(--sage);
  color: var(--white);
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(78, 127, 107, 0.35);
  outline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 88px;
  align-items: center;
  padding: 112px 6vw;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -120px;
  height: 220px;
  background:
    radial-gradient(circle at 10% 20%, rgba(229, 106, 87, 0.16), transparent 32%),
    radial-gradient(circle at 40% 40%, rgba(78, 127, 107, 0.14), transparent 30%),
    radial-gradient(circle at 70% 10%, rgba(229, 106, 87, 0.12), transparent 34%),
    radial-gradient(circle at 90% 50%, rgba(78, 127, 107, 0.10), transparent 30%);
  pointer-events: none;
}

.hero-wave {
  background-image: url('./assets/wave-background.svg');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.hero-soft-gradient {
  background:
    radial-gradient(circle at top left, rgba(229, 106, 87, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(78, 127, 107, 0.08), transparent 34%),
    var(--cream);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h2 {
  margin: 12px 0 18px;
  font-size: clamp(3.35rem, 5.6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--navy);
  max-width: 620px;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.phone {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-dashboard-image {
  width: 100%;
  max-width: 720px;
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
}

.mockup-image {
  width: 100%;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(231, 227, 220, 0.7);
}

.section-media {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: center;
}

.section-media.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.section-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.card,
.box,
.pricing,
.price-panel,
.flow-card,
.trust-card,
.media-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  width: 360px;
  padding: 28px;
}

.dashboard-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.preview-label {
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-status {
  background: rgba(78, 127, 107, 0.12);
  color: var(--sage);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.item:last-child {
  border-bottom: none;
}

.item strong {
  color: var(--navy);
}

.item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 112px 6vw;
}

.alt {
  background: rgba(255,255,255,0.65);
}

.section h2 {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--navy);
  max-width: 760px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.box {
  padding: 38px;
  border: 1px solid rgba(231, 227, 220, 0.7);
  box-shadow: var(--shadow-soft);
}

.box strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(229, 106, 87, 0.12);
  color: var(--coral);
  font-size: 1.2rem;
}

.box h3 {
  margin-top: 20px;
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: var(--navy);
}

.box p {
  margin: 0;
  color: var(--muted);
}

.media-card {
  overflow: hidden;
  border: 1px solid rgba(231, 227, 220, 0.7);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-box {
  min-height: 230px;
}

.role-grid .box span,
.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(78, 127, 107, 0.12);
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 44px 6vw;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer div {
  display: flex;
  gap: 20px;
}

.footer a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}

.price-panel {
  position: relative;
  z-index: 2;
  padding: 42px;
  border: 1px solid rgba(231, 227, 220, 0.7);
  max-width: 420px;
}

.pricing {
  padding: 56px;
  border: 1px solid rgba(231, 227, 220, 0.7);
  box-shadow: var(--shadow-lg);
}

.pricing p {
  color: var(--muted);
  max-width: 620px;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(229, 106, 87, 0.12);
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-panel h3 {
  margin: 22px 0 6px;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--navy);
}

.price-line {
  margin-top: 0;
  color: var(--sage);
  font-weight: 700;
}

.pricing-hero .price-panel {
  justify-self: center;
}

.flow-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}

.flow-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  background: rgba(247, 244, 239, 0.8);
}

.flow-step.active {
  background: rgba(78, 127, 107, 0.08);
  border: 1px solid rgba(78, 127, 107, 0.18);
}

.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
}

.flow-step h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.flow-step p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 42px;
}

.timeline-item {
  position: relative;
  padding: 32px;
  padding-left: 42px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 18px;
  bottom: -24px;
  width: 2px;
  background: rgba(78, 127, 107, 0.18);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}

.trust-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.trust-grid {
  display: grid;
  gap: 20px;
}

.trust-card {
  padding: 28px;
}

.trust-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--navy);
}

.trust-card p {
  margin: 0;
  color: var(--muted);
}

.privacy-copy {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-section {
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(229, 106, 87, 0.10), transparent 28%),
    radial-gradient(circle at bottom right, rgba(78, 127, 107, 0.12), transparent 32%),
    var(--white);
}

.cta-section h2,
.cta-section p {
  margin-left: auto;
  margin-right: auto;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 29, 45, 0.45);
  backdrop-filter: blur(6px);
}

.hidden {
  display: none;
}

.modal-card {
  position: relative;
  width: min(92vw, 420px);
  padding: 42px;
  background: var(--white);
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 24px 50px rgba(11, 29, 45, 0.16);
}

.modal-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--navy);
}

.modal-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.modal-card--waitlist {
  width: min(92vw, 440px);
  padding: 38px 36px 32px;
  text-align: left;
}

.modal-desc {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.waitlist-form {
  margin-top: 22px;
}

.waitlist-form.hidden {
  display: none;
}

.form-field.hidden {
  display: none;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

.form-field input:focus {
  outline: 3px solid rgba(78, 127, 107, 0.22);
  outline-offset: 1px;
  border-color: var(--sage);
}

.field-error {
  display: block;
  min-height: 1.2em;
  margin-top: 6px;
  color: var(--coral);
  font-size: 0.85rem;
  line-height: 1.4;
}

.form-message {
  margin: 4px 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-message.hidden {
  display: none;
}

.form-message--success {
  background: rgba(78, 127, 107, 0.12);
  color: var(--sage);
}

.form-message--info {
  background: rgba(78, 127, 107, 0.12);
  color: var(--sage);
}

.form-message--error {
  background: rgba(229, 106, 87, 0.12);
  color: var(--coral);
}

.waitlist-submit {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border: none;
  border-radius: 14px;
  background: var(--sage);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.16s ease, opacity 0.16s ease;
}

.waitlist-submit:hover:not(:disabled) {
  background: #416f5d;
}

.waitlist-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.waitlist-success {
  margin-top: 8px;
  text-align: center;
}

.waitlist-success.hidden {
  display: none;
}

.waitlist-success-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  line-height: 1.25;
}

.waitlist-success-copy {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.waitlist-close-success {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--sage);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.waitlist-close-success:hover {
  border-color: var(--sage);
  background: rgba(78, 127, 107, 0.08);
}

.resource-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.resource-card-disabled {
  opacity: 0.88;
  cursor: default;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(231, 227, 220, 0.95);
  box-shadow: none;
}

.resource-card-disabled .resource-badge {
  background: rgba(102, 114, 125, 0.12);
  color: var(--muted);
}

.resource-card-disabled h4,
.resource-card-disabled p {
  color: var(--muted);
}

.resource-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(78, 127, 107, 0.12);
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-badge--live {
  background: rgba(229, 106, 87, 0.16);
  color: var(--coral);
  border: 1px solid rgba(229, 106, 87, 0.28);
  font-size: 0.76rem;
  padding: 7px 14px;
}

.resources-hero {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.resources-hero .hero-copy {
  max-width: none;
}

.resources-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.08;
  color: var(--navy);
}

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

/* ==========================================================
   Caregiving resources hub
   ========================================================== */

.resources-hub .section-lead {
  max-width: 820px;
}

.resources-hub-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.resources-hub-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: var(--navy);
  max-width: 680px;
}

.resources-hero-media {
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.resources-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: clamp(300px, 38vw, 520px);
  object-fit: cover;
}

.resources-why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.resources-why-grid .box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resources-why-grid .box p {
  flex: 1;
  margin-bottom: 0;
}

.resources-featured-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.resources-featured-section-heading {
  margin: 12px 0 32px;
  max-width: none;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.resources-featured-duo {
  display: grid;
  gap: clamp(24px, 4vw, 32px);
}

.resources-featured-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid rgba(231, 227, 220, 0.85);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(229, 106, 87, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(78, 127, 107, 0.08), transparent 38%),
    var(--white);
  box-shadow: var(--shadow-lg);
}

.resources-featured-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.resources-featured-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 34px 80px rgba(11, 29, 45, 0.14);
  border-color: rgba(78, 127, 107, 0.35);
  text-decoration: none;
}

.resources-featured-link:focus-visible {
  outline: 3px solid rgba(78, 127, 107, 0.35);
  outline-offset: 4px;
}

.resources-featured-panel h2,
.resources-featured-panel h3 {
  margin-top: 16px;
  max-width: none;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.resources-featured-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.resources-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.resources-featured-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(78, 127, 107, 0.1);
  color: var(--sage);
  font-weight: 700;
}

.resources-read-guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--sage);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.resources-featured-link:hover .resources-read-guide {
  opacity: 0.94;
}

.resources-featured-media {
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.resources-featured-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
  object-fit: cover;
}

.resources-category {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(231, 227, 220, 0.85);
}

.resources-category:first-of-type {
  margin-top: 36px;
  padding-top: 0;
  border-top: none;
}

.resources-category-heading {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: var(--navy);
  letter-spacing: -0.03em;
}

.resources-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.resources-category-grid .box h4 {
  margin: 14px 0 10px;
  font-size: 1.15rem;
  color: var(--navy);
}

.resources-category-grid .box p {
  margin: 0;
}

.resources-roadmap-section h2 {
  max-width: 720px;
}

.resources-roadmap-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.resources-stat-card {
  text-align: left;
  padding: clamp(24px, 3vw, 32px);
}

.resources-stat-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--navy);
}

.resources-stat-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.resources-product-section .media-card {
  max-width: none;
}

.resources-product-section .mockup-image {
  width: min(100%, 640px);
  margin-inline: auto;
}

.resources-product-actions {
  margin-top: 28px;
}

.resources-benefit-list {
  margin: 24px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.resources-benefit-list li {
  line-height: 1.55;
}

.resources-cta-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.resources-cta-panel {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.resources-cta-panel h2 {
  max-width: none;
  margin-inline: auto;
}

.resources-cta-panel p {
  margin-inline: auto;
}

.resources-cta-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  max-width: 520px;
  margin: 28px auto 32px;
  padding: 0;
  list-style: none;
  text-align: left;
  color: var(--muted);
}

.resources-cta-benefits li {
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
}

.resources-cta-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 800;
}

.resources-cta-panel .hero-actions {
  justify-content: center;
}

.resources-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resources-related-grid .resource-card-link {
  padding: clamp(22px, 3vw, 28px);
}

.section-lead {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

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

  .resources-featured-panel {
    grid-template-columns: 1fr;
  }

  .resources-featured-media {
    order: -1;
  }
}

@media (max-width: 768px) {
  .resources-grid,
  .resources-category-grid,
  .resources-related-grid {
    grid-template-columns: 1fr;
  }

  .resources-hub-hero {
    grid-template-columns: 1fr;
  }

  .resources-hub-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .resources-hub-hero .hero-actions a,
  .resources-hub-hero .hero-actions button {
    width: 100%;
    text-align: center;
  }

  .resources-hero-media {
    order: 2;
  }

  .resources-roadmap-stats {
    grid-template-columns: 1fr;
  }

  .resources-why-grid {
    grid-template-columns: 1fr;
  }

  .resources-featured-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .resources-cta-panel .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .resources-cta-panel .hero-actions a,
  .resources-cta-panel .hero-actions button {
    width: 100%;
    text-align: center;
  }

  .resources-cta-benefits {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .resources-product-section .mockup-image {
    width: 100%;
  }

  .resources-product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .resources-product-actions button {
    width: 100%;
  }
}

.close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(11, 29, 45, 0.06);
  color: var(--navy);
  font-size: 1.3rem;
  padding: 0;
}

.fade-in-start {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero,
  .trust-section,
  .section-media,
  .section-media.reverse {
    grid-template-columns: 1fr;
  }

  .phone {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-dashboard-image {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 14px 5vw 16px;
  }

  .header nav {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }

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

  .header nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(231, 227, 220, 0.9);
    font-size: 0.78rem;
    line-height: 1;
  }

  .hero,
  .section {
    padding: 84px 5vw;
  }

  .hero {
    padding-top: 64px;
  }

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

  .hero h2 {
    font-size: 3.4rem;
  }

  .card {
    width: 100%;
  }

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

  .footer div {
    order: 1;
  }

  .footer p {
    order: 2;
  }
}

@media (max-width: 640px) {
  .site-logo {
    max-width: 150px;
  }

  .header {
    gap: 10px;
  }

  .header > button {
    width: auto;
    min-width: 106px;
    padding: 11px 14px;
    font-size: 0.78rem;
    border-radius: 12px;
  }

  .hero {
    gap: 48px;
  }

  .hero,
  .section {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .hero h2 {
    font-size: clamp(2.35rem, 12vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  .section h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1;
  }

  .hero p,
  .section-copy p,
  .privacy-copy {
    font-size: 0.98rem;
  }

  .hero-dashboard-image {
    border-radius: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a,
  .hero-actions button {
    width: 100%;
  }

  .box,
  .price-panel,
  .timeline-item,
  .trust-card,
  .card,
  .pricing {
    padding: 24px;
  }

  .media-card {
    border-radius: 24px;
  }

  .grid {
    gap: 18px;
  }

  .feature-box {
    min-height: auto;
  }

  .footer {
    align-items: center;
    text-align: center;
  }

  .footer div {
    justify-content: center;
  }

  .footer div {
    flex-wrap: wrap;
  }
}
