/* 专注星球 site styles: homepage + blog. Light theme: sky, glass, soft blue. */
:root {
  color-scheme: light;
  --section: 160px;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --text: #0a1324;
  --text-2: rgba(10, 19, 36, 0.66);
  --text-3: rgba(10, 19, 36, 0.46);
  --hair: rgba(10, 19, 36, 0.08);
  --hair-2: rgba(10, 19, 36, 0.14);
  --accent: #1677ff;
  --accent-2: #5b9cf6;
  --accent-soft: #e7f0ff;
  --mint: #12b886;
  --amber: #f59f00;
  --red: #ff5a4e;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 6px 20px -8px rgba(16, 24, 40, 0.1);
  --shadow-md: 0 2px 4px rgba(16, 24, 40, 0.04), 0 20px 44px -18px rgba(28, 58, 120, 0.22);
  --shadow-lg: 0 60px 120px -40px rgba(28, 72, 160, 0.38), 0 24px 48px -24px rgba(16, 24, 40, 0.22);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "SF Pro Display", -apple-system, "HarmonyOS Sans", "MiSans", var(--font);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: rgba(22, 119, 255, 0.18);
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Headline phrases stay together; lines break only between them */
.ph {
  display: inline-block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(180deg, #1466df 0%, #0d5ed7 55%, #0a55c9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(16, 24, 40, 0.12), 0 12px 28px -10px rgba(22, 119, 255, 0.65);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.06) 50%, transparent 75%);
  translate: -120% 0;
  transition: translate 800ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(16, 24, 40, 0.12), 0 18px 36px -12px rgba(22, 119, 255, 0.75);
}

.button:hover::after {
  translate: 120% 0;
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-small {
  min-height: 38px;
  padding: 0 18px;
  font-size: 14px;
}

.button-lg {
  min-height: 58px;
  padding: 0 36px;
  font-size: 17px;
}

.button-quiet {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px var(--hair-2), 0 6px 20px -10px rgba(16, 24, 40, 0.18);
  color: var(--text);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.button-quiet::after {
  background: linear-gradient(110deg, transparent 25%, rgba(22, 119, 255, 0.12) 50%, transparent 75%);
}

.button-quiet:hover {
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.35), 0 10px 26px -12px rgba(16, 24, 40, 0.22);
}

/* Header: floating glass pill */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0 0;
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 58px;
  padding: 0 10px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 1px 0 rgba(10, 19, 36, 0.04), 0 10px 30px -14px rgba(28, 58, 120, 0.22);
  backdrop-filter: saturate(1.8) blur(22px);
  -webkit-backdrop-filter: saturate(1.8) blur(22px);
  transition: box-shadow 300ms var(--ease), background-color 300ms var(--ease);
}

.scrolled .site-header-inner {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(10, 19, 36, 0.05), 0 16px 40px -18px rgba(28, 58, 120, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 4px 10px -4px rgba(22, 119, 255, 0.5);
}

.site-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--text-2);
}

.site-nav a {
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 200ms ease, background-color 200ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(10, 19, 36, 0.05);
  color: var(--text);
}

/* Footer */
.site-footer {
  margin-top: 120px;
  padding: 72px 0 36px;
  border-top: 1px solid var(--hair);
  background: var(--surface);
  font-size: 14px;
  color: var(--text-2);
}

main:has(> .final:last-child) + .site-footer {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-about p {
  max-width: 340px;
  margin-top: 16px;
  color: var(--text-3);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-title {
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  font-size: 13px;
  color: var(--text-3);
}

.footer-bottom a {
  text-decoration: none;
}

/* Shared type */
.eyebrow,
.feature-name,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 999px;
  background: rgba(231, 240, 255, 0.8);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
}

.section-title {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-title-center {
  text-align: center;
}

.section-lead {
  max-width: 34em;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 18px;
}

/* Phone frame: full screenshot, never cropped */
.phone {
  position: relative;
  margin: 0;
  padding: 8px;
  border-radius: 50px;
  background: linear-gradient(145deg, #f4f5f7 0%, #c9cdd4 16%, #9aa0aa 48%, #d7dae0 80%, #f7f8fa 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 0 0 0 4px #1b1c1f,
    var(--shadow-lg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 22%;
  right: -3px;
  width: 3px;
  height: 11%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #a4a9b2, #e6e8ec);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 42px;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 30%);
  pointer-events: none;
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 42px;
  background: #eef3fb;
}

/* 3D tilt: base pose + pointer offset (--rx/--ry set by motion.js) */
.tilt {
  --rx: 0deg;
  --ry: 0deg;
  --base-rx: 0deg;
  --base-ry: 0deg;
  --base-rz: 0deg;
  transform: perspective(1600px) rotateX(calc(var(--base-rx) + var(--rx))) rotateY(calc(var(--base-ry) + var(--ry))) rotateZ(var(--base-rz));
  transform-style: preserve-3d;
  transition: transform 700ms var(--ease);
  will-change: transform;
}

/* Solid phone (motion.js): front face + stacked titanium layers + back.
   --t is the body thickness; the flat .phone frame above is the no-JS look. */
.phone.solid {
  --t: 30px;
  padding: 0;
  border-radius: 50px;
  background: none;
  box-shadow: none;
}

.phone.solid::before,
.phone.solid::after {
  content: none;
}

.ph-front,
.ph-back,
.ph-layer,
.ph-body {
  display: block;
  border-radius: inherit;
}

.ph-front {
  position: relative;
  padding: 8px;
  background: linear-gradient(145deg, #eef0f3 0%, #b7bcc5 18%, #858c98 50%, #c3c8d0 82%, #eef0f3 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    inset 0 0 0 4px #15161a;
  transform: translateZ(calc(var(--t) / 2));
  backface-visibility: hidden;
}

.ph-front::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 42px;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
}

.ph-body,
.ph-back,
.ph-buttons {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}

.ph-layer {
  position: absolute;
  inset: 0;
  transform: translateZ(calc(var(--t) * var(--z)));
}

.ph-back {
  background: linear-gradient(160deg, #e9ebef, #b9bec7);
  box-shadow: 0 60px 90px -40px rgba(16, 32, 72, 0.45), 0 30px 50px -30px rgba(16, 32, 72, 0.3);
  transform: translateZ(calc(var(--t) / -2 - 0.5px));
}

/* Side buttons sit on the right edge, facing outward */
.ph-btn {
  position: absolute;
  left: calc(100% - 1px);
  width: calc(var(--t) * 0.46);
  border-radius: 3px;
  background: linear-gradient(180deg, #d3d7dd, #8f95a0 50%, #c4c8cf);
  transform-origin: 0 50%;
  transform: translateZ(calc(var(--t) * 0.23)) rotateY(90deg);
}

.ph-btn-1 {
  top: 19%;
  height: 7%;
}

.ph-btn-2 {
  top: 28%;
  height: 12%;
}

/* ---------- Homepage ---------- */
/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: -72px;
  padding: 168px 0 0;
  overflow: hidden;
  --p: 0;
}

.hero-bg {
  position: absolute;
  inset: 0 0 -10%;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(246, 248, 252, 0) 0%, rgba(246, 248, 252, 0) 62%, var(--bg) 92%),
    url("/assets/home/sky-hero.webp") center top / cover no-repeat,
    linear-gradient(180deg, #dbe8ff, #f6f8fc);
  transform: translateY(calc(var(--p) * 18%)) scale(calc(1 + var(--p) * 0.06));
  transform-origin: 50% 0;
}

/* Keeps the hero's bottom edge soft while the sky parallaxes */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 240px;
  background: linear-gradient(180deg, rgba(246, 248, 252, 0), var(--bg) 85%);
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  width: 1200px;
  height: 900px;
  translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%);
}

.cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%);
  filter: blur(6px);
  animation: cloud-drift 60s linear infinite;
}

.cloud-1 {
  top: 46%;
  left: -20%;
  width: 760px;
  height: 260px;
}

.cloud-2 {
  top: 64%;
  left: -40%;
  width: 980px;
  height: 320px;
  opacity: 0.8;
  animation-duration: 90s;
  animation-delay: -40s;
}

@keyframes cloud-drift {
  to { translate: 180vw 0; }
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: calc(1 - var(--p) * 1.6);
  transform: translateY(calc(var(--p) * -60px));
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 24px -12px rgba(28, 58, 120, 0.3);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(18, 184, 134, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(18, 184, 134, 0.06); }
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #0a1324 30%, #2a4a86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 31em;
  margin-top: 26px;
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 13px;
}

/* Load sequence */
.hero-tag,
.hero h1,
.hero-lead,
.hero-actions,
.hero-note {
  animation: rise-in 900ms var(--ease) both;
}

.hero h1 { animation-delay: 80ms; }
.hero-lead { animation-delay: 180ms; }
.hero-actions { animation-delay: 260ms; }
.hero-note { animation-delay: 320ms; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Hero stage: AI conversation around the phone */
.stage {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 72px auto 0;
  transform: translateY(calc(var(--p) * -80px));
}

.stage-float {
  animation: phone-rise 1200ms 200ms var(--ease) both;
}

.stage-phone {
  position: relative;
  width: 340px;
  margin: 0 auto;
  --t: 40px;
  --base-rx: 8deg;
  --base-ry: -24deg;
  --base-rz: 1.5deg;
}

@keyframes phone-rise {
  from { opacity: 0; transform: translateY(160px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

.bubble {
  position: absolute;
  z-index: 2;
  max-width: 300px;
  padding: 15px 19px 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 30px 60px -28px rgba(28, 58, 120, 0.38), 0 2px 6px rgba(16, 24, 40, 0.05);
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  animation: bubble-in 700ms var(--ease) both;
}

.bubble-who {
  display: block;
  margin-bottom: 4px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
}

.bubble-me {
  border-color: transparent;
  background: linear-gradient(180deg, #2f8bff, #1677ff);
  color: #fff;
  box-shadow: 0 30px 60px -28px rgba(22, 119, 255, 0.7);
}

.bubble-me .bubble-who {
  color: rgba(255, 255, 255, 0.7);
}

.bubble-alert {
  border-color: rgba(255, 90, 78, 0.25);
}

.bubble-alert .bubble-who {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
}

.bubble-alert .bubble-who::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 90, 78, 0.18);
}

.bubble-1 {
  top: 92px;
  right: calc(50% + 214px);
  border-bottom-right-radius: 6px;
  animation-delay: 700ms;
}

.bubble-2 {
  top: 200px;
  left: calc(50% + 214px);
  border-bottom-left-radius: 6px;
  animation-delay: 1400ms;
}

.bubble-3 {
  top: 318px;
  right: calc(50% + 214px);
  border-bottom-right-radius: 6px;
  animation-delay: 2100ms;
}

.bubble-4 {
  top: 460px;
  left: calc(50% + 214px);
  animation-delay: 3000ms;
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(16px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

/* Stores marquee */
.stores {
  padding: 72px 0 0;
  text-align: center;
}

.stores-label {
  color: var(--text-3);
  font-size: 14px;
}

.marquee {
  margin-top: 18px;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  color: var(--text-2);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  animation: marquee 36s linear infinite;
}

.marquee-track li {
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 28px)); }
}
/* AI statement */
.statement {
  position: relative;
  padding: var(--section) 0 72px;
  text-align: center;
}

.statement .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.statement-title {
  max-width: 15em;
  margin-top: 30px;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

@supports (animation-timeline: view()) {
  .statement-title > .ph {
    animation: ink linear both;
    animation-timeline: view();
  }

  .statement-title > .ph:nth-child(1) { animation-range: entry 30% cover 34%; }
  .statement-title > .ph:nth-child(2) { animation-range: entry 45% cover 40%; }
  .statement-title > .ph:nth-child(3) { animation-range: entry 60% cover 46%; }
  .statement-title > .ph:nth-child(4) { animation-range: entry 75% cover 52%; }

  @keyframes ink {
    from { color: rgba(10, 19, 36, 0.14); }
    to { color: var(--text); }
  }
}

.statement-title > .ph:nth-child(-n + 2) {
  color: var(--text-3);
}

@supports (animation-timeline: view()) {
  .statement-title > .ph:nth-child(-n + 2) {
    animation-name: ink-muted;
  }

  @keyframes ink-muted {
    from { color: rgba(10, 19, 36, 0.1); }
    to { color: var(--text-3); }
  }
}

/* AI story: pinned phone, steps driven by scroll */
.story {
  position: relative;
  --sp: 0;
}

.story-sticky {
  padding: 40px 0 var(--section);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.story-steps {
  position: relative;
  display: grid;
  gap: 40px;
  margin: 0;
  padding: 0 0 0 36px;
  list-style: none;
}

.story-steps::before,
.story-steps::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--hair);
}

.story-steps::after {
  bottom: auto;
  height: calc((100% - 16px) * var(--sp));
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.story-steps li {
  position: relative;
  transition: opacity 500ms var(--ease);
}

.story-steps li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -42px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--hair-2);
  box-shadow: 0 0 0 1px var(--hair-2);
  transition: background-color 400ms ease, box-shadow 400ms ease;
}

.story-steps h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.story-steps p {
  max-width: 20em;
  margin-top: 10px;
  color: var(--text-2);
  font-size: 18px;
}

.story-device {
  --pw: min(320px, calc((100svh - 120px) * 0.44));
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 24px 0;
}

.story-halo {
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(var(--pw) * -0.35);
  width: calc(var(--pw) * 1.7);
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(91, 156, 246, 0.42), rgba(91, 156, 246, 0) 70%);
  filter: blur(30px);
  transition: background 800ms ease;
}

.story-phone {
  width: var(--pw);
  margin-right: 4%;
  --t: 36px;
  --base-rx: 6deg;
  --base-ry: calc(-28deg + var(--sp, 0) * 14deg);
  --base-rz: 1deg;
  transition: transform 400ms var(--ease);
}

.scan {
  position: absolute;
  inset: 8px;
  overflow: hidden;
  border-radius: 42px;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  height: 18%;
  background: linear-gradient(180deg, rgba(18, 184, 134, 0), rgba(18, 184, 134, 0.1) 70%, rgba(18, 184, 134, 0.32) 97%, rgba(18, 184, 134, 0));
  animation: scan 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes scan {
  to { top: 100%; }
}

.story .sb {
  animation: none;
  max-width: 280px;
}

/* Conversation column left of the phone: AI on the left, "me" leaning into the phone */
.story .sb { width: max-content; max-width: 250px; }
.sb-1,
.sb-3,
.sb-4 { left: 0; border-bottom-left-radius: 6px; }
.sb-2 { right: calc(4% + var(--pw) + 16px); border-bottom-right-radius: 6px; }
.sb-1 { top: 18%; }
.sb-2 { top: 31%; }
.sb-3 { top: 48%; }
.sb-4 { top: 63%; }

.story-foot {
  margin-top: 56px;
  color: var(--text-3);
  font-size: 15px;
  text-align: center;
}

/* Pinned mode (JS on) */
.js .story {
  height: 330vh;
}

.js .story-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  padding: 72px 0 0;
}

.js .story-steps li {
  opacity: 0.28;
}

.js .story[data-step="1"] li[data-step="1"],
.js .story[data-step="2"] li[data-step="2"],
.js .story[data-step="3"] li[data-step="3"] {
  opacity: 1;
}

.js .story[data-step="1"] li[data-step="1"]::before,
.js .story[data-step="2"] li[data-step="2"]::before,
.js .story[data-step="3"] li::before {
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 6px rgba(22, 119, 255, 0.15);
}

.js .story[data-step="2"] li[data-step="1"]::before {
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.js .story .sb {
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition: opacity 500ms var(--ease), transform 600ms var(--ease);
}

.js .story[data-step="1"] .sb-1,
.js .story[data-step="1"] .sb-2,
.js .story[data-step="2"] .sb-3,
.js .story[data-step="3"] .sb-4 {
  opacity: 1;
  transform: none;
}

.js .story[data-step="2"] .sb-1,
.js .story[data-step="2"] .sb-2,
.js .story[data-step="3"] .sb-1,
.js .story[data-step="3"] .sb-2,
.js .story[data-step="3"] .sb-3 {
  opacity: 0.45;
  transform: scale(0.96);
  filter: saturate(0.6);
}

.js .story[data-step="1"] .sb-2 {
  transition-delay: 250ms;
}

.js .story[data-step="2"] .scan {
  opacity: 1;
}

.js .story[data-step="2"] .story-halo {
  background: radial-gradient(50% 50% at 50% 50%, rgba(18, 184, 134, 0.36), rgba(18, 184, 134, 0) 70%);
}

.js .story[data-step="3"] .story-halo {
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 90, 78, 0.3), rgba(255, 90, 78, 0) 70%);
}

.js .story[data-step="3"] .story-phone {
  animation: nudge 600ms var(--ease);
}

@keyframes nudge {
  20% { translate: -8px 0; }
  45% { translate: 7px 0; }
  70% { translate: -4px 0; }
}

.js .story-foot {
  margin-top: 40px;
  opacity: calc(1 - var(--sp) * 3);
}

.js .story[data-step="3"] .story-foot {
  opacity: 0;
}

/* Showcase: pinned device, screens swap as copy scrolls */
.showcase {
  padding: 0 0 var(--section);
}

.showcase-head,
.more-head,
.uses-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.showcase-grid {
  margin-top: 40px;
}

.show-item {
  padding: 56px 0;
}

.show-item + .show-item {
  border-top: 1px solid var(--hair);
}

.show-item h3 {
  margin-top: 22px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.show-item > p:not(.feature-name) {
  max-width: 27em;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 18px;
}

.feature-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 400ms var(--ease);
}

.feature-link a:hover {
  background-size: 100% 1.5px;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 16.5px;
}

.ticks li {
  position: relative;
  padding-left: 32px;
}

.ticks li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231677ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.show-inline {
  width: min(280px, 76%);
  margin: 44px auto 0;
}

.show-inline-duo {
  display: flex;
  gap: 14px;
  width: min(440px, 100%);
}

.show-inline-duo .phone {
  flex: 1;
  padding: 6px;
  border-radius: 34px;
}

.show-inline-duo .phone img {
  border-radius: 28px;
}

.show-inline-duo .phone::after {
  inset: 6px;
  border-radius: 28px;
}

.showcase-device {
  display: none;
}

@media (min-width: 961px) {
  .js .showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 72px;
    margin-top: 0;
  }

  .js .show-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 0;
    border: 0;
    opacity: 0.22;
    transition: opacity 600ms var(--ease);
  }

  .js .showcase[data-active="0"] .show-item[data-i="0"],
  .js .showcase[data-active="1"] .show-item[data-i="1"],
  .js .showcase[data-active="2"] .show-item[data-i="2"] {
    opacity: 1;
  }

  .js .show-inline {
    display: none;
  }

  .js .showcase-device {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    height: 100vh;
  }
}

