/* ==========================================================================
       NANNYSYNC PREMIUM HOMEPAGE STYLES
       Strictly scoped to .hp- prefix
       ========================================================================== */

/* --- Resets & Base Variables --- */
html {
  scroll-behavior: smooth;
}

.hp-homepage,
.hp-homepage * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

.hp-homepage {
  /* Color Palette (Unchanged) */
  --hp-primary: #5f7a61;
  --hp-primary-dark: #4e6750;
  --hp-accent-light: rgba(95, 122, 97, 0.09);
  --hp-accent-mid: rgba(95, 122, 97, 0.17);
  --hp-bg: #faf9f6;
  --hp-bg-alt: #f4f5f2;
  --hp-section-sage-soft: #f5f8f5;
  --hp-section-sage-mid: #eef4ee;
  --hp-section-warm: #faf9f6;
  --hp-white: #ffffff;
  --hp-text: #2d3436;
  --hp-text-muted: rgba(45, 52, 54, 0.72);
  --hp-text-faint: rgba(45, 52, 54, 0.52);
  --hp-border: #e5e7eb;
  --hp-border-light: #f3f4f6;
  --hp-error-bg: #fef2f2;
  --hp-error-text: #b91c1c;
  --hp-success-bg: #dcfce7;
  --hp-success-text: #166534;

  /* Spacing & Layout */
  --hp-max-w: 1440px;
  --hp-radius-sm: 12px;
  --hp-radius-md: 12px;
  --hp-radius-lg: 12px;
  --hp-radius-action: 8px;
  --hp-section-py: 88px;

  background-color: var(--hp-bg);
  color: var(--hp-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Scroll Animations (Intersection Observer) --- */
.hp-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-reveal.hp-visible {
  opacity: 1;
  transform: translateY(0);
}
.hp-delay-100 {
  transition-delay: 0.1s;
}
.hp-delay-200 {
  transition-delay: 0.2s;
}
.hp-delay-300 {
  transition-delay: 0.3s;
}
.hp-delay-400 {
  transition-delay: 0.4s;
}

/* --- Typography --- */
.hp-h1 {
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--hp-text);
}
.hp-h2 {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--hp-text);
}
.hp-h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}
.hp-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--hp-primary);
  margin-bottom: 1.25rem;
  padding: 0.375rem 0.875rem;
  background: var(--hp-accent-light);
  border-radius: 6px;
}
.hp-p-large {
  font-size: 1.1875rem;
  color: var(--hp-text-muted);
  line-height: 1.72;
}
.hp-p {
  font-size: 1rem;
  color: var(--hp-text-muted);
  line-height: 1.65;
}
.hp-p-small {
  font-size: 0.9375rem;
  color: var(--hp-text-faint);
}

/* --- Layout Utilities --- */
.hp-container {
  max-width: var(--hp-max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.hp-section {
  padding: var(--hp-section-py) 0;
  position: relative;
}
.hp-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem auto;
}
.hp-section-intro {
  margin-top: 1.25rem;
}

/* --- Homepage Final Polish --- */
.hp-homepage:not(.hp-legal-page) {
  --hp-text-muted: rgba(45, 52, 54, 0.79);
  --hp-text-faint: rgba(45, 52, 54, 0.61);
  --hp-section-py: 82px;
}

.hp-homepage:not(.hp-legal-page) .hp-p-large {
  line-height: 1.74;
}

.hp-homepage:not(.hp-legal-page) .hp-p-small {
  color: rgba(45, 52, 54, 0.62);
}

/* --- Buttons --- */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--hp-radius-action);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.hp-btn-primary {
  background-color: var(--hp-primary);
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(95, 122, 97, 0.18);
}
.hp-btn-primary:hover {
  background-color: var(--hp-primary-dark);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(95, 122, 97, 0.22);
}
.hp-btn-outline {
  background-color: transparent;
  color: var(--hp-text);
  border-color: var(--hp-border);
}
.hp-btn-outline:hover {
  background-color: var(--hp-white);
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.hp-btn:focus-visible,
.hp-nav-link:focus-visible,
.hp-tab-btn:focus-visible {
  outline: 2px solid rgba(95, 122, 97, 0.32);
  outline-offset: 3px;
}
.hp-btn-compact {
  padding: 0.625rem 1.25rem;
}

/* --- Header --- */
.hp-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(251, 251, 249, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}
.hp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.hp-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.hp-logo img {
  display: block;
  height: auto;
  width: 176px;
}
.hp-nav {
  display: flex;
  gap: 1.55rem;
}
.hp-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--hp-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.hp-nav-link:hover {
  color: var(--hp-text);
}
.hp-header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.hp-header-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* --- Ambient Background Glows --- */
.hp-ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(95, 122, 97, 0.08) 0%,
    rgba(251, 251, 249, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hp-glow-1 {
  top: -10%;
  left: 0;
}
.hp-glow-2 {
  top: 40%;
  right: 0;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(95, 122, 97, 0.05) 0%,
    rgba(251, 251, 249, 0) 70%
  );
}

/* --- Hero Section --- */
.hp-hero {
  padding: 8.5rem 0 5.25rem; /* Extra space for fixed header */
  position: relative;
}
.hp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}
.hp-hero-content .hp-h1 {
  margin-bottom: 1.5rem;
}
.hp-hero-content .hp-p-large {
  margin-bottom: 2rem;
  max-width: 560px;
}
.hp-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.hp-hero-trust {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1.65rem;
  border-top: 1px solid var(--hp-border-light);
}
.hp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--hp-text-muted);
}
.hp-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--hp-primary);
}
.hp-hero-visual {
  position: relative;
}
.hp-hero-img-wrapper {
  position: relative;
  border-radius: var(--hp-radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(45, 52, 54, 0.1);
}
.hp-hero-img {
  width: 100%;
  height: clamp(520px, 48vw, 640px);
  object-fit: cover;
  display: block;
}

/* Floating UI Cards (Glassmorphism) */
.hp-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--hp-radius-md);
  padding: 1.45rem;
  box-shadow: 0 14px 30px rgba(45, 52, 54, 0.12);
  width: 312px;
  z-index: 20;
}
.hp-float-card.hp-top-card {
  top: -2rem;
  right: -1rem;
}
.hp-float-card.hp-bottom-card {
  bottom: 2rem;
  left: -4rem;
}
.hp-fc-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--hp-text-faint);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}
.hp-fc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  padding: 0.625rem 0;
  border-bottom: 1px dashed var(--hp-border);
}
.hp-fc-row:last-child {
  border-bottom: none;
}
.hp-borderless {
  border: none;
}
.hp-fc-label {
  color: var(--hp-text-muted);
  font-weight: 500;
}
.hp-fc-val {
  font-weight: 600;
  color: var(--hp-text);
}
.hp-fc-val.hp-primary {
  color: var(--hp-primary);
  font-size: 1.25rem;
}
.hp-fc-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
}
.hp-fc-status.hp-pending {
  background: var(--hp-accent-light);
  color: var(--hp-primary-dark);
  border: 1px solid var(--hp-accent-mid);
}
.hp-fc-status.hp-success {
  background: var(--hp-success-bg);
  color: var(--hp-success-text);
  border: 1px solid #bbf7d0;
}

