/* betaprofile.dev — design system */
:root {
  --bg: #ffffff;
  --bg-elev: #f6f7f9;
  --bg-inset: #ffffff;
  --text: #0b0f1a;
  --text-2: #5b6472;
  --border: #e4e7ee;
  --accent: #1590e8;
  --accent-2: #5cc3f8;
  --accent-soft: #e5f3fd;
  --accent-text: #0c6fbb;      /* accent as text on white: 5.1:1 */
  --accent-fill: #0a6fc2;      /* filled buttons: 5.0:1 with white */
  --accent-fill-ink: #ffffff;
  --ok: #077a47;        /* 5.1:1 on white as text */
  --warn: #9c5d00;      /* 5.1:1 */
  --build: #b81e63;     /* 6.0:1 */
  --tl-line: #38bdf8;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 15, 26, .05), 0 8px 24px rgba(11, 15, 26, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f1a;
    --bg-elev: #131a29;
    --text: #eef1f7;
    --text-2: #98a2b3;
    --border: #232c40;
    --accent: #3aaef5;
    --accent-2: #7fd4ff;
    --accent-soft: #11283c;
    --accent-text: #6ec4fa;    /* on the dark ground this is 8.0:1 */
    --accent-fill: #3aaef5;    /* dark mode inverts: dark ink on the light accent, 7.7:1 */
    --accent-fill-ink: #08111f;
    --build: #f472b6;
    /* --ok and --warn were darkened for AA on white; on the dark ground they
       need the opposite treatment or they fall to ~3.2:1 */
    --ok: #34d399;
    --warn: #fbbf24;
    --bg-inset: #0e1420;
    --fg-mix: #fff;   /* badge ink darkens on white, lightens on dark */
    --tl-line: #0ea5e9;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* The page scrolls vertically only. Horizontal rows (the release slider, the
   timeline, wide tables) scroll inside themselves and are contained above, so a
   sideways trackpad swipe can neither drag the page nor trigger the browser's
   back/forward gesture. clip rather than hidden so a sticky element, should
   one return, would still work. */
html, body { overflow-x: clip; overscroll-behavior-x: none; }

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* height:auto is the required companion to the width/height attributes on every
   <img>. Without it the HTML height wins and images render at their natural
   pixel height regardless of width — which stretched the hero to 375x1477 on
   mobile. The rules further down that set an explicit height are more specific
   and still win. */
