@layer reset, tokens, base, chrome, home, product, mocks, content, motion;

@layer reset {
  *,
  *::before,
  *::after { box-sizing: border-box; }

  html { -webkit-text-size-adjust: 100%; }

  body { margin: 0; }

  h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

  ul, ol { padding: 0; list-style: none; }

  img, svg { display: block; max-width: 100%; }

  button, input { font: inherit; color: inherit; }

  button { cursor: pointer; background: none; border: 0; padding: 0; }

  a { color: inherit; }

  :focus { outline: none; }

  :focus-visible {
    outline: 2px solid #0071e3;
    outline-offset: 3px;
  }
}

@layer tokens {
  :root {
    --nav-h: 44px;
    --subnav-h: 52px;
    --sat: env(safe-area-inset-top, 0px);
    --chrome-h: calc(var(--nav-h) + var(--sat));
    --text: #1d1d1f;
    --text-2: #6e6e73;
    --text-3: #86868b;
    --text-on-dark: #f5f5f7;
    --text-on-dark-2: #a1a1a6;
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --blue-active: #006edb;
    --link: #0066cc;
    --link-on-dark: #2997ff;
    --line: #d2d2d7;
    --bg: #fff;
    --bg-soft: #f5f5f7;
    --ink: #000;
    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    color-scheme: light;
  }

  html.page-product { --chrome-h: calc(var(--nav-h) + var(--subnav-h) + var(--sat)); }
}

@layer base {
  html {
    scroll-padding-top: calc(var(--chrome-h) + 12px);
    overflow-x: clip;
  }

  body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    font-size: 17px;
    line-height: 1.47059;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
  }

  h1, h2, h3 { text-wrap: balance; font-weight: 600; }

  p { text-wrap: pretty; }

  ::selection { background: rgba(0, 113, 227, 0.18); }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .skip {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 80;
    background: #fff;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
  }

  .skip:focus { top: calc(8px + var(--sat)); }

  .nums { font-variant-numeric: tabular-nums; }

  .vt-pingflow { view-transition-name: pingflow-title; }

  .vt-lumicore { view-transition-name: lumicore-title; }

  .link {
    color: var(--link);
    text-decoration: none;
  }

  .link:hover { text-decoration: underline; text-underline-offset: 0.18em; }

  .on-dark .link { color: var(--link-on-dark); }

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 980px;
    background: var(--blue);
    color: #fff;
    font-size: 17px;
    line-height: 1.17648;
    letter-spacing: -0.022em;
    font-weight: 400;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .button:hover { background: var(--blue-hover); text-decoration: none; }

  .button:active { background: var(--blue-active); }

  .button-sm {
    min-height: 24px;
    padding: 3px 12px;
    font-size: 12px;
    line-height: 1.33337;
    letter-spacing: -0.01em;
  }

  .fine {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.4286;
    letter-spacing: -0.016em;
    color: var(--text-2);
  }

  .on-dark .fine { color: var(--text-on-dark-2); }

  .lede {
    font-size: clamp(19px, 2.4vw, 24px);
    line-height: 1.25;
    letter-spacing: 0.009em;
    font-weight: 400;
    color: var(--text-2);
  }

  .on-dark .lede { color: var(--text-on-dark-2); }

  code {
    font-family: var(--mono);
    font-size: 0.86em;
    background: var(--bg-soft);
    padding: 0.08em 0.4em;
    border-radius: 6px;
  }

  .toast[hidden] { display: none; }

  .toast {
    position: fixed;
    z-index: 70;
    left: 50%;
    bottom: max(20px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(520px, calc(100vw - 32px));
    padding: 12px 12px 12px 16px;
    border-radius: 980px;
    background: rgba(29, 29, 31, 0.92);
    color: #fff;
    font-size: 14px;
    letter-spacing: -0.016em;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .toast-dismiss {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    line-height: 1;
  }

  .toast-dismiss:hover { background: rgba(255, 255, 255, 0.12); }

  .sheet {
    width: min(420px, calc(100vw - 32px));
    border: 0;
    border-radius: 20px;
    padding: 28px 24px 22px;
    color: var(--text);
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  }

  .sheet::backdrop {
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .sheet h2 {
    font-size: 21px;
    letter-spacing: -0.021em;
  }

  .sheet p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-2);
  }

  .sheet form { display: flex; justify-content: flex-end; margin-top: 20px; }
}