/* --- Benefits Strip --- */
.hp-benefits {
  background: var(--hp-white);
  border-top: 1px solid var(--hp-border-light);
  border-bottom: 1px solid var(--hp-border-light);
  padding: 3.75rem 0;
  position: relative;
}
.hp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.65rem;
}
.hp-benefit-item {
  padding: 1.15rem 1rem;
  border-radius: var(--hp-radius-sm);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}
.hp-benefit-item:hover {
  background: rgba(95, 122, 97, 0.035);
  transform: translateY(-5px);
}
.hp-icon-box {
  width: 52px;
  height: 52px;
  background: var(--hp-accent-light);
  border: 1px solid var(--hp-accent-mid);
  border-radius: var(--hp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(95, 122, 97, 0.055);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.hp-benefit-item:hover .hp-icon-box {
  background: var(--hp-accent-mid);
  box-shadow: 0 10px 22px rgba(95, 122, 97, 0.08);
}
.hp-icon-box svg {
  width: 25px;
  height: 25px;
  color: var(--hp-primary);
}
.hp-benefit-item h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--hp-text);
  letter-spacing: 0;
}
.hp-benefit-item p {
  font-size: 1rem;
  color: var(--hp-text-muted);
  line-height: 1.65;
}

/* --- Why NannySync --- */
.ns-home-why .ns-home-why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.ns-home-why .ns-home-why-card {
  height: 100%;
  overflow: hidden;
  padding: 2.5rem;
  border: 1px solid rgba(95, 122, 97, 0.14);
  border-radius: var(--hp-radius-lg);
  background: var(--hp-white);
  box-shadow:
    0 16px 36px rgba(16, 24, 40, 0.045),
    0 2px 8px rgba(16, 24, 40, 0.025);
}
.ns-home-why .ns-home-why-card--old {
  background: #fafaf9;
  border-color: rgba(45, 52, 54, 0.08);
}
.ns-home-why .ns-home-why-card--new {
  border-color: var(--hp-accent-mid);
  box-shadow:
    0 20px 42px rgba(95, 122, 97, 0.09),
    0 3px 10px rgba(16, 24, 40, 0.035);
}
.ns-home-why .ns-home-why-card__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.875rem;
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
  background: rgba(45, 52, 54, 0.04);
  color: var(--hp-text-faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.ns-home-why .ns-home-why-card__eyebrow--sage {
  background: var(--hp-accent-light);
  color: var(--hp-primary);
}
.ns-home-why .ns-home-why-card h3 {
  margin-bottom: 0.75rem;
  color: var(--hp-text);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0;
}
.ns-home-why .ns-home-why-card__body {
  margin-bottom: 1.5rem;
  color: var(--hp-text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.ns-home-why .ns-home-why-collage,
.ns-home-why .ns-home-why-record-shell {
  min-height: 420px;
  border: 1px solid rgba(95, 122, 97, 0.11);
  border-radius: var(--hp-radius-sm);
  position: relative;
}
.ns-home-why .ns-home-why-collage {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(95, 122, 97, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(95, 122, 97, 0.032) 1px, transparent 1px),
    #fbfbf9;
  background-size: 42px 42px;
}
.ns-home-why .ns-home-why-fragment {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: var(--hp-radius-sm);
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.055);
  color: var(--hp-text);
}
.ns-home-why .ns-home-why-fragment span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--hp-text-faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.ns-home-why .ns-home-why-fragment p {
  margin: 0;
  color: var(--hp-text-muted);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.45;
}
.ns-home-why .ns-home-why-fragment strong {
  display: block;
  color: var(--hp-text);
  font-size: 0.95rem;
  font-weight: 600;
}
.ns-home-why .ns-home-why-fragment small {
  display: block;
  margin-top: 0.45rem;
  color: var(--hp-text-faint);
  font-size: 0.82rem;
  font-weight: 500;
}
.ns-home-why .ns-home-why-fragment--text-a {
  width: 220px;
  left: 1.35rem;
  top: 1.25rem;
  padding: 0.85rem 1rem;
  transform: rotate(-2deg);
}
.ns-home-why .ns-home-why-fragment--text-b {
  width: 236px;
  right: 1.1rem;
  top: 4.65rem;
  padding: 0.9rem 1rem;
  transform: rotate(3.5deg);
  z-index: 2;
}
.ns-home-why .ns-home-why-fragment--note {
  width: 210px;
  left: 2.05rem;
  top: 7.85rem;
  padding: 1rem;
  transform: rotate(4deg);
  z-index: 1;
}
.ns-home-why .ns-home-why-fragment--sheet {
  width: 248px;
  right: 1.35rem;
  bottom: 1.35rem;
  padding: 0.75rem;
  transform: rotate(-1deg);
}
.ns-home-why .ns-home-why-fragment--receipt {
  width: 156px;
  left: 1.75rem;
  bottom: 3.1rem;
  padding: 0.9rem;
  transform: rotate(-2.2deg);
  z-index: 2;
}
.ns-home-why .ns-home-why-sheet-row {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  color: var(--hp-text-muted);
  font-size: 0.79rem;
  font-weight: 500;
}
.ns-home-why .ns-home-why-sheet-row:first-child {
  border-top: 0;
}
.ns-home-why .ns-home-why-sheet-row--head {
  color: var(--hp-text-faint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.ns-home-why .ns-home-why-record-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem;
  background: linear-gradient(135deg, #ffffff 0%, #f7f8f5 100%);
}
.ns-home-why .ns-home-why-record {
  width: min(100%, 410px);
  padding: 1.3rem;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  background: var(--hp-white);
  box-shadow:
    0 10px 30px rgba(16, 24, 40, 0.06),
    0 2px 8px rgba(16, 24, 40, 0.04);
}
.ns-home-why .ns-home-why-record__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hp-border-light);
}
.ns-home-why .ns-home-why-record__head > div > span {
  display: block;
  color: var(--hp-text-faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.ns-home-why .ns-home-why-record__head strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--hp-text);
  font-size: 1.12rem;
  font-weight: 600;
}
.ns-home-why .ns-home-why-record__status {
  flex-shrink: 0;
  padding: 0.32rem 0.68rem;
  border: 1px solid rgba(95, 122, 97, 0.16);
  border-radius: 999px;
  background: rgba(95, 122, 97, 0.075);
  color: var(--hp-primary-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}
.ns-home-why .ns-home-why-record__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--hp-border-light);
  font-size: 0.95rem;
}
.ns-home-why .ns-home-why-record__row span {
  color: var(--hp-text-muted);
  flex-shrink: 0;
  font-weight: 500;
  white-space: nowrap;
}
.ns-home-why .ns-home-why-record__row strong {
  color: var(--hp-text);
  flex-shrink: 1;
  font-weight: 600;
  line-height: 1.35;
  max-width: 56%;
  min-width: 0;
  text-align: right;
  white-space: nowrap;
}
.ns-home-why .ns-home-why-record__ready {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(95, 122, 97, 0.18);
  border-radius: var(--hp-radius-sm);
  background: var(--hp-accent-light);
}
.ns-home-why .ns-home-why-record__ready svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--hp-primary);
}
.ns-home-why .ns-home-why-record__ready strong {
  display: block;
  color: var(--hp-text);
  font-size: 0.95rem;
  font-weight: 600;
}
.ns-home-why .ns-home-why-record__ready span {
  display: block;
  margin-top: 0.2rem;
  color: var(--hp-text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}
.ns-home-why .ns-home-why-record__flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}
.ns-home-why .ns-home-why-record__flow span {
  position: relative;
  padding-top: 1.05rem;
  color: rgba(45, 52, 54, 0.66);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
}
.ns-home-why .ns-home-why-record__flow span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--hp-primary);
  box-shadow: 0 0 0 4px var(--hp-accent-light);
  z-index: 1;
}
.ns-home-why .ns-home-why-record__flow span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: calc(100% + 0.5rem - 7px);
  height: 1px;
  background: rgba(95, 122, 97, 0.24);
}
.ns-home-why .ns-home-why-record__flow span:last-child::after {
  display: none;
}
.ns-home-why .ns-home-why-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.ns-home-why .ns-home-why-arrow__circle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--hp-primary);
  opacity: 0.78;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.028);
}

