:root {
  color-scheme: light;
  --canvas: #f3efe6;
  --canvas-deep: #eae3d7;
  --ink: #171715;
  --muted: #6f6b63;
  --accent: #e45a2a;
  --accent-hover: #cc4820;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 255, 255, .66), transparent 31rem),
    var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 27px;
  height: auto;
  fill: currentColor;
}

.platform-note {
  color: #878178;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: -.01em;
}

.hero {
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 4vh, 48px) 0 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 620;
  letter-spacing: -.068em;
}

h1 {
  font-size: clamp(58px, 6.9vw, 88px);
  line-height: .91;
}

.hero-copy {
  max-width: 610px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.5;
  letter-spacing: -.025em;
}

.download-button {
  width: fit-content;
  min-height: 50px;
  margin: 24px auto 0;
  padding: 0 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(164, 54, 20, .2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 670;
  letter-spacing: -.015em;
  transition: background-color 180ms ease, transform 180ms var(--ease-out), box-shadow 180ms ease;
}

.download-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.download-button:hover {
  background: var(--accent-hover);
  box-shadow: 0 16px 34px rgba(164, 54, 20, .25);
  transform: translateY(-2px);
}

.download-button:active { transform: translateY(0) scale(.98); }

.download-button:focus-visible,
.site-footer a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(228, 90, 42, .35);
  outline-offset: 4px;
}

.download-meta {
  margin-top: 11px;
  display: block;
  color: #969086;
  font-size: 11px;
  font-weight: 580;
}

.product-stage {
  position: relative;
  width: min(1320px, 100%);
  margin: -60px auto 0;
  padding: clamp(12px, 2.2vh, 20px) 22px 0;
}

.stage-glow {
  position: absolute;
  z-index: -1;
  width: min(780px, 72vw);
  height: 300px;
  top: 24%;
  left: 50%;
  border-radius: 50%;
  background: rgba(217, 119, 74, .18);
  filter: blur(70px);
  transform: translateX(-50%);
}

.macbook {
  position: relative;
  width: 100%;
  aspect-ratio: 3944 / 2310;
  overflow: hidden;
}

.macbook-canvas {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  aspect-ratio: 3944 / 2564;
  filter: drop-shadow(0 42px 40px rgba(65, 43, 24, .16));
}

.macbook-screen {
  position: absolute;
  z-index: 0;
  left: 11.6886%;
  top: 11.7005%;
  width: 76.6481%;
  height: 76.5601%;
  overflow: hidden;
  background: #b86c5b;
}