img { max-width: 100%; height: auto; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: .85em;
  background: color-mix(in srgb, var(--build) 9%, transparent);
  color: var(--build);
  padding: .15em .45em;
  border-radius: 6px;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.muted { color: var(--text-2); }
.center { text-align: center; }

/* Header */
/* The header scrolls with the page. It stays "positioned" only so the
   mobile menu, which is absolutely placed beneath it, keeps its anchor. */
.site-header {
  position: relative; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 700; font-size: 18px;
}
.brand-mark.small { width: 26px; height: 26px; font-size: 15px; }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand-name span { color: var(--accent); }
.eyebrow {
  display: inline-block; font-size: 13.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 14px;
}
.seo-section p { max-width: 820px; margin: 0 auto 16px; font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.seo-section h2 { text-align: center; }
.seo-section { text-align: center; }
.seo-section p { text-align: left; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  color: var(--text-2); font-size: 14.5px; font-weight: 500;
  padding: 7px 12px; border-radius: 99px;
}
.site-nav a:hover { color: var(--text); text-decoration: none; background: var(--accent-soft); }
.site-nav a.active { color: var(--accent-text); background: var(--accent-soft); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  padding: 64px 0 0;
  background:
    radial-gradient(700px 340px at 15% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent),
    radial-gradient(700px 340px at 85% 10%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent);
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(46px, 8vw, 86px);
  line-height: 1.04; letter-spacing: -.025em; font-weight: 600;
  margin-bottom: 18px;
}
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 18px; color: var(--text-2); max-width: 640px; }
.hero-copy { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-copy .lead { margin: 0 auto; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.hero-releases {
  position: absolute; left: 0; right: 0; bottom: 26%;
  z-index: 3;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  pointer-events: none;
}
.hero-releases .hero-release { pointer-events: auto; }
.hero-release {
  display: flex; align-items: center; gap: 12px;
  background: color-mix(in srgb, var(--bg-inset) 42%, transparent);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 14px; padding: 10px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 16px 40px rgba(11, 15, 26, .22);
  color: var(--text); text-align: left;
  animation: card-bob 9s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-release:nth-child(2) { animation-duration: 11s; animation-delay: -4s; }
@keyframes card-bob {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .hero-release { animation: none; } }
.hero-release:hover { text-decoration: none; border-color: var(--accent); }
.hero-release img { width: 44px; height: 44px; border-radius: 10px; }
.hero-release em { display: block; font-style: normal; font-size: 12.5px; color: var(--text-2); }
.hero-release strong { display: block; font-size: 15px; }
.hero-release code { font-size: 12.5px; padding: .1em .4em; }
.hero-chips { justify-content: center; margin-top: 30px; padding-bottom: 48px; }
.hero-art { position: relative; margin-top: 8px; text-align: center; }
.hero-art .hero-devices {
  position: relative; z-index: 1;
  display: block; width: min(1256px, 100%); margin: 0 auto -4px;
}

/* Floating OS icons — suspended-in-space effect */
.float-field {
  position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: min(1256px, 100%);
  pointer-events: none;
}
.float-icon {
  position: absolute; border-radius: 22%;
  box-shadow: 0 14px 34px rgba(11, 15, 26, .22);
  will-change: transform;
  animation: drift-a 12s ease-in-out infinite alternate;
}
.float-icon.f1 {
  width: 92px; top: 8%; left: 13%; z-index: 2;
  animation-duration: 11s;
}
.float-icon.f2 {
  width: 70px; top: 20%; right: 10%; z-index: 0;
  opacity: .9; filter: blur(1px);
  animation-name: drift-b; animation-duration: 14s; animation-delay: -4s;
}
.float-icon.f3 {
  width: 52px; top: 4%; right: 26%; z-index: 0;
  opacity: .7; filter: blur(2px);
  animation-duration: 16s; animation-delay: -9s;
}
.float-icon.f4 {
  width: 58px; top: 42%; left: 4%; z-index: 0;
  opacity: .75; filter: blur(2px);
  animation-name: drift-b; animation-duration: 15s; animation-delay: -6s;
}
.float-icon.f5 {
  width: 82px; bottom: 22%; right: 4%; z-index: 2;
  animation-duration: 13s; animation-delay: -2s;
}
@keyframes drift-a {
  from { transform: translate(0, 0) rotate(-2.5deg); }
  to { transform: translate(7px, -16px) rotate(2deg); }
}
@keyframes drift-b {
  from { transform: translate(0, 0) rotate(2deg); }
  to { transform: translate(-9px, 13px) rotate(-2.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .float-icon { animation: none; }
}
@media (max-width: 720px) {
  .hero-releases { bottom: -26px; flex-direction: row; align-items: flex-start; gap: 8px; }
  .hero-art { margin-bottom: 52px; }
  .hero-release { gap: 6px; padding: 5px 9px; border-radius: 10px; }
  .hero-release:nth-child(2) { margin-top: 18px; }
  .hero-release img { width: 24px; height: 24px; border-radius: 6px; }
  .hero-release em { font-size: 12px; }
  .hero-release strong { font-size: 12px; }
  .hero-release code { font-size: 12px; padding: .05em .3em; }
  .hero-release em, .hero-release strong, .hero-release code { line-height: 1.2; }
  .float-icon.f1 { width: 54px; top: 2%; left: 6%; }
  .float-icon.f2 { width: 44px; top: 10%; right: 5%; }
  .float-icon.f3 { width: 34px; top: 32%; right: 12%; }
  .float-icon.f4 { width: 36px; top: 44%; left: 3%; }
  .float-icon.f5 { width: 50px; bottom: 8%; right: 3%; }
}

/* Buttons */
.btn {
  display: inline-block; font-weight: 600; font-size: 14.5px;
  padding: 9px 18px; border-radius: 99px; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 12px 24px; font-size: 16px; }
.btn-primary { background: var(--accent-fill); color: var(--accent-fill-ink); box-shadow: var(--shadow); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent-fill) 88%, #000); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--bg-elev); }
.btn-ghost:hover { border-color: var(--accent-text); color: var(--accent-text); }

/* Ads: AdSense Auto Ads only (no hand-placed units since 13 Sept 2026). */

/* Sections */
.section { padding-top: 40px; padding-bottom: 8px; }
.section h2, .channel h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 8px; }
.section-intro { color: var(--text-2); max-width: 720px; margin-bottom: 22px; }
.channel { padding-top: 40px; padding-bottom: 8px; }

/* Latest Releases — horizontal slider */
.latest-slider {
  display: flex; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.latest-slider::-webkit-scrollbar { display: none; }
.latest-slide {
  flex: 0 0 auto; display: flex; align-items: center; gap: 16px;
  background: var(--bg-elev); border-radius: 16px;
  padding: 16px 24px; color: var(--text);
  transition: background .15s ease;
}
.latest-slide:hover { text-decoration: none; background: color-mix(in srgb, var(--text) 6%, var(--bg-elev)); }
.latest-slide img { width: 76px; height: 76px; border-radius: 18px; flex: 0 0 auto; object-fit: contain; }
.latest-slide div { display: grid; gap: 2px; line-height: 1.25; }
.slide-date { font-size: 14px; color: var(--text-2); }
.slide-name { font-size: 18px; font-weight: 600; white-space: nowrap; }
.slide-build { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--build); }

/* Timeline */
.timeline-box {
  background: var(--bg-elev); border-radius: 24px;
  padding: 56px 16px 40px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -ms-overflow-style: none;
}
.timeline-box::-webkit-scrollbar { display: none; }
.timeline { list-style: none; display: flex; min-width: 560px; }
.tl-item {
  position: relative; flex: 1 0 25%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 8px;
}
.tl-line {
  position: absolute; top: 36px; height: 2px; width: 50%;
  background: color-mix(in srgb, var(--text-2) 25%, transparent);
}
.tl-line.left { left: 0; }
.tl-line.right { right: 0; }
.tl-line.done { background: var(--tl-line); }
.tl-logo { position: relative; z-index: 1; padding: 4px; }
.tl-logo img {
  position: relative; z-index: 1; display: block;
  width: 64px; height: 64px; border-radius: 16px; object-fit: contain;
}
.tl-ping {
  position: absolute; inset: 4px; z-index: 0;
  border-radius: 16px; background: var(--tl-line); opacity: .45;
  animation: tl-ping 1.4s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes tl-ping {
  75%, 100% { transform: scale(1.7); opacity: 0; }
}
.tl-pill {
  position: absolute; z-index: 2; left: 50%; bottom: -8px; transform: translateX(-50%);
  white-space: nowrap; border-radius: 6px;
  background: var(--bg-inset);
  padding: 2px 8px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  box-shadow: 0 1px 3px rgba(11, 15, 26, .12);
}
.tl-title { margin-top: 20px; font-size: 16.5px; font-weight: 600; }
.tl-date { margin-top: 4px; font-size: 13.5px; color: var(--text-2); display: grid; gap: 2px; }
.tl-date em {
  font-style: normal; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--warn);
}

/* Cards */
.grid.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.release-meta { display: flex; gap: 26px; }
.release-meta.inline { margin: 10px 0 6px; }
.release-meta dt { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }
.release-meta dd { font-size: 14.5px; font-weight: 600; }

/* Beta cards (betaprofiles.com style) */
.bp-card {
  scroll-margin-top: 24px;
  background: var(--bg-elev); border-radius: 24px;
  box-shadow: 0 1px 2px rgba(11, 15, 26, .06);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.165, .84, .44, 1), box-shadow .5s cubic-bezier(.165, .84, .44, 1);
}
.bp-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 24px 48px rgba(11, 15, 26, .18); }
.bp-card-body { padding: 40px 40px 16px; text-align: center; }
.bp-card-logo { width: 60px; height: 60px; object-fit: contain; margin: 0 auto; display: block; }
.bp-card-logo.rounded { border-radius: 14px; }
.bp-card-body h3 { font-size: 24px; font-weight: 600; letter-spacing: -.015em; margin-top: 20px; }
.bp-card-blurb { font-size: 18px; line-height: 1.5; color: var(--text-2); margin-top: 8px; }
.bp-meta {
  display: flex; justify-content: space-evenly; align-items: center;
  max-width: 320px; margin: 20px auto 0;
  background: var(--bg-inset); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px;
}
.bp-meta p { font-size: 12px; line-height: 1.4; color: var(--text-2); }
.bp-meta strong { font-size: 16px; line-height: 1.4; }
.bp-meta strong.mono {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  color: var(--build); font-weight: 600;
}
.bp-meta-divider { width: 1px; height: 40px; background: var(--border); }
.bp-actions { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 8px; align-items: center; }
.bp-btn-install {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-fill); color: var(--accent-fill-ink);
  font-size: 18px; font-weight: 500; line-height: 1.35;
  padding: 8px 16px; border-radius: 99px;
}
.bp-btn-install:hover { text-decoration: none; background: color-mix(in srgb, var(--accent-fill) 88%, #000); }
.bp-btn-install svg { width: 18px; height: 18px; }
.bp-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-2); font-size: 16px;
}
.bp-link:hover { text-decoration: none; color: var(--accent-text); }
.bp-link svg { width: 16px; height: 16px; }
.bp-card-device { display: block; width: 100%; object-fit: contain; margin-top: auto; }

/* Article pages */
.article { padding-top: 48px; padding-bottom: 64px; max-width: 760px; }
.article h1 { font-size: clamp(28px, 4.5vw, 40px); letter-spacing: -.025em; margin-bottom: 12px; }
.article h2 { font-size: 22px; letter-spacing: -.015em; margin: 34px 0 12px; }
.article h3 { font-size: 17px; }
.article p { margin-bottom: 12px; }
.breadcrumb { font-size: 13.5px; color: var(--text-2); margin-bottom: 18px; }
.breadcrumb span { margin: 0 6px; }

.checklist { list-style: none; display: grid; gap: 8px; margin: 8px 0 8px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--ok); font-weight: 700;
}
.steps { list-style: none; display: grid; gap: 18px; margin-top: 12px; counter-reset: step; }
.step {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
}
.step h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.step-num {
  display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 99px; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700; flex: 0 0 auto;
}
.note {
  border-left: 3px solid var(--warn);
  background: color-mix(in srgb, var(--warn) 8%, var(--bg-elev));
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0; font-size: 14.5px;
}
.article-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.article-links.center { justify-content: center; }

/* Devices */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.chip {
  font-size: 13.5px; font-weight: 500; color: var(--text);
  background: var(--bg-elev); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 99px;
}
.chip:hover { border-color: var(--accent-text); color: var(--accent-text); text-decoration: none; }
.device-section { margin-top: 36px; scroll-margin-top: 24px; }
.device-section h3 { margin: 18px 0 8px; font-size: 15px; color: var(--text-2); }
.device-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px;
  margin-top: 12px;
}
.device-list li {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 14px; font-size: 14px;
}
.device-list.unsupported li { color: var(--text-2); background: transparent; border-style: dashed; }

