.home main,
.home header.top,
.home footer {
  max-width: 1168px;
  padding-inline: 32px;
}

.home header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.chapter-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--text-secondary);
}

.home a:hover {
  color: var(--text);
}

.product-hero,
.summarise {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

.product-hero {
  padding-block: 72px 104px;
}

.home h1 {
  margin: 0 0 28px;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -1px;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

.intro {
  max-width: 34ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero-note {
  margin: 36px 0 0;
  color: var(--accent);
  font-size: 0.875rem;
}

.product-shot {
  position: relative;
  isolation: isolate;
  width: 294px;
  max-width: 100%;
  margin: 0;
  justify-self: center;
}

.product-shot::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40px -110px;
  background: radial-gradient(ellipse, var(--glow-1), #263a6380 32%, transparent 70%);
  pointer-events: none;
}

.phone {
  width: 294px;
  padding: 7px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 36px;
  box-shadow: 0 24px 64px #0006, inset 0 0 0 2px #ffffff08;
  overflow: hidden;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.product-shot figcaption {
  margin-top: 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.before-after {
  padding-block: 48px 64px;
  border-top: 1px solid var(--hairline);
}

.comparison-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-block: 40px 32px;
}

.comparison-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.comparison-panel h3 {
  margin: 0 0 24px;
  font-size: 1.125rem;
  font-weight: 500;
}

.comparison-panel .phone {
  width: min(294px, 100%);
  align-self: center;
}

.chat-bubbles {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 16px;
  padding: 24px;
  margin: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 28px;
}

.chat-bubbles li {
  align-self: flex-end;
  max-width: 100%;
  padding: 14px 16px;
  background: var(--raised);
  border-radius: 16px 16px 4px 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.chat-bubbles time {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-align: right;
}

.comparison-copy {
  max-width: 70ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.65;
}

.comparison-copy + .comparison-copy {
  margin-top: 16px;
}

.process {
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 32px;
}

.home h2 {
  font-weight: 500;
  letter-spacing: -0.5px;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 48px;
  list-style: none;
  padding: 0;
  margin: 48px 0 56px;
}

.steps li {
  min-width: 0;
}

.step-number {
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.step-number span {
  color: var(--text-secondary);
}

.steps h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.steps p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.steps p + p {
  margin-top: 16px;
}

.more-features,
.summarise {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
}

.summarise .hero-note {
  margin: 0 0 16px;
}

.summarise h2 {
  margin-bottom: 24px;
}

.summarise .phone {
  max-width: 100%;
  justify-self: center;
}

.more-features .steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.more-features .step-symbol {
  margin: 0 0 20px;
}

.step-symbol {
  display: block;
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.detail-crop {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--hairline);
}

.steps .detail-crop {
  max-width: 534px;
  aspect-ratio: 0.8;
}

.process .detail-crop {
  margin-inline: auto;
}

.more-features .detail-crop {
  max-width: 320px;
  aspect-ratio: 0.9;
}

.crop-save { object-position: center 56%; }
.crop-item,
.crop-search { object-position: center 27%; }
.crop-sync { object-position: center 20%; }
.crop-ai { object-position: center 18%; }
.crop-reminders { object-position: center 14%; }

.ownership {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0;
}

.ownership span {
  display: block;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  margin-top: 12px;
}

.name-story {
  display: grid;
  grid-template-columns: 80px minmax(0, 600px);
  align-items: start;
  justify-content: center;
  gap: 32px;
  padding-block: 64px;
  margin-top: 64px;
  border-top: 1px solid var(--hairline);
}

.name-story img {
  width: 80px;
  height: 80px;
  border-radius: 22px;
}

.name-story h2 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.name-story p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

.availability,
.availability ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.availability {
  border-top: 1px solid var(--hairline);
  padding-block: 32px;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.availability ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.home .availability h2 {
  font-size: inherit;
  font-weight: 400;
  letter-spacing: normal;
  line-height: inherit;
}

.availability li span {
  color: var(--accent);
  margin-right: 8px;
}

@media (max-width: 1100px) {
  .product-shot::before {
    inset-inline: -24px;
  }
}

@media (max-width: 900px) {
  .product-hero,
  .summarise {
    gap: 24px;
  }

  .steps {
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .home main,
  .home header.top,
  .home footer {
    padding-inline: 24px;
  }

  .home header.top {
    padding-top: 20px;
  }

  .chapter-link {
    gap: 8px;
  }

  .product-hero,
  .summarise {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .product-hero {
    padding-block: 56px 64px;
  }

  .home h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    max-width: 14ch;
    margin-bottom: 24px;
  }

  .intro {
    font-size: 1rem;
  }

  .hero-note {
    margin-top: 24px;
  }

  .product-shot {
    width: 280px;
  }

  .product-shot::before {
    inset: -24px;
  }

  .phone {
    width: min(280px, 100%);
  }

  .home h2 {
    font-size: 1.75rem;
  }

  .comparison-panels {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 32px;
  }

  .chat-bubbles {
    padding: 16px;
  }

  .comparison-copy {
    font-size: 1rem;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-block: 36px 48px;
  }

  .more-features .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-number {
    margin-bottom: 12px;
  }

  .process .step-number span {
    display: none;
  }

  .ownership {
    font-size: 1.25rem;
  }

  .name-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 40px;
    margin-top: 48px;
  }

  .name-story img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .name-story h2 {
    font-size: 1.375rem;
  }

  .name-story p {
    font-size: 1rem;
  }

  .availability {
    gap: 16px;
  }

  .availability ul {
    gap: 8px 16px;
  }

}