.wallpaper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 51% 18%, rgba(255, 222, 194, .92) 0, rgba(225, 142, 128, .58) 18%, transparent 39%),
    radial-gradient(ellipse at 12% 72%, #2a1647 0, transparent 54%),
    radial-gradient(ellipse at 89% 68%, #16264a 0, transparent 54%),
    linear-gradient(180deg, #cf9187 0%, #925e75 40%, #292847 78%, #12151f 100%);
}

.wallpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.aurora {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .55;
  animation: drift 13s ease-in-out infinite alternate;
}

.aurora-one { width: 42%; height: 58%; left: 4%; top: 3%; background: #e17b95; }
.aurora-two { width: 36%; height: 48%; right: 8%; top: 20%; background: #4b55a3; animation-delay: -4s; }
.aurora-three { width: 25%; height: 36%; left: 38%; bottom: -8%; background: #f07755; animation-delay: -8s; }

@keyframes drift {
  to { transform: translate3d(4%, 5%, 0) scale(1.08); }
}

.menu-bar {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  height: 3.2%;
  padding: 0 1.6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .82);
  background: rgba(20, 14, 25, .16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font-size: clamp(3px, .63vw, 9px);
  font-weight: 650;
  letter-spacing: -.01em;
}

.menu-status { letter-spacing: .26em; opacity: .72; }

.notch-demo {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 50%;
  width: 12.235%;
  aspect-ratio: 185 / 110;
  transform: translateX(-50%);
  pointer-events: none;
}

.notch-hardware {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 50%;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: #020202;
  transform: translateX(-50%);
}

.notch-hardware circle {
  fill: #171719;
}

.personality {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: 100%;
  opacity: 0;
  transform: translate3d(-50%, -2px, 0) scale(.992);
  transform-origin: 50% 0;
  transition: opacity 300ms ease, transform 300ms var(--ease-out);
}

.personality svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  fill: #020202;
}

.personality.is-active {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.personality-music svg,
.personality-plug svg,
.personality-lamp svg {
  overflow: visible;
}

.music-bar {
  fill: url(#music-gradient);
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: music-meter 720ms cubic-bezier(.4, 0, .2, 1) var(--delay) infinite alternate;
}

.personality-music:not(.is-active) .music-bar {
  animation-play-state: paused;
}

@keyframes music-meter {
  0% { transform: scaleY(.14); opacity: .7; }
  52% { transform: scaleY(var(--bar)); opacity: 1; }
  100% { transform: scaleY(calc(var(--bar) * .52)); opacity: .86; }
}

.personality-ring svg {
  overflow: visible;
  fill: none;
}

.ring-track,
.ring-value,
.ring-runner {
  fill: none;
  stroke-width: 7.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ring-track {
  stroke: rgba(177, 253, 54, .2);
}

.ring-value {
  stroke: url(#battery-gradient);
  stroke-dasharray: 78 100;
  filter: drop-shadow(0 0 2.4px rgba(136, 241, 49, .48));
  transition: stroke-dasharray 400ms var(--ease-out);
}

.ring-runner {
  opacity: 0;
  stroke: rgba(255, 255, 255, .96);
  stroke-dasharray: 7 93;
  filter: drop-shadow(0 0 3.2px rgba(255, 255, 255, .9));
}

.notch-demo[data-style="charging"] .ring-value {
  animation: charge-fill 4000ms cubic-bezier(.2, .8, .2, 1) both;
}

.notch-demo[data-style="charging"] .ring-runner {
  opacity: 1;
  animation: charge-runner 1400ms cubic-bezier(.4, 0, .2, 1) infinite;
}

.notch-demo[data-style="charging"] .plug-bolt {
  animation: charge-bolt 900ms cubic-bezier(.4, 0, .2, 1) infinite alternate;
}

@keyframes charge-fill {
  from { stroke-dasharray: 24 100; }
  to { stroke-dasharray: 94 100; }
}

@keyframes charge-runner {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -100; }
}

@keyframes charge-bolt {
  from { opacity: .58; transform: scale(.88); }
  to { opacity: 1; transform: scale(1.12); }
}

.plug-symbol {
  opacity: 0;
  transform: translateY(-16px) scale(.82);
  transform-origin: 92.5px 30px;
}

.personality-plug.is-active .plug-symbol {
  animation: plug-in 400ms var(--ease-out) 80ms both;
}

.plug-stem,
.plug-prongs {
  fill: none;
  stroke: #8bf047;
  stroke-width: 2;
  stroke-linecap: round;
}

.plug-body {
  fill: #10130f;
  stroke: #8bf047;
  stroke-width: 1.6;
}

.plug-bolt {
  fill: #c7ff6a;
  transform-box: fill-box;
  transform-origin: center;
}

.plug-pulse {
  fill: none;
  stroke: #aaff60;
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.personality-plug.is-active .plug-pulse-one {
  animation: plug-pulse 900ms cubic-bezier(0, 0, .2, 1) 420ms both;
}

.personality-plug.is-active .plug-pulse-two {
  animation: plug-pulse 900ms cubic-bezier(0, 0, .2, 1) 680ms both;
}

@keyframes plug-in {
  0% { opacity: 0; transform: translateY(-16px) scale(.82); }
  70% { opacity: 1; transform: translateY(2px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes plug-pulse {
  0% { opacity: .72; transform: scale(.45); }
  100% { opacity: 0; transform: scale(1.8); }
}

.lamp-cone {
  fill: url(#lamp-cone);
  opacity: 0;
  transform: scaleY(.82);
  transform-origin: 50% 30px;
}

.lamp-lip {
  fill: none;
  stroke: url(#lamp-lip);
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0;
}

.lamp-lip-glow {
  stroke: #ffab3d;
  stroke-width: 8;
  filter: blur(5px);
}

.lamp-cord-line {
  fill: none;
  stroke: #b6aea2;
  stroke-width: 1.3;
  stroke-linecap: round;
  transform: scaleY(0);
  transform-origin: 151px 30px;
}

.lamp-knob,
.lamp-knob-glow {
  opacity: 0;
  transform: translateY(-46px);
  transform-origin: center;
}

.lamp-knob { fill: #b6aea2; }

.lamp-knob-glow {
  fill: rgba(182, 174, 162, .18);
  filter: blur(3px);
}

.personality-lamp.is-active .lamp-cord-line {
  animation:
    cord-drop 2100ms cubic-bezier(.2, .8, .2, 1) 200ms both,
    lamp-cord-on 300ms cubic-bezier(0, 0, .2, 1) 2300ms both;
}

.personality-lamp.is-active .lamp-knob {
  animation:
    knob-drop 2100ms cubic-bezier(.2, .8, .2, 1) 200ms both,
    lamp-knob-on 300ms cubic-bezier(0, 0, .2, 1) 2300ms both;
}

.personality-lamp.is-active .lamp-knob-glow {
  animation:
    knob-drop 2100ms cubic-bezier(.2, .8, .2, 1) 200ms both,
    lamp-knob-glow-on 300ms cubic-bezier(0, 0, .2, 1) 2300ms both;
}

.personality-lamp.is-active .lamp-cone {
  animation: lamp-on 400ms cubic-bezier(0, 0, .2, 1) 2300ms both;
}

.personality-lamp.is-active .lamp-lip {
  animation: lamp-lip-on 300ms cubic-bezier(0, 0, .2, 1) 2300ms both;
}

@keyframes cord-drop {
  0% { transform: scaleY(0); }
  43% { transform: scaleY(1); }
  66% { transform: scaleY(1.22); }
  82% { transform: scaleY(.96); }
  100% { transform: scaleY(1); }
}

@keyframes knob-drop {
  0% { opacity: 0; transform: translateY(-46px); }
  10% { opacity: 1; }
  43% { opacity: 1; transform: translateY(0); }
  66% { opacity: 1; transform: translateY(10px); }
  82% { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes lamp-on {
  from { opacity: 0; transform: scaleY(.82); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes lamp-lip-on {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lamp-cord-on {
  from { stroke: #b6aea2; }
  to { stroke: #ffd47a; }
}

@keyframes lamp-knob-on {
  from { fill: #b6aea2; }
  to { fill: #ff9428; }
}

@keyframes lamp-knob-glow-on {
  from { fill: rgba(182, 174, 162, .18); }
  to { fill: rgba(255, 148, 40, .56); }
}

.dock-demo {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: 227%;
  aspect-ratio: 420 / 354;
  color: #fff;
  font-size: clamp(5px, .62vw, 9px);
  opacity: 0;
  transform: translateX(-50%) scale(.44, .09);
  transform-origin: 50% 0;
  pointer-events: none;
}

.dock-demo.is-active {
  animation: dock-expand 500ms cubic-bezier(.2, .84, .24, 1) both;
}

.dock-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: #020202;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .46));
}

.dock-content {
  position: absolute;
  inset: 13.6% 9.3% 7.4%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  row-gap: 1.4em;
  opacity: 0;
}

.dock-demo.is-active .dock-content {
  animation: dock-content-in 300ms cubic-bezier(0, 0, .2, 1) 300ms both;
}

.dock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dock-header > div {
  display: flex;
  flex-direction: column;
  gap: .18em;
}

.dock-header strong {
  color: #b3fa47;
  font-size: 1em;
  font-weight: 800;
  letter-spacing: .17em;
}

.dock-header span:not(.dock-collapse) {
  color: rgba(255, 255, 255, .58);
  font-size: 1.2em;
  font-weight: 550;
}

.dock-collapse {
  width: 3.7em;
  height: 3.7em;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, .76);
  background: rgba(255, 255, 255, .09);
  font-size: 1.15em;
  font-weight: 800;
}

.dock-tabs {
  position: relative;
  height: 4.25em;
  padding: .35em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .075);
}

.dock-tab-indicator {
  position: absolute;
  z-index: 0;
  top: .35em;
  left: .35em;
  width: calc((100% - 1.4em) / 3);
  height: calc(100% - .7em);
  border-radius: 999px;
  background: #b3fa47;
}

.dock-demo.is-active .dock-tab-indicator {
  animation: dock-tab-slide 10500ms cubic-bezier(.4, 0, .2, 1) 500ms both;
}

.dock-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  color: rgba(255, 255, 255, .58);
  font-size: 1.2em;
  font-weight: 650;
}

.dock-tab svg {
  width: 1.45em;
  height: 1.45em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dock-tab-power svg { fill: currentColor; stroke: none; }

.dock-demo.is-active .dock-tab-focus { animation: dock-tab-focus 10500ms step-end 500ms both; }
.dock-demo.is-active .dock-tab-tasks { animation: dock-tab-tasks 10500ms step-end 500ms both; }
.dock-demo.is-active .dock-tab-power { animation: dock-tab-power 10500ms step-end 500ms both; }

.dock-panel-stack {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.dock-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(.6em);
}

.dock-demo.is-active .dock-panel-focus { animation: dock-panel-focus 10500ms cubic-bezier(.4, 0, .2, 1) 500ms both; }
.dock-demo.is-active .dock-panel-tasks { animation: dock-panel-tasks 10500ms cubic-bezier(.4, 0, .2, 1) 500ms both; }
.dock-demo.is-active .dock-panel-power { animation: dock-panel-power 10500ms cubic-bezier(.4, 0, .2, 1) 500ms both; }

.dock-panel-focus {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

.dock-timer {
  display: block;
  font-size: clamp(17px, 2.25vw, 32px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.dock-presets {
  margin-top: 1.2em;
  display: flex;
  justify-content: center;
  gap: .8em;
}

.dock-presets span {
  min-width: 4.8em;
  min-height: 3em;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .07);
  font-size: 1.08em;
  font-weight: 650;
}

.dock-presets .is-selected {
  color: #b3fa47;
  background: rgba(179, 250, 71, .18);
}

.dock-primary-action {
  min-height: 3.8em;
  margin-top: 1.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  border-radius: 999px;
  color: #050505;
  background: #b3fa47;
  font-size: 1.22em;
  font-weight: 800;
}

.dock-primary-action svg {
  width: 1.3em;
  fill: currentColor;
}

.dock-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15em;
}

.dock-panel-title span { color: #ff614a; font-size: .86em; font-weight: 650; }

.dock-task-add {
  height: 3em;
  margin-top: .8em;
  padding-left: 1.3em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .09);
  font-size: 1.05em;
}

.dock-task-add b {
  width: 3em;
  height: 3em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #050505;
  background: #b3fa47;
  font-size: 1em;
}

.dock-task {
  height: 2.7em;
  display: flex;
  align-items: center;
  gap: 1em;
  color: rgba(255, 255, 255, .88);
  font-size: 1.05em;
  font-weight: 550;
}

.dock-task i {
  width: 1.45em;
  height: 1.45em;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  font-size: .8em;
  font-style: normal;
}

.dock-task.is-done { color: rgba(255, 255, 255, .35); text-decoration: line-through; }
.dock-task.is-done i { border-color: #b3fa47; color: #050505; background: #b3fa47; text-decoration: none; }

.dock-panel-power {
  display: flex;
  flex-direction: column;
  gap: .55em;
}

.dock-power-row {
  min-height: 4.15em;
  padding: .55em .85em;
  display: grid;
  grid-template-columns: 3em 1fr 3.2em;
  align-items: center;
  gap: .8em;
  border-radius: 1.3em;
  background: rgba(255, 255, 255, .055);
}

.dock-power-row > b {
  width: 3em;
  height: 3em;
  display: grid;
  place-items: center;
  border-radius: 1em;
  color: #b3fa47;
  background: rgba(255, 255, 255, .08);
  font-size: 1.2em;
}

.dock-power-row > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .18em;
}

.dock-power-row strong { font-size: 1.12em; font-weight: 650; }
.dock-power-row small { overflow: hidden; color: rgba(255, 255, 255, .44); font-size: .92em; text-overflow: ellipsis; white-space: nowrap; }

.dock-power-row > i {
  width: 3.2em;
  height: 1.85em;
  padding: .22em;
  display: flex;
  justify-content: flex-start;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.dock-power-row > i::after {
  content: "";
  width: 1.41em;
  height: 1.41em;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
}

.dock-power-row.is-on > b { color: #050505; background: #b3fa47; }
.dock-power-row.is-on > i { justify-content: flex-end; background: #b3fa47; }
.dock-power-row.is-on > i::after { background: #050505; }
.dock-power-cyan > b { color: #2bd1ef; }
.dock-power-cyan.is-on > b,
.dock-power-cyan.is-on > i { background: #2bd1ef; }
.dock-power-coral > b { color: #ff614a; }

@keyframes dock-expand {
  0% { opacity: 0; transform: translateX(-50%) scale(.44, .09); }
  70% { opacity: 1; transform: translateX(-50%) scale(1.018, 1.014); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes dock-content-in {
  from { opacity: 0; transform: translateY(-.7em) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dock-tab-slide {
  0%, 30% { transform: translateX(0); }
  34%, 62% { transform: translateX(104%); }
  66%, 100% { transform: translateX(208%); }
}

@keyframes dock-tab-focus { 0%, 30% { color: #050505; } 31%, 100% { color: rgba(255, 255, 255, .58); } }
@keyframes dock-tab-tasks { 0%, 33% { color: rgba(255, 255, 255, .58); } 34%, 62% { color: #050505; } 63%, 100% { color: rgba(255, 255, 255, .58); } }
@keyframes dock-tab-power { 0%, 65% { color: rgba(255, 255, 255, .58); } 66%, 100% { color: #050505; } }

@keyframes dock-panel-focus {
  0%, 29% { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-.4em); }
}

@keyframes dock-panel-tasks {
  0%, 29% { opacity: 0; transform: translateY(.6em); }
  34%, 61% { opacity: 1; transform: translateY(0); }
  65%, 100% { opacity: 0; transform: translateY(-.4em); }
}

@keyframes dock-panel-power {
  0%, 61% { opacity: 0; transform: translateY(.6em); }
  66%, 100% { opacity: 1; transform: translateY(0); }
}

.notch-stage-caption {
  position: absolute;
  z-index: 9;
  top: 11.5%;
  left: 50%;
  min-width: 154px;
  padding: 7px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  color: #fff;
  background: rgba(12, 11, 16, .6);
  box-shadow: 0 8px 24px rgba(6, 5, 10, .18);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .62);
  transform: translateX(-50%);
  transition: opacity 200ms ease-in, transform 200ms ease-in;
  pointer-events: none;
}

.notch-demo[data-style="lamp"] + .notch-stage-caption {
  top: 16.5%;
}

.notch-demo[data-style="dock"] + .notch-stage-caption {
  opacity: 0;
  transform: translate(-50%, 6px);
}

.notch-stage-label {
  display: block;
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.notch-stage-caption.is-entering .notch-stage-label {
  animation: stage-label-in 400ms var(--ease-out) both;
}

.notch-stage-progress {
  width: clamp(60px, 5.5vw, 86px);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .26);
}

.notch-stage-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, .94);
  transform: scaleX(0);
  transform-origin: left;
}

.notch-stage-caption.is-entering .notch-stage-progress i {
  animation: stage-progress var(--stage-duration, 3000ms) cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes stage-label-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes stage-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.desktop-caption {
  position: absolute;
  z-index: 3;
  right: 4.4%;
  bottom: 4.7%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .22);
  font-size: clamp(4px, .66vw, 10px);
}

.desktop-caption strong {
  font-size: clamp(14px, 2.15vw, 34px);
  font-weight: 420;
  letter-spacing: -.06em;
}

.macbook-frame {
  position: absolute;
  z-index: 10;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.closing {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(150px, 18vw, 260px) 0 clamp(140px, 16vw, 220px);
  text-align: center;
}

.closing h2 {
  font-size: clamp(48px, 6.4vw, 86px);
  line-height: .98;
}

.closing > p:last-child {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.55;
  letter-spacing: -.022em;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 90px;
  margin: 0 auto;
  border-top: 1px solid rgba(23, 23, 21, .11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8e887f;
  font-size: 12px;
}

.site-footer a {
  text-underline-offset: 4px;
  text-decoration-color: rgba(23, 23, 21, .25);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .site-header { width: calc(100% - 32px); height: 72px; }
  .platform-note { font-size: 12px; }
  .hero { padding-top: 32px; }
  h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-copy { max-width: 460px; }
  .product-stage { width: 128%; margin-top: -20px; margin-left: -14%; padding-inline: 0; padding-top: 16px; }
  .menu-bar { font-size: 4px; }
  .closing { padding-top: 160px; }
  .site-footer { width: calc(100% - 32px); }
}

@media (max-width: 420px) {
  .platform-note { display: none; }
  .hero { width: calc(100% - 28px); padding-top: 28px; }
  h1 { font-size: 51px; letter-spacing: -.065em; }
  .hero-copy { font-size: 16px; }
  .product-stage { width: 140%; margin-left: -20%; }
  .closing h2 { font-size: 46px; }
  .site-footer { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