/* FAQ */
.faq {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0; margin-bottom: 10px; overflow: hidden;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 15px 20px;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); color: var(--accent); font-size: 20px; font-weight: 400;
}
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 20px 16px; color: var(--text-2); }

/* Catch up */
.catchup { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.catchup-card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  color: var(--text); display: grid; gap: 8px; align-content: start;
}
.catchup-card:hover { text-decoration: none; border-color: var(--accent); }
.catchup-card .cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent-text); }
.catchup-card strong { font-size: 17px; letter-spacing: -.01em; line-height: 1.35; }

/* Guide pages */
.guide-hero {
  background:
    radial-gradient(700px 300px at 50% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent),
    var(--bg-elev);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 36px;
  text-align: center;
}
.guide-hero h1 { font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -.025em; margin-bottom: 12px; max-width: 820px; margin-left: auto; margin-right: auto; }
.guide-hero .lead { font-size: 19px; max-width: 720px; margin-left: auto; margin-right: auto; }
.guide-hero .chips { margin-top: 20px; justify-content: center; }
.release-bar {
  display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
  background: var(--bg-inset); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px 22px; margin: 26px auto 0;
  box-shadow: var(--shadow); max-width: fit-content;
  text-align: left;
}
.release-bar img { width: 52px; height: 52px; object-fit: contain; }
.release-bar-item p { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
.release-bar-item strong { font-size: 16px; }
.release-bar-item strong.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--build); }
.badge {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 99px;
}
.badge.beta { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text); }
.badge.rc { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.guide-intro { font-size: 17.5px; line-height: 1.65; }
.article.guide { padding-top: 36px; }

.req-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 14px 0 8px; }
.req {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
}
.req h3 { font-size: 15.5px; margin-bottom: 4px; }
.req p { font-size: 14px; color: var(--text-2); margin: 0; }

.note.warn { border-left-color: #d0342c; background: color-mix(in srgb, #d0342c 7%, var(--bg-elev)); }
.step-tip {
  margin-top: 10px; padding: 10px 14px; border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  font-size: 14px;
}

.trouble-list { display: grid; gap: 12px; }
.trouble {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px;
}
.trouble h3 { font-size: 16px; margin-bottom: 6px; }
.trouble p { color: var(--text-2); margin: 0; font-size: 15px; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.related-card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px; color: var(--text);
  display: grid; gap: 6px; align-content: start;
}
.related-card:hover { text-decoration: none; border-color: var(--accent); }
.related-card .cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent-text); }
.related-card strong { font-size: 15.5px; line-height: 1.4; }
.contact-line { font-size: 18px; margin-top: 20px; }

/* Channel segmented switch */
.seg-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
.panel-head { text-align: center; margin-bottom: 24px; }
.panel-head h2 { margin-bottom: 8px; }
.panel-head .section-intro { margin: 0 auto; }
.rc-block { margin-top: 48px; }
.rc-block h2 { text-align: center; }
.rc-block .section-intro { text-align: center; margin: 0 auto 22px; }
.seg {
  position: relative; display: inline-flex; gap: 2px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 99px; padding: 4px;
  box-shadow: inset 0 1px 3px rgba(11, 15, 26, .05);
}
.seg-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: 0; border-radius: 99px;
  background: var(--bg-inset);
  box-shadow: 0 1px 3px rgba(11, 15, 26, .12), 0 4px 12px rgba(11, 15, 26, .08);
  transition: transform .35s cubic-bezier(.3, .9, .3, 1), width .35s cubic-bezier(.3, .9, .3, 1);
}
.seg-btn {
  position: relative; z-index: 1;
  border: none; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--text-2); padding: 8px 16px; border-radius: 99px;
  transition: color .25s ease;
  white-space: nowrap;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.active { color: var(--accent-text); }
.switch-panel[hidden] { display: none; }
.switch-panel.is-entering { animation: panel-in .28s ease-out both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .switch-panel.is-entering { animation: none; } }
.era-title { font-size: 19px; letter-spacing: -.01em; margin: 28px 0 14px; color: var(--text); }
.era-title:first-of-type { margin-top: 4px; }
.arch-released { margin-top: 16px; font-size: 15px; color: var(--text-2); }
.arch-released strong { color: var(--text); }
.bp-card.compact .bp-card-body { padding-bottom: 8px; }
.mono-inline {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: .85em; color: var(--build); font-weight: 600;
}
@media (max-width: 720px) {
  .seg { width: 100%; }
  .seg-btn { flex: 1; padding: 8px 6px; font-size: 12.5px; }
}

