/* The homepage: short words, real app screens. Color comes from the bots; actions are black. */
.home h2 { text-align: center; }
.section-intro { max-width: 560px; margin: 20px auto 0; text-align: center; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; }
.cta-note { font-size: var(--detail-size); }
.cta-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* The first screen: headline, one line, one button, and the app. */
.hero { padding-top: 24px; }
.hero-copy { text-align: center; }
.hero h1 { font-size: 3.75rem; letter-spacing: -.045em; text-wrap: balance; }
.hero-intro { max-width: 600px; margin: 16px auto 0; text-wrap: balance; }
.stage { position: relative; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; background: var(--surface); border-radius: 32px; }
.stage .phone { display: block; height: auto; max-width: calc(100% - 32px); }
.hero-stage { height: 400px; margin-top: 32px; padding-top: 32px; }
.hero-stage .phone { width: 390px; position: relative; z-index: 1; }
.sticker { position: absolute; height: auto; }
.sticker-left { width: 160px; left: max(24px, calc(50% - 380px)); top: 180px; transform: rotate(-12deg); }
.sticker-right { width: 128px; right: max(24px, calc(50% - 360px)); top: 52px; transform: rotate(10deg); }

/* One row of jobs, each a real screen. */
.jobs { padding-top: 140px; }
.job-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.job { margin: 0; }
.job-stage { height: 280px; padding-top: 36px; border-radius: 28px; }
.job-stage .phone { width: 300px; }
.job figcaption { margin-top: 20px; padding-inline: 8px; color: var(--secondary); font-size: var(--detail-size); line-height: 1.45; }
.job figcaption strong { color: var(--text); font-weight: 600; }