.device-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: min(780px, calc(100vh - 120px));
  margin-top: 40px;
}

.device-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 48px;
  background:
    linear-gradient(180deg, rgba(246, 248, 252, 0) 55%, rgba(246, 248, 252, 0.85) 100%),
    url("/assets/home/sky-hero.webp") center 30% / cover no-repeat,
    #eaf2ff;
  box-shadow: var(--shadow-md);
}

/* Soft contact shadow under the phone */
.device-bg::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7%;
  width: 46%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 40, 90, 0.28), rgba(20, 40, 90, 0));
  transform: translateX(-50%);
  filter: blur(6px);
}

.device-phone {
  position: relative;
  z-index: 1;
  width: min(300px, calc((100vh - 220px) * 0.45));
  --t: 34px;
  --base-rx: 5deg;
  --base-ry: -24deg;
  --base-rz: 1deg;
  translate: 0 0;
  transition: transform 700ms var(--ease), translate 900ms var(--ease);
}

.screens {
  display: grid;
  overflow: hidden;
  border-radius: 42px;
  background: #eef3fb;
}

.screens img {
  grid-area: 1 / 1;
  border-radius: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 700ms var(--ease), transform 900ms var(--ease);
}

.showcase[data-active="0"] .screen-0,
.showcase[data-active="1"] .screen-1,
.showcase[data-active="2"] .screen-2 {
  opacity: 1;
  transform: none;
}