/* Tools hub */
.tool-group { margin-bottom: 36px; }
.tool-group h2 { font-size: 20px; margin-bottom: 14px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.tool-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 20px; color: var(--text);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tool-card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.tool-card-icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-text);
}
.tool-card-icon svg { width: 26px; height: 26px; }
.tool-card-body { display: grid; gap: 3px; }
.tool-card-body strong { font-size: 16px; letter-spacing: -.01em; }
.tool-card-ex { font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.tool-card-go { margin-left: auto; color: var(--text-2); font-size: 22px; }
.tool-note { margin-top: 8px; font-size: 14px; color: var(--text-2); }

/* Tool launch stage */
.tool-launch { padding-top: 32px; }
.tool-stage {
  display: grid; place-items: center; gap: 16px;
  min-height: 220px; padding: 40px 24px;
  background: radial-gradient(600px 240px at 50% 0%, var(--accent-soft), transparent), var(--bg-elev);
  border: 1px solid var(--border); border-radius: 20px; text-align: center;
}
.tool-controls { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tool-start { cursor: pointer; }

/* Refresh-rate readout */
.rr-box { display: grid; gap: 14px; justify-items: center; width: 100%; max-width: 460px; }
.rr-readout { display: flex; align-items: baseline; gap: 8px; }
.rr-num { font-size: clamp(64px, 16vw, 108px); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.rr-unit { font-size: 28px; font-weight: 600; color: var(--text-2); }
.rr-verdict { font-size: 17px; font-weight: 500; }
.rr-track { position: relative; width: 100%; height: 10px; border-radius: 99px; background: var(--bg-inset); border: 1px solid var(--border); overflow: hidden; }
.rr-dot { position: absolute; top: -3px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }

/* Full-viewport overlay (all screen tools) */
.tool-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: #000; overflow: hidden; touch-action: none;
}
.tool-field { position: absolute; inset: 0; }
.tool-overlay-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; color: #fff; pointer-events: none;
}
.tool-overlay-label { font-size: 14px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.tool-overlay-exit {
  pointer-events: auto; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(0,0,0,.35); color: #fff; font-size: 18px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tool-hint {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%);
  z-index: 2; padding: 8px 16px; border-radius: 99px;
  background: rgba(0,0,0,.45); color: #fff; font-size: 13px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: opacity .6s ease; pointer-events: none; text-align: center;
}
.tool-canvas { position: absolute; inset: 0; touch-action: none; }
.tt-info {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 3;
  padding: 8px 16px; border-radius: 99px; background: rgba(0,0,0,.5); color: #fff; font-size: 14px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tt-info b { color: #5cc3f8; }
.tt-clear { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; }
.st-note {
  position: fixed; left: 50%; bottom: 44px; transform: translateX(-50%); z-index: 2;
  display: grid; gap: 4px; max-width: 88%; text-align: center;
  padding: 14px 20px; border-radius: 16px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.st-note strong { font-size: 17px; }
.st-note span { font-size: 14px; opacity: .92; }
.st-note em { font-style: normal; font-size: 12px; opacity: .7; margin-top: 2px; }

/* Tool: file converters (HEIC, wallpaper) */
.fz, .wp { width: 100%; max-width: 620px; display: grid; gap: 16px; }
.fz-drop {
  display: grid; gap: 4px; place-items: center; cursor: pointer;
  padding: 34px 20px; border: 2px dashed var(--border); border-radius: 16px;
  background: var(--bg-inset); transition: border-color .2s ease, background .2s ease;
}
.fz-drop.over, .fz-drop:hover { border-color: var(--accent); background: var(--accent-soft); }
.fz-drop-t { font-size: 17px; font-weight: 600; color: var(--accent-text); }
.fz-drop-s { font-size: 13px; color: var(--text-2); }
.fz-q { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); justify-content: center; }
.fz-q input { flex: 1; max-width: 200px; }
.fz-q b { color: var(--text); }
.fz-out { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.fz-item { background: var(--bg-inset); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: grid; gap: 8px; text-align: center; }
.fz-thumb { aspect-ratio: 1; display: grid; place-items: center; background: var(--bg-elev); border-radius: 8px; overflow: hidden; font-size: 12px; color: var(--text-2); }
.fz-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fz-name { font-size: 12px; color: var(--text-2); word-break: break-all; }
.fz-dl { font-size: 13px; padding: 7px 10px; }
.fz-err { color: var(--build); font-size: 15px; text-align: center; }

.wp-sel { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); text-align: left; }
.wp-sel select { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-inset); color: var(--text); font: inherit; }
.wp-choose { cursor: pointer; justify-self: center; }
.wp-stage { display: grid; gap: 12px; justify-items: center; }
.wp-img { max-height: 380px; border-radius: 18px; box-shadow: var(--shadow); }

/* Tool: microphone */
.mic { width: 100%; max-width: 620px; display: grid; gap: 16px; justify-items: center; }
.mic-meter { width: 100%; height: 26px; border-radius: 99px; background: var(--bg-inset); border: 1px solid var(--border); overflow: hidden; }
.mic-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--ok), var(--accent)); transition: width .06s linear; }
.mic-wave { width: 100%; max-width: 600px; height: 110px; background: var(--bg-inset); border: 1px solid var(--border); border-radius: 12px; }
.mic-msg, .spk-msg, .tool-wait { font-size: 16px; font-weight: 500; }

/* Tool: camera */
.cam { width: 100%; max-width: 620px; display: grid; gap: 12px; justify-items: center; }
.cam video { width: 100%; max-width: 560px; border-radius: 16px; background: #000; aspect-ratio: 4/3; object-fit: cover; }
.cam-info { font-size: 14px; color: var(--text-2); }
.cam-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Tool: speaker */
.spk { display: grid; gap: 16px; justify-items: center; width: 100%; max-width: 520px; }
.spk-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.spk-sweep { }
.spk-msg { color: var(--text-2); text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-elev); margin-top: 72px; padding: 48px 0 28px; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
}
.footer-brand { display: grid; gap: 12px; align-content: start; justify-items: start; }
.footer-brand .muted { font-size: 13.5px; line-height: 1.55; }
.footer-updated {
  /* the 10% green tint sits on the footer's raised background, which put the
     label just under AA — darken the ink rather than drop the tint */
  font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--ok) 78%, var(--fg-mix, #000));
  background: color-mix(in srgb, var(--ok) 10%, transparent);
  padding: 4px 10px; border-radius: 99px;
}
.footer-col { display: grid; gap: 9px; align-content: start; font-size: 14px; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-2); margin-bottom: 4px; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--accent-text); text-decoration: none; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
  display: grid; gap: 6px; font-size: 13px;
}
.footer-bottom .muted { font-size: 12.5px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Mobile */
@media (max-width: 720px) {
  .nav-toggle {
    display: grid; gap: 4px; margin-left: auto;
    background: none; border: none; padding: 10px; cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; background: var(--bg-elev);
    border-bottom: 1px solid var(--border); padding: 10px 16px 16px;
  }
  .site-nav.open { display: flex; }
  .hero { padding: 48px 0 40px; }
  .ticker code { margin-left: 0; }
}

/* Hero chips: centered, hugging the collage (overrides .chips/.container cascade) */
.hero .hero-chips {
  position: relative; z-index: 4;
  justify-content: center;
  margin: max(-100px, -7vw) auto 0;
  padding-bottom: 48px;
}
@media (max-width: 720px) {
  .hero .hero-chips { margin: 8px auto 0; padding-bottom: 40px; }
}

/* Recovered legacy pages: table of contents + sections */
.page-toc {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 22px; margin-bottom: 28px;
}
.toc-title { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-2); margin-bottom: 10px; }
.page-toc ul { list-style: none; display: grid; gap: 7px; }
.page-toc a { font-size: 15px; }
.rec-section { scroll-margin-top: 24px; margin-bottom: 8px; }
.rec-section h2 { margin-top: 34px; }
.rec-section:first-of-type h2 { margin-top: 8px; }