/* --- How It Works --- */
.hp-hiw-bg {
  background-color: var(--hp-white);
}

.hp-steps-wrapper {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  --hp-steps-progress: 0;
}
.hp-steps-line {
  position: absolute;
  top: 32px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: rgba(95, 122, 97, 0.16);
  z-index: 0;
  overflow: hidden;
}
.hp-steps-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hp-primary);
  transform: scaleX(var(--hp-steps-progress));
  transform-origin: left center;
  transition: transform 0.12s linear;
}
.hp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  position: relative;
  z-index: 1;
}
.hp-step {
  text-align: center;
  padding: 1.2rem 1.2rem 1.35rem;
  border: 1px solid rgba(95, 122, 97, 0.12);
  border-radius: var(--hp-radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.03);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.hp-step:hover,
.hp-step.is-active {
  transform: translateY(-5px);
  border-color: rgba(95, 122, 97, 0.22);
  box-shadow: 0 14px 28px rgba(95, 122, 97, 0.075);
}
.hp-step-number {
  width: 64px;
  height: 64px;
  background: var(--hp-white);
  border: 3px solid var(--hp-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hp-primary);
  box-shadow:
    0 4px 12px rgba(95, 122, 97, 0.13),
    0 0 0 6px rgba(255, 255, 255, 0.84);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}
.hp-step:hover .hp-step-number,
.hp-step.is-active .hp-step-number {
  background: var(--hp-primary);
  color: var(--hp-white);
  border-color: var(--hp-white);
  box-shadow:
    0 8px 18px rgba(95, 122, 97, 0.18),
    0 0 0 7px var(--hp-accent-light);
}
.hp-step h3 {
  margin-bottom: 0.65rem;
  color: var(--hp-text);
  font-size: 1.18rem;
  font-weight: 600;
}
.hp-step .hp-p {
  font-size: 1rem;
  line-height: 1.65;
}

/* --- Features (Tabs) --- */
.hp-tabs-container {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}
.hp-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: var(--hp-white);
  padding: 0.5rem;
  border-radius: var(--hp-radius-sm);
  border: 1px solid var(--hp-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  max-width: fit-content;
  margin: 0 auto;
}
.hp-tab-btn {
  background: transparent;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--hp-radius-action);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hp-text-muted);
  cursor: pointer;
  transition: all 0.3s;
}
.hp-tab-btn:hover {
  color: var(--hp-text);
}
.hp-tab-btn.hp-active {
  background: var(--hp-primary);
  color: var(--hp-white);
  box-shadow: 0 2px 8px rgba(95, 122, 97, 0.2);
}
.hp-tab-content-wrapper {
  background: var(--hp-white);
  border-radius: var(--hp-radius-lg);
  border: 1px solid var(--hp-border);
  padding: 2.25rem;
  box-shadow: 0 16px 34px rgba(45, 52, 54, 0.06);
  min-height: 620px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hp-tab-pane {
  display: none;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 2.22fr);
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}
.hp-tab-copy {
  max-width: 390px;
}
.hp-tab-pane.hp-active {
  display: grid;
  animation: hp-slide-fade 280ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes hp-slide-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hp-tab-pane h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
.hp-tab-pane > div:first-child p {
  margin-bottom: 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.hp-tab-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hp-tab-bullets li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--hp-text-muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}
.hp-tab-bullets svg {
  width: 20px;
  height: 20px;
  color: var(--hp-primary);
}
.hp-tab-visual {
  background: linear-gradient(135deg, #ffffff 0%, #e6eee6 52%, #cadacb 100%);
  border-radius: var(--hp-radius-md);
  height: clamp(500px, 39vw, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hp-feature-mockup {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 17px;

  box-shadow:
    0 16px 38px rgba(16, 24, 40, 0.08),
    0 3px 10px rgba(16, 24, 40, 0.05);
  transform-origin: center center;
}
#tab-1 .hp-feature-mockup {
  width: 90%;
  transform: translateY(14%);
}
#tab-2 .hp-feature-mockup {
  width: 90%;
  transform: translateY(14%);
}
#tab-3 .hp-feature-mockup,
#tab-4 .hp-feature-mockup {
  transform: none;
}
#tab-3 .hp-feature-mockup {
  width: 46%;
}
#tab-4 .hp-feature-mockup {
  width: 72%;
  transform: translateY(20%);
}
#tab-5 .hp-feature-mockup {
  width: 84%;
  transform: none;
}

