:root {
  --bg: #050507;
  --surface: #111116;
  --surface-2: #17171f;
  --text: #f7f5fb;
  --muted: #aaa5b2;
  --purple: #a548db;
  --purple-light: #c777f0;
  --blue: #5468ff;
  --max: 1180px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 7, .54);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.site-header.scrolled { background: rgba(5, 5, 7, .7); }

.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--text);
  font-weight: 800;
}
.nav-links .nav-cta:hover { color: var(--text); }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 55px;
  background: rgba(255,255,255,.07);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.button.primary { background: var(--purple); }
.button svg { width: 21px; height: 21px; fill: currentColor; }
.button small { color: rgba(255,255,255,.7); font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .08em; }
.button span { display: grid; gap: 2px; text-align: left; font-size: 15px; line-height: 1.05; }
.button.disabled { cursor: default; }

.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: 72px; padding: 72px 0 96px; overflow: hidden; }
.hero h1 { max-width: 760px; margin: 22px 0; font-family: var(--font-display); font-size: clamp(46px, 5.9vw, 78px); font-weight: 750; line-height: 1.02; letter-spacing: 0; }
.purple-text { color: var(--purple); }
.hero-heading-link {
  text-decoration-line: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .12em;
}
.hero-heading-link:hover { color: var(--purple-light); }
.hero-copy > p { max-width: 620px; margin: 0 0 32px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; letter-spacing: -.01em; }
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.micro { margin-top: 19px; color: #77727f; font-size: 13px; }

.hero-art { position: relative; min-height: 640px; display: grid; place-items: center; }
.phone { position: absolute; width: 286px; overflow: hidden; border-radius: 48px; background: #000; box-shadow: 0 38px 90px rgba(0,0,0,.75); }
.phone img { width: 100%; }
.phone.one { z-index: 2; transform: translate(-74px, 10px) rotate(-6deg); }
.phone.two { z-index: 1; transform: translate(120px, 54px) rotate(7deg); opacity: .72; }

@media (min-width: 901px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); overflow: visible; }
  .hero-art .phone { width: min(286px, 22vw); }
  .hero-art .phone.one { transform: translate(-26%, 10px) rotate(-6deg); }
  .hero-art .phone.two { transform: translate(25%, 54px) rotate(7deg); }
}