/* Homepage card rows — same language as .latest-slide, laid out as a grid */
.link-cards {
  display: grid; gap: 14px; margin: 18px 0 4px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.link-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px; color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.link-card:hover { text-decoration: none; border-color: var(--accent); background: color-mix(in srgb, var(--text) 4%, var(--bg-elev)); }
.link-card img { width: 76px; height: 76px; flex: 0 0 auto; object-fit: contain; border-radius: 14px; }
.link-card-body { display: grid; gap: 3px; line-height: 1.3; min-width: 0; }
.link-card-meta { font-size: 13.5px; color: var(--text-2); }
.link-card-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.link-card-sub { font-size: 14px; color: var(--text-2); }
.link-card-sub.is-build { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; color: var(--build); }
.link-card-sub.is-yes { color: var(--ok); font-weight: 600; }
.link-card-sub.is-no { color: var(--warn); font-weight: 600; }
.link-card.no-art, .link-card.is-more { justify-content: center; text-align: center; }
.link-card.is-more { border-style: dashed; border-color: var(--accent); }
.link-card.is-more .link-card-title { color: var(--accent-text); }
@media (max-width: 420px) {
  .link-cards { grid-template-columns: 1fr; }
  .link-card img { width: 62px; height: 62px; }
}

/* Build number tables */
.build-table-wrap { overflow-x: auto; overscroll-behavior-x: contain; margin: 18px 0 4px; -webkit-overflow-scrolling: touch; }
.build-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.build-table th, .build-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.build-table th { font-weight: 600; color: var(--text-2); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.build-table code { font-size: 14px; }
.build-table tr.is-current { background: var(--accent-soft); font-weight: 600; }

/* Article imagery */
.page-figure { margin: 22px 0; text-align: center; }
.page-figure img, .page-figure svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.page-figure img { max-height: 380px; width: auto; }
.page-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.badge-figure .version-badge { width: 100%; max-width: 320px; }
.vb-plate { fill: var(--accent-soft); stroke: var(--border); }
.vb-label { font-size: 19px; font-weight: 600; fill: var(--text-2); }
.vb-version { font-weight: 700; fill: var(--accent); }
.vb-sub { font-size: 16px; fill: var(--text-2); }
.timeline-figure .cycle-timeline { width: 100%; max-width: 640px; }
.ct-axis, .ct-tick { stroke: var(--border); stroke-width: 2; }
.ct-dot { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.ct-node.is-current .ct-dot { fill: var(--accent); }
.ct-stage { font-size: 12px; font-weight: 500; fill: var(--text-2); }
.ct-node.is-current .ct-stage { font-weight: 700; fill: var(--accent); }
.ct-date { font-size: 12px; fill: var(--text-2); }

/* Can I Update? checker */
.ciu { margin: 8px 0 28px; }
.ciu-label { display: block; font-weight: 600; margin-bottom: 8px; }
.ciu-select {
  width: 100%; max-width: 460px; padding: 13px 16px; font-size: 16px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg);
  color: var(--text); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6472' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.ciu-select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.ciu-result { margin-top: 18px; }
.ciu-placeholder { color: var(--text-2); font-size: 15px; }
.ciu-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--bg-elev); }
.ciu-card.is-yes { border-left: 4px solid var(--ok); }
.ciu-card.is-no { border-left: 4px solid var(--warn); }
.ciu-verdict { font-size: 21px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.ciu-sub { color: var(--text-2); margin: 0 0 16px; }
.ciu-facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ciu-facts li { display: flex; flex-direction: column; }
.ciu-facts span { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); }
.ciu-facts strong { font-size: 16px; }
.ciu-ai { font-size: 15px; margin: 0 0 18px; }
.ciu-ai.ok strong { color: var(--ok); }
.ciu-ai.no strong { color: var(--warn); }
.ciu-ai.na strong { color: var(--text-2); }
.ciu-more { margin: 0; }

/* Original-data tables */
.build-table tr.is-ended td { color: var(--text-2); }
.build-table tr.is-ended td a { color: var(--text-2); }
.build-table .pill {
  display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--border);
  color: var(--text-2); vertical-align: middle;
}
.build-table .muted { color: var(--text-2); }
.timeline-table td:first-child { vertical-align: top; }
.link-card-plate {
  width: 76px; height: 76px; flex: 0 0 auto; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid var(--border);
  display: grid; place-content: center; text-align: center; line-height: 1.1;
}
.link-card-plate span { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); }
.link-card-plate strong { display: block; font-size: 26px; font-weight: 700; color: var(--accent); }
/* Equal-height cards across a row, and room for two-line model names */
.link-cards { align-items: stretch; }
.link-card { align-items: center; }
.link-card-title { overflow-wrap: anywhere; }
/* Device cards carry wide hero renders (iPad, MacBook, Apple TV), which
   disappear inside a square thumbnail. Give them a landscape art box. */
#find-your-device .link-card img { width: 104px; height: 78px; border-radius: 10px; }
@media (max-width: 420px) { #find-your-device .link-card img { width: 84px; height: 63px; } }
/* Build cards carry landscape device renders too */
#latest-builds .link-card img { width: 104px; height: 78px; border-radius: 10px; }
@media (max-width: 420px) { #latest-builds .link-card img { width: 84px; height: 63px; } }

/* ---------- Site search ---------- */
.search-open {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text-2); cursor: pointer; margin-left: 10px; flex: 0 0 auto;
}
.search-open:hover { color: var(--accent-text); border-color: var(--accent-text); }
.search-panel {
  position: fixed; inset: 0; z-index: 200;
  background: color-mix(in srgb, var(--text) 45%, transparent);
  backdrop-filter: blur(3px); padding: 12vh 0 0;
}
.search-panel[hidden] { display: none; }
body.search-is-open { overflow: hidden; }
.search-inner { max-width: 680px; }
.search-form {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px; box-shadow: 0 20px 60px rgba(11,15,26,.28);
}
.search-icon { color: var(--text-2); flex: 0 0 auto; }
#search-input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text);
  font-size: 17px; outline: none; -webkit-appearance: none;
}
#search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-close {
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-2);
  border-radius: 7px; padding: 4px 8px; font-size: 12px; cursor: pointer; flex: 0 0 auto;
}
.search-results {
  margin-top: 10px; max-height: 62vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 60px rgba(11,15,26,.28);
}
.search-results:empty { display: none; }
.search-hit {
  display: grid; gap: 2px; padding: 12px 16px; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.search-hit:last-child { border-bottom: 0; }
.search-hit:hover, .search-hit.is-active { background: var(--bg-elev); text-decoration: none; }
.search-hit-cat { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-text); }
.search-hit-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.search-hit-desc {
  font-size: 13.5px; color: var(--text-2); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.search-hit mark { background: color-mix(in srgb, var(--accent) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-empty { padding: 18px 16px; color: var(--text-2); font-size: 15px; margin: 0; }
@media (max-width: 640px) {
  .search-panel { padding-top: 0; }
  .search-inner { max-width: none; }
  .search-form { border-radius: 0; border-left: 0; border-right: 0; padding: 14px 16px; }
  .search-results { margin-top: 0; border-radius: 0; border-left: 0; border-right: 0; max-height: calc(100vh - 68px); }
}

/* Hub category jump bar */
.hub-jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.hub-jump .chip { display: inline-flex; align-items: center; gap: 6px; }
.hub-jump .chip span {
  font-size: 12px; font-weight: 700; color: var(--text-2);
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 0 6px;
}
.tool-group { scroll-margin-top: 24px; }
.group-count {
  font-size: 13px; font-weight: 600; color: var(--text-2); vertical-align: middle;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px; margin-left: 8px;
}

/* ---------- Apple release notes ---------- */
/* The plain-English summary that opens a build page. Numbered because the
   points are ordered by how much a device owner would care, and set apart from
   the raw Apple notes below it so the two are never mistaken for each other. */
/* The one line on a release-date page that answers the question. Computed
   from the archive, so it is set apart from the evergreen prose around it. */
.status-line { border-left: 3px solid var(--accent); background: var(--bg-elev); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; }
.status-line code { font-size: .92em; }

.rn-summary { list-style: none; counter-reset: rnsum; margin: 18px 0 10px; padding: 0; display: grid; gap: 10px; }
.rn-summary > li {
  counter-increment: rnsum; position: relative;
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius); background: var(--bg-elev);
  padding: 14px 16px 12px 52px;
}
.rn-summary > li::before {
  content: counter(rnsum); position: absolute; left: 15px; top: 14px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-fill); color: var(--accent-fill-ink);
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.rn-summary h3 { font-size: 16.5px; font-weight: 650; line-height: 1.35; margin: 0 0 5px; overflow-wrap: anywhere; }
.rn-summary p { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 0; overflow-wrap: anywhere; }
/* Apple's exact wording behind each point. Verified verbatim at build time —
   see scripts/generate-summary.mjs — so it doubles as the provenance the
   summary claims. */
.rn-summary-quote { margin: 9px 0 0; padding: 0 0 0 11px; border-left: 2px solid var(--border); }
.rn-summary blockquote.rn-summary-quote p { font-size: 13.5px; line-height: 1.55; font-style: italic; }
.rn-summary p.rn-summary-src { font-size: 12.5px; margin-top: 6px; }
.rn-summary p.rn-summary-src strong { font-weight: 600; }
@media (max-width: 560px) {
  .rn-summary > li { padding: 12px 14px 11px 46px; }
  .rn-summary > li::before { left: 12px; top: 12px; }
}

.rn { margin: 18px 0 6px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.rn-area { border-bottom: 1px solid var(--border); }
.rn-area:last-child { border-bottom: 0; }
.rn-area > summary {
  cursor: pointer; padding: 13px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  background: var(--bg-elev); list-style: none;
}
.rn-area > summary::-webkit-details-marker { display: none; }
.rn-area > summary::before { content: "›"; color: var(--text-2); font-size: 18px; line-height: 1; transition: transform .15s ease; }
.rn-area[open] > summary::before { transform: rotate(90deg); }
.rn-area > summary:hover { background: color-mix(in srgb, var(--text) 5%, var(--bg-elev)); }
.rn-area-name { font-weight: 600; font-size: 16px; margin-right: auto; overflow-wrap: anywhere; }
.rn-tag {
  font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); background: var(--bg);
}
.rn-tag.is-new { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, var(--border)); }
.rn-tag.is-fixed { color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.rn-tag.is-known { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, var(--border)); }
.rn-group { padding: 4px 16px 14px; }
.rn-kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 12px 0 6px; color: var(--text-2); }
.rn-kind.is-new { color: var(--ok); }
.rn-kind.is-fixed { color: var(--accent-text); }
.rn-kind.is-known { color: var(--warn); }
.rn-group ul { margin: 0; padding-left: 20px; }
.rn-group li { font-size: 15px; line-height: 1.6; color: var(--text-2); margin-bottom: 6px; overflow-wrap: anywhere; }

