:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  color: #171717;
  background: #fafafa;
  /* We draw both themes ourselves. Opt out of Android/WebView forced-dark
     algorithms so an explicit light theme is not inverted a second time. */
  color-scheme: only light;
  --muted: #686868;
  --page: #fafafa;
  --ink: #171717;
  --soft-ink: #595959;
  --quiet-ink: #707070;
  --line: #e5e5e5;
  --surface: #ffffff;
  --surface-muted: #f0f0f0;
  --selection: #dce7f6;
  --focus: #718bb6;
}
[data-theme="dark"] {
  color: #f3f3f3;
  background: #111214;
  --page: #111214;
  --ink: #f3f3f3;
  --soft-ink: #c6c7ca;
  --quiet-ink: #a0a2a7;
  --muted: #aeb0b5;
  --line: #303237;
  --surface: #1b1d21;
  --surface-muted: #24262b;
  --selection: #3b465d;
  --focus: #9bb5e4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--page);
  transition: color 180ms ease, background-color 180ms ease;
}
::selection {
  color: var(--ink);
  background: var(--selection);
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
  border-radius: 4px;
}
p,
h1 {
  margin: 0;
}
.shell {
  width: 100%;
  max-width: 1280px;
  padding-inline: 44px;
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: #171717;
  color: #fff;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 98px;
}
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft-ink);
  background: var(--surface);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--quiet-ink);
}
.theme-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .brand img,
[data-theme="dark"] .companion-mark {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.25));
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.brand img {
  display: block;
}
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13px;
  color: var(--soft-ink);
}
.header-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-link:hover {
  color: var(--ink);
}
.landing {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding-top: 18px;
  padding-bottom: 64px;
  text-align: center;
}
.welcome {
  width: 100%;
}
.companion-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.companion-mark {
  display: block;
  width: 56px;
  height: 56px;
  flex: none;
}
h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 span {
  display: inline;
}
.home-page h1 > span {
  display: inline-block;
  white-space: nowrap;
}
/* A media fill, inspired by the supplied React Bits MaskedHeading. */
.masked-heading {
  color: var(--ink);
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='220' viewBox='0 0 720 220'%3E%3Cpath fill='%2325252c' d='M0 0h720v220H0z'/%3E%3Cg fill='none' stroke-width='54'%3E%3Cpath stroke='%23515e7b' d='M-80 240C80-80 230-60 410 230S650 240 800-70'/%3E%3Cpath stroke='%23706c89' d='M-100 140C160-100 230 80 440 120S640 30 820-40'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180% auto;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heading-flow 14s ease-in-out infinite alternate;
}
[data-theme="dark"] .masked-heading {
  /* Keep the signature media fill legible against the night canvas. */
  background-image: linear-gradient(120deg, #f3f3f3 16%, #aeb8d2 52%, #f3f3f3 88%);
  background-size: 180% 100%;
}
@keyframes heading-flow {
  to { background-position: 100% 50%; }
}
/* The supplied React Bits ShinyText sweep, adapted to the light surface. */
.shiny-text {
  display: inline-block;
  color: var(--muted);
  background-image: linear-gradient(120deg, var(--muted) 35%, var(--ink) 48%, var(--soft-ink) 52%, var(--muted) 65%);
  background-size: 250% 100%;
  background-position: 100% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-sheen 7s ease-in-out infinite;
}
@keyframes text-sheen {
  0%, 15% { background-position: 100% 50%; }
  70%, 100% { background-position: 0% 50%; }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.typing-example {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  color: var(--soft-ink);
  font-size: 13px;
}
.typing-copy {
  display: inline-flex;
  align-items: center;
  width: 210px;
  text-align: left;
}
.typing-cursor {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 3px;
  background: currentColor;
  animation: caret-blink 1.1s step-end infinite;
}
.page-hidden .typing-cursor,
.page-hidden .masked-heading,
.page-hidden .shiny-text {
  animation-play-state: paused;
}
@keyframes caret-blink {
  50% { opacity: 0; }
}
.description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin-top: 25px;
  text-wrap: balance;
}
.demo-note {
  margin-top: 13px;
  color: var(--quiet-ink);
  font-size: 12px;
  line-height: 1.8;
}
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-width: 180px;
  min-height: 52px;
  margin-top: 28px;
  padding: 8px 10px 8px 24px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
/* Adapted from the Uiverse nathAd17 Explore interaction supplied by the user. */
.primary-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: inherit;
  transform: translateX(-105%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.action-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: rotate(45deg);
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.primary-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.primary-action:focus-visible::before {
  transform: translateX(0);
}
.primary-action:focus-visible {
  color: var(--page);
  border-radius: 999px;
}
.primary-action:focus-visible .action-arrow {
  background: var(--page);
  color: var(--ink);
  transform: rotate(90deg);
}
.download-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.download-option {
  position: relative;
}
.store-badge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 166px;
  min-height: 54px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #171717;
  color: #fff;
  text-align: left;
  transition: background 0.2s;
}
/* Adapted from Uiverse mrhyddenn's bounded hover ripple. */
.store-badge::before,
.store-badge::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  z-index: -1;
  transform: translate(100%, -25%);
  transition: transform 0.25s, opacity 0.25s;
}
.store-badge:focus-visible::before,
.store-badge:focus-visible::after {
  opacity: 0.15;
  transform: translate(50%, 0) scale(1.1);
}
.store-badge:focus-visible {
  border-radius: 10px;
}
@media (hover: hover) and (pointer: fine) {
  .primary-action:hover {
    color: var(--page);
  }
  .primary-action:hover::before {
    transform: translateX(0);
  }
  .primary-action:hover .action-arrow {
    background: #fff;
    color: #171717;
    transform: rotate(90deg);
  }
  .store-badge:hover {
    animation: badge-rock 0.5s ease-in-out both;
  }
  .store-badge:hover::before,
  .store-badge:hover::after {
    opacity: 0.15;
  }
  .store-badge:hover::before {
    transform: translate(50%, 0) scale(0.9);
  }
  .store-badge:hover::after {
    transform: translate(50%, 0) scale(1.1);
  }
}
@keyframes badge-rock {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(1deg); }
}
.platform-icon {
  width: 26px;
  height: 29px;
  flex: none;
  fill: currentColor;
}
.apple-icon {
  width: 25px;
}
.store-badge span {
  display: grid;
  gap: 1px;
}
.store-badge small {
  font-size: 11px;
  line-height: 1.3;
  color: #d3d3d3;
}
.store-badge strong {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.download-browser-hint {
  max-width: 360px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.download-browser-hint button {
  display: inline-block;
  min-height: 44px;
  border: 0;
  padding-inline: 5px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.site-footer {
  color: var(--quiet-ink);
  font-size: 11px;
  padding-bottom: 17px;
}
.footer-line {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer-line > span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 2px;
}
summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  list-style: none;
  gap: 9px;
  cursor: pointer;
  color: var(--muted);
}
summary::-webkit-details-marker {
  display: none;
}
summary > span {
  display: inline-block;
  font-size: 17px;
  font-weight: 300;
}
details[open] summary > span {
  transform: rotate(45deg);
}
.legal-page {
  flex: 1;
  padding-block: 28px 80px;
}
.legal-heading {
  max-width: 760px;
  margin-bottom: 36px;
}
.legal-heading h1 {
  margin-top: 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -1px;
}
.legal-heading .description {
  font-size: 16px;
  text-wrap: initial;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.legal-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 760px);
  align-items: start;
  gap: 48px;
}
.legal-toc {
  position: sticky;
  top: 24px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.legal-toc p {
  padding-block: 10px;
  color: var(--muted);
  font-size: 12px;
}
.legal-toc a,
.legal-toc-mobile a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--soft-ink);
}
.legal-toc a:hover,
.legal-toc-mobile a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-toc-mobile {
  display: none;
}
.legal-content {
  min-width: 0;
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.legal-content section {
  scroll-margin-top: 24px;
  padding-bottom: 32px;
}
.legal-content section + section {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.legal-content h2 {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
}
.legal-content h3 {
  font-size: 16px;
  line-height: 1.6;
  margin: 24px 0 8px;
  font-weight: 600;
}
.legal-content p + p,
.legal-content p + ul,
.legal-content ul + p {
  margin-top: 14px;
}
.legal-content ul {
  padding-left: 22px;
  margin: 0;
}
.legal-content li + li {
  margin-top: 8px;
}
.legal-content a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.legal-content code {
  font: inherit;
  font-size: 0.92em;
  padding: 2px 6px;
  background: #ededed;
  border-radius: 4px;
}
.legal-notice {
  margin-bottom: 28px;
  padding: 16px 20px;
  border-left: 3px solid #b9b9b9;
  background: var(--surface-muted);
  font-size: 14px;
  line-height: 1.8;
}
.legal-notice strong {
  display: block;
  margin-bottom: 4px;
}
[data-policy-pending] {
  font-weight: 500;
  text-decoration: underline dotted;
  text-underline-offset: 4px;
}
.contact-address {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  font-size: clamp(20px, 4.5vw, 28px);
  letter-spacing: -0.4px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .legal-page {
    padding-block: 16px 44px;
  }
  .legal-heading {
    margin-bottom: 24px;
  }
  .legal-layout {
    display: block;
  }
  .legal-toc {
    display: none;
  }
  .legal-toc-mobile {
    display: block;
    max-width: none;
    margin-bottom: 28px;
    border-block: 1px solid var(--line);
  }
  .legal-toc-mobile summary {
    justify-content: space-between;
    font-size: 14px;
    min-height: 52px;
  }
  .legal-toc-mobile nav {
    padding-bottom: 12px;
  }
  .legal-content section + section {
    padding-top: 24px;
  }
  .legal-content section {
    padding-bottom: 24px;
  }
}
@media (max-width: 600px) {
  .shell {
    padding-inline: 24px;
  }
  .site-header {
    min-height: 82px;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
    gap: 7px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .header-link {
    font-size: 12px;
  }
  .landing {
    padding-top: 12px;
    padding-bottom: 28px;
  }
  .companion-mark {
    width: 44px;
    height: 44px;
  }
  .companion-intro {
    gap: 10px;
    margin-bottom: 24px;
  }
  .typing-copy {
    width: 196px;
  }
  .home-page h1 {
    font-size: clamp(32px, 8.7vw, 45px);
    line-height: 1.35;
  }
  .description {
    font-size: 14px;
    margin-top: 18px;
    line-height: 1.85;
  }
  .demo-note {
    margin-top: 12px;
    font-size: 11px;
  }
  .primary-action {
    margin-top: 24px;
  }
  .download-links {
    gap: 10px;
    margin-top: 18px;
  }
  .store-badge {
    width: 158px;
    padding-inline: 12px;
    gap: 9px;
  }
  .store-badge strong {
    font-size: 16px;
  }
  .site-footer {
    padding-bottom: 12px;
  }
  .footer-line {
    flex-direction: column;
    gap: 0;
  }
  .footer-line > span {
    min-height: 28px;
  }
  .footer-links {
    gap: 0 22px;
    justify-content: center;
  }
}
@media (max-width: 359px) {
  .shell {
    padding-inline: 20px;
  }
  .site-header {
    min-height: 74px;
    gap: 6px;
  }
  .header-actions {
    flex: none;
    gap: 6px;
  }
  .brand {
    flex: none;
    gap: 6px;
    font-size: 18px;
    white-space: nowrap;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  .theme-toggle {
    flex: none;
    gap: 6px;
    padding-inline: 8px;
    white-space: nowrap;
  }
  .header-link {
    flex: none;
    font-size: 11px;
    gap: 3px;
    white-space: nowrap;
  }
  .landing {
    padding-top: 8px;
    padding-bottom: 24px;
  }
  .companion-mark {
    width: 44px;
    height: 44px;
  }
  .description {
    font-size: 13px;
  }
  .demo-note {
    font-size: 11px;
  }
  .download-links {
    gap: 8px;
  }
  .store-badge {
    width: 136px;
    gap: 8px;
    padding-inline: 10px;
  }
  .platform-icon {
    width: 23px;
  }
  .store-badge strong {
    font-size: 14px;
  }
  .store-badge small {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .typing-cursor {
    display: none !important;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