/* --- FAQ --- */
.hp-faq-bg {
  background: #faf9f6;
}
.hp-faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  margin: 0 auto;
}
.hp-faq-copy {
  max-width: 430px;
}
.hp-faq-copy .hp-h2 {
  margin-bottom: 1rem;
}
.hp-faq-list {
  border-top: 1px solid rgba(95, 122, 97, 0.18);
}
.hp-faq-item {
  border-bottom: 1px solid rgba(95, 122, 97, 0.16);
}
.hp-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  color: var(--hp-text);
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}
.hp-faq-question::-webkit-details-marker {
  display: none;
}
.hp-faq-question:focus-visible {
  outline: 2px solid rgba(95, 122, 97, 0.32);
  outline-offset: 4px;
  border-radius: 6px;
}
.hp-faq-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(95, 122, 97, 0.22);
  border-radius: 50%;
  color: var(--hp-primary);
  background: rgba(255, 255, 255, 0.62);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.hp-faq-icon svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.hp-faq-item[open] .hp-faq-question {
  padding-bottom: 0.65rem;
}
.hp-faq-item[open] .hp-faq-icon {
  background: var(--hp-accent-light);
  border-color: rgba(95, 122, 97, 0.28);
  transform: rotate(45deg);
}
.hp-faq-item p {
  color: var(--hp-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
  padding: 0 3.5rem 1.35rem 0;
}

/* --- Pricing --- */
#pricing {
  background: linear-gradient(
    180deg,
    var(--hp-section-sage-mid) 0%,
    var(--hp-section-sage-soft) 100%
  );
  padding: 4.25rem 0;
}
#pricing .hp-section-header {
  max-width: 520px;
  margin-bottom: 1.25rem;
}
#pricing .hp-section-intro {
  margin-top: 0.5rem;
}
#pricing .hp-pricing-header .hp-eyebrow {
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
}
#pricing .hp-pricing-header .hp-h2 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0;
}
#pricing .hp-pricing-header .hp-p-large {
  font-size: 0.95rem;
  line-height: 1.55;
}
.hp-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 2.25rem;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.hp-pricing-cta {
  max-width: 500px;
}
.hp-pricing-cta h3 {
  color: var(--hp-text);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hp-pricing-cta p {
  color: var(--hp-text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 470px;
}
.hp-pricing-cta .hp-btn {
  margin-bottom: 0.75rem;
}
.hp-pricing-microcopy {
  display: block;
  color: var(--hp-text-faint);
  font-size: 0.925rem;
  font-weight: 500;
}
.hp-pricing-card {
  background: var(--hp-white);
  border: 1px solid rgba(95, 122, 97, 0.14);
  border-radius: var(--hp-radius-lg);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 12px 28px rgba(45, 52, 54, 0.05);
  position: relative;
  overflow: hidden;
}
.hp-pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}
.hp-pricing-card-header {
  margin-bottom: 1.5rem;
}
.hp-pricing-card-header h3 {
  color: var(--hp-text);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 1rem;
}
.hp-price {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--hp-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
}
.hp-price span {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--hp-text-faint);
  margin-left: 0.25rem;
}
.hp-pricing-sub {
  color: var(--hp-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}
.hp-pricing-card .hp-pricing-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}
.hp-pricing-card .hp-pricing-features li {
  font-size: 0.94rem;
  gap: 0.65rem;
}
.hp-pricing-note {
  font-size: 0.875rem;
  color: var(--hp-text-faint);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hp-border-light);
  font-weight: 500;
}
.hp-text-center {
  text-align: center;
}