/* ---------- Homepage strips ----------
   Five rows in the language of the top slider: one horizontal strip each,
   the same .latest-slide card, a 76px icon and three lines. A right-edge
   fade says there is more; arrows appear for a mouse. */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-head h2 { margin: 0; }
.section-more { font-weight: 600; color: var(--accent-text); white-space: nowrap; font-size: 14.5px; }
.section-head + .section-intro { margin-top: 8px; }
.strip-wrap { position: relative; }
.latest-slide.is-device img { width: 76px; height: 84px; border-radius: 0; }
.latest-slide.is-help .slide-name { white-space: normal; max-width: 240px; line-height: 1.25; }
.latest-slide .slide-build.is-yes { color: var(--ok); }
.latest-slide .slide-build.is-no { color: var(--warn); }
.slide-plate {
  width: 76px; height: 76px; border-radius: 18px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text);
}
.slide-plate svg { width: 32px; height: 32px; }
.latest-slide.is-more { background: transparent; border: 1px dashed var(--border); align-self: stretch; }
.latest-slide.is-more:hover { border-color: var(--accent-text); background: var(--accent-soft); }
.latest-slide.is-more .slide-name { color: var(--accent-text); }
.latest-slide.is-more .more-arrow { font-size: 22px; color: var(--accent-text); margin-left: 4px; }
.latest-slider.strip { scroll-snap-type: x proximity; padding: 4px 0 10px; }
.latest-slider.strip > a { scroll-snap-align: start; }
.latest-slider.can-scroll { mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.latest-slider.can-scroll.at-end { mask-image: none; -webkit-mask-image: none; }
.strip-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); box-shadow: var(--shadow); cursor: pointer;
  display: none; place-items: center; opacity: 0; transition: opacity .15s ease;
}
.strip-nav svg { width: 16px; height: 16px; }
.strip-nav.prev { left: -14px; } .strip-nav.next { right: -14px; }
@media (hover: hover) and (pointer: fine) {
  .strip-wrap .strip-nav { display: grid; }
  .strip-wrap:hover .strip-nav:not([hidden]) { opacity: 1; }
}
@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
}
.latest-slide .link-card-plate strong { font-size: 24px; }
.latest-slide .link-card-plate span { font-size: 12px; }

/* ---------- Phones: the release-card panels become swipeable rows ----------
   Fifteen release cards stacked on a phone ran to 10,600px — half the
   homepage. Each panel's grid is now a snap-scrolling row, one card at
   84% of the width with the next card's edge showing, the way the slider
   at the top already behaves. */
