.hero {
  position: relative;
  padding-top: 72px;
  overflow: hidden;
  background: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--brand-soft) 0%, var(--bg) 55%, var(--bg) 100%);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-4) var(--space-4);
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 1100px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-12) 80px var(--space-8);
    gap: var(--space-8);
  }
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: var(--text-sm);
  font-weight: 500;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-headline {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-1);
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.5rem;
  }
}

@media (min-width: 1100px) {
  .hero-headline {
    font-size: 3.75rem;
  }
}

.hero-headline span {
  color: var(--brand);
}

.hero-sub {
  font-size: var(--text-body-lg);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.hero-note {
  font-size: var(--text-sm);
  color: var(--text-3);
  margin-top: -4px;
}

.hero__mockup {
  position: relative;
  flex-shrink: 0;
}

.hero .mockup-phone__frame {
  animation: mockup-float 3.2s ease-in-out infinite;
}

.hero__trust {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-4) var(--space-8);
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 1100px) {
  .hero__trust {
    padding: var(--space-4) 80px var(--space-8);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-item__value {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-1);
}

.trust-item__label {
  font-size: var(--text-sm);
  color: var(--text-3);
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border-1);
}

/* --- Phone screen: HomeScreen --- */
.ps-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  padding: 20px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.ps-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ps-blob--tl {
  width: 180px;
  height: 180px;
  top: -70px;
  left: -60px;
  background: var(--brand);
  opacity: 0.08;
}

.ps-blob--tr {
  width: 120px;
  height: 120px;
  top: 10px;
  right: -40px;
  background: var(--warm);
  opacity: 0.07;
}

.ps-greet-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.ps-greet-label {
  font-size: 9px;
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.ps-greet-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
}

.ps-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ps-hero-num {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -3px;
}

.ps-hero-sub {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 2px;
}

.ps-pill-row {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ps-pill {
  background: var(--surface-1);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 9px;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
}

.ps-progress {
  position: relative;
  z-index: 1;
}

.ps-progress-track {
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  overflow: hidden;
}

.ps-progress-fill {
  height: 5px;
  width: 60%;
  border-radius: var(--radius-full);
  background: var(--brand);
}

.ps-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}

.ps-progress-week {
  font-size: 9px;
  color: var(--brand);
  font-weight: 500;
}

.ps-progress-rest {
  font-size: 9px;
  color: var(--text-3);
}

.ps-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.ps-card {
  border-radius: 12px;
  padding: 9px 12px;
}

.ps-card--flat {
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
}

.ps-card--brand {
  background: var(--brand-soft);
}

.ps-card--warm {
  background: var(--warm-soft);
}

.ps-card-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-card-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--surface-1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ps-card-icon svg {
  width: 12px;
  height: 12px;
  color: var(--brand-strong);
}

.ps-card-label {
  font-size: 9px;
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.ps-card-label--warm {
  color: var(--warm-strong);
}

.ps-card--flat .ps-card-label {
  color: var(--text-3);
}

.ps-card-head {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-1);
}

.ps-card-body {
  font-size: 10px;
  color: var(--text-2);
  margin-top: 2px;
  line-height: 1.4;
}

.ps-mood-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 18px;
}

.ps-mood-hi {
  transform: scale(1.25);
  display: inline-block;
}

.ps-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 0 14px;
  border-top: 1px solid var(--border-1);
  background: var(--surface-1);
  margin: 0 -14px;
  margin-top: auto;
}

.ps-bottom-nav span {
  font-size: 10px;
  color: var(--text-3);
}

.ps-bottom-nav span.active {
  color: var(--brand);
  font-weight: 500;
}