/* --- Footer --- */
.hp-footer {
  background: var(--hp-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3.5rem 0 1.75rem;
}
.hp-footer .hp-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}
.hp-footer-grid {
  display: grid;
  grid-template-columns:
    minmax(270px, 360px) minmax(132px, 160px)
    minmax(0, 1fr) minmax(220px, 250px);
  justify-content: stretch;
  align-items: start;
  column-gap: clamp(2.5rem, 4.5vw, 4.5rem);
  row-gap: 2rem;
  margin-bottom: 2.55rem;
}
.hp-footer-brand {
  max-width: 380px;
}
.hp-footer-product {
  justify-self: start;
}
.hp-footer-start {
  grid-column: 4;
  justify-self: end;
  max-width: 250px;
}
.hp-footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
}
.hp-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
}
.hp-footer-col li {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  font-weight: 500;
}
.hp-footer-col a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.hp-footer-col a:hover {
  color: var(--hp-white);
}
.hp-footer-col p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.hp-footer-about {
  margin-top: 1.15rem;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.8);
}
.hp-footer-note {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  margin-bottom: 0;
}
.hp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.55rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.66);
}
.hp-footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.hp-footer-bottom-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.hp-footer-bottom-links a:hover {
  color: var(--hp-white);
}
.hp-footer .hp-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--hp-white);
  padding: 0.56rem 1.05rem;
  box-shadow: none;
}
.hp-footer .hp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 6px 14px rgba(45, 52, 54, 0.1);
}

.hp-homepage:not(.hp-legal-page) .hp-hero {
  padding-bottom: 4.75rem;
}

.hp-homepage:not(.hp-legal-page) .hp-hero-content .hp-p-large {
  max-width: 590px;
}

.hp-homepage:not(.hp-legal-page) .hp-trust-item {
  color: rgba(45, 52, 54, 0.77);
}

.hp-homepage:not(.hp-legal-page) .hp-benefits {
  padding: 3.45rem 0;
}

.hp-homepage:not(.hp-legal-page) .hp-benefits-grid {
  gap: 1.5rem;
}

.hp-homepage:not(.hp-legal-page) .hp-benefit-item {
  padding: 1.28rem 1.08rem;
}

.hp-homepage:not(.hp-legal-page) .hp-icon-box {
  width: 58px;
  height: 58px;
  margin-bottom: 1.08rem;
}

.hp-homepage:not(.hp-legal-page) .hp-icon-box svg {
  width: 27px;
  height: 27px;
}

.hp-homepage:not(.hp-legal-page) .hp-benefit-item h4 {
  font-size: 1.18rem;
  line-height: 1.28;
}

.hp-homepage:not(.hp-legal-page) .hp-benefit-item p {
  color: rgba(45, 52, 54, 0.76);
  line-height: 1.62;
}

.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-card {
  padding: 2.7rem;
}

.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-card h3 {
  font-size: 1.58rem;
}

.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-card__body {
  color: rgba(45, 52, 54, 0.77);
  font-size: 1.045rem;
}

.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-collage,
.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-record-shell {
  min-height: 445px;
}

.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-fragment p,
.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-sheet-row {
  color: rgba(45, 52, 54, 0.74);
}

.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-record {
  width: min(100%, 440px);
  padding: 1.45rem;
}

.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-record__head strong {
  font-size: 1.16rem;
}

.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-record__row {
  font-size: 0.99rem;
  padding: 0.86rem 0;
}

.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-record__row span,
.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-record__ready span {
  color: rgba(45, 52, 54, 0.75);
}

.hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-record__ready {
  padding: 1rem;
}

.hp-homepage:not(.hp-legal-page)
.ns-home-why
.ns-home-why-record__ready
strong {
  font-size: 0.98rem;
}

.hp-homepage:not(.hp-legal-page) .hp-steps-wrapper {
  max-width: 990px;
}

.hp-homepage:not(.hp-legal-page) .hp-steps-grid {
  gap: 1.65rem;
}

.hp-homepage:not(.hp-legal-page) .hp-step {
  padding: 1.4rem 1.35rem 1.5rem;
}