@layer chrome {
  .chrome {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    padding-top: var(--sat);
    color: rgba(0, 0, 0, 0.88);
    background: transparent;
    border-bottom: 1px solid transparent;
  }

  .chrome[data-theme="dark"] { color: rgba(255, 255, 255, 0.92); }

  .chrome.is-scrolled[data-theme="light"],
  .chrome.is-open[data-theme="light"] {
    background: rgba(251, 251, 253, 0.8);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }

  .chrome.is-scrolled[data-theme="dark"],
  .chrome.is-open[data-theme="dark"] {
    background: rgba(22, 22, 23, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }

  .nav {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
  }

  .wordmark {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: inherit;
  }

  .nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    color: inherit;
    margin-right: -10px;
  }

  .nav-toggle .toggle-close { display: none; }

  .chrome.is-open .nav-toggle .toggle-open { display: none; }

  .chrome.is-open .nav-toggle .toggle-close { display: block; }

  .nav-panel {
    position: absolute;
    top: var(--sat);
    left: 50%;
    transform: translateX(-50%);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .nav-panel a {
    font-size: 12px;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none;
    opacity: 0.8;
    padding: 8px 0;
  }

  .nav-panel a:hover,
  .nav-panel a[aria-current="page"] { opacity: 1; }

  .subnav {
    height: var(--subnav-h);
  }

  .subnav-inner {
    height: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
  }

  .subnav-name {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.016em;
    text-decoration: none;
    color: inherit;
  }

  .subnav-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .subnav-links::-webkit-scrollbar { display: none; }

  .subnav-links a {
    font-size: 12px;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: inherit;
    opacity: 0.72;
    white-space: nowrap;
    padding: 6px 0;
  }

  .subnav-links a:hover,
  .subnav-links a[aria-current="location"] { opacity: 1; }

  @media (max-width: 734px) {
    .nav-toggle { display: grid; }

    .nav-panel {
      top: 100%;
      left: 0;
      right: 0;
      transform: none;
      height: auto;
      display: none;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 6px 12px 14px;
      background: #fbfbfd;
    }

    .chrome[data-theme="dark"] .nav-panel { background: #161617; }

    .chrome.is-open .nav-panel { display: flex; }

    .nav-panel a {
      font-size: 17px;
      padding: 12px 8px;
      opacity: 1;
    }

    .subnav-name { font-size: 17px; }

    .subnav-links { justify-content: flex-start; gap: 18px; }
  }
}

@layer home {
  .home-hero {
    text-align: center;
    background: #fff;
    padding: calc(var(--chrome-h) + 92px) 22px 78px;
  }

  .home-hero h1 {
    font-size: clamp(48px, 8vw, 80px);
    letter-spacing: -0.03em;
    line-height: 1.05;
  }

  .home-hero .lede {
    margin-top: 8px;
    font-size: clamp(19px, 2.5vw, 28px);
  }

  .billboard {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 72px 22px 64px;
    overflow: clip;
  }

  .billboard h2 {
    font-size: clamp(40px, 6vw, 56px);
    letter-spacing: -0.015em;
    line-height: 1.07;
  }

  .billboard .lede {
    max-width: 18em;
    margin-top: 6px;
  }

  .billboard-actions {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 14px;
    font-size: 21px;
    line-height: 1.381;
  }

  .billboard-dark {
    background:
      radial-gradient(ellipse 55% 45% at 70% 62%, rgba(20, 52, 110, 0.45), transparent 70%),
      #000;
    color: #fff;
  }

  .billboard-light {
    background:
      radial-gradient(ellipse 70% 50% at 50% 46%, #fff 0%, rgba(255, 255, 255, 0) 58%),
      linear-gradient(180deg, #f7f3ec 0%, #f5f5f7 100%);
    color: var(--text);
  }

  .billboard-brightness {
    background:
      radial-gradient(ellipse 48% 38% at 50% 78%, rgba(255, 149, 0, 0.38), transparent 70%),
      #1c1c1e;
    color: #fff;
  }

  .principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    max-width: 980px;
    margin: 0 auto;
    padding: 96px 22px;
  }

  .principles h2 {
    font-size: 21px;
    letter-spacing: -0.021em;
  }

  .principles p {
    margin-top: 6px;
    font-size: 17px;
    color: var(--text-2);
  }

  @media (max-width: 734px) {
    .home-hero { padding: calc(var(--chrome-h) + 64px) 22px 56px; }
    .billboard { min-height: auto; padding: 84px 22px 72px; }
    .principles { grid-template-columns: 1fr; gap: 28px; padding: 64px 22px; }
  }
}

@layer product {
  .product-hero {
    text-align: center;
    padding: calc(var(--chrome-h) + 54px) 22px 28px;
  }

  .product-hero h1 {
    font-size: clamp(48px, 8vw, 80px);
    letter-spacing: -0.03em;
    line-height: 1.02;
  }

  .product-hero .lede {
    max-width: 20em;
    margin: 12px auto 0;
    font-size: clamp(19px, 2.2vw, 24px);
  }

  .price {
    margin-top: 18px;
    font-size: 21px;
    letter-spacing: -0.02em;
  }

  .hero-actions { margin-top: 14px; }

  .hero-dark {
    background:
      radial-gradient(ellipse 50% 42% at 68% 78%, rgba(18, 48, 102, 0.55), transparent 68%),
      #000;
    color: #fff;
  }

  .hero-warm {
    background:
      radial-gradient(ellipse 80% 55% at 50% 38%, #fff 0%, rgba(255, 255, 255, 0) 60%),
      linear-gradient(180deg, #f7f3ec 0%, #f5f5f7 100%);
  }

  .hero-brightness {
    background:
      radial-gradient(ellipse 46% 36% at 50% 82%, rgba(255, 149, 0, 0.34), transparent 68%),
      #1c1c1e;
    color: #fff;
  }

  .band { padding: 100px 0; }

  .band-black {
    background: #000;
    color: var(--text-on-dark);
    color-scheme: dark;
  }

  .band-white { background: #fff; }

  .band-soft { background: var(--bg-soft); }

  .band-night {
    background:
      radial-gradient(ellipse 55% 42% at 50% 0%, rgba(255, 166, 77, 0.2), transparent 70%),
      #16110d;
    color: var(--text-on-dark);
    color-scheme: dark;
  }

  .band-night .lede { color: #c8b8a8; }

  .band-lamp {
    --lamp: rgb(255 211 175);
    --wash: #f6f1ea;
    background: var(--wash);
  }

  .band-head {
    max-width: 1020px;
    margin: 0 auto 22px;
    padding: 0 22px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
  }

  .band-head h2 {
    grid-column: 2;
    font-size: clamp(32px, 5vw, 56px);
    letter-spacing: -0.02em;
    line-height: 1.07;
    text-align: center;
  }

  .scroller-nav {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 8px;
  }

  .scroller-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(210, 210, 215, 0.72);
    color: var(--text);
    display: grid;
    place-items: center;
  }

  .scroller-nav button:hover { background: rgba(190, 190, 196, 0.9); }

  .scroller-nav button[hidden] { display: none; }

  .scroller-nav[hidden] { display: none; }

  .scroller-nav svg { width: 10px; height: 16px; }

  .scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(22px, calc((100% - 980px) / 2));
    padding: 4px max(22px, calc((100% - 980px) / 2)) 28px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .scroller::-webkit-scrollbar { display: none; }

  .hcard {
    flex: 0 0 min(314px, 78vw);
    scroll-snap-align: start;
    height: 500px;
    border-radius: 28px;
    background: #1d1d1f;
    color: var(--text-on-dark);
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .hcard-visual {
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 0;
  }

  .hcard h3 {
    font-size: 28px;
    letter-spacing: -0.02em;
    line-height: 1.14;
  }

  .hcard p {
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.35;
    color: var(--text-on-dark-2);
  }

  .mega {
    font-size: 84px;
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.9;
  }

  .mega span {
    font-size: 28px;
    letter-spacing: -0.02em;
    margin-left: 2px;
    color: var(--text-on-dark-2);
    font-weight: 500;
  }

  .pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    text-align: center;
  }

  .pair b {
    display: block;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.03em;
  }

  .pair span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--text-on-dark-2);
  }

  .mini-note {
    width: min(230px, 100%);
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    text-align: left;
  }

  .mini-note strong { display: block; font-size: 13px; }

  .mini-note p {
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-on-dark);
  }

  .mini-line { width: 180px; height: 64px; }

  .preset-stack {
    display: grid;
    gap: 8px;
    width: min(180px, 100%);
  }

  .preset-stack span {
    display: block;
    text-align: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 15px;
  }

  .preset-stack span:nth-child(2) { background: #fff; color: #1d1d1f; }

  .hcard .preset-stack {
    grid-template-columns: 1fr 1fr;
    width: min(220px, 100%);
  }

  .hcard .preset-stack span:nth-child(2) {
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
  }

  .hcard .preset-stack span:last-child {
    background: #fff;
    color: #1d1d1f;
  }

  .shot-narrow { width: min(480px, 100%); }

  .mini-screens {
    display: flex;
    align-items: flex-end;
    gap: 12px;
  }

  .mini-screens i {
    display: block;
    border-radius: 6px;
    background: linear-gradient(160deg, #f4f8fc, #d5e4f4);
  }

  .mini-screens i:first-child { width: 92px; height: 58px; }

  .mini-screens i:last-child {
    width: 64px;
    height: 42px;
    background: linear-gradient(160deg, #fff4e6, #ffd09a);
  }

  .schedule-list {
    width: min(210px, 100%);
    text-align: left;
    font-size: 15px;
  }

  .schedule-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-on-dark-2);
  }

  .schedule-list b { color: #fff; font-weight: 600; }

  .chapter {
    text-align: center;
    padding: 108px 22px;
  }

  .chapter h2 {
    font-size: clamp(32px, 5vw, 56px);
    letter-spacing: -0.02em;
    line-height: 1.07;
    max-width: 16ch;
    margin: 0 auto;
  }

  .chapter .lede {
    max-width: 28em;
    margin: 12px auto 0;
    font-size: clamp(19px, 2vw, 21px);
    line-height: 1.381;
    letter-spacing: 0.011em;
  }

  .figures {
    display: flex;
    justify-content: center;
    gap: clamp(28px, 6vw, 72px);
    margin-top: 56px;
    flex-wrap: wrap;
  }

  .figures li { text-align: center; }

  .figures-value {
    display: block;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
  }

  .figures-label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-2);
  }

  .statement {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 120px 22px;
    background: #000;
    color: #fff;
  }

  .statement h2 {
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    max-width: 12ch;
  }

  .statement .lede {
    max-width: 26em;
    margin: 16px auto 0;
    font-size: 21px;
    line-height: 1.38;
    color: #a1a1a6;
  }

  .specs, .faq, .buy { padding: 100px 22px; }

  .specs h2, .faq h2, .buy h2 {
    text-align: center;
    font-size: clamp(32px, 5vw, 56px);
    letter-spacing: -0.02em;
  }

  .spec-wrap, .faq-wrap { max-width: 820px; margin: 40px auto 0; text-align: left; }

  .spec-group + .spec-group { margin-top: 36px; }

  .spec-group h3 {
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .spec-group div {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.4;
  }

  .spec-group dt { font-weight: 600; }

  .faq-wrap { max-width: 692px; }

  .faq details { border-bottom: 1px solid var(--line); }

  .faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.022em;
    cursor: pointer;
    list-style: none;
  }

  .faq summary::-webkit-details-marker { display: none; }

  .faq summary::after {
    content: "+";
    font-weight: 400;
    font-size: 22px;
    color: var(--text-2);
    line-height: 1;
  }

  .faq details[open] summary::after { content: "–"; }

  .faq-a p {
    margin: 0 0 18px;
    color: var(--text-2);
    font-size: 17px;
    max-width: 62ch;
  }

  .faq a { color: var(--link); }

  .buy { text-align: center; }

  .buy .price { font-size: 28px; margin-top: 10px; }

  .buy .lede {
    margin-top: 8px;
    font-size: 21px;
  }

  .buy .button { margin-top: 18px; }

  .buy .fine { max-width: 38em; margin-inline: auto; }

  .prose {
    max-width: 692px;
    margin: 0 auto;
    padding: calc(var(--chrome-h) + 72px) 22px 120px;
  }

  .prose h1 {
    font-size: clamp(40px, 6vw, 56px);
    letter-spacing: -0.025em;
  }

  .prose .lede { margin-top: 10px; font-size: 21px; line-height: 1.38; }

  .prose h2 {
    margin-top: 40px;
    font-size: 21px;
    letter-spacing: -0.021em;
  }

  .prose p, .prose li {
    margin-top: 10px;
    font-size: 17px;
    letter-spacing: -0.022em;
  }

  .prose a { color: var(--link); }

  .footer {
    background: var(--bg-soft);
    color: #424245;
    font-size: 12px;
    padding: 0 22px 28px;
  }

  .footer-inner { max-width: 980px; margin: 0 auto; }

  .footer-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    gap: 16px 32px;
    padding: 28px 0 20px;
    border-bottom: 1px solid var(--line);
  }

  .footer h2 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
  }

  .footer a {
    display: block;
    color: #424245;
    text-decoration: none;
    padding: 4px 0;
  }

  .footer a:hover { text-decoration: underline; text-underline-offset: 2px; }

  .footer-legal {
    padding-top: 14px;
    color: var(--text-2);
    line-height: 1.5;
    max-width: 68ch;
  }

  .footer-legal span { display: block; margin-top: 4px; }

  @media (max-width: 734px) {
    .band { padding: 72px 0; }
    .chapter, .specs, .faq, .buy { padding: 72px 22px; }
    .statement { min-height: 0; padding: 96px 22px; }
    .band-head { display: flex; justify-content: center; }
    .hcard { height: 460px; }
    .spec-group div { grid-template-columns: 1fr; gap: 4px; }
    .mega { font-size: 68px; }
  }
}

@layer mocks {
  .stage {
    width: min(980px, 100%);
    margin: 36px auto 8px;
    container-type: inline-size;
  }

  .menubar {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    letter-spacing: -0.012em;
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16);
    user-select: none;
  }

  .menubar-left, .menubar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
  }

  .menubar-right { gap: 12px; flex: none; }

  .menubar b { font-weight: 650; }

  .mb-ico { width: 16px; height: 16px; flex: none; }

  .mb-clock { font-variant-numeric: tabular-nums; font-size: 13px; }

  .stage-body {
    position: relative;
    height: 392px;
  }

  .pf-panel {
    position: absolute;
    top: 10px;
    right: 78px;
    width: min(300px, 100%);
    padding: 12px 14px 8px;
    border-radius: 16px;
    text-align: left;
    color: var(--text);
    background: rgba(246, 246, 248, 0.78);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    box-shadow:
      0 0 0 0.5px rgba(255, 255, 255, 0.7),
      0 0 0 0.5px rgba(0, 0, 0, 0.18),
      0 28px 70px rgba(0, 0, 0, 0.38);
    user-select: none;
  }

  .pf-head, .lc-title, .lc-label, .switch-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .pf-head strong, .lc-title strong {
    display: block;
    font-size: 13px;
    font-weight: 650;
  }

  .pf-head span, .lc-title span {
    display: block;
    margin-top: 1px;
    font-size: 11px;
    color: var(--text-2);
    font-weight: 400;
  }

  .pf-readout { text-align: right; }

  .pf-readout b {
    display: block;
    font-size: 13px;
    font-weight: 650;
  }

  .pf-readout span {
    color: #248a3d;
    font-weight: 600;
    font-size: 11px;
  }

  .pf-graph { height: 64px; margin-top: 8px; }

  .pf-graph svg, .chart svg { width: 100%; height: 100%; }

  .pf-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
  }

  .pf-stats b {
    display: block;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .pf-stats span { font-size: 11px; color: var(--text-2); }

  .hosts { margin-top: 8px; padding-top: 6px; border-top: 0.5px solid rgba(0, 0, 0, 0.1); }

  .hosts li {
    display: grid;
    grid-template-columns: 8px 1fr auto;
    gap: 8px;
    align-items: center;
    height: 26px;
    font-size: 12px;
  }

  .dot { width: 6px; height: 6px; border-radius: 50%; }

  .dot-ok { background: #34c759; }

  .dot-fair { background: #ff9f0a; }

  .lumi-stage {
    position: relative;
    width: min(720px, 100%);
    height: 540px;
    margin: 8px auto 0;
  }

  .orb {
    position: absolute;
    left: 50%;
    top: 8px;
    width: min(480px, 86%);
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
      radial-gradient(circle at 38% 32%, #fff 0 8%, transparent 34%),
      radial-gradient(circle at 50% 48%, #fff7ec 0%, #ffd7a8 24%, #f0b15a 46%, rgba(240, 177, 90, 0) 70%);
    pointer-events: none;
  }

  .lc-panel {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: min(320px, calc(100% - 24px));
    padding: 14px 16px 12px;
    border-radius: 18px;
    text-align: left;
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow:
      0 0 0 0.5px rgba(255, 255, 255, 0.85),
      0 0 0 0.5px rgba(0, 0, 0, 0.06),
      0 24px 60px rgba(92, 58, 16, 0.14);
    user-select: none;
  }

  .lc-title { align-items: baseline; }

  .lc-label {
    margin: 12px 0 6px;
    font-size: 12px;
    color: var(--text-2);
  }

  .meter {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
  }

  .meter > span {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: #1d1d1f;
  }

  .meter > span::after,
  .meter-kelvin i {
    content: "";
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25), 0 0 0 0.5px rgba(0, 0, 0, 0.1);
  }

  .meter > span::after { right: 0; transform: translate(50%, -50%); }

  .meter-kelvin {
    background: linear-gradient(90deg, #d5e4f8, #f7f4ee 42%, #ffc56d 78%, #ff8a34);
  }

  .meter-kelvin i {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .segment {
    display: inline-flex;
    padding: 2px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
  }

  .segment button,
  .segment span {
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 14px;
    color: var(--text);
  }

  .segment button[aria-pressed="true"],
  .segment span[aria-current="true"] {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  }

  .segment-sm {
    display: flex;
    width: 100%;
    margin-top: 12px;
  }

  .segment-sm span { flex: 1; text-align: center; padding: 4px 0; font-size: 12px; }

  .switch-row {
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    font-size: 12px;
  }

  .switch {
    width: 32px;
    height: 20px;
    border-radius: 999px;
    background: #e9e9eb;
    position: relative;
    flex: none;
  }

  .switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
  }

  .switch.is-on { background: #34c759; }

  .switch.is-on::after { left: 14px; }

  .note {
    width: min(360px, 100%);
    margin: 48px auto 0;
    padding: 14px 16px 16px;
    border-radius: 18px;
    text-align: left;
    color: var(--text);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  }

  .note-top {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 4px;
  }

  .note-top strong { font-weight: 650; }

  .note-top span, .note p { color: var(--text-2); }

  .note p { font-size: 15px; letter-spacing: -0.016em; }

  .chart {
    position: relative;
    max-width: 860px;
    margin: 48px auto 0;
  }

  .chart svg { height: auto; }

  .chart-times {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-3);
  }

  .callout {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -145%);
    padding: 6px 10px;
    border-radius: 980px;
    background: #1d1d1f;
    color: #fff;
    font-size: 12px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  }

  .displays {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(28px, 6vw, 72px);
    margin-top: 48px;
    flex-wrap: wrap;
  }

  .display { margin: 0; }

  .display-screen {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 30px 60px rgba(0, 0, 0, 0.08);
  }

  .screen-studio {
    width: min(360px, 72vw);
    height: 210px;
    border-radius: 12px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent 42%),
      linear-gradient(160deg, #f5f8fc, #d7e6f6);
  }

  .screen-mac {
    width: min(250px, 58vw);
    height: 156px;
    border-radius: 12px 12px 2px 2px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 46%),
      linear-gradient(160deg, #fff6ea, #ffd09a);
  }

  .display-neck {
    width: 58px;
    height: 28px;
    margin: 0 auto;
    background: linear-gradient(#c8c8ce, #e4e4e8);
    clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
  }

  .display-foot {
    width: 126px;
    height: 6px;
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
    background: #d2d2d7;
  }

  .display-base {
    width: min(280px, 64vw);
    height: 10px;
    margin: 0 auto;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(#dddde2, #c7c7cd);
  }

  .display figcaption {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: var(--text-2);
  }

  .display figcaption b {
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
  }

  .lamp-layout {
    display: grid;
    place-items: center;
    min-height: 560px;
    margin-top: 8px;
  }

  .lamp,
  .temp-control { grid-area: 1 / 1; }

  .lamp {
    width: min(560px, 92vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 42%, #fff 0%, var(--lamp) 30%, transparent 68%);
    pointer-events: none;
  }

  .temp-control {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100% - 44px));
  }

  .temp-readout {
    font-size: clamp(64px, 12vw, 96px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.95;
  }

  .kelvin {
    position: relative;
    height: 44px;
    margin-top: 8px;
  }

  .kelvin-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 16px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #c5d7f2, #f7f7f5 42%, #ffc56e 76%, #ff8a34);
    box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08);
  }

  .kelvin input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: grab;
  }

  .kelvin input[type="range"]:active { cursor: grabbing; }

  .kelvin input[type="range"]::-webkit-slider-runnable-track {
    height: 44px;
    background: transparent;
  }

  .kelvin input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    margin-top: 8px;
    border-radius: 50%;
    border: 0.5px solid rgba(0, 0, 0, 0.14);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }

  .kelvin input[type="range"]::-moz-range-track {
    height: 12px;
    background: transparent;
    border: 0;
  }

  .kelvin input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0.5px solid rgba(0, 0, 0, 0.14);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }

  .kelvin-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-2);
  }

  .temp-control .segment { margin-top: 18px; }

  .timeline {
    max-width: 440px;
    margin: 48px auto 0;
    text-align: left;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
  }

  .timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    padding: 0 0 28px 22px;
  }

  .timeline li::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffb15a;
  }

  .timeline-time { color: #c8b8a8; font-size: 14px; }

  .timeline-name {
    grid-column: 1;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .timeline-k {
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 17px;
    color: #ffd7a8;
  }

  .shot {
    width: min(1080px, 100%);
    margin: 40px auto 0;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.14),
      0 28px 80px rgba(0, 0, 0, 0.38);
  }

  .shot img {
    width: 100%;
    height: auto;
  }

  .shot-panel { width: min(380px, calc(100% - 8px)); }

  .shot-pair {
    width: min(860px, 100%);
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }

  .shot-pair .shot { width: 100%; margin: 0; }

  .band-white .shot,
  .band-soft .shot,
  .chapter.band-white .shot,
  .chapter.band-soft .shot {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.08),
      0 24px 64px rgba(0, 0, 0, 0.14);
  }

  @media (max-width: 734px) {
    .shot-pair { grid-template-columns: 1fr; }
  }

  @container (max-width: 720px) {
    .menubar-left span:nth-child(n + 4) { display: none; }

    .stage-body { height: auto; padding-bottom: 8px; }

    .pf-panel {
      position: relative;
      top: auto;
      right: auto;
      margin: 16px auto 0;
    }
  }
}

