/* Homepage-only presentation. Application and other marketing pages keep their styles. */
.homepage {
  background: var(--paper-strong);
}

.homepage main :is(h1, h2, h3, .eyebrow) {
  letter-spacing: 0;
}

.homepage .section {
  padding: 72px 0;
}

.homepage .hero {
  min-height: 0;
  overflow: visible;
  background: #f6f5ef;
  border-bottom: 1px solid var(--line);
}

.homepage .hero::before,
.homepage .hero::after {
  content: none;
  background: none;
}

.homepage .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 52px 38px;
}

.homepage .hero-copy {
  max-width: none;
  padding: 0;
}

.homepage .hero h1 {
  max-width: 540px;
  font-size: 50px;
  line-height: 1.08;
  font-weight: 800;
}

.homepage .hero .eyebrow {
  margin-bottom: 16px;
  font-size: 12px;
}

.homepage .hero .lede {
  max-width: 480px;
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.55;
}

.homepage .hero-actions {
  margin-top: 28px;
  width: 100%;
}

.homepage .hero-primary-action {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 14px;
  align-items: stretch;
}

.homepage .hero-primary-action .button {
  min-height: 48px;
  padding: 12px 22px;
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: none;
}

.homepage .hero-demo-link {
  border: 1px solid var(--navy);
  background: transparent;
  justify-content: center;
}

.homepage .hero-demo-link:hover {
  background: var(--mint);
}

.homepage main .button.warm {
  font-weight: 750;
}

.home-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.home-trust li::before,
.home-benefit-list dt::before,
.home-price-terms li::before {
  content: "\2713";
  color: #a14c00;
  font-weight: 800;
  margin-right: 7px;
}

.hero-detail-link {
  margin: 10px 0 0;
  font-size: 13px;
}

.hero-detail-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-underline-offset: 4px;
  font-weight: 600;
}

.home-product {
  position: relative;
  min-width: 0;
  height: 480px;
  margin: 0;
}

.home-phone {
  position: absolute;
  z-index: 1;
  left: 12px;
  top: 0;
  width: 310px;
  padding: 16px 7px 20px;
  border: 6px solid #173b38;
  border-radius: 32px;
  background: var(--paper-strong);
  box-shadow: 5px 7px 0 #b2bbb4, 0 18px 25px rgb(16 35 38 / 0.13);
  transform: rotate(-5deg);
}

.home-device-brand {
  padding: 2px 12px 14px;
}

.home-device-brand img {
  width: 136px;
  height: auto;
  display: block;
}

.home-progress-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.home-qr-device {
  position: absolute;
  right: 0;
  top: 124px;
  width: 180px;
  padding: 14px 8px;
  border: 4px solid #34544d;
  border-radius: 20px;
  background: white;
  box-shadow: 4px 4px 0 #c4cbc5, 0 15px 20px rgb(16 35 38 / 0.08);
  transform: rotate(7deg);
}

.home-qr-device > p {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--navy);
  text-align: center;
  font-weight: 700;
}

.home-qr-device img {
  display: block;
  width: 100%;
  height: auto;
}

.home-product > figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  text-align: center;
  font-size: 11px;
  color: var(--ink-soft);
}

.home-benefits-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.homepage h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
}

.home-benefits-copy > p:not(.eyebrow) {
  margin: 18px 0 24px;
  color: var(--ink-soft);
  font-size: 16px;
}

.home-benefit-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.home-benefit-list dt {
  font-size: 16px;
  font-weight: 750;
  color: var(--navy);
}

.home-benefit-list dd {
  margin: 3px 0 0 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.home-insights {
  margin: 0;
  min-width: 0;
}

.home-desktop-frame {
  border: 7px solid #19342f;
  border-radius: 8px;
  background: #19342f;
  box-shadow: 0 14px 28px rgb(16 35 38 / 0.12);
  overflow: hidden;
}

.home-window-bar {
  display: flex;
  gap: 5px;
  padding: 3px 2px 8px;
}

.home-window-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d7eee4;
}