.hp-homepage:not(.hp-legal-page) .hp-step-number {
  width: 70px;
  height: 70px;
  font-size: 1.32rem;
  border-width: 4px;
}

.hp-homepage:not(.hp-legal-page) .hp-step h3 {
  font-size: 1.22rem;
  margin-bottom: 0.7rem;
}

.hp-homepage:not(.hp-legal-page) .hp-step .hp-p {
  color: rgba(45, 52, 54, 0.76);
  font-size: 1.015rem;
}

.hp-homepage:not(.hp-legal-page) .hp-tabs-container {
  gap: 2.45rem;
}

.hp-homepage:not(.hp-legal-page) .hp-tab-content-wrapper {
  min-height: 640px;
  padding: 2rem;
}

.hp-homepage:not(.hp-legal-page) .hp-tab-pane {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 2.28fr);
  gap: 2.25rem;
}

.hp-homepage:not(.hp-legal-page) .hp-tab-copy {
  max-width: 405px;
}

.hp-homepage:not(.hp-legal-page) .hp-tab-pane > div:first-child p,
.hp-homepage:not(.hp-legal-page) .hp-tab-bullets li {
  color: rgba(45, 52, 54, 0.77);
}

.hp-homepage:not(.hp-legal-page) .hp-tab-visual {
  height: clamp(560px, 43vw, 680px);
}

.hp-homepage:not(.hp-legal-page) #tab-1 .hp-feature-mockup,
.hp-homepage:not(.hp-legal-page) #tab-2 .hp-feature-mockup {
  width: 90%;
  transform: translateY(11%);
}

.hp-homepage:not(.hp-legal-page) #tab-3 .hp-feature-mockup {
  width: 54%;
}

.hp-homepage:not(.hp-legal-page) #tab-4 .hp-feature-mockup {
  width: 70%;
  transform: translateY(17%);
}

.hp-homepage:not(.hp-legal-page) #tab-5 .hp-feature-mockup {
  width: 94%;
}

.hp-homepage:not(.hp-legal-page) .hp-faq-question {
  font-size: 1.055rem;
  padding: 1.35rem 0;
}

.hp-homepage:not(.hp-legal-page) .hp-faq-item p {
  color: rgba(45, 52, 54, 0.78);
  font-size: 1.015rem;
}

.hp-homepage:not(.hp-legal-page) .hp-pricing-cta p,
.hp-homepage:not(.hp-legal-page) .hp-pricing-sub {
  color: rgba(45, 52, 54, 0.77);
}

.hp-homepage:not(.hp-legal-page) .hp-pricing-microcopy,
.hp-homepage:not(.hp-legal-page) .hp-pricing-note {
  color: rgba(45, 52, 54, 0.66);
}

.hp-homepage:not(.hp-legal-page) .hp-pricing-card .hp-pricing-features li {
  color: rgba(45, 52, 54, 0.78);
  font-size: 0.965rem;
}

.hp-homepage:not(.hp-legal-page) .hp-footer-col h4 {
  color: rgba(255, 255, 255, 0.96);
}

.hp-homepage:not(.hp-legal-page) .hp-footer-col a,
.hp-homepage:not(.hp-legal-page) .hp-footer-col li {
  color: rgba(255, 255, 255, 0.82);
}

.hp-homepage:not(.hp-legal-page) .hp-footer-about {
  color: rgba(255, 255, 255, 0.86);
}

.hp-homepage:not(.hp-legal-page) .hp-footer-note,
.hp-homepage:not(.hp-legal-page) .hp-footer-bottom {
  color: rgba(255, 255, 255, 0.75);
}

.hp-homepage:not(.hp-legal-page) .hp-footer-bottom-links a {
  color: rgba(255, 255, 255, 0.82);
}

.hp-homepage:not(.hp-legal-page) .hp-footer .hp-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

/* --- Legal Pages --- */
.hp-legal-page {
  background: linear-gradient(
    180deg,
    var(--hp-section-sage-soft) 0%,
    var(--hp-section-warm) 42%,
    var(--hp-section-warm) 100%
  );
}
.hp-legal-header {
  background-color: rgba(251, 251, 249, 0.88);
}
.hp-legal-nav .hp-nav-link {
  position: relative;
}
.hp-legal-nav .hp-nav-link.hp-active {
  color: var(--hp-primary);
  font-weight: 600;
}
.hp-legal-nav .hp-nav-link.hp-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 999px;
  background: var(--hp-primary);
  opacity: 0.64;
}
.hp-legal-main {
  padding: 9.25rem 24px 4rem;
}
.hp-legal-card {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.25rem);
  border: 1px solid rgba(95, 122, 97, 0.13);
  border-radius: var(--hp-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 44px rgba(16, 24, 40, 0.055),
    0 3px 10px rgba(16, 24, 40, 0.025);
}
.hp-legal-title {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(95, 122, 97, 0.14);
}
.hp-legal-title h1 {
  color: var(--hp-text);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}
.hp-legal-title p {
  margin-top: 0.85rem;
  color: var(--hp-text-muted);
  font-size: 1rem;
  font-weight: 500;
}
.hp-legal-content {
  color: var(--hp-text-muted);
  font-size: 1rem;
  line-height: 1.78;
}
.hp-legal-content h2 {
  margin: 2rem 0 0.75rem;
  color: var(--hp-text);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}
.hp-legal-content h3 {
  margin: 1.35rem 0 0.45rem;
  color: var(--hp-text);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}
