:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --gray: #6e6e73;
  --navy: #0b1a2c;
  --bg: #f5f5f7;
  --blue: #0066cc;
  --pink: #d63d6c;
  --violet: #7a52e0;
  --green: #2f8a4a;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); overflow-x: clip; }
#pier { overflow-x: clip; }
body {
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #004f9e; }
button { font: inherit; }
:focus-visible { outline: 3px solid color-mix(in oklch, #0071e3 60%, transparent); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wide-wrap { max-width: 1320px; margin-top: 56px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 245, 247, .72);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.nav-in { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.navlinks { display: flex; gap: 28px; font-size: 14px; }
.navlinks a { color: var(--ink-2); }
.navlinks a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 980px; font-weight: 600; transition: transform .2s var(--ease), background .2s; }
.btn-s { min-height: 36px; padding: 0 18px; font-size: 14px; }
.btn-l { min-height: 54px; padding: 0 30px; font-size: 17px; }
.btn-block { display: flex; min-height: 52px; font-size: 17px; margin-top: auto; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { color: #fff; background: #13283f; }
.btn-light { background: #e8e8ed; color: var(--ink); }
.btn-light:hover { color: var(--ink); background: #dcdce2; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--navy); }
.mag { will-change: transform; }

/* Type */
.eyebrow { margin: 0; font-size: 18px; font-weight: 600; color: #0a3d75; }
.h2 { margin: 0; max-width: 780px; font-size: 64px; line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.h2.xl { font-size: 72px; max-width: none; margin-top: 24px; }
.lede { margin: 26px 0 0; max-width: 520px; font-size: 21px; line-height: 1.45; font-weight: 500; color: #23344a; }
.gray-text { color: var(--gray); font-size: 19px; }
.side { margin: 0; max-width: 360px; font-size: 17px; line-height: 1.5; color: var(--gray); }
.small { margin: 28px 0 0; font-size: 15px; color: var(--gray); }
.center { text-align: center; }
.center .h2, .narrow, .narrow-s { margin-left: auto; margin-right: auto; }
.narrow { max-width: 860px; margin-top: 12px; }
.narrow-s { max-width: 620px; }
.pink { color: var(--pink); }
.violet { color: var(--violet); }
.green { color: var(--green); }
.blue { color: var(--blue); }
.gray { color: var(--ink-2); }
.strong { font-size: 17px; font-weight: 600; }

/* Hero */
.hero { padding: 16px 16px 0; }
/* The whole stage fits the window, so the dock along its bottom edge is always in view. */
.stage { position: relative; border-radius: 36px 36px 22px 22px; overflow: hidden; height: calc(100vh - 88px); height: calc(100svh - 88px); min-height: 560px; max-height: 980px; background: #c9d6e6; }
.stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.stage-copy { position: relative; padding-top: clamp(40px, 9vh, 110px); }
.hero-h { margin: 14px 0 0; font-size: clamp(72px, min(10vw, 15vh), 148px); line-height: .92; font-weight: 800; letter-spacing: -.06em; color: var(--navy); }
.hl { display: inline-block; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.more { font-size: 17px; font-weight: 600; color: #0a3d75; }

/* Sections */
.sec { padding: 150px 0 40px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.head-row .h2 { max-width: 700px; }

/* Widgets */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.w2 { grid-column: span 2; }
.tile {
  position: relative; border-radius: 30px; padding: 22px 24px; min-height: 200px;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(0, 0, 0, .05), 0 20px 50px rgba(30, 50, 90, .10);
}
.lab { margin: 0; font-size: 15px; font-weight: 600; }
.big { font-size: 52px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.unit { font-size: 20px; font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.note { margin: 6px 0 0; font-size: 15px; font-weight: 500; color: var(--gray); }
.green-note { color: var(--green); font-weight: 600; }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.row.base { align-items: baseline; }
.foot { margin-top: auto; }
.clocks { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.clocks .big { font-size: 44px; }
.event { margin: 6px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.list { margin-top: auto; display: grid; gap: 8px; font-size: 16px; font-weight: 500; }
.list div { display: flex; justify-content: space-between; }
.dim { color: var(--gray); font-variant-numeric: tabular-nums; }
.deploys span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.ok { background: #30d158; }
.dot.bad { background: #ff453a; }
.awake { transition: background .35s var(--ease), color .35s var(--ease); background: #fff; }
.awake.off { background: rgba(29, 29, 31, .9); color: #f5f5f7; }
.awake-btn { margin-top: auto; align-self: flex-start; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border: 0; background: none; padding: 0; color: inherit; cursor: pointer; }
.awake-label { font-size: 17px; font-weight: 600; }
.pomo { overflow: hidden; }
.pomo-btn { position: absolute; top: 16px; right: 16px; min-height: 36px; padding: 0 14px; border-radius: 980px; border: 0; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.pomo-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: #ff6482; transform-origin: 0 50%; }

/* Signals on the opening: what Pier shows when something needs you */
.signals { position: absolute; right: clamp(24px, 5vw, 72px); top: 50%; transform: translateY(-58%); list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; width: min(340px, 30vw); }
.signal { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 18px 40px rgba(20, 40, 70, .18); animation: sig-in .9s var(--ease) both; }
.signal:nth-child(1) { animation-delay: 1s; }
.signal:nth-child(2) { animation-delay: 1.5s; margin-left: 28px; }
.signal:nth-child(3) { animation-delay: 2s; }
@keyframes sig-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.sig-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 18px; }
.sig-claude .sig-icon { background: #d97757; }
.sig-deploy .sig-icon { background: #111; }
.sig-sale .sig-icon { background: #635bff; }
.sig-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sig-text b { font-size: 15px; font-weight: 700; color: var(--ink); }
.sig-text i { font-style: normal; font-size: 13px; color: var(--gray); }
.sig-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.sig-dot.warn { background: #ff9f0a; box-shadow: 0 0 0 4px rgba(255, 159, 10, .2); animation: rd-pulse 1.6s ease-in-out infinite; }
.sig-dot.bad { background: #ff453a; }
.sig-dot.ok { background: #30d158; }

/* Builder tiles */
.orange { color: #c2410c; }
.warn-text { color: #b25e00; font-weight: 600; }
.dot.warn { background: #ff9f0a; }
.sessions span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.small-note { margin-top: 12px; font-size: 13px; }
.dots-3 { display: flex; gap: 4px; margin-top: 6px; }
.dots-3 i { width: 8px; height: 8px; border-radius: 50%; background: #30d158; }
.builders { align-items: stretch; }
.builders .tile { padding: 32px; gap: 0; }
.builders h3 { margin: 10px 0 0; font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; }
.builders .note { font-size: 16px; line-height: 1.55; margin-top: 10px; }
.code { margin: 20px 0 0; padding: 16px 18px; border-radius: 14px; background: #0b1a2c; color: #e6edf6; font: 500 14px/1.65 ui-monospace, "SF Mono", Menlo, monospace; overflow-x: auto; }
.code .c { color: #8aa0b8; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #30d158 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Pier and the macOS Dock */
.vs { margin-top: 40px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 20px 50px rgba(30, 50, 90, .08); overflow: hidden; }
.vs-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 28px; border-top: 1px solid #f0f0f4; font-size: 16px; }
.vs-row:first-child { border-top: 0; }
.vs-head { background: #fafafa; font-size: 14px; font-weight: 700; color: var(--gray); }
.vs-head span:last-child { color: var(--ink); }
.vs-row [role=rowheader] { font-weight: 600; }
.vs-row .no { color: #86868b; }
.vs-row .yes { color: #1d7a3a; font-weight: 600; }

/* Tour */
.tour { padding-top: 110px; overflow: hidden; }
.tour-h { margin-bottom: 48px; }
.hs { display: flex; gap: 24px; width: max-content; padding: 0 32px; }
.panel { flex: none; width: min(78vw, 980px); border-radius: 32px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 30px 80px rgba(30, 50, 90, .12); display: flex; flex-direction: column; }
.panel > img, .np, .edges { width: 100%; aspect-ratio: 1300 / 574; object-fit: cover; }
.np { display: grid; place-items: center; padding: 40px; background: radial-gradient(circle at 70% 40%, #4a1222, #1d1d1f 70%); }
.np img { border-radius: 18px; max-width: 760px; width: 100%; }
.edges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; background: #e8e8ed; }
.edges img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.panel-t { padding: 28px 32px 32px; }
.panel-t h3 { margin: 8px 0 0; font-size: 30px; font-weight: 700; letter-spacing: -.025em; }
.kicker { margin: 0; font-size: 15px; font-weight: 600; color: var(--blue); }
.panel-dark { background: var(--ink); color: #f5f5f7; }
.panel-dark .kicker { color: #ff6482; }

/* Panel and chips */
.shelf { width: 100%; border-radius: 32px; box-shadow: 0 40px 100px rgba(80, 10, 30, .25); }
.chips { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 980px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); font-size: 15px; font-weight: 600; color: var(--ink-2); }

/* Scenes */
.acc { display: flex; gap: 12px; height: 520px; margin-top: 48px; }
.acc button { position: relative; flex: 1 1 0; min-width: 0; border: 0; padding: 0; border-radius: 28px; overflow: hidden; cursor: pointer; background: #ddd; transition: flex-grow .7s var(--ease); }
.acc button[aria-pressed="true"] { flex-grow: 5; }
.acc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.acc button[aria-pressed="true"] img { transform: scale(1.04); }
.cap { position: absolute; left: 24px; right: 24px; bottom: 22px; text-align: left; color: #fff; text-shadow: 0 1px 18px rgba(0, 0, 0, .45); }
.cap b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.cap i { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; font-style: normal; opacity: 0; transition: opacity .5s var(--ease); }
.acc button[aria-pressed="true"] .cap i { opacity: 1; }
.acc button[aria-pressed="false"] .cap { left: 0; right: 0; display: flex; justify-content: center; }
.acc button[aria-pressed="false"] .cap b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 20px; }
.acc button[aria-pressed="false"] .cap i { display: none; }

/* Setup */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.setup { align-items: center; }
.setup .h2 { font-size: 56px; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.steps p { margin: 6px 0 0; font-size: 17px; line-height: 1.5; }
.cust { width: 100%; border-radius: 24px; box-shadow: 0 40px 100px rgba(30, 50, 90, .25); }

/* Facts */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact { min-height: 0; padding: 32px; }
.fact h3 { margin: 10px 0 0; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }

/* Pricing */
.pricon { width: 128px; height: 128px; margin: 0 auto; }
.plans { max-width: 820px; margin: 56px auto 0; text-align: left; }
.plan { padding: 36px; gap: 18px; }
.plan h3 { margin: 0; font-size: 22px; font-weight: 700; }
.price { margin: 0; font-size: 56px; font-weight: 800; letter-spacing: -.04em; }
.plan ul { margin: 0; padding: 0 0 0 18px; font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.plan-dark { background: var(--navy); color: #fff; }
.plan-dark ul { color: #c9d2de; }
.badge { padding: 6px 12px; border-radius: 980px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; }

/* FAQ */
.faq .wrap { max-width: 820px; }
.faq { padding-bottom: 120px; }
.faq .h2 { font-size: 48px; }
.qs { margin-top: 32px; border-top: 1px solid rgba(0, 0, 0, .1); }
.qs details { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; font-size: 19px; font-weight: 600; }
.qs summary::-webkit-details-marker { display: none; }
.qs p { margin: 0; padding: 0 40px 24px 0; font-size: 17px; line-height: 1.6; color: var(--gray); }
.plus { font-size: 26px; font-weight: 400; color: #86868b; transition: transform .35s var(--ease); }
details[open] .plus { transform: rotate(45deg); }

/* Plain pages: privacy and support */
.doc { max-width: 760px; margin: 0 auto; padding: 96px 32px 120px; }
.doc h1 { margin: 0; font-size: 56px; line-height: 1.04; font-weight: 800; letter-spacing: -.045em; }
.doc .updated { margin: 14px 0 0; color: var(--gray); font-size: 15px; }
.doc h2 { margin: 48px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 20px; }
.doc li { margin-top: 6px; }
.doc .lead { font-size: 21px; line-height: 1.5; color: var(--ink); margin-top: 20px; }
.contact { margin-top: 32px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 20px 50px rgba(30, 50, 90, .08); }
.contact a.mail { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
@media (max-width: 860px) {
  .doc { padding: 64px 16px 96px; }
  .doc h1 { font-size: 40px; }
}

/* Roadmap */
.rd { max-width: 860px; margin: 0 auto; padding: 0 32px 120px; }
.rd-hero { padding: 104px 0 56px; text-align: center; }
.rd-hero h1 { margin: 14px 0 0; font-size: 72px; line-height: 1; font-weight: 800; letter-spacing: -.05em; }
.rd-lede { margin: 20px auto 32px; max-width: 520px; font-size: 19px; line-height: 1.5; color: var(--gray); }
.rd-hero .btn, .rd-cta .btn { border: 0; cursor: pointer; }

.rd-bar { position: sticky; top: 56px; z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; background: rgba(245, 245, 247, .86); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.rd-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 980px; background: #e8e8ed; }
.rd-tabs button, .rd-sort button { border: 0; background: none; font: inherit; cursor: pointer; color: var(--ink-2); }
.rd-tabs button { min-height: 40px; padding: 0 18px; border-radius: 980px; font-size: 15px; font-weight: 600; transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.rd-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.rd-tabs .c { margin-left: 4px; color: var(--gray); font-weight: 500; font-variant-numeric: tabular-nums; }
.rd-sort { display: inline-flex; gap: 2px; }
.rd-sort button { min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.rd-sort button[aria-pressed="true"] { color: var(--ink); background: #e8e8ed; }

.rd-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.rd-row { display: flex; align-items: center; gap: 20px; padding: 22px 22px 22px 26px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 12px 32px rgba(30, 50, 90, .06); animation: rd-in .5s var(--ease) both; }
.rd-row:nth-child(2) { animation-delay: .03s; } .rd-row:nth-child(3) { animation-delay: .06s; } .rd-row:nth-child(4) { animation-delay: .09s; } .rd-row:nth-child(5) { animation-delay: .12s; } .rd-row:nth-child(n+6) { animation-delay: .15s; }
@keyframes rd-in { from { opacity: 0; transform: translateY(10px); } }
.rd-row.skeleton { height: 92px; background: linear-gradient(90deg, #fff 0%, #f3f3f6 50%, #fff 100%) 0 0 / 200% 100%; animation: rd-shimmer 1.2s linear infinite; }
@keyframes rd-shimmer { to { background-position: -200% 0; } }
.rd-main { flex: 1; min-width: 0; }
.rd-tags { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rd-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.rd-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.rd-status.planned { color: #0066cc; }
.rd-status.building { color: #b25e00; }
.rd-status.building::before { animation: rd-pulse 1.6s ease-in-out infinite; }
@keyframes rd-pulse { 50% { opacity: .35; } }
.rd-status.shipped { color: #1d7a3a; }
.rd-cat { padding: 3px 9px; border-radius: 980px; background: #f0f2f6; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.rd-cat.widget { background: #fde7ee; color: #a12a52; }
.rd-cat.bug { background: #fff0e0; color: #8a4a00; }
.rd-title { margin: 8px 0 0; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.rd-details { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--gray); overflow-wrap: anywhere; }
.rd-by { margin: 8px 0 0; font-size: 13px; color: var(--gray); }

.rd-vote { flex: none; display: grid; justify-items: center; align-content: center; gap: 2px; width: 60px; height: 64px; border-radius: 16px; border: 1px solid #d9dbe2; background: #fff; color: var(--ink); cursor: pointer; font: inherit; transition: background .2s, border-color .2s, color .2s, transform .15s; }
.rd-vote:hover { border-color: var(--navy); }
.rd-vote:active { transform: scale(.95); }
.rd-vote .n { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rd-vote[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.rd-vote.pop svg { animation: rd-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes rd-pop { 40% { transform: translateY(-5px) scale(1.25); } }
.rd-done { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e3f6e8; color: #1d7a3a; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rd-empty { margin: 24px 0 0; padding: 40px 24px; text-align: center; border-radius: 24px; border: 1.5px dashed #d2d2d7; color: var(--gray); font-size: 16px; }

.rd-cta { margin-top: 72px; padding: 48px 32px; text-align: center; border-radius: 32px; background: var(--navy); color: #fff; }
.rd-cta h2 { margin: 0; font-size: 36px; font-weight: 800; letter-spacing: -.035em; }
.rd-cta p { margin: 10px auto 26px; max-width: 420px; font-size: 17px; line-height: 1.5; color: #c9d2de; }
.rd-cta .btn-light { background: #fff; color: var(--navy); }

.rd-dialog { width: min(520px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 120px rgba(11, 26, 44, .35); }
.rd-dialog::backdrop { background: rgba(11, 26, 44, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rd-dialog[open] { animation: rd-dialog .35s var(--ease); }
@keyframes rd-dialog { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.rd-dialog form, .rd-thanks { display: flex; flex-direction: column; padding: 28px; }
.rd-dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.rd-dialog h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.rd-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f0f0f4; color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer; }
.rd-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.rd-cats label { position: relative; }
.rd-cats input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rd-cats span { display: grid; place-items: center; min-height: 44px; border-radius: 12px; border: 1px solid #d9dbe2; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.rd-cats input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.rd-cats input:focus-visible + span { outline: 3px solid color-mix(in oklch, #0071e3 60%, transparent); outline-offset: 2px; }
.rd-label { margin-top: 14px; font-size: 14px; font-weight: 600; }
.rd-label .opt { font-weight: 500; color: var(--gray); }
.rd-dialog input:not([type=radio]), .rd-dialog textarea { margin-top: 6px; width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid #d2d2d7; background: #fff; color: var(--ink); }
.rd-dialog textarea { resize: vertical; }
.rd-note { margin: 14px 0 0; font-size: 13px; color: var(--gray); }
.rd-dialog .btn-block { margin-top: 18px; border: 0; cursor: pointer; }
.rd-thanks { align-items: center; text-align: center; padding: 40px 28px 28px; }
.rd-thanks p { margin: 8px 0 0; color: var(--gray); font-size: 16px; }
.rd-thanks .btn-block { align-self: stretch; }
.rd-check { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: #e3f6e8; color: #1d7a3a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.navlinks a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .rd { padding: 0 16px 96px; }
  .rd-hero { padding: 64px 0 36px; }
  .rd-hero h1 { font-size: 46px; }
  .rd-bar { top: 56px; }
  .rd-tabs { width: 100%; }
  .rd-tabs button { flex: 1; padding: 0 8px; font-size: 14px; }
  .rd-row { padding: 18px 16px 18px 18px; gap: 14px; border-radius: 20px; }
  .rd-title { font-size: 17px; }
  .rd-vote { width: 52px; height: 58px; }
  .rd-cta { margin-top: 56px; padding: 40px 20px; border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-row, .rd-dialog[open], .rd-vote.pop svg, .rd-status.building::before { animation: none; }
}

/* Changelog */
.cl { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cl-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; padding: 28px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 12px 32px rgba(30, 50, 90, .06); }
.cl-side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cl-version { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cl-date { font-size: 14px; color: var(--gray); }
.cl-latest { margin-top: 4px; padding: 3px 10px; border-radius: 980px; background: #e3f6e8; color: #1d7a3a; font-size: 12px; font-weight: 700; }
.cl-body h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.025em; }
.cl-notes p, .cl-notes li { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.cl-notes p { margin: 12px 0 0; }
.cl-notes ul { margin: 12px 0 0; padding-left: 20px; }
.cl-shipped { margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: #f5f7fb; }
.cl-from { margin: 0; font-size: 13px; font-weight: 700; color: var(--blue); }
.cl-shipped ul { margin: 8px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* Contact form on Support */
.sf { margin-top: 28px; display: grid; gap: 4px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 20px 50px rgba(30, 50, 90, .08); }
.sf h2 { margin: 0 0 6px; }
.sf .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sf label { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.sf .opt { font-weight: 500; color: var(--gray); }
.sf input, .sf textarea, .sf select { width: 100%; margin-top: 6px; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid #d2d2d7; background: #fff; color: var(--ink); }
.sf textarea { resize: vertical; }
.sf .btn-block { margin-top: 18px; border: 0; cursor: pointer; }
.sf-note { margin: 10px 0 0 !important; font-size: 14px !important; color: var(--gray) !important; }
.sf-done { text-align: center; padding: 20px 0; }
.sf-done .rd-check { margin: 0 auto 14px; }
@media (max-width: 860px) {
  .cl-item { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 22px; }
  .cl-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
  .sf { padding: 22px; }
  .sf .row2 { grid-template-columns: minmax(0, 1fr); }
}

/* Footer */
.footer { border-top: 1px solid rgba(0, 0, 0, .08); }
.foot-in { padding-top: 28px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--gray); }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-in a { color: var(--ink-2); }

@media (max-width: 1000px) {
  .h2 { font-size: 52px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .navlinks { display: none; }
  .hero { padding: 8px 8px 0; }
  .stage { height: auto; max-height: none; min-height: 640px; border-radius: 28px 28px 18px 18px; }
  .stage > img { object-position: 2% 100%; }
  .stage-copy { padding-top: 64px; padding-bottom: 220px; }
  .hero-h { font-size: 76px; }
  .lede { font-size: 18px; }
  .signals { position: relative; right: auto; top: auto; transform: none; width: auto; margin: 28px 16px 120px; }
  .stage-copy { padding-bottom: 0; }
  .signal:nth-child(3) { display: none; }
  .signal:nth-child(2) { margin-left: 0; }
  .builders .tile { padding: 24px; }
  .builders h3 { font-size: 23px; }
  .vs-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); padding: 14px 16px; font-size: 14px; gap: 10px; }
  .h2, .h2.xl, .setup .h2 { font-size: 40px; }
  .faq .h2 { font-size: 36px; }
  .sec { padding-top: 96px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; grid-auto-flow: dense; }
  .tile { min-height: 170px; padding: 18px; border-radius: 24px; }
  .big { font-size: 40px; }
  .clocks .big { font-size: 30px; }
  .duo, .trio { grid-template-columns: minmax(0, 1fr); }
  .hsbox { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .hs { padding: 0 16px; gap: 14px; }
  .panel { width: 86vw; scroll-snap-align: center; border-radius: 24px; }
  .panel-t h3 { font-size: 22px; }
  .acc { flex-direction: column; height: auto; }
  .acc button { min-height: 96px; }
  .acc button[aria-pressed="true"] { min-height: 280px; }
  .acc button[aria-pressed="false"] .cap { left: 20px; justify-content: flex-start; }
  .acc button[aria-pressed="false"] .cap b { writing-mode: horizontal-tb; transform: none; }
}
@media (max-width: 420px) {
  .w2 { grid-column: span 2; }
  .hero-h { font-size: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