.home-desktop-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.home-desktop-screen {
  padding: 12px 12px 0 0;
  background: #f4f7f3;
}

.home-insights figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.homepage .home-journey {
  background: #f1f6f2;
  border-block: 1px solid var(--line);
}

.homepage .home-journey .section-header {
  display: block;
  text-align: center;
  max-width: 710px;
  margin: 0 auto 32px;
}

.homepage .home-journey .section-header p:last-child {
  max-width: none;
  margin: 14px 0 0;
  font-size: 16px;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-steps li {
  min-width: 0;
}

.home-steps figure {
  margin: 0;
}

.home-steps .story-visual {
  width: 100%;
  max-width: 230px;
  margin-bottom: 20px;
}

.home-steps h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.home-steps h3 span {
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: var(--navy);
  font-size: 14px;
}

.home-steps figcaption > p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 12px 0 0;
}

.homepage #journey-title,
.homepage #pricing {
  scroll-margin-top: 96px;
}

.homepage #comparison-title {
  font-size: 40px;
}

.comparison-mark {
  display: inline-block;
  vertical-align: middle;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.comparison-yes {
  color: #42cd8a;
}

.comparison-no {
  color: #b5bfba;
}

.comparison-perkpass .comparison-yes {
  color: var(--brand-orange);
}

.comparison-email-note {
  display: block;
  margin-top: 6px;
}

.comparison-controls {
  display: none;
}

.comparison-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #72837c;
  border-radius: 50%;
  background: var(--comparison-background);
  color: #fff;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.comparison-arrow:hover {
  background: #26332e;
  border-color: var(--brand-orange);
}

.comparison-arrow-next {
  margin-left: auto;
}

.home-founder {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 64px;
  align-items: start;
}

.homepage .home-founder h2 {
  font-size: 26px;
}

.home-founder figure,
.home-founder blockquote,
.home-founder blockquote p {
  margin: 0;
}

.home-founder blockquote {
  font-size: 16px;
  color: var(--ink-soft);
}

.home-founder figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
}

.home-founder-portrait {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border: 2px solid var(--mint);
  border-radius: 50%;
}

.home-founder-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.6);
  transform-origin: 45% 30%;
}

.home-founder-identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-founder-identity a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-founder figcaption span {
  color: var(--ink-soft);
}

.homepage .pricing-section {
  padding-top: 0;
}

.home-pricing {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 40px;
  background: #123f34;
  border-radius: 8px;
  color: white;
}

.home-pricing .eyebrow {
  color: #b8ddc9;
  font-size: 12px;
}

.homepage .home-pricing h2 {
  color: white;
  font-size: 30px;
}

.home-pricing-copy > p:not(.eyebrow) {
  margin: 16px 0 24px;
  max-width: 430px;
  font-size: 16px;
}

.home-plan-contrast {
  font-weight: 600;
}

.home-inclusions {
  padding-left: 18px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #d9e9df;
}

.home-inclusions li + li {
  margin-top: 4px;
}

.home-price-action {
  align-self: center;
  padding-left: 40px;
  border-left: 1px solid #719486;
}

.home-plan-name {
  margin: 0 0 12px;
  color: white;
  font-size: 20px;
  line-height: 1.3;
}

.home-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 8px;
  line-height: 1.1;
}

.home-price-value {
  margin: 0 0 22px;
  color: #d9e9df;
  font-size: 14px;
  line-height: 1.5;
}

.home-price strong {
  font-size: 48px;
  font-weight: 800;
}

.home-price span {
  font-size: 18px;
  font-weight: 600;
}