@media (max-width: 720px) {
  .switch-panel .grid.cards {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; padding: 4px 0 12px; margin: 0 -20px; padding-left: 20px; padding-right: 20px;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .switch-panel .grid.cards::-webkit-scrollbar { display: none; }
  .switch-panel .grid.cards > .bp-card { flex: 0 0 84%; scroll-snap-align: center; min-width: 0; }
  /* touch targets: chips and small links get a proper height */
  .chip { min-height: 40px; display: inline-flex; align-items: center; }
  .fw-ver a, .build-table td a { display: inline-block; padding: 6px 0; margin: -6px 0; }
  .tl-pill { font-size: 12px; }
}

/* ======================================================================
   House ad — DailyWall (the owner's sticky-note app). See house-ad.mjs and
   creatives.mjs. One of six creatives per unit: the app's own wall texture,
   its washi tapes and die-cut stickers (exported from the app), CSS paper
   notes in the app's palette, and on the Lock Screen card the app's real
   wallpaper on a phone. Handwriting: the iPhone's Bradley Hand where it
   exists (no download), Caveat elsewhere.
   ====================================================================== */
@font-face {
  font-family: "DW Hand";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Bradley Hand"), local("BradleyHandITCTT-Bold"), local("Bradley Hand Bold"),
       url("/fonts/caveat-600-latin.woff2") format("woff2");
}
.dw-ad {
  --dw-cork: #d3a875;
  --dw-ink: #2a2118;
  --dw-cta: #0b0f1a; --dw-cta-ink: #fff;
  margin: 28px auto 0;
  max-width: 1280px;
  padding: 0 20px;
}
@media (min-width: 768px) { .dw-ad { padding: 0 32px; } }
/* Inside an article the container already pads; the unit sits flush with the text. */
.article .dw-ad { padding: 0; max-width: none; }
.dw-ad .dw-link {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  -webkit-tap-highlight-color: transparent;
}
.dw-ad .dw-link:hover { text-decoration: none; }
.dw-ad .dw-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.dw-tag {
  position: absolute; top: 10px; right: 10px; z-index: 6;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-2); background: var(--bg); border: 1px solid var(--border);
  padding: 3px 7px; border-radius: 999px; line-height: 1.2;
}
.dw-icon { border-radius: 22%; box-shadow: 0 2px 6px rgba(0,0,0,.18); flex: 0 0 auto; }
.dw-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--dw-cta); color: var(--dw-cta-ink);
  font-weight: 700; font-size: 15px; letter-spacing: .01em; line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.45);
}
.dw-link:hover .dw-cta { transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(0,0,0,.5); }
.dw-apple { width: 16px; height: 16px; flex: 0 0 auto; margin-top: -2px; }
@media (prefers-color-scheme: dark) {
  .dw-ad { --dw-cta: #ffffff; --dw-cta-ink: #0b0f1a; }
}

/* ---- the wall ---- */
.dw-wall, .dw-mini {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--wall) center / cover no-repeat, var(--dw-cork);
  container-type: inline-size;
}
.dw-wall::before, .dw-mini::before { /* a little depth: light from the top, shade at the foot */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.14), transparent 60%), radial-gradient(90% 70% at 50% 110%, rgba(0,0,0,.16), transparent 60%);
}
.dw-wall { box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), inset 0 2px 10px rgba(0,0,0,.12); }
.dw-note {
  position: absolute; z-index: 1;
  width: 26%; aspect-ratio: 1 / 1;
  padding: 7% 5% 5%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--dw-ink);
  font-family: "DW Hand", "Marker Felt", "Noteworthy", "Segoe Print", cursive;
  font-weight: 600; line-height: 1.05;
  font-size: clamp(13px, 5.4cqw, 24px);
  transform: rotate(var(--r));
  transform-origin: 50% 12%;
  box-shadow: 0 10px 14px -8px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.35) inset;
  background: linear-gradient(170deg, rgba(255,255,255,.28), rgba(0,0,0,.02) 55%, rgba(0,0,0,.06)), var(--paper, #F7DF7B);
  overflow-wrap: normal; hyphens: none;
  will-change: transform, opacity;
}
.dw-note::after { /* the lifted bottom corner */
  content: ""; position: absolute; right: 0; bottom: 0; width: 16%; height: 16%;
  background: linear-gradient(315deg, rgba(0,0,0,.16) 0 46%, rgba(255,255,255,.55) 50%, transparent 60%);
}
/* 16:10 wall: three across the top, one below right; stickers in the gaps */
.dw-n1 { left: 6%; top: 10%; } .dw-n2 { left: 37%; top: 8%; }
.dw-n3 { left: 68%; top: 12%; } .dw-n4 { left: 52%; top: 55%; }
.dw-tape { /* the app's own washi tape, pressed on at a slight angle */
  position: absolute; left: 50%; top: -9%; z-index: 2;
  width: 64%; height: auto;
  transform: translateX(-50%) rotate(var(--tr, -3deg));
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.22));
  pointer-events: none;
}
.dw-sticker { /* the app's own die-cut sticker */
  position: absolute; z-index: 3;
  width: clamp(34px, 15cqw, 64px); height: auto;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.28));
  transform: rotate(var(--sr, 0deg));
}
.dw-s1 { --sr: -12deg; left: 14%; top: 60%; }
.dw-s2 { --sr: 10deg;  left: 84%; top: 62%; }
.dw-s3 { --sr: -8deg;  left: 34%; top: 72%; }
/* the phone: the app's real Lock Screen wallpaper in a real iPhone frame
   (one image, transparent around the rail), rising from the wall's foot */
.dw-phone {
  position: absolute; right: 5%; top: 10%; z-index: 4;
  width: 41%; height: auto;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.42));
  transform: rotate(var(--pr, -4deg));
  transform-origin: 50% 100%;
}
/* a wall with a phone on it: two notes on the left, the phone rising on the right */
.dw-wall-phone .dw-note { width: 27%; }
.dw-wall-phone .dw-n1 { left: 6%; top: 10%; } .dw-wall-phone .dw-n2 { left: 12%; top: 54%; }
.dw-wall-phone .dw-s1 { left: 31%; top: 8%; } .dw-wall-phone .dw-s2 { left: 36%; top: 64%; }