.device-phone-2 {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(240px, calc((100vh - 260px) * 0.36));
  opacity: 0;
  transform: translate(30%, -40%) rotate(6deg) scale(0.9);
  transition: opacity 700ms var(--ease), transform 900ms var(--ease);
}

.showcase[data-active="2"] .device-phone {
  translate: -26% 0;
}

.showcase[data-active="2"] .device-phone-2 {
  opacity: 1;
  transform: translate(8%, -44%) rotate(4deg);
}

/* Glass chips around the device */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 11px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 50px -22px rgba(28, 58, 120, 0.45), 0 2px 6px rgba(16, 24, 40, 0.05);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  transition: opacity 500ms var(--ease), transform 700ms var(--ease);
}

.chip small {
  display: block;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 500;
}

.chip i {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(180deg, #2f8bff, #1677ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -6px rgba(22, 119, 255, 0.7);
}

.chip i::before,
.viz-shield i::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  -webkit-mask: var(--icon) center / 18px no-repeat;
  mask: var(--icon) center / 18px no-repeat;
}

.chip-ok i {
  background: linear-gradient(180deg, #2bd49b, #12b886);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -6px rgba(18, 184, 134, 0.7);
}

/* Chips hang off the panel edge so they never cover screenshot text */
.chip-a { top: 22%; left: -5%; }
.chip-b { bottom: 18%; right: -5%; }
.showcase[data-active="2"] .chip-a { top: auto; bottom: 14%; left: -5%; }

.showcase[data-active="0"] .chip[data-for="0"],
.showcase[data-active="1"] .chip[data-for="1"],
.showcase[data-active="2"] .chip[data-for="2"] {
  opacity: 1;
  transform: none;
  transition-delay: 250ms;
  animation: float 7s 900ms ease-in-out infinite;
}

.showcase[data-active] .chip-b[data-for] {
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.icon-block { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M5.6 5.6l12.8 12.8'/%3E%3C/svg%3E"); }
.icon-chat { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
.icon-timer { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 9v4l2.5 2.5M9 2h6'/%3E%3C/svg%3E"); }
.icon-moon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E"); }
.icon-lock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='10' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }

/* Anti-bypass bento */
.more {
  padding: 0 0 var(--section);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 40px 40px 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  background: linear-gradient(180deg, #ffffff, #f7f9fd);
  box-shadow: var(--shadow-sm);
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tile-strict,
.tile-stats {
  grid-column: span 2;
}

.tile h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tile p {
  max-width: 24em;
  margin-top: 10px;
  color: var(--text-2);
  font-size: 16px;
}

.viz {
  margin-top: auto;
  padding-top: 32px;
}

.viz-seg {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.06);
  margin-top: auto;
}

.viz-seg span {
  padding: 9px 20px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 500ms var(--ease), color 500ms var(--ease), box-shadow 500ms var(--ease);
}

.viz-seg {
  padding-top: 5px;
}

.tile.in .viz-seg .on {
  background: #fff;
  box-shadow: 0 4px 12px -4px rgba(16, 24, 40, 0.18);
  color: var(--accent);
  transition-delay: 600ms;
}

.viz-shield {
  position: absolute;
  top: 40px;
  right: 40px;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  margin: 0;
  padding: 0;
  border-radius: 36px;
  background: linear-gradient(160deg, #6fb0ff 0%, #1677ff 60%, #0d5fe0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 30px 60px -20px rgba(22, 119, 255, 0.6);
  animation: float 6s ease-in-out infinite;
}

.viz-shield i {
  display: block;
  width: 56px;
  height: 56px;
}

.viz-shield i::before {
  -webkit-mask-size: 56px;
  mask-size: 56px;
}

.viz-options {
  display: grid;
  gap: 10px;
}

.viz-options span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 600ms var(--ease), transform 700ms var(--ease);
}

.viz-options span::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--hair-2);
  border-radius: 50%;
}

.viz-options span:first-child::before {
  border: 5px solid var(--accent);
}

.tile.in .viz-options span {
  opacity: 1;
  transform: none;
}

.tile.in .viz-options span:nth-child(2) { transition-delay: 120ms; }
.tile.in .viz-options span:nth-child(3) { transition-delay: 240ms; }

.viz-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 12px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.viz-apps span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 600ms cubic-bezier(0.3, 1.5, 0.5, 1), opacity 400ms ease;
}

.viz-apps span::before {
  content: "";
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--g);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 20px -10px var(--s);
}

.a1 { --g: linear-gradient(160deg, #5de08a, #22b45a); --s: rgba(34, 180, 90, 0.7); }
.a2 { --g: linear-gradient(160deg, #7fe07a, #2fbf4a); --s: rgba(47, 191, 74, 0.7); }
.a3 { --g: linear-gradient(160deg, #ffb36b, #ff7a2f); --s: rgba(255, 122, 47, 0.7); }
.a4 { --g: linear-gradient(160deg, #ff8a8a, #ee4d4d); --s: rgba(238, 77, 77, 0.7); }
.a5 { --g: linear-gradient(160deg, #7fb6ff, #2b7bff); --s: rgba(43, 123, 255, 0.7); }
.a6 { --g: linear-gradient(160deg, #9b8cff, #6a5cff); --s: rgba(106, 92, 255, 0.7); }

.tile.in .viz-apps span {
  transform: none;
  opacity: 1;
}

.tile.in .viz-apps span:nth-child(2) { transition-delay: 60ms; }
.tile.in .viz-apps span:nth-child(3) { transition-delay: 120ms; }
.tile.in .viz-apps span:nth-child(4) { transition-delay: 180ms; }
.tile.in .viz-apps span:nth-child(5) { transition-delay: 240ms; }
.tile.in .viz-apps span:nth-child(6) { transition-delay: 300ms; }

.viz-bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 190px;
}

.viz-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 12px;
  background: linear-gradient(180deg, #dbe7ff, #c7d9fb);
  transform: scaleY(0.04);
  transform-origin: bottom;
  transition: transform 1000ms var(--ease);
}

.viz-bars .on {
  background: linear-gradient(180deg, #4b9bff, #1677ff);
  box-shadow: 0 14px 30px -12px rgba(22, 119, 255, 0.7);
}

.tile.in .viz-bars span {
  transform: none;
}

.tile.in .viz-bars span:nth-child(2) { transition-delay: 60ms; }
.tile.in .viz-bars span:nth-child(3) { transition-delay: 120ms; }
.tile.in .viz-bars span:nth-child(4) { transition-delay: 180ms; }
.tile.in .viz-bars span:nth-child(5) { transition-delay: 240ms; }
.tile.in .viz-bars span:nth-child(6) { transition-delay: 300ms; }
.tile.in .viz-bars span:nth-child(7) { transition-delay: 360ms; }

.compare {
  margin-top: var(--section);
}

.compare .table-wrap {
  margin-top: 44px;
}

.compare thead th:last-child,
.compare tbody td:last-child {
  background: rgba(231, 240, 255, 0.7);
  color: var(--text);
}

.compare thead th:last-child {
  color: var(--accent);
}

.note {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 13.5px;
}

.note a {
  color: var(--accent);
}

/* Use cases */
.uses {
  padding: 0 0 var(--section);
}

.use-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.use-list a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}

.use-list a:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.use-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.use-list a:hover .use-img {
  transform: scale(1.05);
}

.use-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
  background: #fff;
}

.use-time {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.use-title {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.use-desc {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.use-more {
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

/* Latest posts */
.latest {
  padding: 0 0 var(--section);
}

.latest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
}

.latest-head a {
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--hair-2);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 200ms ease, color 200ms ease;
}

.latest-head a:hover {
  box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--accent);
}

/* FAQ */
.faq {
  padding: 0 0 var(--section);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: start;
}

.faq-grid > .section-title {
  position: sticky;
  top: 120px;
}

.faq-list {
  border-top: 1px solid var(--hair-2);
}

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

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 200ms ease;
}

.faq-list summary:hover {
  color: var(--accent);
}

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

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 400ms var(--ease);
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0deg);
}

.faq-list details p {
  max-width: 40em;
  padding: 0 0 26px;
  color: var(--text-2);
  font-size: 16.5px;
}

.faq-list details[open] p {
  animation: fade-down 500ms var(--ease);
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-8px); }
}

.faq-list details a {
  color: var(--accent);
}

/* Final CTA */
.final {
  position: relative;
  isolation: isolate;
  padding: 200px 0 220px;
  overflow: hidden;
}

.final-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(246, 248, 252, 0) 30%),
    url("/assets/home/sky-final.webp") center bottom / cover no-repeat,
    #e3edff;
  animation: slow-zoom 30s ease-in-out infinite alternate;
}

@keyframes slow-zoom {
  to { transform: scale(1.08); }
}

.final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-inner img {
  width: 104px;
  height: 104px;
  border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 30px 60px -20px rgba(22, 119, 255, 0.55);
  animation: float 6s ease-in-out infinite;
}

.final-inner h2 {
  margin-top: 36px;
  font-size: clamp(44px, 7vw, 100px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.final-inner p {
  max-width: 30em;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 18px;
}

.final-inner .button {
  margin-top: 40px;
}

/* Reveal on scroll (JS adds .in) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1000ms var(--ease), transform 1100ms var(--ease);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

.js .bento > :nth-child(2),
.js .use-list > :nth-child(2) { transition-delay: 90ms; }
.js .bento > :nth-child(3),
.js .use-list > :nth-child(3) { transition-delay: 180ms; }
.js .bento > :nth-child(4),
.js .use-list > :nth-child(4) { transition-delay: 270ms; }

.js .tile[data-reveal].in:hover {
  transform: translateY(-4px);
  transition-delay: 0ms;
}
/* ---------- Shared: tables, post cards ---------- */
.table-wrap {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--hair);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

.table-wrap th,
.table-wrap td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--hair);
  color: var(--text-2);
  text-align: left;
  vertical-align: top;
}

.table-wrap thead th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.table-wrap tbody th {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

.table-wrap tr:last-child th,
.table-wrap tr:last-child td {
  border-bottom: 0;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}

.post-card a:hover {
  border-color: var(--hair-2);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.post-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.post-card a:hover .post-card-img,
.hub-feature a:hover img {
  transform: scale(1.04);
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 22px;
}

.post-card-cat {
  color: var(--text-3);
  font-size: 13px;
}

.post-card-title {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.post-card-desc {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--text-3);
  font-size: 13px;
}

/* ---------- Blog hub ---------- */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 13px;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 4px;
  color: var(--hair-2);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--text);
}

.crumbs li[aria-current="page"] {
  max-width: 22em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 88px 0 24px;
  text-align: center;
}

.hub-head h1 {
  margin-top: 28px;
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hub-lead {
  max-width: 34em;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 18px;
}

.topic-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 36px;
  padding: 4px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.topic-tabs a {
  padding: 7px 18px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
  transition: color 150ms ease;
}

.topic-tabs a:hover {
  color: var(--text);
}

.topic-tabs a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

.hub-body {
  padding-top: 56px;
}

.hub-feature a {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color 150ms ease;
}

.hub-feature a:hover {
  border-color: var(--hair-2);
}

.hub-feature img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.hub-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px 44px;
}

.hub-feature-title {
  margin-top: 16px;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hub-feature-desc {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 16px;
}

.hub-feature .post-card-meta {
  margin-top: 28px;
  padding-top: 0;
}

.hub-section {
  margin-top: 96px;
}

.hub-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hair);
}

.hub-section-head h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hub-section-head h2 a {
  text-decoration: none;
}

.hub-section-head p {
  color: var(--text-3);
  font-size: 14px;
}

/* ---------- Article ---------- */
.article-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 0 0;
  text-align: center;
}

.article-cat {
  margin-top: 32px;
}

.article-cat a {
  display: inline-flex;
  padding: 5px 13px;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

.article-head h1 {
  max-width: 18em;
  margin-top: 22px;
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.article-deck {
  max-width: 34em;
  margin-top: 22px;
  color: var(--text-2);
  font-size: 19px;
  text-wrap: pretty;
}

.article-meta {
  margin-top: 22px;
  color: var(--text-3);
  font-size: 13px;
}

.article-meta span {
  white-space: nowrap;
}

.article-cover {
  width: 100%;
  height: auto;
  margin-top: 56px;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid var(--hair);
  border-radius: 32px;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 700px);
  gap: 72px;
  justify-content: center;
  margin-top: 64px;
}

.toc {
  position: sticky;
  top: 104px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  font-size: 13.5px;
}

.toc-title {
  color: var(--text);
  font-weight: 600;
}

.toc ol {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--hair-2);
}

.toc li a {
  display: block;
  padding: 6px 0 6px 14px;
  color: var(--text-3);
  line-height: 1.5;
  text-decoration: none;
}

.toc li a:hover {
  color: var(--text);
}

.takeaways {
  margin-bottom: 44px;
  padding: 26px 30px;
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: #fff;
}

.takeaways-title {
  font-weight: 600;
}

.takeaways ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
  color: var(--text-2);
}

.prose {
  color: rgba(10, 19, 36, 0.82);
  font-size: 17.5px;
  line-height: 1.9;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2.6em;
  color: var(--text);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.prose h3 {
  margin-top: 1.9em;
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.7em;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose li::marker {
  color: var(--text-3);
}

.prose a:not(.button) {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 0.9em;
}

.prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--hair-2);
  color: var(--text-2);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--hair);
  margin: 2.4em 0;
}

.callout {
  padding: 22px 26px;
  border: 1px solid var(--hair);
  border-radius: 20px;
  background: #fff;
  font-size: 16.5px;
  line-height: 1.8;
}

.callout > * + * {
  margin-top: 0.6em;
}

.callout ul,
.callout ol {
  padding-left: 1.3em;
}

.callout-title {
  color: var(--text);
  font-weight: 600;
}

.callout-tip {
  box-shadow: inset 3px 0 0 var(--mint);
}

.callout-warn {
  box-shadow: inset 3px 0 0 var(--amber);
}

.callout-steps {
  box-shadow: inset 3px 0 0 var(--accent);
}

.article-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 2.4em 0;
  padding: 26px 28px;
  border: 1px solid var(--hair-2);
  border-radius: 24px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(91, 156, 246, 0.16), transparent 70%),
    #fff;
  box-shadow: var(--shadow-md);
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.65;
}

