/* Sections shared by the homepage and product page. Base type, chrome, and controls live in pages.css. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.section {
  padding-top: 104px;
  padding-bottom: 104px;
}
.white {
  background: var(--surface);
}
.section h2,
.closing h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.lead {
  color: var(--ink);
}
.trial-note {
  margin: 14px 0 0;
  font-size: 14px;
}
/* Example push notification, shared by the hero and the notification section. */
.toast {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 5px 6px 0 var(--ink);
  font-size: 14px;
  line-height: 20px;
}
.toast b,
.toast span,
.toast small {
  display: block;
}
.toast small {
  color: var(--muted);
  font-size: 12px;
}
.app-icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--primary);
}
.app-icon::after {
  position: absolute;
  inset: 6px;
  content: '';
  background: #fff;
  -webkit-mask: url(/assets/af2208e2c48aa7a7faf7.png) center / contain no-repeat;
  mask: url(/assets/af2208e2c48aa7a7faf7.png) center / contain no-repeat;
}
/* Hero: the headline, then one notification landing on the illustration. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 72px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero h1 span {
  display: block;
}
.hero .lead {
  max-width: 30ch;
  margin: 28px 0 32px;
  font-size: 20px;
  line-height: 30px;
}
/* Room below the illustration lets the notification overlap only its faded lower edge. */
.hero-art {
  position: relative;
  padding-bottom: 64px;
}
.hero-art img {
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(
    ellipse 72% 70% at 50% 52%,
    #000 62%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 72% 70% at 50% 52%,
    #000 62%,
    transparent 100%
  );
}
.hero-art .toast {
  position: absolute;
  bottom: 0;
  left: -6%;
  width: min(330px, 70%);
}
.arrive {
  animation: arrive 700ms cubic-bezier(0.2, 1.4, 0.4, 1) 600ms both;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(-40px) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Features: choose a section and see it in an example app. */
.section-intro {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-intro .lead {
  margin: 18px 0 0;
}
.tour {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 72px;
}
.tour-tabs {
  display: grid;
  gap: 12px;
}
.tour-tabs button {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 160ms, border-color 160ms;
}
.tour-tabs button:hover {
  background: var(--canvas);
}
.tour-tabs button[aria-selected='true'] {
  border-color: #bfd3fb;
  background: var(--sky);
}
.tour-tabs svg {
  width: 64px;
  height: 64px;
}
.tab-title {
  display: block;
  font: 700 22px/28px 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.025em;
}
.tab-text {
  display: block;
  max-width: 42ch;
  margin-top: 4px;
  color: var(--muted);
}
.phone {
  width: 320px;
  aspect-ratio: 9 / 18.5;
  justify-self: center;
  padding: 12px;
  border: 3px solid var(--ink);
  border-radius: 44px;
  background: var(--surface);
  box-shadow: 10px 12px 0 var(--butter), 10px 12px 0 3px var(--ink);
}
.screen {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 32px;
  background: var(--canvas);
}
.screen-title {
  max-width: none;
  margin: 0;
  padding: 34px 20px 14px;
  background: var(--primary);
  color: #fff;
  font: 700 20px 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.02em;
}
.screen-title small {
  display: block;
  opacity: 0.85;
  font: 500 12px Inter, system-ui, sans-serif;
  letter-spacing: 0;
}
.panel {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 10px;
  padding: 16px;
}
.panel[hidden] {
  display: none;
}
.panel:focus-visible {
  outline-offset: -3px;
}
.item {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}
.item b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 14px;
}
.item.date {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
}
.item.date > span {
  padding: 6px 0;
  border-radius: 10px;
  background: var(--butter);
  color: var(--ink);
  font: 800 18px/1 'Plus Jakarta Sans', system-ui, sans-serif;
  text-align: center;
}
.item.date small {
  display: block;
  font: 600 10px Inter, system-ui, sans-serif;
}
.notes {
  color: var(--ink);
  font-size: 14px;
  line-height: 30px;
}
.verse-ref {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}
.blank {
  display: inline-block;
  min-width: 48px;
  border-bottom: 2px solid var(--ink);
  color: var(--primary);
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.video {
  display: grid;
  aspect-ratio: 16 / 9;
  margin-top: 8px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
}
.video::after {
  margin-left: 4px;
  content: '';
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}
.tabbar {
  display: flex;
  justify-content: space-around;
  padding: 10px 6px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.tabbar .on {
  color: var(--primary);
}
/* Plan it once: a real week, because scheduling is a real sequence. */
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
.plan-copy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  column-gap: 72px;
}
.plan-copy h2 {
  grid-row: span 2;
  margin: 0;
}
.plan-copy .lead {
  margin: 0;
}
.checks {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding-left: 32px;
}
.checks li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  content: '';
  border-radius: 50%;
  background: var(--primary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.week {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.week ol {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.week li {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--canvas);
  font-size: 14px;
  line-height: 19px;
}
.week li > b {
  margin-bottom: 4px;
  color: var(--muted);
  font: 700 13px 'Plus Jakarta Sans', system-ui, sans-serif;
}
.week li.today {
  background: var(--sky);
  outline: 2px solid var(--primary);
}
.week li.today > b {
  color: var(--primary);
}
.chip {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.chip.push {
  border-color: transparent;
  background: var(--butter);
}
.chip.you {
  border-color: transparent;
  background: var(--primary);
  color: #fff;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 4px;
  vertical-align: -1px;
}
.key-you {
  background: var(--primary);
}
.key-post {
  border: 1px solid var(--border);
  background: var(--surface);
}
.key-push {
  background: var(--butter);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 72px;
}
.split > div > p {
  max-width: 46ch;
}
.notify {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}
.stack {
  display: grid;
  width: 100%;
  max-width: 440px;
  justify-self: center;
  gap: 14px;
}
.stack .toast:nth-child(2) {
  margin-left: 28px;
  box-shadow: 4px 5px 0 var(--coral), 4px 5px 0 2px var(--ink);
}
.stack .toast:nth-child(3) {
  margin-left: 56px;
  box-shadow: 4px 5px 0 var(--sage), 4px 5px 0 2px var(--ink);
}
.closing {
  padding-top: 120px;
  padding-bottom: 96px;
  text-align: center;
}
.closing h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.closing .lead {
  margin: 18px auto 32px;
}
.closing .actions {
  justify-content: center;
}
.rays {
  width: 110px;
  margin: 0 auto 20px;
}
@media (max-width: 960px) {
  .hero,
  .tour,
  .split,
  .notify,
  .plan-copy {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 16px;
  }
  .hero-art {
    padding-bottom: 88px;
  }
  .hero-art .toast {
    left: 0;
  }
  .plan-copy .lead {
    margin-top: 18px;
  }
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
@media (max-width: 640px) {
  .week {
    padding: 16px;
  }
  .week ol {
    grid-template-columns: 1fr;
  }
  .week li {
    min-height: 0;
    flex-flow: row wrap;
    align-items: center;
  }
  .week li > b {
    width: 40px;
    margin: 0;
  }
  .phone {
    width: 280px;
  }
  .tour-tabs button {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 16px;
  }
  .tour-tabs svg {
    width: 48px;
    height: 48px;
  }
  .stack .toast:nth-child(n) {
    margin-left: 0;
  }
  .closing {
    padding-top: 72px;
    padding-bottom: 64px;
  }
}
