:root {
  color-scheme: light;
  --cream: #f7f5ed;
  --surface: #fffdfa;
  --ink: #262e33;
  --muted: #626b6e;
  --lavender: #8c80c7;
  --sky: #61a6c7;
  --border: rgba(38, 46, 51, 0.12);
}
* { box-sizing: border-box; }
html { background: var(--cream); }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 12% 2%, rgba(140, 128, 199, 0.15), transparent 30rem), radial-gradient(circle at 94% 12%, rgba(97, 166, 199, 0.12), transparent 26rem), var(--cream);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: #286f91; text-underline-offset: 3px; }
a:hover { color: #174d67; }
.shell { width: min(760px, calc(100% - 36px)); margin: 0 auto; }
header { padding: 36px 0 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 750; text-decoration: none; }
.mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: rgba(140, 128, 199, 0.16); }
main { margin: 18px 0 48px; padding: clamp(26px, 6vw, 54px); border: 1px solid var(--border); border-radius: 28px; background: rgba(255, 253, 250, 0.9); box-shadow: 0 18px 50px rgba(38, 46, 51, 0.07); }
h1, h2 { line-height: 1.18; letter-spacing: -0.025em; }
h1 { margin: 0 0 14px; font-size: clamp(36px, 8vw, 56px); }
h2 { margin: 38px 0 10px; font-size: 24px; }
p, li { color: var(--muted); }
.eyebrow { margin: 0 0 10px; color: #6256a0; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.lede { max-width: 620px; font-size: 20px; }
.fine-print { margin: 16px 0 0; font-size: 14px; }
.offer { margin: 24px 0 8px; padding: 16px 18px; border: 1px solid rgba(140, 128, 199, 0.3); border-radius: 16px; background: rgba(140, 128, 199, 0.11); color: #4d447b; }
.siri-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: 24px 34px;
  align-items: center;
  margin: 40px 0 10px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(140, 128, 199, 0.3);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(140, 128, 199, 0.12), rgba(97, 166, 199, 0.09));
}
.siri-copy h2 { margin: 2px 0 12px; font-size: clamp(27px, 4vw, 38px); }
.siri-copy > p { margin: 0 0 16px; }
.siri-phrases { display: grid; gap: 9px; }
.siri-phrases blockquote { margin: 0; padding: 10px 13px; border-left: 3px solid var(--lavender); border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, 0.74); color: #4d447b; font-size: 15px; font-weight: 700; }
.siri-actions { font-size: 14px; }
.siri-screen { margin: 0; }
.siri-screen img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 28px; box-shadow: 0 14px 30px rgba(38, 46, 51, 0.13); }
.siri-screen figcaption { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.siri-flow { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 13px; align-items: center; }
.siri-flow div { display: grid; min-height: 126px; place-items: center; align-content: center; gap: 3px; padding: 15px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255, 255, 255, 0.78); text-align: center; }
.siri-flow span { font-size: 28px; }
.siri-flow strong { color: var(--ink); }
.siri-flow small { color: var(--muted); line-height: 1.35; }
.siri-flow > b { color: var(--lavender); font-size: 24px; }
.product-preview { margin: 40px 0 10px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.section-heading h2 { margin: 2px 0 0; }
.section-heading > p { margin: 0 0 3px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.screenshot-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 220px);
  gap: 18px;
  margin: 0 calc(clamp(26px, 6vw, 54px) * -1);
  padding: 4px clamp(26px, 6vw, 54px) 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(140, 128, 199, 0.45) transparent;
}
.screenshot-gallery figure { margin: 0; scroll-snap-align: start; }
.screenshot-gallery img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 28px; background: var(--cream); box-shadow: 0 14px 30px rgba(38, 46, 51, 0.12); }
.screenshot-gallery figcaption { display: grid; gap: 2px; padding: 12px 5px 0; font-size: 14px; line-height: 1.4; }
.screenshot-gallery figcaption strong { color: var(--ink); font-size: 15px; }
.screenshot-gallery figcaption span { color: var(--muted); }
.updated { margin: 0 0 30px; font-size: 14px; font-weight: 650; }
ul { padding-left: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-block; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: white; font-weight: 700; text-decoration: none; }
.button:hover { color: white; background: #3d484f; }
.button.secondary { background: rgba(97, 166, 199, 0.16); color: #174d67; }
.beta-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 34px; align-items: center; }
.beta-grid h2 { margin-top: 24px; }
.qr-card { padding: 15px; border: 1px solid var(--border); border-radius: 22px; background: white; text-align: center; }
.qr-card img { display: block; width: 100%; height: auto; }
.qr-card p { margin: 8px 0 0; font-size: 14px; font-weight: 700; }
.nav { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; list-style: none; }
footer { padding: 0 0 42px; font-size: 14px; }
@media (min-width: 900px) {
  .beta-page .shell { width: min(1180px, calc(100% - 48px)); }
  .beta-page .screenshot-gallery {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 4px 0 20px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .beta-page .section-heading > p { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 24px, 760px); }
  header { padding-top: 20px; }
  main { margin-top: 8px; border-radius: 22px; }
  .beta-grid { grid-template-columns: 1fr; }
  .qr-card { width: min(250px, 100%); margin: 0 auto; }
  .section-heading > p { display: none; }
  .screenshot-gallery { grid-auto-columns: minmax(205px, 72vw); }
  .siri-feature { grid-template-columns: 1fr; }
  .siri-screen { width: min(290px, 82%); margin: 0 auto; }
  .siri-flow { grid-template-columns: 1fr; }
  .siri-flow > b { transform: rotate(90deg); justify-self: center; }
}
