/* Shared Vayu palette: Second Attention UI UX/UI Kit/theme.ts.
   The light study remains available for direct comparison. */
:root {
  color-scheme: dark;
  --page: #050505;
  --ink: #f5f2fa;
  --muted: #aaa5b3;
  --line: #242127;
  --accent: #c696ff;
  --panel: #111014;
  --headline-secondary: #c696ff;
  --control-border: #655b70;
  --selection: #46305f;
  --button: #7d4be1;
  --button-hover: #6939c5;
  --button-text: #fff;
  --selected-surface: #21172e;
  --section-index: #a77bf3;
  --status: #7ad6ff;
  --demo-shadow: #00000080;
  --demo-border: #ffffff1c;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --col: min(1240px, 100% - 112px);
}
:root[data-appearance="light"] {
  color-scheme: light;
  --page: #f5f4ee;
  --ink: #253c32;
  --muted: #626d64;
  --line: #d7dcd2;
  --accent: #45654c;
  --panel: #e8ece2;
  --headline-secondary: #778575;
  --control-border: #a5b2a2;
  --selection: #d2dfc6;
  --button: #253c32;
  --button-hover: #3c5947;
  --button-text: #fff;
  --selected-surface: #e5e9df;
  --section-index: #6c8266;
  --status: #b7c8ad;
  --demo-shadow: #1c302b55;
  --demo-border: #ffffff1c;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--selection);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
button {
  cursor: pointer;
}
.wrap {
  width: var(--col);
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: var(--button);
  color: var(--button-text);
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.mark {
  display: flex;
  white-space: nowrap;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.7px;
}
.brand-ring {
  width: 28px;
  height: 28px;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
}
.brand-ring:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
}
.navlinks a:hover,
.text-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.appearance-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--control-border);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}
.appearance-toggle:hover {
  background: var(--selected-surface);
}
.appearance-toggle[hidden] {
  display: none;
}
.appearance-toggle svg {
  width: 16px;
  height: 16px;
}
:root:not([data-appearance="light"]) .moon-icon,
:root[data-appearance="light"] .sun-icon {
  display: none;
}
:root:not([data-appearance="light"]) .brand-ring {
  color: var(--accent);
}
.nav-download {
  border: 1px solid var(--control-border);
  border-radius: 5px;
  padding: 10px 17px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 76px 0 66px;
}
.eyebrow,
.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.eyebrow:before {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 500;
}
h1 span {
  color: var(--headline-secondary);
}
.lead {
  max-width: 40ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 26px 0 30px;
}
.cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 22px;
  background: var(--button);
  color: var(--button-text);
  border: 1px solid var(--button);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.cta:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
}
.cta svg {
  width: 17px;
  height: 17px;
}
.download-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.other {
  display: inline-block;
  font-size: 12px;
  margin-top: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 30px;
}
.access-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 21px;
  max-width: 48ch;
}
.access-note strong {
  font-weight: 600;
  color: var(--ink);
}
html:not([data-os="win"]) .os-win {
  display: none;
}
html[data-os="win"] .os-mac {
  display: none;
}
.mobile-note {
  display: none;
}
.hero-visual {
  min-width: 0;
  position: relative;
}
.demo {
  height: 500px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 10px;
  background: #080a0b;
  color: #eeedf3;
  box-shadow: 0 24px 42px -26px var(--demo-shadow);
}
.demo:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--demo-border);
  border-radius: inherit;
  pointer-events: none;
}
.demo-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 26px;
  font-size: 11px;
  color: #bcc3be;
}
.demo-bar .status {
  display: flex;
  align-items: center;
  gap: 7px;
}
.status:before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--status);
  border-radius: 50%;
}
#orb {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  display: block;
  background: radial-gradient(
    ellipse at center,
    #423152 0,
    #191c27 22%,
    #080a0b 56%
  );
}
.demo-title {
  position: absolute;
  z-index: 1;
  top: 72px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}
