/* Product storytelling for Vibe Pads S1. Site navigation and support use the shared styles. */
.vibe-page .vibe-launch-banner .vibe-launch-line {
  max-width: min(460px, 40%);
  font-size: clamp(38px, 4.2vw, 68px);
}
.vibe-launch-line span { display: block; }
.vibe-page .vibe-story section[id],
.vibe-page .vibe-story article[id] {
  scroll-margin-top: calc(var(--vibe-header-height, 116px) + 14px);
}
.vibe-page .vibe-story #overview { scroll-margin-top: var(--vibe-header-height, 116px); }
.s1-section { padding-block: clamp(60px, 8vw, 116px); background: #fff; }
.s1-tinted { background: var(--kemi-canvas); }
.s1-wrap { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.s1-section h2 {
  font-size: clamp(32px, 4.35vw, 60px);
  font-weight: 650;
  line-height: 1.13;
  letter-spacing: -.032em;
  text-wrap: balance;
  margin: 0;
}
.s1-heading { max-width: 760px; }
.s1-heading > p { margin: 18px 0 0; color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.75; }
.s1-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(30px, 5vw, 62px); }
.s1-ways a { display: flex; flex-direction: column; align-items: flex-start; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); padding-block: 20px 8px; }
.s1-ways h3, .s1-formats h3, .s1-workflows h3 { margin: 0; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.25; letter-spacing: -.02em; }
.s1-ways p, .s1-workflows p, .s1-formats figcaption p { margin: 10px 0; color: var(--muted); line-height: 1.72; }
.s1-ways span { color: #005ebf; margin-top: auto; padding-top: 8px; font-weight: 550; }
.s1-ways a:hover h3 { color: #005ebf; }
.s1-formats { margin-top: clamp(24px, 4vw, 48px); }
.s1-format-controls:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.s1-format-controls button {
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 0 19px; min-height: 44px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .25s var(--kemi-motion-ease), color .25s var(--kemi-motion-ease), border-color .25s var(--kemi-motion-ease);
}
.s1-format-controls button:hover { color: #005ebf; border-color: #005ebf; }
.s1-format-controls button[aria-pressed="true"] { color: #fff; border-color: #005ebf; background: #005ebf; }
.s1-format-stage figure { margin: 0; background: #fff; border-radius: var(--kemi-radius); overflow: hidden; }
.s1-format-stage figure:not([hidden]) + figure:not([hidden]) { margin-top: 12px; }
.s1-format-stage figure:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); align-items: center; }
.s1-format-art { height: clamp(270px, 34vw, 410px); padding: 26px 20px; }
.s1-format-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.s1-format-art.s1-photo { padding: 20px; }
.s1-format-art.s1-photo img { object-fit: contain; border-radius: var(--kemi-radius-small); }
.s1-format-stage figcaption { padding: 24px clamp(24px, 3.5vw, 48px) 24px 12px; }
.s1-format-stage figure.is-entering { animation: s1-format-reveal .42s var(--kemi-motion-ease) both; }
@keyframes s1-format-reveal {
  from { opacity: .55; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.s1-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr); align-items: center; gap: clamp(28px, 5vw, 68px); }
.s1-media-first { grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr); }
.s1-media-first .s1-media { grid-column: 1; grid-row: 1; }
.s1-media-first .s1-heading { grid-column: 2; grid-row: 1; }
.s1-note, .s1-heading > .s1-note, .s1-media figcaption { color: var(--muted); font-size: 14px; line-height: 1.65; }
.s1-media { margin: 0; min-width: 0; }
.s1-media img { display: block; width: 100%; height: auto; border-radius: var(--kemi-radius); }
.s1-media figcaption { margin: 9px 2px 0; }
.s1-apps { margin-top: 34px; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.s1-app-list, .s1-specs { margin: 0; }
.s1-app-list > div, .s1-specs > div { display: grid; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.s1-app-list > div { grid-template-columns: minmax(85px, 1fr) minmax(0, 1.5fr); }
.s1-app-list dt, .s1-specs dt { font-weight: 650; }
.s1-app-list dd, .s1-specs dd { margin: 0; color: var(--muted); }
.s1-workflows { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.s1-workflows article { padding-top: 20px; border-top: 1px solid var(--line); }
.s1-closed { padding: 14px; border-radius: var(--kemi-radius); background: #fff; }
.s1-closed img { max-height: 350px; object-fit: contain; }
.s1-dimensions { display: flex; flex-wrap: wrap; gap: 18px 38px; margin: 26px 0 0; }
.s1-dimensions dd { margin: 0; font-size: clamp(25px, 3.5vw, 46px); font-weight: 650; line-height: 1.18; font-variant-numeric: tabular-nums; }
.s1-dimensions dd span { font-size: .46em; }
.s1-dimensions dt { color: var(--muted); margin-top: 4px; }
.s1-specs { margin-top: 28px; border-top: 1px solid var(--line); }
.s1-specs > div { grid-template-columns: minmax(135px, .8fr) minmax(0, 2.2fr); padding-block: 18px; }
.s1-specs dd { line-height: 1.65; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.s1-section .product-questions { padding-block: 0; }
.s1-section .product-questions h2 { margin-bottom: 24px; }
.s1-section .product-questions details { padding: 0; }
.s1-section .product-questions summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 60px; padding: 13px 4px; color: var(--ink); font-weight: 600; list-style: none;
}
.s1-section .product-questions summary::-webkit-details-marker { display: none; }
.s1-section .product-questions summary::after { content: ""; flex: 0 0 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s var(--kemi-motion-ease); margin-right: 8px; }
.s1-section .product-questions details[open] summary::after { transform: rotate(225deg); }
.s1-section .product-questions summary:hover { color: #005ebf; }
.s1-section .product-questions details p { margin: 0 4px 18px; }
@media (max-width: 900px) {
  .s1-split, .s1-media-first { gap: 28px; }
}
@media (max-width: 700px) {
  .vibe-page .vibe-launch-banner { background: #f9f9f9; padding: 32px 24px; min-height: 500px; }
  .vibe-page .vibe-launch-banner .vibe-launch-line { max-width: 100%; font-size: clamp(28px, 7.5vw, 44px); margin-block: 14px; }
  .vibe-page .vibe-launch-banner .vibe-launch-art { top: 0; }
  .vibe-page .vibe-launch-banner .vibe-launch-art img {
    position: absolute; left: 50%; bottom: 0; width: min(205%, 154svh);
    max-width: none; height: auto; transform: translateX(-68%);
  }
  .s1-wrap { width: calc(100% - 40px); }
  .s1-ways, .s1-workflows { grid-template-columns: 1fr; gap: 14px; }
  .s1-split, .s1-media-first, .s1-format-stage figure:not([hidden]) { grid-template-columns: 1fr; }
  .s1-media-first .s1-media, .s1-media-first .s1-heading { grid-column: auto; grid-row: auto; }
  .s1-format-art { height: clamp(205px, 64vw, 320px); padding: 12px; }
  .s1-format-art.s1-photo { padding: 12px; }
  .s1-format-stage figcaption { padding: 0 20px 16px; }
  .s1-format-controls button { padding-inline: 13px; }
  .s1-specs > div { grid-template-columns: 1fr; gap: 6px; padding-block: 14px; }
}
@media (max-width: 700px) and (max-height: 650px) {
  .vibe-page .vibe-launch-banner { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .s1-format-stage figure.is-entering { animation: none; }
  .s1-format-controls button, .s1-section .product-questions summary::after { transition: none; }
}
