/* Helio landing page. The shared marketing stylesheet provides the layout. */
body {
  background: var(--helio-page);
  color: var(--helio-ink);
}
a:focus-visible, summary:focus-visible { outline-color: var(--helio-accent); }
.logo img { background: transparent; border-radius: 0; padding: 0; }
.logo > span { border-color: var(--helio-line); }
.pill, .pill.mint, .closing .pill {
  background: var(--helio-action);
  color: var(--helio-action-ink);
}
.pill:hover, .pill.mint:hover, .closing .pill:hover { filter: brightness(1.06); }
.pill:active, .pill.mint:active { filter: brightness(.94); }
.hero {
  min-height: 560px;
  border-radius: 30px;
  background: var(--helio-stage);
  color: var(--helio-night-ink);
}
.hero h1 {
  font-size: clamp(43px, 5.6vw, 76px);
  white-space: normal;
}
.hero h1 em { color: #ffbf90; }
.hero .eyebrow, .lead, .quiet, .hero-bottom { color: var(--helio-night-muted); }
.live-dot, .orbit-label i { background: var(--helio-gold); box-shadow: 0 0 14px #ffbf7166; }
.hero-mark {
  position: relative;
  width: clamp(160px, 21vw, 280px);
  height: auto;
  aspect-ratio: 1;
  filter: drop-shadow(0 20px 40px #22101873);
  animation: float 7s ease-in-out infinite;
}
.halo {
  border-color: #ffbb9f2b;
  box-shadow: 0 0 0 45px #ffbf9d12, 0 0 0 90px #ffaf9008;
  background: radial-gradient(circle, #ffbd9252, transparent 72%);
}
.orbit-label { color: #fff1e9; background: #492635d9; border-color: #ffd3b32c; }
.hero-bottom a { color: #fff0e9; }
.section { padding-top: 88px; }
.feature, .connections > div, .news-preview, .mini-site { background: var(--helio-panel); }
.feature { border-radius: 26px; }
.feature h3 { font-size: 35px; }
.news-card { background: var(--helio-rose); }
.reminders { background: var(--helio-honey); }
.notes, .sites-card { background: var(--helio-tint); }
.news-preview, .mini-site { border-color: var(--helio-line); box-shadow: 0 12px 32px #321e1812; }
.section-heading > p:last-child, .feature p, .tag, .notes .tag,
.preview-top, .news-preview small, .preview-item span, .browser-bar span,
.permission-note small, .step-grid p, .faq details p, .footer { color: var(--helio-muted); }
.preview-item, .browser-bar, .step-grid article, .faq details { border-color: var(--helio-line); }
.preview-item b, .permission-note > span, .step-grid span,
.faq summary::after, .text-link, .nav-links a:hover, .footer .logo, .footer a:last-child {
  color: var(--helio-accent);
}
.text-link:hover { text-decoration: underline; }
.chat-example .bubble, .mini-grid b { color: var(--helio-ink); }
.bubble.outgoing, .mini-grid > div { background: var(--helio-rose); color: var(--helio-muted); }
.bubble.incoming { background: var(--helio-panel); }
.audio-art { color: var(--helio-accent); }
.wave i { background: var(--helio-accent); }
.browser-bar i { background: var(--helio-accent); opacity: .5; }
.closing {
  background: var(--helio-stage);
  color: var(--helio-night-ink);
}
.closing > img { object-fit: contain; }
.skip { background: var(--helio-panel); }

.motion-update {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 64px);
}
.motion-update .section-heading { margin: 0; }
.motion-demo[hidden] { display: none; }
.motion-demo { display: grid; gap: 12px; min-width: 0; }
.motion-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.motion-choices button {
  min-height: 44px; border-radius: 999px; padding: 8px 16px;
  border: 1px solid var(--helio-line); background: var(--helio-panel);
  color: var(--helio-ink); font: inherit; cursor: pointer;
}
.motion-choices button[aria-pressed="true"] {
  background: var(--helio-action); color: var(--helio-action-ink); border-color: transparent;
}
.motion-choices button:focus-visible { outline: 2px solid var(--helio-accent); outline-offset: 2px; }
.motion-card {
  display: flex; align-items: center; gap: 16px;
  min-height: 105px; border: 1px solid var(--helio-line); border-radius: 20px;
  padding: 14px clamp(14px, 3vw, 24px); background: var(--helio-panel);
}
.motion-copy { min-width: 0; overflow-wrap: anywhere; }
.motion-copy strong { font-size: clamp(17px, 2.3vw, 21px); line-height: 1.25; }
.motion-copy p { margin: 3px 0 0; font-size: 15px; color: var(--helio-muted); }
.motion-icon { width: 48px; height: 48px; flex: 0 0 48px; position: relative; }
.motion-icon > div { position: absolute; inset: 0; transition: opacity .22s ease, scale .25s ease; }
.motion-card[data-visual="sun"] .motion-terminal,
.motion-card[data-visual="terminal"] .motion-sun { opacity: 0; scale: .82; }
.motion-terminal {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #242140; color: #ffd98a; border: 2px solid #b5a9e8; border-radius: 11px;
}
.motion-terminal span { width: 9px; height: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.motion-terminal i { width: 10px; height: 2px; border-radius: 2px; margin-top: 10px; background: currentColor; animation: motion-caret .8s ease-in-out infinite alternate; }
.motion-sun i {
  position: absolute; left: calc(50% - 1.5px); bottom: 50%; width: 3px; height: 24px;
  transform: rotate(var(--ray-rotation)); transform-origin: center bottom;
}
.motion-sun i::after {
  content: ""; position: absolute; bottom: 7px; inset-inline: 0; height: 15px;
  border-radius: 4px; background: #fbb351; transform-origin: center bottom;
  animation: motion-ray 2s ease-in-out infinite var(--ray-delay);
}
.motion-sun i:nth-child(-n + 5)::after { background: #f88756; }
.motion-sun i:nth-child(n + 12)::after { background: #ffd792; }
@supports (background-clip: text) {
  .motion-copy strong {
    background: linear-gradient(105deg, var(--helio-muted) 25%, var(--helio-ink) 45%, var(--helio-muted) 65%) 130% / 230% 100%;
    background-clip: text; color: transparent; animation: motion-status 2.4s linear infinite;
  }
}
@keyframes motion-caret { to { opacity: .22; } }
@keyframes motion-ray {
  0%, 100% { transform: scale(.92, .88); }
  25% { transform: scale(.78, 1.12); }
  55% { transform: scale(1.13, .51); }
  78% { transform: scale(1, .72); }
}
@keyframes motion-status { to { background-position: -80%; } }

@media (max-width: 720px) {
  .hero { min-height: auto; padding: 34px 23px 0; border-radius: 24px; }
  .hero h1 { font-size: clamp(34px, 8.8vw, 58px); }
  .hero-mark { width: min(47vw, 180px); }
  .section { padding-top: 64px; }
  .feature h3 { font-size: 30px; }
  .motion-update { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark { animation: none; }
  .pill:hover { transform: none; }
  .motion-terminal i, .motion-sun i::after { animation: none; }
  .motion-icon > div { transition: none; }
  .motion-copy strong { animation: none; background: none; color: var(--helio-ink); }
}