.demo-title small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #a7ada8;
  font-weight: 400;
}
.demo-bottom {
  position: absolute;
  bottom: 26px;
  left: 20px;
  right: 20px;
  z-index: 1;
  text-align: center;
}
.cadence {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-size: 11px;
  color: #9ca69e;
  font-variant-numeric: tabular-nums;
}
.cadence span {
  padding: 0 13px;
  transition: color 0.3s;
}
.cadence span.on {
  color: #fff;
}
.cadence b {
  font-weight: 500;
  margin-left: 3px;
}
.cadence i {
  width: 1px;
  height: 11px;
  background: #525950;
}
.motion-toggle {
  display: block;
  margin: 20px auto 0;
  min-height: 36px;
  border: 1px solid #606862;
  border-radius: 30px;
  background: transparent;
  color: #d5dbd5;
  font-size: 10px;
  padding: 7px 16px;
}
.motion-toggle:hover {
  background: #ffffff12;
}
.visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted);
}
.visual-caption span:last-child {
  color: var(--ink);
}
.facts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 23px 0;
  border-block: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.facts span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.facts svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: var(--accent);
}
section.content {
  padding: 106px 0;
  border-bottom: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: start;
}
.kicker {
  color: var(--muted);
  margin-bottom: 18px;
}
.kicker .index {
  color: var(--section-index);
  margin-right: 8px;
}
h2 {
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.sub {
  margin-top: 23px;
  max-width: 39ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.text-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.breaths {
  border-top: 1px solid var(--line);
}
.breath-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.breath-row b {
  font-size: 14px;
  font-weight: 600;
}
.breath-row small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.breath-row > span {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.table-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 55ch;
}
.theme-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 90px;
  align-items: center;
}
.preview {
  position: relative;
  aspect-ratio: 1.25;
  background: #080a0b;
  overflow: hidden;
  border-radius: 8px;
}
.preview canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.preview .tag {
  position: absolute;
  left: 25px;
  bottom: 23px;
  font-size: 11px;
  color: #e2e6e2;
  letter-spacing: 0.08em;
}
.preview.light .tag {
  color: #373e35;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.swatches button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 80px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.swatches button:hover {
  background: var(--selected-surface);
}
.swatches button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--selected-surface);
  color: var(--ink);
}
.dot {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 1px solid var(--control-border);
}
.swatches .note {
  display: none;
}
.theme-footnote {
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.features .feature-number {
  font-size: 11px;
  color: var(--muted);
}
.features h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 13px 0 12px;
}
.features p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.setup {
  background: var(--panel);
  margin-top: 90px;
  padding: 56px;
  border-radius: 8px;
  scroll-margin-top: 30px;
}
.platform-picker {
  display: inline-flex;
  border: 1px solid var(--control-border);
  border-radius: 5px;
  padding: 3px;
  margin-top: 26px;
  gap: 3px;
}
.platform-picker button {
  border: 0;
  border-radius: 3px;
  padding: 8px 19px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  min-height: 40px;
}
.platform-picker button[aria-pressed="true"] {
  background: var(--button);
  color: var(--button-text);
}
.seq {
  list-style: none;
  padding: 0;
  margin: 0;
}
.seq li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.seq li:first-child {
  padding-top: 0;
  border-top: 0;
}
.seq .n {
  font-size: 11px;
  padding-top: 4px;
  color: var(--muted);
}
.seq h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.seq p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
kbd {
  font: inherit;
  font-size: 11px;
  border: 1px solid var(--control-border);
  border-radius: 3px;
  padding: 2px 5px;
  color: var(--ink);
  white-space: nowrap;
}
.seq b {
  font-weight: 600;
  color: var(--ink);
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 22px 0;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
}
.faq details[open] summary:after {
  content: "−";
}
.faq p {
  font-size: 13px;
  color: var(--muted);
  padding: 0 28px 23px 0;
  line-height: 1.85;
}
.faq a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding: 72px 0;
}
.close .kicker {
  margin-bottom: 13px;
}
.close h2 {
  font-size: 36px;
}
.close-action {
  text-align: right;
}
.close-action p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
  font-size: 11px;
  color: var(--muted);
}
footer .footer-links {
  display: flex;
  gap: 25px;
}
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 90px;
  }
  .demo {
    height: 540px;
  }
}
@media (max-width: 1100px) {
  :root {
    --col: calc(100% - 64px);
  }
  .hero {
    gap: 36px;
  }
  .demo {
    height: 470px;
  }
  .split {
    gap: 50px;
  }
  .theme-layout {
    gap: 45px;
  }
  .setup {
    padding: 40px;
  }
  .navlinks {
    gap: 23px;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .navlinks a[href="#questions"] {
    display: none;
  }
  .header-actions {
    gap: 16px;
  }
}
@media (max-width: 760px) {
  :root {
    --col: calc(100% - 40px);
  }
  header {
    height: 80px;
  }
  .mark {
    font-size: 17px;
  }
  .brand-ring {
    width: 25px;
    height: 25px;
  }
  .header-actions {
    gap: 10px;
  }
  .appearance-toggle {
    width: 40px;
    padding: 8px;
  }
  .appearance-toggle span {
    display: none;
  }
  .navlinks a:not(.nav-download) {
    display: none;
  }
  .navlinks {
    font-size: 11px;
  }
  .nav-download {
    padding: 8px 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 45px 0 32px;
  }
  h1 {
    font-size: clamp(46px, 9.5vw, 68px);
    letter-spacing: -0.04em;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 21px;
  }
  .lead {
    font-size: 15px;
    margin: 23px 0 25px;
    max-width: 45ch;
  }
  .access-note {
    margin-top: 15px;
    max-width: none;
  }
  .demo {
    height: 420px;
  }
  .demo-title {
    top: 64px;
  }
  .facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    padding: 24px 0;
    font-size: 11px;
  }
  .facts span {
    gap: 8px;
  }
  section.content {
    padding: 65px 0;
  }
  .split,
  .theme-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .theme-layout .theme-copy {
    grid-row: 1;
  }
  .preview {
    aspect-ratio: 1.15;
  }
  .sub {
    max-width: 48ch;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 36px;
    padding-top: 24px;
  }
  .features article {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 0 15px;
  }
  .features .feature-number {
    grid-row: 1/3;
    margin-top: 3px;
  }
  .features h3 {
    margin: 0 0 8px;
  }
  .features p {
    grid-column: 2;
  }
  .setup {
    padding: 28px 24px;
    margin-top: 60px;
  }
  .seq li {
    padding: 22px 0;
  }
  .close {
    align-items: start;
    flex-direction: column;
    padding: 55px 0;
    gap: 26px;
  }
  .close h2 {
    font-size: 32px;
  }
  .close-action {
    text-align: left;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .visual-caption {
    font-size: 10px;
  }
  .swatches button {
    min-height: 76px;
  }
}
@media (max-width: 380px) {
  .navlinks {
    display: none;
  }
  h1 {
    font-size: 37px;
    letter-spacing: -0.05em;
  }
  .header-actions {
    gap: 6px;
  }
  .nav-download {
    padding: 8px;
    font-size: 10px;
  }
  .demo {
    height: 370px;
  }
  .cadence span {
    padding: 0 8px;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .breath-row {
    gap: 10px;
  }
  .breath-row b {
    font-size: 13px;
  }
  .breath-row > span {
    font-size: 11px;
  }
  .setup {
    padding: 25px 20px;
  }
  .mark {
    gap: 8px;
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Light pages show the app's Zen palette, including the whole preview surface. */
:root[data-appearance="light"] { --demo-border: #bcb49d80; --demo-shadow: #4d493b30; --status: #617a59; }
:root[data-appearance="light"] .demo { background: #e9e2d2; color: #2b2e37; }
:root[data-appearance="light"] #orb { background: radial-gradient(circle at center, #4b505f 0%, #23262f 19%, #e9e2d2 42%, #e9e2d2 100%); }
:root[data-appearance="light"] :is(.demo-bar, .demo-title small, .cadence) { color: #636353; }
:root[data-appearance="light"] .cadence span.on { color: #23262f; }
:root[data-appearance="light"] .cadence i { background: #b7ae9c; }
:root[data-appearance="light"] .motion-toggle { border-color: #a49c89; color: #424337; }
:root[data-appearance="light"] .motion-toggle:hover { background: #ffffff40; }