/* Three facts, big and in color, each with a bot looking in. */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 120px; }
.fact { position: relative; overflow: hidden; min-height: 380px; padding: 36px 32px; border-radius: 28px; color: white; }
.fact.computer { background: #6155f5; }
.fact.ai { background: #ff2d55; }
.fact.night { background: #1d1d1f; }
.fact h3 { color: white; font-size: 2.25rem; font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
.fact p { max-width: 300px; margin-top: 16px; color: white; font-size: 1.3125rem; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.fact img { position: absolute; width: 220px; height: auto; right: -28px; bottom: -64px; transform: rotate(-10deg); }
.fact.ai img { transform: rotate(12deg); right: -20px; bottom: -72px; }
.fact.night img { transform: rotate(-8deg); right: -36px; bottom: -76px; }

/* Pricing: two plans side by side, one line of small print. */
.pricing { padding-top: 140px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 760px; margin: 48px auto 0; }
.plan { padding: 32px; border-radius: 28px; background: var(--surface); }
.plan h3 { margin-bottom: 8px; }
.plan > p:first-of-type { font-size: var(--detail-size); min-height: 3em; }
.price { margin-top: 28px; color: var(--text); font-size: 2.5rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.price span { font-size: var(--detail-size); font-weight: 400; letter-spacing: 0; color: var(--secondary); }
.regular { margin-top: 10px; font-size: .9375rem; }
.fine-print { max-width: 620px; margin: 24px auto 0; text-align: center; font-size: .9375rem; }

/* Questions: one list, closed by default. */
.questions { max-width: 760px; padding-top: 140px; }
.questions h2 { margin-bottom: 32px; }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; font-size: var(--detail-size); font-weight: 500; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary > span { flex-shrink: 0; color: var(--secondary); transition: transform .2s; }
.questions details[open] summary > span { transform: rotate(45deg); }
.questions details p { padding: 0 40px 24px 0; font-size: var(--detail-size); }
.questions a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.closing { padding: 140px 0 120px; text-align: center; }

/* Compare page: the same look as the homepage, centered. */
.compare-head { padding-top: 56px; text-align: center; }
.compare-head h1 { font-size: 3.5rem; letter-spacing: -.045em; text-wrap: balance; }
.compare-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; text-align: left; }
.compare-card { padding: 32px; border-radius: 28px; background: var(--surface); }
.compare-card h2 { text-align: left; font-size: var(--body-size); letter-spacing: -.015em; }
.compare-card .price { margin-top: 20px; }
.compare-card p:last-child { margin-top: 12px; font-size: var(--detail-size); }
.compare-card.ours { background: var(--text); }
.compare-card.ours h2, .compare-card.ours .price { color: white; }
.compare-card.ours .price span { color: rgba(255, 255, 255, .78); }
.compare-card.ours p:last-child { color: rgba(255, 255, 255, .78); }
.compare-grid { width: 100%; margin-top: 80px; border-collapse: collapse; font-size: var(--detail-size); table-layout: fixed; }
.compare-grid th, .compare-grid td { padding: 18px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-grid thead th { font-weight: 600; color: var(--text); }
.compare-grid tbody th { width: 28%; font-weight: 500; color: var(--text); }
.compare-grid td { color: var(--secondary); }
.compare-grid tr > :first-child { padding-left: 0; }
.compare-grid tbody td:nth-child(2) { color: var(--text); font-weight: 500; }
.reasons { margin-top: 64px; }
.reasons .fact { min-height: 440px; }
.reasons .fact h3, .reasons .fact p { position: relative; z-index: 1; }
.reasons .fact p { max-width: 320px; }
.reasons .fact img { width: 180px; bottom: -52px; }
.compare-grid .ours { background: var(--surface); padding-inline: 16px; }
.compare-grid thead .ours { border-radius: 16px 16px 0 0; }
.compare-grid tbody tr:last-child .ours { border-radius: 0 0 16px 16px; }
.fits { padding-top: 120px; }
.fit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.fit { padding: 32px; border-radius: 28px; background: var(--surface); }
.fit h3 { margin-bottom: 14px; }
.fit ul { margin: 0; padding-left: 20px; }
.fit li { margin-bottom: 8px; color: var(--secondary); font-size: var(--detail-size); line-height: 1.45; }
.fits .fine-print { margin-top: 32px; }

@media (max-width: 900px) {
  .sticker { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact { min-height: 280px; }
  .job-row { grid-template-columns: repeat(3, minmax(260px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -40px; padding-inline: 40px; scroll-padding-inline: 40px; }
  .job-row::-webkit-scrollbar { display: none; }
  .job { scroll-snap-align: start; }
}
@media (max-width: 700px) {
  .compare-head { padding-top: 32px; }
  .compare-head h1 { font-size: var(--title-size); }
  .compare-cards, .fit-row { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 36px; }
  .compare-card, .fit { padding: 24px; border-radius: 24px; }
  .compare-grid { margin-top: 56px; font-size: .9375rem; }
  .compare-grid tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; border-bottom: 1px solid var(--line); }
  .compare-grid thead td { display: none; }
  .compare-grid tbody th { grid-column: 1 / -1; width: auto; padding: 16px 0 4px; border: 0; }
  .compare-grid th, .compare-grid td { padding: 4px 0 16px; border: 0; }
  .compare-grid thead th { padding-bottom: 12px; }
  .fits { padding-top: 80px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: var(--title-size); }
  .hero h1 br { display: none; }
  .hero-intro { margin-top: 20px; }
  .cta { margin-top: 28px; }
  .hero-stage { height: 320px; margin-top: 36px; padding-top: 32px; border-radius: 24px; }
  .hero-stage .phone { width: 300px; }
  .jobs, .pricing, .questions { padding-top: 96px; }
  .section-intro { margin-top: 16px; }
  .job-row { grid-template-columns: repeat(3, 78%); gap: 16px; margin: 40px -20px 0; padding-inline: 20px; scroll-padding-inline: 20px; }
  .job-stage { height: 240px; padding-top: 32px; border-radius: 24px; }
  .job-stage .phone { width: 240px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 80px; }
  .fact { min-height: 260px; padding: 28px; border-radius: 24px; }
  .fact h3 { font-size: 2rem; }
  .fact p { font-size: 1.1875rem; }
  .fact img { width: 170px; bottom: -52px; }
  .reasons .fact { min-height: 320px; }
  .reasons .fact img { width: 150px; bottom: -44px; }
  .plans { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .plan { padding: 28px; border-radius: 24px; }
  .plan > p:first-of-type { min-height: 0; }
  .questions details p { padding-right: 0; }
  .closing { padding: 96px 0 80px; }
}
@media (prefers-reduced-motion: reduce) { .questions summary > span { transition: none; } }