@layer motion {
  @view-transition { navigation: auto; }

  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }

    .chrome {
      transition: background-color 280ms var(--ease), color 280ms var(--ease), border-color 280ms var(--ease);
    }

    .band-lamp { transition: background-color 180ms linear; }

    .draw {
      stroke-dasharray: 1;
      stroke-dashoffset: 1;
      animation: draw 1.7s var(--ease) forwards;
    }

    .sheet { animation: rise 320ms var(--ease); }

    @supports (animation-timeline: view()) {
      .reveal {
        animation: rise linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 42%;
      }
    }
  }

  @keyframes draw { to { stroke-dashoffset: 0; } }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }

    .draw { stroke-dashoffset: 0; }
  }

  @media (prefers-reduced-transparency: reduce) {
    .pf-panel, .lc-panel, .note {
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      background: #f5f5f7;
    }

    .menubar {
      backdrop-filter: none;
      background: #3a3a3c;
    }

    .chrome.is-scrolled[data-theme="light"],
    .chrome.is-open[data-theme="light"] {
      backdrop-filter: none;
      background: #fbfbfd;
    }

    .chrome.is-scrolled[data-theme="dark"],
    .chrome.is-open[data-theme="dark"] {
      backdrop-filter: none;
      background: #1d1d1f;
    }
  }

  @media (prefers-contrast: more) {
    .lede, .fine, .faq-a p, .principles p { color: var(--text); }
    .on-dark .lede, .on-dark .fine { color: #fff; }
  }

  @media (forced-colors: active) {
    .button, .hcard, .pf-panel, .lc-panel, .note { border: 1px solid ButtonText; }
  }
}