.hp-legal-content p + p {
  margin-top: 0.9rem;
}
.hp-legal-content ul {
  margin: 0.75rem 0 1.15rem;
  padding-left: 1.35rem;
}
.hp-legal-content li {
  margin: 0.35rem 0;
  padding-left: 0.2rem;
}
.hp-legal-content li::marker {
  color: var(--hp-primary);
}
.hp-legal-footer .hp-footer-grid {
  margin-bottom: 2.35rem;
}
.hp-legal-footer {
  padding: 3.25rem 0 1.65rem;
}
.hp-legal-footer .hp-footer-about {
  max-width: 360px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hp-h1 {
    font-size: 2.75rem;
  }
  .hp-hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hp-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hp-hero-actions {
    justify-content: center;
  }
  .hp-hero-trust {
    justify-content: center;
  }
  .hp-hero-img-wrapper {
    max-width: 720px;
    margin: 0 auto;
    transform: none;
  }
  .hp-hero-img-wrapper:hover {
    transform: none;
  }
  .hp-float-card.hp-top-card {
    right: -1rem;
    top: 1rem;
    animation: none;
  }
  .hp-float-card.hp-bottom-card {
    left: -1rem;
    bottom: 1rem;
    animation: none;
  }
  .hp-footer-grid {
    column-gap: clamp(2.5rem, 5vw, 4rem);
  }
}
@media (max-width: 900px) {
  .hp-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.25rem;
  }
  .hp-footer-brand,
  .hp-footer-product,
  .hp-footer-start {
    grid-column: auto;
    justify-self: start;
    max-width: 360px;
  }
  .hp-legal-footer .hp-footer-grid {
    grid-template-columns: 1fr;
  }
  .hp-footer-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
  }
  .hp-footer-bottom-links {
    justify-content: flex-start;
    gap: 0.85rem 1rem;
  }
}
@media (max-width: 768px) {
  .hp-section {
    padding: 5rem 0;
  }
  .hp-ambient-glow {
    display: none;
  }
  .hp-nav {
    display: none;
  }
  .hp-h1 {
    font-size: 2.5rem;
  }
  .hp-h2 {
    font-size: 2rem;
  }
  .hp-benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ns-home-why .ns-home-why-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .ns-home-why .ns-home-why-card {
    padding: 2rem;
  }
  .ns-home-why .ns-home-why-collage,
  .ns-home-why .ns-home-why-record-shell {
    min-height: 360px;
  }
  .ns-home-why .ns-home-why-arrow {
    display: flex;
  }
  .ns-home-why .ns-home-why-arrow__circle {
    width: 42px;
    height: 42px;
    margin: 0 auto;
  }
  .ns-home-why .ns-home-why-arrow__circle svg {
    transform: rotate(90deg);
  }
  .hp-steps-line {
    display: none;
  }
  .hp-steps-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hp-step {
    display: flex;
    text-align: left;
    gap: 1.5rem;
    padding: 0;
  }
  .hp-step-number {
    margin: 0;
    flex-shrink: 0;
  }
  .hp-tabs-container {
    gap: 2rem;
  }
  .hp-tabs-nav {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    padding: 0.5rem;
  }
  .hp-tab-btn {
    white-space: nowrap;
    border-radius: 8px;
  }
  .hp-tab-content-wrapper {
    padding: 2.5rem;
    min-height: auto;
  }
  .hp-tab-pane {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hp-tab-visual {
    height: clamp(310px, 58vw, 400px);
  }
  .hp-feature-mockup {
    border-radius: 16px;
  }
  #tab-1 .hp-feature-mockup,
  #tab-2 .hp-feature-mockup {
    width: 98%;
    transform: translateY(13%);
  }
  #tab-3 .hp-feature-mockup {
    width: 54%;
  }
  #tab-4 .hp-feature-mockup {
    width: 76%;
    transform: translateY(20%);
  }
  #tab-5 .hp-feature-mockup {
    width: 90%;
    transform: none;
  }
  .hp-faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hp-faq-copy {
    max-width: 620px;
  }
  .hp-pricing {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 620px;
  }
  .hp-pricing-cta {
    max-width: none;
    text-align: center;
  }
  .hp-pricing-cta p {
    max-width: none;
  }
  .hp-pricing-card {
    max-width: none;
  }
  .hp-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.25rem;
  }
  .hp-footer-brand,
  .hp-footer-product,
  .hp-footer-start {
    justify-self: start;
    max-width: 360px;
  }
  .hp-legal-main {
    padding: 7.5rem 18px 4rem;
  }
  .hp-legal-card {
    padding: 1.65rem;
  }
  .hp-legal-footer .hp-footer-grid {
    grid-template-columns: 1fr;
  }
  .hp-footer-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
  }
  .hp-footer-bottom-links {
    justify-content: flex-start;
    gap: 0.85rem 1rem;
  }
}
@media (max-width: 480px) {
  .hp-h1 {
    font-size: 2.25rem;
  }
  .hp-container {
    padding: 0 18px;
  }
  .hp-header-inner {
    height: 64px;
  }
  .hp-logo img {
    width: 142px;
  }
  .hp-header-actions .hp-nav-link {
    display: none;
  }
  .hp-header-actions {
    gap: 0;
  }
  .hp-header-actions .hp-btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.8125rem;
  }
  .hp-hero {
    padding: 7.5rem 0 4.5rem;
  }
  .hp-hero-img {
    height: 360px;
  }
  .hp-benefits-grid {
    grid-template-columns: 1fr;
  }
  .hp-float-card {
    display: none;
  }
  .hp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hp-hero-actions .hp-btn {
    width: 100%;
  }
  .hp-tab-content-wrapper {
    padding: 1.5rem;
  }
  .hp-faq-question {
    gap: 1rem;
    padding: 1.2rem 0;
  }
  .hp-faq-item p {
    padding-right: 0;
  }
  .hp-tab-visual {
    height: 250px;
  }
  .hp-feature-mockup {
    border-radius: 14px;
  }
  #tab-1 .hp-feature-mockup,
  #tab-2 .hp-feature-mockup {
    width: 112%;
    transform: translateY(11%);
  }
  #tab-3 .hp-feature-mockup {
    width: 66%;
  }
  #tab-4 .hp-feature-mockup {
    width: 88%;
    transform: translateY(16%);
  }
  #tab-5 .hp-feature-mockup {
    width: 104%;
    transform: none;
  }
  .ns-home-why .ns-home-why-card {
    padding: 1.5rem;
  }
  .ns-home-why .ns-home-why-collage {
    display: grid;
    gap: 0.85rem;
    min-height: auto;
    padding: 1rem;
  }
  .ns-home-why .ns-home-why-fragment {
    position: relative;
    inset: auto;
    max-width: 100%;
  }
  .ns-home-why .ns-home-why-fragment--text-a {
    width: 78%;
  }
  .ns-home-why .ns-home-why-fragment--text-b {
    justify-self: end;
    width: 82%;
  }
  .ns-home-why .ns-home-why-fragment--note {
    width: 82%;
  }
  .ns-home-why .ns-home-why-fragment--sheet {
    width: 100%;
  }
  .ns-home-why .ns-home-why-fragment--receipt {
    justify-self: center;
    width: 62%;
  }
  .ns-home-why .ns-home-why-record-shell {
    min-height: auto;
    padding: 1rem;
  }
  .ns-home-why .ns-home-why-record {
    padding: 1rem;
  }
  .ns-home-why .ns-home-why-record__flow {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 0.8rem;
  }
  .ns-home-why .ns-home-why-record__flow span:nth-child(2n)::after {
    display: none;
  }
  .hp-pricing-cta {
    text-align: left;
  }
  #pricing {
    padding: 3.25rem 0;
  }
  .hp-pricing-cta .hp-btn {
    width: 100%;
  }
  .hp-pricing-card {
    padding: 1.5rem;
  }
  .hp-pricing-card .hp-pricing-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hp-homepage:not(.hp-legal-page) .hp-section {
    padding: 4.75rem 0;
  }

  .hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-card {
    padding: 2rem;
  }

  .hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-collage,
  .hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-record-shell {
    min-height: 370px;
  }

  .hp-homepage:not(.hp-legal-page) .hp-step {
    padding: 1.25rem;
    align-items: flex-start;
  }

  .hp-homepage:not(.hp-legal-page) .hp-step-number {
    width: 64px;
    height: 64px;
    font-size: 1.2rem;
  }

  .hp-homepage:not(.hp-legal-page) .hp-tab-content-wrapper {
    min-height: auto;
    padding: 2.25rem;
  }

  .hp-homepage:not(.hp-legal-page) .hp-tab-pane {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .hp-homepage:not(.hp-legal-page) .hp-tab-visual {
    height: clamp(340px, 60vw, 440px);
  }

  .hp-homepage:not(.hp-legal-page) #tab-1 .hp-feature-mockup,
  .hp-homepage:not(.hp-legal-page) #tab-2 .hp-feature-mockup {
    width: 104%;
    transform: translateY(11%);
  }

  .hp-homepage:not(.hp-legal-page) #tab-3 .hp-feature-mockup {
    width: 58%;
  }

  .hp-homepage:not(.hp-legal-page) #tab-4 .hp-feature-mockup {
    width: 82%;
    transform: translateY(17%);
  }

  .hp-homepage:not(.hp-legal-page) #tab-5 .hp-feature-mockup {
    width: 96%;
  }
}