/* ---- billboard (homepage) ---- */
.dw-billboard .dw-link { grid-template-columns: 1fr; }
.dw-billboard .dw-wall { aspect-ratio: 16 / 10; order: -1; }
.dw-billboard .dw-copy { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.dw-brand { display: flex; align-items: center; gap: 12px; }
.dw-brand .dw-icon { width: 52px; height: 52px; }
.dw-kicker { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-text); line-height: 1.3; }
.dw-rating { font-size: 13px; color: var(--text-2); line-height: 1.3; }
.dw-h { font-size: clamp(24px, 6.5vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; color: var(--text); }
.dw-sub { font-size: 15px; color: var(--text-2); line-height: 1.5; max-width: 44ch; }
.dw-meta { font-size: 12px; color: var(--text-2); }
@media (min-width: 720px) {
  .dw-billboard .dw-link { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .dw-billboard .dw-wall { order: 0; aspect-ratio: auto; min-height: 320px; }
  .dw-billboard .dw-copy { padding: 30px 32px; justify-content: center; gap: 12px; }
  .dw-brand .dw-icon { width: 60px; height: 60px; }
  .dw-billboard .dw-note { width: 22%; font-size: clamp(15px, 4.6cqw, 26px); }
  .dw-billboard .dw-n1 { left: 7%; top: 10%; } .dw-billboard .dw-n2 { left: 36%; top: 6%; }
  .dw-billboard .dw-n3 { left: 66%; top: 12%; } .dw-billboard .dw-n4 { left: 50%; top: 52%; }
  .dw-billboard .dw-s1 { left: 20%; top: 60%; } .dw-billboard .dw-s2 { left: 85%; top: 58%; } .dw-billboard .dw-s3 { left: 36%; top: 70%; }
  .dw-billboard .dw-wall-phone .dw-note { width: 24%; }
  .dw-billboard .dw-wall-phone .dw-n1 { left: 7%; top: 12%; } .dw-billboard .dw-wall-phone .dw-n2 { left: 14%; top: 56%; }
  .dw-billboard .dw-wall-phone .dw-s1 { left: 38%; top: 10%; } .dw-billboard .dw-wall-phone .dw-s2 { left: 42%; top: 66%; }
  .dw-billboard .dw-phone { width: 36%; right: 7%; top: 7%; }
}

/* ---- banner (leaderboard) ---- */
/* On phones the strip of notes runs along the top and the row sits under it;
   from 640px the strip moves to the left of the row, leaderboard-style. */
.dw-banner { margin-top: 28px; }
.dw-banner .dw-link {
  grid-template-columns: auto 1fr auto; grid-template-areas: "mini mini mini" "icon text cta";
  align-items: center; gap: 12px; padding: 0 14px 12px 12px;
}
.dw-banner .dw-icon { width: 56px; height: 56px; grid-area: icon; }
.dw-banner .dw-bar-text { grid-area: text; }
.dw-banner .dw-cta { grid-area: cta; }
.dw-banner .dw-mini { grid-area: mini; height: 78px; margin: 0 -14px 2px -12px; box-shadow: inset 0 -1px 0 rgba(0,0,0,.12); }
.dw-banner .dw-mini .dw-note { width: 58px; height: 58px; aspect-ratio: auto; padding: 12px 6px 6px; font-size: 14px; }
.dw-banner .dw-mini .dw-note:nth-child(1) { left: 6%; top: 10px; }
.dw-banner .dw-mini .dw-note:nth-child(2) { left: 39%; top: 6px; }
.dw-banner .dw-mini .dw-note:nth-child(3) { left: 62%; top: 12px; }
.dw-banner .dw-mini .dw-sticker { left: 29%; top: 38px; width: 34px; }
.dw-bar-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dw-bar-text strong { font-size: 15px; line-height: 1.25; letter-spacing: -.01em; }
.dw-bar-text span { font-size: 13px; color: var(--text-2); line-height: 1.3; }
.dw-banner .dw-cta, .dw-rect .dw-cta { padding: 0 14px; min-height: 40px; font-size: 14px; }
.dw-banner .dw-tag { top: 6px; right: 8px; }
@media (min-width: 640px) {
  .dw-banner .dw-link { grid-template-columns: 210px auto 1fr auto; grid-template-areas: "mini icon text cta"; max-width: 860px; margin: 0 auto; padding: 0 14px 0 0; min-height: 96px; }
  .dw-banner .dw-mini { height: 100%; min-height: 96px; margin: 0; box-shadow: inset -1px 0 0 rgba(0,0,0,.12); }
  .dw-banner .dw-mini .dw-note { width: 60px; height: 60px; padding: 12px 6px 6px; font-size: 14px; }
  .dw-banner .dw-mini .dw-note:nth-child(1) { left: 10px; top: 12px; }
  .dw-banner .dw-mini .dw-note:nth-child(2) { left: 76px; top: 22px; }
  .dw-banner .dw-mini .dw-note:nth-child(3) { left: 142px; top: 10px; }
  .dw-banner .dw-mini .dw-sticker { left: 58px; top: 56px; width: 34px; }
  .dw-banner .dw-bar-text strong { font-size: 16px; }
}

/* ---- Lock Screen card (medium rectangle) ---- */
.dw-rect { margin-top: 28px; }
.dw-rect .dw-link { max-width: 420px; margin: 0 auto; grid-template-rows: auto auto; }
.dw-rect .dw-wall { aspect-ratio: 4 / 3; }
.dw-rect .dw-wall-phone .dw-note { width: 30%; }
.dw-rect .dw-wall-phone .dw-n1 { left: 5%; top: 8%; } .dw-rect .dw-wall-phone .dw-n2 { left: 9%; top: 54%; }
.dw-rect .dw-wall-phone .dw-s1 { left: 34%; top: 4%; } .dw-rect .dw-wall-phone .dw-s2 { left: 36%; top: 72%; }
.dw-rect .dw-phone { width: 47%; right: 3%; top: 6%; }
.dw-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; }
.dw-bar .dw-icon { width: 44px; height: 44px; }
.dw-bar .dw-bar-text strong { font-size: 14px; }
.dw-bar .dw-bar-text span { font-size: 12px; }

/* ---- motion: notes land, tape presses, stickers pop, the phone rises; then the wall lives ---- */
.dw-ad .dw-note, .dw-ad .dw-sticker, .dw-ad .dw-phone { opacity: 0; }
.dw-ad .dw-tape { transform: translateX(-50%) rotate(var(--tr, -3deg)) scaleX(0); }
.dw-ad.is-in .dw-note { animation: dwLand .62s cubic-bezier(.2, .9, .25, 1.15) forwards; animation-delay: var(--d, 0s); }
.dw-ad.is-in .dw-note .dw-tape { animation: dwPress .3s cubic-bezier(.2, .8, .3, 1) forwards; animation-delay: calc(var(--d, 0s) + .38s); }
.dw-ad.is-in .dw-sticker { animation: dwPop .5s cubic-bezier(.2, 1.1, .3, 1.2) forwards; animation-delay: var(--d, .9s); }
.dw-ad.is-in .dw-phone { animation: dwRise .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: .25s; }
.dw-wall .dw-note.is-landing { animation: dwLand2 .62s cubic-bezier(.2, .9, .25, 1.15) forwards !important; animation-delay: 0s !important; }
.dw-wall .dw-note.is-landing .dw-tape { animation: dwPress .3s cubic-bezier(.2, .8, .3, 1) forwards !important; animation-delay: .38s !important; }
.dw-wall .dw-note.is-leaving { animation: dwLeave .42s cubic-bezier(.5, 0, .8, .4) forwards !important; animation-delay: 0s !important; }
.dw-wall .dw-note.is-leaving .dw-tape { animation: none !important; transform: translateX(-50%) rotate(var(--tr, -3deg)) scaleX(1); }
.dw-wall .dw-sticker.is-pop-a { animation: dwPopA .5s cubic-bezier(.2, 1.1, .3, 1.2) forwards !important; animation-delay: 0s !important; }
.dw-wall .dw-sticker.is-pop-b { animation: dwPopB .5s cubic-bezier(.2, 1.1, .3, 1.2) forwards !important; animation-delay: 0s !important; }
.dw-n1 { --d: .05s; } .dw-n2 { --d: .25s; } .dw-n3 { --d: .45s; } .dw-n4 { --d: .65s; }
.dw-s1 { --d: 1.05s; } .dw-s2 { --d: 1.25s; } .dw-s3 { --d: 1.45s; }
@keyframes dwLand {
  0%   { opacity: 0; transform: translateY(-36px) rotate(calc(var(--r) - 7deg)) scale(1.06); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(var(--r)) scale(1); }
}
@keyframes dwLand2 {
  0%   { opacity: 0; transform: translateY(-36px) rotate(calc(var(--r) - 7deg)) scale(1.06); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(var(--r)) scale(1); }
}
@keyframes dwPress { from { transform: translateX(-50%) rotate(var(--tr, -3deg)) scaleX(0); } to { transform: translateX(-50%) rotate(var(--tr, -3deg)) scaleX(1); } }
@keyframes dwPop {
  0%   { opacity: 0; transform: rotate(calc(var(--sr, 0deg) - 25deg)) scale(0); }
  70%  { opacity: 1; transform: rotate(calc(var(--sr, 0deg) + 4deg)) scale(1.18); }
  100% { opacity: 1; transform: rotate(var(--sr, 0deg)) scale(1); }
}
@keyframes dwPopA {
  0%   { opacity: 0; transform: rotate(calc(var(--sr, 0deg) - 25deg)) scale(0); }
  70%  { opacity: 1; transform: rotate(calc(var(--sr, 0deg) + 4deg)) scale(1.18); }
  100% { opacity: 1; transform: rotate(var(--sr, 0deg)) scale(1); }
}
@keyframes dwPopB {
  0%   { opacity: 1; transform: rotate(var(--sr, 0deg)) scale(1); }
  40%  { transform: rotate(calc(var(--sr, 0deg) - 10deg)) scale(.7); }
  75%  { transform: rotate(calc(var(--sr, 0deg) + 5deg)) scale(1.2); }
  100% { opacity: 1; transform: rotate(var(--sr, 0deg)) scale(1); }
}
@keyframes dwLeave {
  0%   { opacity: 1; transform: translateY(0) rotate(var(--r)) scale(1); }
  100% { opacity: 0; transform: translateY(48px) rotate(calc(var(--r) + 14deg)) scale(.92); }
}
@keyframes dwRise {
  0%   { opacity: 0; transform: translateY(40px) rotate(calc(var(--pr, -4deg) + 3deg)); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--pr, -4deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .dw-ad .dw-note, .dw-ad .dw-sticker, .dw-ad .dw-phone { opacity: 1; animation: none !important; }
  .dw-ad .dw-tape { transform: translateX(-50%) rotate(var(--tr, -3deg)) scaleX(1); animation: none !important; }
  .dw-link:hover .dw-cta { transform: none; }
}
