/* Native app captures. Device frames never crop the app's content. */
.showcase-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #080b10; isolation: isolate; }
.showcase-screen { touch-action: pan-y; }
.showcase-screen img { user-select: none; -webkit-user-drag: none; }
.showcase-screen[data-mode="scroll"] { cursor: grab; }
.showcase-screen[data-mode="scroll"]:active { cursor: grabbing; }
.showcase-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .85s ease; pointer-events: none; }
.showcase-slide.is-active { opacity: 1; z-index: 1; }
.showcase-screen .showcase-slide img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.showcase-screen[data-mode="scroll"] { overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.showcase-screen[data-mode="scroll"]::-webkit-scrollbar { display: none; }
.showcase-screen[data-mode="scroll"] .showcase-slide { position: relative; height: 100%; opacity: 1; scroll-snap-align: start; scroll-snap-stop: always; }
.showcase-screen:focus-visible { outline: 3px solid #e4a072; outline-offset: -4px; }
.hero-phone .showcase-screen { border-radius: inherit; }
/* The scroll viewport needs a definite height for its percentage-height slides. */
.hero-motion-toggle { margin: 16px 0 0; }
.motion-toggle { appearance: none; border: 1px solid rgba(228,160,114,.45); border-radius: 999px; padding: 10px 17px; background: rgba(228,160,114,.08); color: var(--star); font: 500 12px var(--t-body, sans-serif); cursor: pointer; white-space: nowrap; }
.motion-toggle:hover { background: rgba(228,160,114,.18); }
.motion-toggle:focus-visible, .showcase-controls button:focus-visible { outline: 2px solid #e4a072; outline-offset: 4px; }
.showcase-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 24px; color: var(--star-dim); font-size: 13px; }
.device-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; }
.device-grid .device { display: flex; flex-direction: column; grid-row: auto; min-width: 0; }
.device-grid .device-tag { align-self: flex-start; }
.showcase-stage { height: 430px; display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; }
.device-grid .device h3 { margin-top: 18px; }
.device-grid .iphone-frame { height: 100%; width: auto; aspect-ratio: 1206 / 2622; border: 5px solid #252831; border-radius: 30px; box-shadow: 0 25px 45px #0006; }
.ipad-frame { height: 100%; max-width: 100%; aspect-ratio: 2064 / 2752; background: #12151d; padding: 9px; border: 2px solid #454752; border-radius: 23px; box-shadow: 0 25px 45px #0006; }
.ipad-frame .showcase-screen { border-radius: 13px; }
.duo-frame { width: 100%; aspect-ratio: 2853 / 2007; padding: 7px; border: 2px solid #454752; border-radius: 22px; background: #12151d; box-shadow: 0 25px 45px #0006; }
.duo-frame .showcase-screen { border-radius: 13px; }
.device-grid .macbook { width: 82%; margin: 0; }
.device-grid .macbook-bezel { aspect-ratio: 2712 / 1588; }
.device-grid .apple-watch { margin: 0 auto; }
.device-grid .watch-screen { aspect-ratio: 416 / 496; }
.showcase-tv { width: 100%; filter: drop-shadow(0 22px 24px #0007); }
.showcase-tv-screen { aspect-ratio: 16 / 9; border: 6px solid #2a2c34; border-bottom-width: 10px; border-radius: 8px; background: #000; overflow: hidden; }
.showcase-tv-stand { margin: 0 auto; width: 30%; height: 23px; border-bottom: 5px solid #41434b; background: linear-gradient(90deg,transparent 42%,#272a32 42%,#272a32 58%,transparent 58%); border-radius: 0 0 5px 5px; }
.showcase-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 20px; color: var(--star-dim); font: 11px var(--t-mono); }
.showcase-controls button { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid var(--line-d-2); background: #ffffff08; color: var(--star); cursor: pointer; font-size: 19px; }
.showcase-controls button:hover { border-color: #e4a072; background: #e4a07218; }
.showcase-controls [data-slide-label] { min-width: 50px; text-align: center; }
.dl-preview.dl-preview-showcase { height: 400px; display: flex; align-items: center; justify-content: center; padding: 16px; border: 0; background: radial-gradient(ellipse at center,#25304955,transparent 70%); box-shadow: none; overflow: visible; }
.download-phone { height: 100%; aspect-ratio: 1206 / 2622; border: 5px solid #30333e; border-radius: 27px; overflow: hidden; box-shadow: 0 22px 45px #0006; }
.download-mac { width: 100%; aspect-ratio: 2712 / 1588; border: 6px solid #30333e; border-radius: 12px; overflow: hidden; box-shadow: 0 22px 45px #0006; }
.dl-ios .dl-preview-showcase .showcase-slide img { aspect-ratio: auto; object-fit: contain; object-position: center; height: 100%; }
html.showcase-paused *, html.showcase-paused *::before, html.showcase-paused *::after { animation-play-state: paused !important; }
@media (max-width: 700px) {
  .device-grid { grid-template-columns: minmax(0,1fr); }
  .showcase-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .showcase-stage { height: 370px; }
  .device-duo .showcase-stage, .device-mac .showcase-stage, .device-tv .showcase-stage { height: auto; min-height: 230px; }
  .device-grid .device { padding: 24px 20px; }
  .dl-preview.dl-preview-showcase { height: 330px; padding: 10px 0; }
  .dl-mac .dl-preview.dl-preview-showcase { height: auto; min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-slide { transition: none; }
  .showcase-screen { scroll-behavior: auto; }
}

/* Complete forecasts, with room on both sides at phone widths. */
.forecast-preview { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:center; min-width:0; }
.forecast-preview figure { min-width:0; margin:0; }
.forecast-preview img { width:100%; height:auto; display:block; border:4px solid #34343a; border-radius:26px; box-shadow:0 24px 45px #342a251c; }
.forecast-preview figcaption { text-align:center; color:#665c4e; font-size:13px; margin-top:18px; }
.palette-demo { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:60px; align-items:center; margin-top:50px; padding:56px; background:#fbf6ee; border:1px solid var(--line-p); border-radius:28px; }
.palette-copy > p { color:#655e52; font-size:16px; line-height:1.6; margin-top:20px; max-width:410px; }
.palette-copy h3 { font-size:clamp(32px,3.7vw,54px); }
.palette-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:30px; }
.palette-choice { display:flex; align-items:center; gap:10px; padding:12px; min-height:52px; border:1px solid #dcd4c8; border-radius:12px; background:transparent; color:#27232a; font:600 13px var(--t-body); text-align:left; cursor:pointer; }
.palette-choice > span { flex-shrink:0; width:25px; height:25px; border-radius:50%; background:var(--swatch); border:1px solid #8885; box-shadow:inset -8px -4px var(--swatch-accent); }
.palette-choice[aria-pressed="true"] { border-color:#b8612e; background:#b8612e0d; box-shadow:0 0 0 1px #b8612e; }
.palette-choice:focus-visible { outline:3px solid #b8612e; outline-offset:3px; }
.palette-copy .palette-caption { font-size:12px; margin-top:24px; }
.palette-copy .palette-note { font-size:13px; min-height:42px; margin-top:5px; }
.palette-phone { width:100%; max-width:290px; margin:0 auto; padding:0; border:5px solid #30313a; border-radius:36px; overflow:hidden; background:#111; box-shadow:0 26px 45px #342a2526; }
.palette-phone img { display:block; width:100%; height:auto; }
@media(max-width:900px) {
 .palette-demo { gap:30px; padding:32px; }
}
@media(max-width:720px) {
 .forecast-preview { gap:14px; width:100%; max-width:430px; margin:0 auto; }
 .forecast-preview img { border-width:3px; border-radius:17px; }
 .forecast-preview figcaption { font-size:11px; margin-top:12px; }
 .palette-demo { grid-template-columns:minmax(0,1fr); gap:28px; padding:26px 20px; margin-top:32px; }
 .palette-copy > p { font-size:14px; }
 .palette-options { gap:9px; margin-top:22px; }
 .palette-choice { font-size:12px; padding:10px; }
 .palette-phone { max-width:290px; }
}
@media(prefers-reduced-motion:reduce) { .palette-phone,.preview-card { transition:none; } }

.device-download { align-self:center; margin-top:22px; padding:12px 20px; font-size:13px; }
.dl-card { display:flex; flex-direction:column; }
.dl-card > .btn { align-self:flex-start; margin-top:auto; }
.dl-card > p { margin-bottom:28px; }
.dl-head { flex-wrap:wrap; gap:8px 14px; }
@media(max-width:720px) {
 .palette-demo { padding:26px 18px; }
 .palette-options { grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
 .palette-choice { flex-direction:column; justify-content:center; font-size:10px; padding:10px 2px; gap:7px; text-align:center; }
 .palette-phone { max-width:260px; border-radius:30px; }
 .palette-copy .palette-note { min-height:0; }
}

/* Reserve room for the offset phones, rotation and the swipe hint. */
.alert-stack { height:880px; }
@media(max-width:720px) {
  .alert-stack { height:660px; }
  .alert-stack.is-swipe::after { bottom:26px; }
}

.download-anchor { position:absolute; top:0; left:0; scroll-margin-top:90px; }
.device-grid .device > p { margin-bottom:24px; }
.device-grid .device-download { align-self:flex-start; margin-top:auto; max-width:100%; padding:14px 20px; font-size:14px; line-height:1.4; }
.device-download svg { flex-shrink:0; }


/* The laptop base is 116% of its lid; leave room for both inside the card. */
.device[id] { scroll-margin-top: 110px; }
.platform { border-radius: 14px; text-decoration: none; }
.platform:hover .platform-name { color: var(--ember); }
.platform:focus-visible { outline: 2px solid var(--ember); outline-offset: 8px; }
.storm-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.nav { gap: 20px; }
.nav-links { min-width: 0; }
.nav > .nav-cta { flex-shrink: 0; font-size: 14px; white-space: nowrap; }
@media (max-width: 720px) {
 .nav { gap: 8px; width: auto; max-width: none; }
 .nav > .nav-cta { font-size: 12px; padding: 10px 12px; }
 .storm-toggle { flex-basis: 40px; width: 40px; height: 40px; }
}
.storm-toggle[aria-pressed="true"] { border-color: var(--ember); color: var(--ember); }
.storm-toggle:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Reserve the actual phone height in normal flow, plus the rear phone's offset.
   Fixed-height stages were shorter than their screenshots at several widths. */
.latest-showcase, .chat-device-pair, .timeline-showcase { min-height: 0; height: auto; padding-bottom: 120px; }
.latest-showcase::before, .chat-device-pair::before, .timeline-showcase::before { content: ''; display: block; aspect-ratio: 9 / 19.5; pointer-events: none; }
.latest-showcase::before { width: min(360px, 58%); }
.chat-device-pair::before { width: min(330px, 52%); }
.timeline-showcase::before { width: min(310px, 100%); }
@media (max-width: 1080px) {
  .timeline-showcase::before { width: min(260px, 100%); }
}
@media (max-width: 720px) {
  .latest-showcase.is-swipe, .chat-device-pair.is-swipe, .timeline-showcase.is-swipe { min-height: 0; padding-bottom: 120px; }
  .latest-showcase::before, .chat-device-pair::before { width: min(280px, 64%); }
  .timeline-showcase::before { width: min(260px, 64%); }
  .chat-device-pair { margin: 0 auto; }
  .latest-showcase.is-swipe::after, .chat-device-pair.is-swipe::after, .timeline-showcase.is-swipe::after { bottom: 26px; }
}


/* Real Home Screen widgets, cropped from the supplied screenshots. */
.widget-showcase { position: relative; }
.widget-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 56px; }
.widget-intro .section-sub { max-width: 440px; margin: 0 0 8px; }
.widget-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(24px, 3vw, 42px); }
.widget-column { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.widget-capture { margin: 0; min-width: 0; }
.widget-capture img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 24px #0004); }
.widget-capture figcaption { display: grid; gap: 5px; padding: 16px 4px 0; line-height: 1.5; }
.widget-capture figcaption strong { color: var(--star); font: 500 16px var(--t-body); }
.widget-capture figcaption span { color: var(--star-dim); font-size: 12px; }
.widget-compact { display: grid; grid-template-columns: 46% 1fr; align-items: center; gap: 20px; }
.widget-compact figcaption { padding: 0; }
@media (max-width: 960px) {
  .widget-intro { grid-template-columns: 1fr; gap: 24px; max-width: 560px; margin: 0 auto 44px; }
  .widget-intro .section-sub { max-width: none; }
  .widget-wall { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 36px; }
  .widget-column { gap: 36px; }
  .widget-capture figcaption { padding-top: 16px; }
  .widget-compact { grid-template-columns: minmax(0, 42%) 1fr; }
  .widget-compact figcaption { padding: 0; }
}
@media (max-width: 480px) {
  .widget-intro { margin-bottom: 36px; }
  .widget-capture figcaption strong { font-size: 15px; }
  .widget-capture figcaption span { font-size: 12px; }
  .widget-compact { gap: 18px; }
}
