/* A shared spacing rhythm frames the images rather than competing with them. */
.showcase-page { padding-top: 64px; }
.app-intro { display: flex; justify-content: center; align-items: center; gap: 40px; padding: 12px 0 76px; }
.hero-icon { display: block; width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 8px 14px #2b183011, 0 24px 48px #b7875322; }
.brand-lockup { display: grid; grid-template-columns: max-content; }
.app-intro h1 { margin: 0 -.035em 0 0; font-family: "Helvetica Neue", "Avenir Next", "Segoe UI", sans-serif; font-size: clamp(40px, 6vw, 64px); font-weight: 500; line-height: 1.1; letter-spacing: .035em; font-kerning: normal; white-space: nowrap; }
.brand-tagline { width: 0; min-width: 100%; margin: 18px 0 0; font-size: 14px; line-height: 1.5; text-align: justify; text-align-last: justify; text-justify: inter-character; white-space: nowrap; color: #514b56; }
.brand-description { width: 0; min-width: 100%; margin: 14px 0 0; font-size: 11px; line-height: 1.6; text-align: center; color: var(--muted); letter-spacing: .025em; }
.visual-stage, .feature-stage, .theme-stage { padding: clamp(28px, 4.5vw, 56px); margin-bottom: 40px; border-radius: 28px; overflow: hidden; }
.visual-stage { background: #e9e1f6; }
.section-label { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 44px; padding-bottom: 20px; border-bottom: 1px solid #34274220; }
.section-label h2 { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.5; letter-spacing: .04em; }
.section-label > span, .section-number { font-size: 10px; letter-spacing: .15em; font-variant-numeric: tabular-nums; opacity: .65; }
.screen-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; max-width: 880px; margin: auto; padding: 8px 8px 40px; }
.screen { border-radius: 20px; overflow: hidden; box-shadow: 0 2px 5px #29203508, 0 24px 44px -12px #29203530; }
.screen img { display: block; width: 100%; height: auto; }
.screen-0 { transform: rotate(-2deg); }
.screen-1 { transform: translateY(24px) rotate(2deg); }
.feature-stage { background: #dfeee5; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 56px; }
.feature-caption h2 { margin: 22px 0 18px; font-size: clamp(24px, 3vw, 34px); line-height: 1.7; font-weight: 500; letter-spacing: .03em; }
.feature-caption p { font-size: 12px; line-height: 1.8; color: #5a6b62; margin: 0; }
.theme-stage { --tint:#ffdfbd; --glow:#ffac65; background: var(--tint); transition: background-color .3s ease, color .3s ease; margin-bottom: 0; }
.theme-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.theme-preview { text-align: center; }
#theme-icon { display: block; width: min(85%,260px); height: auto; aspect-ratio: 1; border-radius: 23%; margin: 0 auto 28px; box-shadow: 0 4px 8px #3020400d, 0 24px 44px -10px #30204030; }
#theme-name { font-size: 12px; font-weight: 500; letter-spacing: .04em; margin: 0 0 20px; line-height: 1.5; min-height: 18px; }
.mode-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #ffffff50; border-radius: 999px; background: #ffffff40; }
.mode-switch button { font-size: 12px; padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; min-height: 44px; }
.mode-switch button[aria-pressed="true"] { background: #fff; color: #30263c; box-shadow: 0 2px 6px #0000000a; }
.swatches { display: grid; grid-template-columns: repeat(4,44px); justify-content: center; gap: 14px; margin: 28px auto 22px; }
.swatch { appearance: none; border: 7px solid transparent; background: var(--swatch); background-clip: padding-box; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; transition: transform .2s ease; }
.swatch[aria-pressed="true"] { outline: 1px solid currentColor; outline-offset: 0; }
.swatch:hover { transform: scale(1.1); }
.mode-switch button:focus-visible, .swatch:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.ember { --swatch:#ffae70; }.electricBlue { --swatch:#80afff; }.ultraviolet { --swatch:#b29aff; }.jade { --swatch:#79d9ae; }.rose { --swatch:#f6a3cb; }.coral { --swatch:#ff9996; }.lemon { --swatch:#f7d76e; }.aqua { --swatch:#7cddd8; }
[data-theme="electricBlue"] { --tint:#dce9ff; --glow:#4796ff; }[data-theme="ultraviolet"] { --tint:#e7ddff; --glow:#9870ff; }[data-theme="jade"] { --tint:#d3efdf; --glow:#39e99e; }[data-theme="rose"] { --tint:#ffe0ee; --glow:#ff64b3; }[data-theme="coral"] { --tint:#ffdfd9; --glow:#ff7165; }[data-theme="lemon"] { --tint:#fff1b8; --glow:#ebd464; }[data-theme="aqua"] { --tint:#d2f2ef; --glow:#37ddd6; }
.theme-help { font-size: 10px; letter-spacing: .04em; opacity: .7; margin: 0; }
.theme-stage[data-mode="dark"] { background: #211d2b; background: color-mix(in srgb, var(--glow) 10%, #15121a); color: #faf6ff; }
[data-mode="dark"] .section-label { border-color: #ffffff25; }
[data-mode="dark"] .mode-switch { background: #ffffff0a; border-color: #ffffff20; }
[data-mode="dark"] .ember { --swatch:#ff8d35; }[data-mode="dark"] .electricBlue { --swatch:#4796ff; }[data-mode="dark"] .ultraviolet { --swatch:#9870ff; }[data-mode="dark"] .jade { --swatch:#39e99e; }[data-mode="dark"] .rose { --swatch:#ff64b3; }[data-mode="dark"] .coral { --swatch:#ff7165; }[data-mode="dark"] .lemon { --swatch:#ebd464; }[data-mode="dark"] .aqua { --swatch:#37ddd6; }
@media(prefers-reduced-motion:no-preference) {
  .hero-icon { animation: float-icon 7s ease-in-out infinite; }
  @keyframes float-icon { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
  @supports(animation-timeline:view()) {
    .feature-stage, .theme-stage { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 25%; }
    @keyframes reveal { from { opacity:.65; transform:translateY(20px); } to { opacity:1; transform:none; } }
  }
}
@media(prefers-reduced-motion:reduce) { .theme-stage,.swatch { transition:none; } }
@media(max-width:700px) {
  .showcase-page { padding-top:40px; }
  .app-intro { gap:24px; padding:0 0 48px; }
  .hero-icon { width:120px; height:120px; border-radius:28px; }
  .app-intro h1 { font-size:clamp(30px,6vw,42px); }
  .brand-tagline { margin-top:12px; font-size:11px; }
  .brand-description { margin-top:10px; font-size:10px; letter-spacing:0; }
  .visual-stage,.feature-stage,.theme-stage { padding:28px 20px; border-radius:22px; margin-bottom:24px; }
  .theme-stage { margin-bottom:0; }
  .section-label { margin-bottom:28px; padding-bottom:16px; }.section-label h2 { font-size:18px; }
  .screen-pair { grid-template-columns:1fr; gap:28px; max-width:440px; padding:0; }
  .screen-0,.screen-1 { transform:none; }
  .feature-stage,.theme-layout { grid-template-columns:1fr; gap:32px; }
  .feature-caption h2 { margin:12px 0; font-size:22px; }.feature-caption h2 br { display:none; }
  .screen { border-radius:16px; }
  #theme-icon { width:200px; }
  .theme-layout { gap:36px; }
}
@media(max-width:380px) {
  .app-intro { gap:16px; }
  .hero-icon { width:100px; height:100px; border-radius:24px; }
  .app-intro h1 { font-size:28px; }
  .brand-description { font-size:9px; }
  .visual-stage,.feature-stage,.theme-stage { padding:24px 16px; }
}
