/* The two product pages, /simple-phone and /care-providers (18 Nov 2026). They are built on the guides' stylesheet
   (/guides/guides.css: the header, the hero, the cards, the phones, the questions and the footer); this file adds only
   what those pages have and the guides don't: phones in the hero instead of a photograph, the "get it" card with the
   stores' badges, the video, and the six buttons laid out as small cards. */

/* The hero: two phones where a guide has its photograph. On a phone the words come first, then the phones. */
.sp-hero .sv-hero-inner { grid-template-areas: "title" "intro" "photo"; }
.sp-hero-phones { grid-area: photo; display: flex; align-items: flex-start; justify-content: center; margin-top: 2rem; }
.sp-hero-phones .sv-phone { width: 44%; max-width: 13rem; }

/* Get it: the stores, or the launch list until a store is live. */
.sp-get { padding: var(--card-pad-y) var(--card-pad-x) calc(var(--card-pad-y) + .25rem); border-radius: var(--radius-card); background: var(--sage); box-shadow: inset 0 0 0 1px rgba(70, 101, 85, .22); }
.sp-get h2 + p { margin-top: .75rem; }
.sp-get p { max-width: var(--measure); }
/* The store buttons on the Chinese and Italian pages have longer words than a phone is wide (25 Nov 2026: at 375px the
   Carer buttons ran 92px off the screen), so they wrap onto a second line here instead of pushing the page sideways. */
.sp-get .sv-button { max-width: 100%; padding-top: .6rem; padding-bottom: .6rem; white-space: normal; text-align: center; }
/* The care providers' info sheet: one button, and what the file is beside it (under it on a phone). */
.sp-sheet { display: flex; flex-wrap: wrap; align-items: center; margin: 1.25rem 0 0 -1rem; }
.sp-sheet > * { margin: .5rem 0 0 1rem; }
.sp-sheet span { color: var(--ink-soft); }
.sp-badges { display: flex; flex-wrap: wrap; align-items: center; margin: 1.25rem 0 0 -1rem; }
.sp-badge { display: inline-flex; align-items: center; min-height: 48px; margin: .5rem 0 0 1rem; border-radius: 10px; }
.sp-badge img { display: block; width: auto; height: 56px; }
.sp-marks { margin-top: 1rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

/* The video: 16:9, plays only when asked, with its words written out under it. */
.sp-video { margin: 0; }
.sp-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--ink); box-shadow: 0 30px 60px -36px rgba(19, 36, 59, .7); }
.sp-video figcaption { margin-top: 1rem; color: var(--ink-soft); }
/* The Chinese pages' video is upright (9:16), so it keeps to a phone's width and sits in the middle. */
.sp-video-tall video { aspect-ratio: 9 / 16; max-width: 360px; margin: 0 auto; }
.sp-video-tall figcaption { text-align: center; }
.sp-words { margin-top: 1rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sp-words summary { display: flex; align-items: center; min-height: 3.5rem; cursor: pointer; color: var(--pine); font-weight: 600; }
.sp-words summary:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.sv-guide .sp-words ul { margin: 0 0 1.25rem; }

/* The six buttons: one small card each, two across from 640px. */
.sv-guide ul.sp-buttons { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: var(--gap-card); margin-top: 1.5rem; padding-left: 0; list-style: none; }
.sv-guide .sp-buttons li { margin: 0; padding: 1.5rem 1.75rem 1.75rem; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-card); }
.sp-buttons h3 { color: var(--ink); font: 400 1.5rem/1.25 var(--serif); font-variation-settings: "opsz" 36; }
.sp-buttons h3 + p { margin-top: .6rem; }

/* Plain sections and the links at the end. */
.sp-note { color: var(--ink-soft); }
.sv-guide .sp-more ul { padding-left: 0; list-style: none; }

@media (min-width: 640px) {
  .sv-guide ul.sp-buttons { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  /* SVWD-33: as on the guides, the phones keep their standard-text px width with enlarged text. */
  .sp-hero-phones .sv-phone { width: 12.5rem; width: min(12.5rem, 220px); }
}

@media (min-width: 900px) {
  .sp-hero .sv-hero-inner { grid-template-areas: ". photo" "title photo" "intro photo" ". photo"; }
  .sp-hero-phones { align-self: center; margin-top: 0; }
  .sp-hero-phones .sv-phone { width: 13rem; padding: 6px; border-radius: 32px; }
  .sp-hero-phones .sv-phone img { border-radius: 26px; }
  .sp-hero-phones .sv-phone + .sv-phone { margin-left: 1.25rem; margin-top: 3rem; }
  /* SVWD-30: the phones keep their standard-text px sizes with 200% text (the root is 110% from 768px), so they stay
     inside the hero. Chrome 78, which has no min(), keeps the rem sizes. */
  .sp-hero-phones .sv-phone { width: 13rem; width: min(13rem, 228.8px); }
  /* SVWD-34: from 900px to about 950px the hero column is narrower than the two phones (479.6px), and centred they ran
     up to 13px past the right edge of the screen with standard text. Each phone is now no wider than half the column
     plus 24px, which keeps the pair inside the screen's 35.2px gutter; from about 950px it changes nothing. */
  .sp-hero-phones .sv-phone { width: min(13rem, 228.8px, calc(50% + 24px)); }
  .sp-hero-phones .sv-phone + .sv-phone { margin-left: 1.25rem; margin-left: min(1.25rem, 22px); margin-top: 3rem; margin-top: min(3rem, 52.8px); }
}

@media print {
  .sp-hero-phones, .sp-video video { display: none !important; }
  .sp-get, .sp-buttons li { box-shadow: none; border: 1px solid var(--rule); background: none; }
}

/* First impressions (23 Nov 2026): the demo is one tap from the first screen of /simple-phone/. */
.sv-guide-intro .sp-try { margin: 1.25rem 0 1.5rem; }
.sp-try a.sv-button { min-height: 60px; padding: 0 1.6rem; font-size: 1.1875rem; text-decoration: none; }
.sp-try svg { margin-left: .5rem; flex: none; }
/* SVWD-30: with 200% text on a phone the button's side padding stays at its standard-text size, so it fits the line.
   Chrome 78, which has no min(), keeps 1.6rem. */
@media (max-width: 30rem) {
  .sp-try a.sv-button { padding-left: 1.6rem; padding-left: min(1.6rem, 25.6px); padding-right: 1.6rem; padding-right: min(1.6rem, 25.6px); }
}