.article-cta img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.article-cta-title {
  font-size: 18px;
  font-weight: 600;
}

.article-cta p + p {
  margin-top: 4px;
  color: var(--text-2);
}

.related {
  margin-top: 120px;
}

.related h2 {
  margin-bottom: 28px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
}


/* Blog pages: sky wash behind the page head */
.hub-head,
.article-head {
  position: relative;
  isolation: isolate;
}

.hub-head::before,
.article-head::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 760px;
  translate: -50% 0;
  background:
    linear-gradient(180deg, rgba(246, 248, 252, 0) 40%, var(--bg) 100%),
    url("/assets/home/sky-hero.webp") center top / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.article-head::before {
  height: 560px;
  opacity: 0.7;
}

.hub-body,
.article-layout,
.related {
  position: relative;
  z-index: 1;
}

.hub-head h1 {
  background: linear-gradient(180deg, #0a1324 30%, #2a4a86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.article-cover {
  box-shadow: var(--shadow-md);
}

.toc li a:hover {
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bubble {
    max-width: 250px;
    font-size: 15.5px;
  }

  .bubble-1,
  .bubble-3 {
    right: calc(50% + 190px);
  }

  .bubble-2,
  .bubble-4 {
    left: calc(50% + 190px);
  }
}

@media (max-width: 960px) {
  :root {
    --section: 120px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .tile-strict,
  .tile-stats {
    grid-column: span 2;
  }

  .faq-grid,
  .hub-feature a {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    gap: 24px;
  }

  .faq-grid > .section-title {
    position: static;
  }

  .use-list,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-feature img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .toc {
    position: static;
    max-height: none;
    margin-bottom: 40px;
    padding: 20px 24px;
    border: 1px solid var(--hair);
    border-radius: 20px;
    background: #fff;
  }

  /* Story on narrow screens: one step at a time above the phone */
  .js .story-steps {
    display: grid;
    padding: 0;
  }

  .js .story-steps::before,
  .js .story-steps::after,
  .js .story-steps li::before {
    display: none;
  }

  .js .story-steps li {
    grid-area: 1 / 1;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 500ms var(--ease), transform 600ms var(--ease);
  }

  .js .story[data-step="1"] li[data-step="1"],
  .js .story[data-step="2"] li[data-step="2"],
  .js .story[data-step="3"] li[data-step="3"] {
    transform: none;
  }

  .js .story-steps p {
    margin-left: auto;
    margin-right: auto;
  }

  .js .story-sticky {
    justify-content: flex-start;
    padding-top: 96px;
  }

}

@media (max-width: 720px) {
  :root {
    --section: 96px;
  }

  body {
    font-size: 16px;
  }

  .wrap,
  .stage {
    width: calc(100% - 32px);
  }

  .site-header {
    padding-top: 10px;
  }

  .site-header-inner {
    justify-content: space-between;
    height: 54px;
    padding-left: 14px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    margin-top: -64px;
    padding-top: 124px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(48px, 14vw, 64px);
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 16.5px;
  }

  .hero-actions {
    width: 100%;
    margin-top: 30px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .stage {
    margin-top: 56px;
  }

  .stage-phone {
    width: 236px;
  }

  .bubble {
    max-width: 210px;
    padding: 11px 14px 12px;
    border-radius: 18px;
    font-size: 14px;
  }

  .bubble-2,
  .bubble-3 {
    display: none;
  }

  .stage-phone {
    --base-ry: -14deg;
  }

  .bubble-1 {
    top: 190px;
    right: auto;
    left: 0;
  }

  .bubble-4 {
    top: 300px;
    bottom: auto;
    right: 0;
    left: auto;
  }

  .stores {
    padding-top: 56px;
  }

  .marquee-track {
    gap: 36px;
    font-size: 16px;
  }

  .statement {
    padding-bottom: 32px;
  }

  .story-phone {
    width: min(232px, calc((100svh - 330px) * 0.45));
  }

  .story .sb {
    max-width: 210px;
    padding: 10px 13px 11px;
    border-radius: 16px;
    font-size: 13.5px;
  }

  /* One step at a time, over the empty middle of the screenshot */
  .story-device {
    --pw: min(232px, calc((100svh - 330px) * 0.45));
    justify-content: center;
  }

  .story-halo {
    right: auto;
    left: 50%;
    width: calc(var(--pw) * 1.6);
    transform: translateX(-50%);
  }

  .story-phone {
    margin-right: 0;
    --base-ry: calc(-14deg + var(--sp, 0) * 10deg);
  }

  .sb-1,
  .sb-3 {
    right: auto;
    left: 0;
  }

  .sb-2,
  .sb-4 {
    left: auto;
    right: 0;
  }

  .sb-1 { top: 38%; }
  .sb-2 { top: 54%; }
  .sb-3 { top: 46%; }
  .sb-4 { top: 46%; }

  .js .story[data-step="2"] .sb-1,
  .js .story[data-step="2"] .sb-2,
  .js .story[data-step="3"] .sb-1,
  .js .story[data-step="3"] .sb-2,
  .js .story[data-step="3"] .sb-3 {
    opacity: 0;
  }

  .story-steps h3 {
    font-size: 26px;
  }

  .story-steps p {
    font-size: 16px;
  }

  .js .story-foot {
    display: none;
  }

  .show-item {
    padding: 48px 0;
  }

  .show-item > p:not(.feature-name) {
    font-size: 16.5px;
  }

  .bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tile-strict,
  .tile-stats {
    grid-column: auto;
  }

  .tile {
    min-height: 0;
    padding: 30px 26px 28px;
    border-radius: 28px;
  }

  .viz-shield {
    position: static;
    width: 88px;
    height: 88px;
    margin-top: 28px;
    border-radius: 26px;
    order: 3;
  }

  .viz-shield i {
    width: 40px;
    height: 40px;
  }

  .viz-shield i::before {
    -webkit-mask-size: 40px;
    mask-size: 40px;
  }

  .viz-seg span {
    padding: 8px 13px;
    font-size: 14px;
  }

  .viz-bars {
    height: 140px;
  }

  .use-list,
  .post-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .use-list {
    gap: 14px;
    margin-top: 32px;
  }

  .latest-head {
    margin-bottom: 28px;
  }

  .faq-list summary {
    font-size: 16.5px;
  }

  .final {
    padding: 140px 0 160px;
  }

  .footer-grid {
    gap: 32px;
  }

  .hub-head {
    padding-top: 56px;
  }

  .topic-tabs {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topic-tabs a {
    flex: none;
    padding: 6px 13px;
  }

  .hub-feature-body {
    padding: 28px 24px 26px;
  }

  .hub-section {
    margin-top: 72px;
  }

  .article-head {
    padding-top: 48px;
  }

  .article-head .crumbs li[aria-current="page"] {
    display: none;
  }

  .article-cover {
    margin-top: 40px;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
  }

  .article-layout {
    margin-top: 40px;
  }

  .article-cta {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 26px 22px;
  }

  .prose {
    font-size: 17px;
    line-height: 1.85;
  }

  .prose h2 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-bg,
  .hero-copy,
  .stage {
    transform: none !important;
    opacity: 1 !important;
  }

  .tilt {
    --rx: 0deg !important;
    --ry: 0deg !important;
  }
}