.home-price-terms {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.home-price-terms li + li {
  margin-top: 8px;
}

.home-price-terms li::before {
  color: #b8ddc9;
}

.home-price-action > .button {
  min-height: 48px;
  box-shadow: none;
  gap: 14px;
}

.home-price-note {
  font-size: 11px;
  color: #d9e9df;
  margin: 12px 0 0;
}

@media (max-width: 1050px) {
  .homepage .hero-inner {
    gap: 24px;
  }

  .homepage .hero h1 {
    font-size: 44px;
  }

  .home-product {
    height: 446px;
  }

  .home-phone {
    width: 275px;
    left: 5px;
  }

  .home-qr-device {
    width: 156px;
    top: 120px;
  }

  .home-benefits-layout {
    gap: 32px;
  }

  .home-pricing {
    gap: 32px;
    padding: 32px;
  }

  .home-price-action {
    padding-left: 28px;
  }
}

@media (max-width: 820px) {
  .comparison-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding-bottom: 12px;
  }

  .homepage #comparison-title {
    font-size: 32px;
  }

  .homepage .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 36px;
  }

  .homepage .hero-copy {
    max-width: 600px;
    margin-inline: auto;
    width: 100%;
  }

  .homepage .hero .lede {
    max-width: 560px;
  }

  .home-product {
    width: min(470px, 100%);
    height: 430px;
    margin: 0 auto;
  }

  .home-phone {
    left: 32px;
  }

  .home-qr-device {
    right: 22px;
  }

  .home-benefits-layout {
    grid-template-columns: 1fr;
  }

  .home-insights {
    max-width: 610px;
    margin: 0 auto;
  }

  .home-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .home-founder {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .homepage #comparison-title {
    font-size: 26px;
  }

  .homepage .hero-inner,
  .homepage .section-inner {
    width: calc(100% - 40px);
  }

  .homepage .hero-inner {
    padding-block: 26px 24px;
    gap: 14px;
  }

  .homepage .hero .eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .homepage .hero h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .homepage .hero .lede {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 16px;
  }

  .homepage .hero-actions {
    margin-top: 20px;
  }

  .homepage .hero-primary-action {
    flex-direction: column;
    gap: 10px;
  }

  .homepage .hero-primary-action .button {
    width: 100%;
  }

  .home-trust {
    margin-top: 16px;
    gap: 4px 12px;
    font-size: 11px;
  }

  .hero-detail-link {
    margin-top: 4px;
  }

  .home-product {
    max-width: 350px;
    height: 380px;
  }

  .home-phone {
    width: 238px;
    left: 8px;
    border-width: 5px;
    padding-top: 12px;
    border-radius: 26px;
  }

  .home-device-brand {
    padding-bottom: 10px;
  }

  .home-device-brand img {
    width: 110px;
  }

  .home-qr-device {
    right: 0;
    top: 120px;
    width: 120px;
    border-width: 3px;
    padding: 10px 5px;
    border-radius: 12px;
  }

  .home-qr-device > p {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .home-product > figcaption {
    font-size: 10px;
  }

  .homepage .section {
    padding-block: 48px;
  }

  .homepage h2 {
    font-size: 28px;
  }

  .homepage .eyebrow {
    font-size: 11px;
  }

  .home-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-steps figure {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }

  .home-steps .story-visual {
    margin: 0;
  }

  .home-steps h3 {
    font-size: 18px;
    gap: 7px;
  }

  .home-steps figcaption > p {
    font-size: 13px;
    margin-top: 8px;
  }

  .homepage .story-notes {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .homepage .comparison-section .section-inner {
    width: calc(100% - 24px);
  }

  .homepage .home-founder h2 {
    font-size: 24px;
  }

  .home-founder blockquote {
    font-size: 14px;
  }

  .homepage .pricing-section {
    padding-top: 0;
  }

  .home-pricing {
    grid-template-columns: 1fr;
    padding: 26px 22px;
    gap: 28px;
  }

  .homepage .home-pricing h2 {
    font-size: 28px;
  }

  .home-price-action {
    padding: 26px 0 0;
    border-left: 0;
    border-top: 1px solid #719486;
  }

  .home-price-action > .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .homepage .hero h1 {
    font-size: 32px;
  }

  .home-phone {
    width: 214px;
  }

  .home-product {
    height: 350px;
  }

  .home-qr-device {
    width: 105px;
    top: 110px;
  }

  .home-steps figure {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 12px;
  }
}