@media (max-width: 480px) {
  .hp-homepage:not(.hp-legal-page) .hp-hero {
    padding: 7.25rem 0 4rem;
  }

  .hp-homepage:not(.hp-legal-page) .hp-benefits {
    padding: 3rem 0;
  }

  .hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-card {
    padding: 1.5rem;
  }

  .hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-collage,
  .hp-homepage:not(.hp-legal-page) .ns-home-why .ns-home-why-record-shell {
    min-height: auto;
  }

  .hp-homepage:not(.hp-legal-page) .hp-step {
    padding: 1.15rem;
    gap: 1rem;
  }

  .hp-homepage:not(.hp-legal-page) .hp-step-number {
    width: 58px;
    height: 58px;
    font-size: 1.1rem;
  }

  .hp-homepage:not(.hp-legal-page) .hp-tab-content-wrapper {
    padding: 1.35rem;
  }

  .hp-homepage:not(.hp-legal-page) .hp-tab-visual {
    height: 270px;
  }

  .hp-homepage:not(.hp-legal-page) #tab-1 .hp-feature-mockup,
  .hp-homepage:not(.hp-legal-page) #tab-2 .hp-feature-mockup {
    width: 116%;
    transform: translateY(10%);
  }

  .hp-homepage:not(.hp-legal-page) #tab-3 .hp-feature-mockup {
    width: 70%;
  }

  .hp-homepage:not(.hp-legal-page) #tab-4 .hp-feature-mockup {
    width: 94%;
    transform: translateY(15%);
  }

  .hp-homepage:not(.hp-legal-page) #tab-5 .hp-feature-mockup {
    width: 108%;
  }
}