.trust { background: rgba(255,255,255,.018); }
.trust-row { min-height: 118px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-item { padding: 24px 42px; }
.trust-item:first-child { padding-left: 0; }
.trust-item strong { display: block; margin-bottom: 7px; font-size: 17px; }
.trust-item span { color: var(--muted); font-size: 14px; }

.section { padding: 140px 0; }
.section-heading { max-width: 720px; margin-bottom: 64px; }
.section-heading h2 { margin: 13px 0 18px; font-family: var(--font-display); font-size: clamp(42px, 6vw, 70px); font-weight: 740; line-height: 1.03; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.6; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 260px; padding: 30px; border-radius: 24px; background: rgba(255,255,255,.045); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 48px; border-radius: 14px; background: rgba(165,72,219,.12); color: var(--purple-light); }
.feature-icon svg { width: 24px; height: 24px; fill: currentColor; }
.feature-card h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.screens-section { overflow: hidden; }
.screens { display: flex; gap: 24px; overflow-x: auto; padding: 12px max(20px, calc((100vw - var(--max)) / 2)) 34px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.screen-card { flex: 0 0 min(330px, 75vw); scroll-snap-align: center; overflow: hidden; border-radius: 34px; background: #08080b; }
.screen-card img { width: 100%; }

.intelligent-notes,
.feature-split {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(430px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.feature-split.reverse {
  grid-template-columns: minmax(430px, 1fr) minmax(0, .88fr);
}

.agent-gallery {
  display: grid;
  place-items: center;
}

.agent-shot {
  width: min(305px, 70vw);
  margin: 0;
  overflow: hidden;
  border-radius: 44px;
  background: #08080b;
  box-shadow: 0 34px 85px rgba(0,0,0,.7);
  transform: rotate(3deg);
}

.agent-shot img { width: 100%; }

.section-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.notes-copy h2 {
  max-width: 650px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.8vw, 68px);
  font-weight: 740;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.notes-copy p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.notes-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.notes-points span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(199, 119, 240, .24);
  border-radius: 999px;
  background: rgba(165, 72, 219, .1);
  color: #ecd8f8;
  font-size: 13px;
  font-weight: 750;
}

.notes-gallery {
  min-height: 640px;
  position: relative;
}

.note-shot {
  position: absolute;
  width: min(295px, 44vw);
  margin: 0;
  overflow: hidden;
  border-radius: 38px;
  background: #08080b;
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
}

.note-shot img { width: 100%; }

.note-shot-main {
  z-index: 2;
  left: 0;
  top: 0;
  transform: rotate(-4deg);
}

.note-shot-secondary {
  right: 0;
  bottom: 0;
  opacity: .92;
  transform: rotate(5deg);
}

.privacy-block { position: relative; overflow: hidden; padding: 70px; border-radius: 34px; background: rgba(165,72,219,.09); }
.privacy-block h2 { position: relative; z-index: 1; max-width: 700px; margin: 16px 0; font-family: var(--font-display); font-size: clamp(42px, 6vw, 72px); font-weight: 740; line-height: 1.03; letter-spacing: -.035em; }
.privacy-block p { position: relative; z-index: 1; max-width: 640px; color: #c2bdc8; font-size: 18px; line-height: 1.65; }
.privacy-block .button { position: relative; z-index: 1; margin-top: 15px; }

.credits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 0 0 42px;
}

.credits h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.credits p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.credits-list {
  max-width: 760px;
}





.cta { padding: 120px 20px; text-align: center; }
.cta-logo { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 26px; }
.cta h2 { max-width: 800px; margin: 0 auto 18px; font-family: var(--font-display); font-size: clamp(44px, 7vw, 78px); font-weight: 740; line-height: 1.03; letter-spacing: -.038em; }
.cta p { margin: 0 auto 30px; color: var(--muted); font-size: 19px; }

.site-footer { overflow: hidden; padding: 52px 0 52px; }
.site-footer.has-wordmark { padding-bottom: 24px; }
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  padding-bottom: 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-col h3 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(247, 245, 251, .46);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.footer-col a {
  color: #a5a0ad;
  font-size: 14px;
  text-decoration: none;
  transition: color 150ms ease;
}
.footer-col a:hover { color: var(--text); }
.footer-row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a, .copyright { color: #85808b; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-wordmark {
  margin: 28px auto 0;
  padding-bottom: 8px;
  color: rgba(165, 72, 219, .16);
  font-family: var(--font-display);
  font-size: clamp(104px, 24vw, 330px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: 0;
  text-align: left;
  user-select: none;
  pointer-events: none;
  width: min(calc(100% - 40px), var(--max));
}

.footer-wordmark span {
  display: inline-block;
  transform: translateY(34px);
  opacity: .45;
}

.footer-wordmark.is-visible span {
  animation: footer-letter-bounce .82s cubic-bezier(.2, .8, .25, 1.2) both;
}

.footer-wordmark.is-visible span:nth-child(2) { animation-delay: .08s; }
.footer-wordmark.is-visible span:nth-child(3) { animation-delay: .16s; }
.footer-wordmark.is-visible span:nth-child(4) { animation-delay: .24s; }
.footer-wordmark.is-visible span:nth-child(5) { animation-delay: .32s; }

@keyframes footer-letter-bounce {
  0% {
    transform: translateY(34px);
    opacity: .45;
  }
  48% {
    transform: translateY(-16px);
    opacity: 1;
  }
  68% {
    transform: translateY(7px);
  }
  84% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.legal-page { min-height: 100vh; }
.legal-hero { padding: 110px 0 24px; text-align: center; }
.legal-hero h1 { margin: 0 0 15px; font-family: var(--font-display); font-size: clamp(46px, 7vw, 76px); font-weight: 740; letter-spacing: -.038em; }
.legal-hero p { margin: 0; color: var(--muted); font-size: 16px; }
.legal-content { width: min(calc(100% - 40px), 780px); margin: 0 auto; padding: 72px 0 120px; color: #c3bec9; font-size: 16px; line-height: 1.75; }
.legal-content h2 { margin: 48px 0 10px; color: var(--text); font-size: 25px; letter-spacing: -.03em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content a { color: var(--purple-light); }
.legal-content ul { padding-left: 22px; }
.legal-note { padding: 0; background: transparent; }
.support-card { padding: 28px; margin: 28px 0; border-radius: 20px; background: var(--surface); }

.research-list {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
  padding: 54px 0 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.research-quote {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
}

.research-quote blockquote {
  margin: 34px 0 0;
  padding: 30px;
  border-radius: 24px;
  background: rgba(165,72,219,.08);
}

.research-quote p {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
}

.research-quote cite {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.research-card {
  display: block;
  padding: 30px;
  border-radius: 24px;
  background: rgba(255,255,255,.045);
  text-decoration: none;
  transition: background .2s ease;
}

.research-card:hover {
  background: rgba(165,72,219,.075);
}

.post-meta {
  display: block;
  margin-bottom: 14px;
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.research-card h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

.research-card p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.research-post {
  width: min(calc(100% - 40px), 780px);
  margin: 0 auto;
  padding: 58px 0 120px;
  color: #c3bec9;
  font-size: 18px;
  line-height: 1.78;
}

.research-post p {
  margin: 0 0 24px;
}

.research-post ul {
  margin: 0 0 30px;
  padding-left: 22px;
}

.research-post li {
  margin: 8px 0;
}

.research-post a {
  color: var(--purple-light);
}

.research-post h2 { margin: 48px 0 16px; color: var(--text); line-height: 1.2; }
.research-post h3 { margin: 34px 0 18px; color: var(--text); }
.research-post .research-quote { width: 100%; }
.research-post .comparison-note { color: var(--muted); font-size: 14px; }
.design-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 48px);
  margin: 24px 0 48px;
}
.design-comparison figure { min-width: 0; margin: 0; }
.comparison-version {
  display: block;
  margin-bottom: 16px;
  color: var(--purple-light);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.design-comparison .iphone-frame { display: block; max-width: 285px; margin: 0 auto; }
.design-comparison figcaption { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.research-card:focus-visible, .design-comparison a:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 5px; }
@media (max-width: 540px) {
  .design-comparison { grid-template-columns: 1fr; gap: 32px; }
  .design-comparison figure { max-width: 285px; width: 100%; margin-inline: auto; }
}

.post-shots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 10px 0 40px;
}

.post-shots figure {
  flex: 1 1 200px;
  max-width: 236px;
  margin: 0;
  background: transparent;
}

.post-shots img { width: 100%; }

.post-shots figcaption {
  padding: 13px 16px 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--purple-light);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 64px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-art { min-height: 630px; }
  .features { grid-template-columns: 1fr; }
  .feature-card { min-height: 210px; }
  .feature-icon { margin-bottom: 34px; }
  .intelligent-notes, .feature-split, .feature-split.reverse { grid-template-columns: 1fr; }
  .feature-split.reverse .notes-copy { order: -1; }
  .agent-shot { transform: rotate(0deg); }
  .notes-gallery { min-height: 610px; max-width: 580px; width: 100%; margin-inline: auto; }
  .note-shot { width: min(290px, 52vw); }
  .trust-row { grid-template-columns: 1fr; padding: 10px 0; }
  .trust-item, .trust-item:first-child { padding: 20px 0; }
  .privacy-block { padding: 48px 34px; }
  .credits { gap: 16px; padding-bottom: 26px; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { height: 66px; gap: 12px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 13px; }
  .nav-links a:not(.nav-research):not(.nav-cta) { display: none; }
  .nav-links .nav-cta { min-height: 36px; padding: 0 14px; }
  .hero { min-height: auto; padding: 66px 0 54px; }
  .hero h1 { margin: 18px 0; font-size: clamp(38px, 13vw, 58px); }
  .hero-copy > p { font-size: 17px; }
  .actions { justify-content: center; }
  .hero-art { min-height: 490px; margin-top: 18px; }
  .phone { width: 218px; border-radius: 36px; }
  .phone.one { transform: translate(-48px, 0) rotate(-5deg); }
  .phone.two { transform: translate(83px, 40px) rotate(7deg); }
  .section { padding: 92px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading p { font-size: 17px; }
  .screen-card { flex-basis: 78vw; border-radius: 26px; }
  .notes-copy p { font-size: 17px; }
  .notes-gallery { min-height: 510px; }
  .note-shot { width: min(230px, 58vw); border-radius: 30px; }
  .note-shot-main { left: 0; }
  .note-shot-secondary { right: 0; }
  .privacy-block { padding: 38px 25px; border-radius: 25px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: 16px 22px; }
  .footer-wordmark { width: min(calc(100% - 28px), var(--max)); margin-top: 28px; margin-bottom: 0; font-size: clamp(86px, 28vw, 150px); }
  .legal-hero { padding: 76px 0 42px; }
  .legal-content { padding-top: 50px; }
  .research-quote { width: min(calc(100% - 28px), 860px); }
  .research-quote blockquote { padding: 24px; border-radius: 20px; }
  .research-quote p { font-size: 23px; }
  .research-list { width: min(calc(100% - 28px), 860px); padding-top: 36px; }
  .research-card { padding: 24px; border-radius: 20px; }
  .research-card h2 { font-size: 30px; }
  .research-post { width: min(calc(100% - 28px), 780px); padding-top: 42px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .footer-wordmark span { transform: none; opacity: 1; }
  .footer-wordmark.is-visible span { animation: none; }
}

/* Shared device frame; percentage radii scale with each screenshot. */
.iphone-frame {
  position: relative;
  padding: 6px;
  border: 1px solid #66666d;
  border-radius: 15% / 7%;
  background: #101012;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px #29292e,
    0 0 0 1px rgba(0, 0, 0, .8),
    0 22px 48px rgba(0, 0, 0, .4);
}

.phone.iphone-frame,
.note-shot.iphone-frame { position: absolute; }

.iphone-frame > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13.5% / 6.3%;
}

/* A restrained Dynamic Island in the screenshot's empty status-bar center. */
.iphone-frame::after {
  content: "";
  position: absolute;
  top: 2.1%;
  left: 50%;
  width: 26%;
  height: 1.7%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .035);
  pointer-events: none;
}

/* V5 release tour: keep full screenshots readable and uncropped. */
.release-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 42px;
  padding: 22px 0;
  border-block: 1px solid #353139;
  font-size: 15px;
}
.release-contents a { text-underline-offset: 4px; }
.v5-post h2, .v6-post h2 { scroll-margin-top: 100px; }
.release-table-wrap { overflow-x: auto; margin: 24px 0 30px; }
.release-table { width: 100%; min-width: 610px; border-collapse: collapse; font-size: 14px; line-height: 1.65; }
.release-table caption { text-align: left; color: var(--muted); margin-bottom: 14px; }
.release-table th, .release-table td { padding: 15px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #353139; }
.release-table th { color: var(--text); font-weight: 600; }
.release-table th:first-child { width: 19%; }
.release-table td { width: 40.5%; }
.release-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 28px 0 42px; }
.release-gallery figure { width: 100%; max-width: 290px; min-width: 0; margin: 0 auto; }
.release-gallery a { display: block; }
.release-gallery img, .v5-post .design-comparison img { display: block; width: 100%; height: auto; border: 1px solid #353139; border-radius: 20px; background: #000; }
.release-gallery figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.release-gallery a:focus-visible, .release-contents a:focus-visible, .release-table-wrap:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 5px; }
@media (max-width: 540px) {
  .release-gallery { grid-template-columns: 1fr; gap: 30px; }
  .release-gallery figure { max-width: 290px; }
}

.release-gallery > figure:only-child { grid-column: 1 / -1; max-width: 320px; }

.release-gallery:not(:has(figure)) { display: none; }

/* Model retirement research post & verbatim transcript */
.retirement-post h2 { scroll-margin-top: 100px; }
.retirement-post .release-table th:first-child { width: 28%; }
.retirement-post .release-table td { width: 72%; }
.retirement-post code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  padding: 2px 6px;
  border-radius: 6px;
}

.prompt-block {
  margin: 22px 0 30px;
  padding: 20px 22px;
  border: 1px solid #353139;
  border-radius: 18px;
  background: var(--surface);
  overflow-x: auto;
}
.prompt-block-label {
  display: block;
  margin-bottom: 10px;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.prompt-block pre {
  margin: 0;
  color: var(--text);
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.research-callout {
  margin: 28px 0 32px;
  padding: 22px 24px;
  border: 1px solid rgba(199, 119, 240, .25);
  border-radius: 18px;
  background: rgba(165, 72, 219, .07);
}
.research-callout p:last-child { margin-bottom: 0; }

.transcript {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 28px 0 46px;
}
.transcript-turn {
  border: 1px solid #353139;
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}
.transcript-turn-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  padding: 14px 22px;
  border-bottom: 1px solid #353139;
  background: rgba(255, 255, 255, .025);
}
.transcript-phase {
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.transcript-meta {
  color: var(--muted);
  font-size: 12px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}
.transcript-message {
  padding: 20px 22px;
}
.transcript-message + .transcript-message {
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.transcript-message.is-model {
  background: rgba(165, 72, 219, .045);
}
.transcript-speaker {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}
.transcript-message.is-model .transcript-speaker {
  color: var(--purple-light);
}
.transcript-verbatim {
  margin: 0;
  color: #ddd8e4;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  white-space: pre-wrap;
  word-break: break-word;
}
.transcript-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #353139;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
@media (max-width: 620px) {
  .transcript-turn-header,
  .transcript-message { padding: 16px; }
  .transcript-verbatim { font-size: 15px; }
}

/* Project O27 benchmark & systems research publication */
.o27-post h2 { scroll-margin-top: 100px; }
.o27-post code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  padding: 2px 6px;
  border-radius: 6px;
}

.o27-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 36px;
}
.o27-stat {
  padding: 18px 16px;
  border: 1px solid #353139;
  border-radius: 18px;
  background: var(--surface);
}
.o27-stat strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.o27-stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.o27-stat.is-accent {
  border-color: rgba(199, 119, 240, .35);
  background: rgba(165, 72, 219, .08);
}
.o27-stat.is-accent strong { color: var(--purple-light); }

.o27-post .release-table {
  min-width: 640px;
  font-size: 13.5px;
  line-height: 1.55;
}
.o27-post .release-table th:first-child { width: auto; min-width: 170px; }
.o27-post .release-table td { width: auto; }
.o27-post .release-table thead th {
  color: var(--text);
  border-bottom: 1px solid #4c4654;
  font-weight: 700;
}
.o27-post .release-table .col-win {
  background: rgba(165, 72, 219, .085);
  color: var(--text);
}
.o27-post .release-table tr.row-total th,
.o27-post .release-table tr.row-total td {
  border-top: 1px solid #4c4654;
  color: var(--text);
  font-weight: 700;
}

.o27-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 26px 0 36px;
  padding: 22px 24px;
  border: 1px solid #353139;
  border-radius: 20px;
  background: var(--surface);
}
.o27-bars-title {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.o27-bar-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.o27-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
}
.o27-bar-label strong { color: var(--text); font-weight: 700; }
.o27-bar-label span {
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.o27-bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}
.o27-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #6c6478;
}
.o27-bar-fill.is-win {
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
}

@media (max-width: 760px) {
  .o27-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .o27-stats { grid-template-columns: 1fr; }
  .o27-bars { padding: 18px 16px; }
}

/* Orion Cosmos flagship system card & SVG chart figures */
.cosmos-post h2 { scroll-margin-top: 100px; }
.cosmos-post code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  padding: 2px 6px;
  border-radius: 6px;
}

.cosmos-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 26px 0 34px;
  padding: 16px 18px;
  border: 1px solid #353139;
  border-radius: 18px;
  background: var(--surface);
}
.cosmos-toc a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.cosmos-toc a span {
  color: var(--purple-light);
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.cosmos-toc a:hover {
  border-color: rgba(199, 119, 240, .45);
  background: rgba(165, 72, 219, .12);
}

.cosmos-lead {
  font-size: 20px;
  line-height: 1.62;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 22px;
}

.cosmos-chart-card {
  margin: 28px 0 36px;
  padding: 24px 24px 20px;
  border: 1px solid #353139;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03) 0%, rgba(165, 72, 219, .035) 100%), var(--surface);
}
.cosmos-chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 20px;
  margin-bottom: 16px;
}
.cosmos-chart-kicker {
  display: block;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cosmos-chart-title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.cosmos-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 13px;
  color: #d6d0df;
}
.cosmos-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.cosmos-swatch {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}
.cosmos-swatch.is-cosmos-final { background: #38bdf8; }
.cosmos-swatch.is-cosmos { background: #c777f0; }
.cosmos-swatch.is-cosmos-med { background: #9b87f5; }
.cosmos-swatch.is-cosmos-high { background: #f472b6; }
.cosmos-swatch.is-cosmos-pre { background: #7c6f89; }
.cosmos-swatch.is-qwen { background: #4fd1c5; }
.cosmos-swatch.is-dolphin { background: #f6ad55; }

.cosmos-self-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 24px;
  align-items: center;
  margin: 26px 0 34px;
  padding: 24px;
  border: 1px solid rgba(199, 119, 240, .32);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(165, 72, 219, .10), rgba(79, 209, 197, .04));
}
.cosmos-self-shot {
  margin: 0;
  text-align: center;
}
.cosmos-self-shot img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .45);
}
.cosmos-self-shot figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 740px) {
  .cosmos-self-grid { grid-template-columns: 1fr; }
}
.cosmos-svg-wrap {
  width: 100%;
  overflow-x: auto;
}
.cosmos-svg-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}
.cosmos-chart-caption {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.cosmos-quote-card {
  margin: 28px 0 34px;
  padding: 24px 26px;
  border: 1px solid rgba(199, 119, 240, .28);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(165, 72, 219, .09), rgba(79, 209, 197, .04));
}
.cosmos-quote-card blockquote {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 17.5px;
  line-height: 1.65;
  font-weight: 500;
}
.cosmos-quote-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--muted);
}
.cosmos-quote-meta strong {
  color: var(--purple-light);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11.5px;
}

.cosmos-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}
.cosmos-card-mini {
  padding: 20px 20px;
  border: 1px solid #353139;
  border-radius: 18px;
  background: var(--surface);
}
.cosmos-card-mini h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text);
}
.cosmos-card-mini p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.cosmos-footnotes {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid #353139;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}
.cosmos-footnotes ol {
  padding-left: 20px;
  margin: 12px 0 0;
}
.cosmos-footnotes li {
  margin-bottom: 10px;
}

@media (max-width: 720px) {
  .cosmos-grid-2 { grid-template-columns: 1fr; }
  .cosmos-chart-card { padding: 18px 16px 16px; }
  .cosmos-lead { font-size: 18px; }
}
