:root {
  color-scheme: dark;
  --bg: #07070c;
  --fg: #f1f2f9;
  --muted: #9d9eac;
  --line: rgb(255 255 255 / .09);
  --control: rgb(255 255 255 / .055);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
header, main, footer { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
header { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-size: 21px; font-weight: 650; letter-spacing: -.7px; }
.brand-dot { color: #82d7fa; }
.language-switch { display: flex; gap: 16px; font-size: 13px; white-space: nowrap; color: var(--muted); }
.language-switch a { display: inline-flex; align-items: center; min-height: 44px; }
.language-switch a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-underline-offset: 5px; }
.language-switch a:hover { color: var(--fg); }
.hero { min-height: 600px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.copy { position: relative; z-index: 1; padding: 10px 0 50px; }
.eyebrow { font-size: 15px; letter-spacing: .8px; color: var(--muted); margin: 0 0 26px; }
h1 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 650; letter-spacing: -1.8px; line-height: 1.4; margin: 0 0 25px; }
h1 span { display: block; }
.lead { text-wrap: balance; font-size: 20px; letter-spacing: .02em; color: var(--muted); margin: 0; }
.download-area { margin-top: 36px; }
.download-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.download { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 58px; padding: 0 23px; border: 1px solid var(--line); border-radius: 30px; background: var(--control); font-size: 16px; font-weight: 550; white-space: nowrap; transition: background .2s, transform .2s; }
.download:active { transform: scale(.98); }
.download:hover { background: rgb(150 180 255 / .12); transform: translateY(-2px); }
.download span { font-size: 21px; font-weight: 400; }
.download .download-label { font-size: inherit; font-weight: inherit; }
html[lang="en"] h1 { line-height: 1.15; }
.download-iphone { background: transparent; }
.creature-wrap { position: relative; width: min(600px, calc(100% + 60px)); margin-inline: -30px; align-self: center; }
.creature { border: 0; background: none; padding: 0; display: block; position: relative; width: 100%; aspect-ratio: 1; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.creature canvas, .creature img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: contain; }
.creature img { mix-blend-mode: screen; transform-origin: 50% 75%; }
.creature canvas { opacity: 0; transition: opacity .3s; }
.creature.ready canvas { opacity: 1; }
.creature.ready img { visibility: hidden; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 112px; column-gap: 24px; row-gap: 0; font-size: 14px; color: var(--muted); }
a:focus-visible, button:focus-visible { outline: 2px solid #93cfff; outline-offset: 7px; }
.creature:focus-visible { outline-offset: -40px; border-radius: 40%; }
@media (min-width: 1440px) {
  .hero { min-height: 660px; }
  .creature-wrap { margin-right: -75px; }
}
@media (max-width: 760px) {
  header, main, footer { width: calc(100% - 48px); }
  header { height: 80px; }
  .wordmark { font-size: 18px; }
  .language-switch { gap: 12px; }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .copy { grid-row: 2; text-align: center; padding: 0 0 32px; }
  .eyebrow { font-size: 14px; margin-bottom: 18px; }
  h1 { font-size: clamp(27px, 7.8vw, 42px); line-height: 1.5; letter-spacing: -1.2px; margin-bottom: 16px; }
  .lead { font-size: 18px; }
  .download-area { margin-top: 26px; }
  .download-buttons { justify-content: center; gap: 12px; }
  .download { min-height: 58px; min-width: min(270px, 100%); }
  .creature-wrap { grid-row: 1; width: calc(100% + 40px); max-width: 430px; margin: -32px -20px -4px; left: 0; justify-self: center; }
  footer { min-height: 130px; justify-content: flex-start; gap: 0 24px; padding-block: 22px; }
}
@media (prefers-color-scheme: light) {
  :root { color-scheme: light; --bg: #f6f6fb; --fg: #161628; --muted: #666678; --line: rgb(20 20 50 / .10); --control: #fff; }
  .creature img { mix-blend-mode: multiply; }
  .download:hover { background: #eaf2ff; }
  .brand-dot { color: #277ca5; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .download:hover { transform: none; }
}

/* Installation guides keep the app's quiet surfaces and readable type. */
.guide { padding-top: 100px; }
.guide-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 32px; }
.guide-heading h2 { font-size: 32px; font-weight: 600; letter-spacing: -.8px; margin: 0; }
.guide-platform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 64px 0 72px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
.guide-copy .eyebrow { margin-bottom: 14px; font-size: 13px; letter-spacing: 1.6px; }
.guide h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.5; letter-spacing: -.7px; margin: 0 0 32px; font-weight: 600; }
.guide-instructions { list-style: none; padding: 0; margin: 0; counter-reset: guide-step; }
.guide-instructions li { position: relative; padding-left: 38px; margin-top: 28px; counter-increment: guide-step; }
.guide-instructions li:first-child { margin-top: 0; }
.guide-instructions li::before { content: "0" counter(guide-step); position: absolute; left: 0; top: 3px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.guide h4 { font-size: 18px; line-height: 1.6; font-weight: 550; margin: 0 0 8px; }
.guide-instructions p { font-size: 16px; line-height: 1.9; color: var(--muted); margin: 0; }
.guide code { font-size: .95em; color: var(--fg); }
.guide figure { margin: 0; min-width: 0; }
.guide figure img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); background: #07070c; }
.guide figure a { display: block; border-radius: 22px; }
.guide-mac-screen { width: min(100%, 360px); justify-self: center; }
.guide-mac-screen img { width: 100%; border-radius: 22px; }
.guide-phone-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-phone-screens img { width: 100%; border-radius: 24px; }
@media (max-width: 760px) {
  .guide { padding-top: 64px; }
  .guide-heading { flex-direction: column; gap: 8px; padding-bottom: 24px; }
  .guide-heading h2 { font-size: 28px; }
  .guide-platform { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px 0 48px; scroll-margin-top: 24px; }
  .guide h3 { margin-bottom: 28px; }
  .guide-instructions li { padding-left: 34px; margin-top: 24px; }
  .guide h4 { font-size: 17px; }
  .guide-instructions p { font-size: 16px; }
  .guide-phone-screens { gap: 12px; }
  .guide-phone-screens img { border-radius: 18px; }
}

.guide-hooks { grid-column: 1 / -1; min-width: 0; scroll-margin-top: 32px; }
.guide-hooks > p { margin: 0 0 24px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.guide-hooks figure img { width: 100%; border-radius: 12px; }
.guide-image-zoom { display: flex; align-items: center; justify-content: flex-end; min-height: 44px; font-size: 14px; color: var(--muted); }
.guide-hooks a:hover .guide-image-zoom { color: var(--fg); }

.guide-instructions a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }

.privacy { max-width: 680px; padding-block: 70px; }
.privacy h1 { font-size: 30px; letter-spacing: -1px; }
.privacy h2 { font-size: 16px; margin-top: 32px; }
.privacy p { font-size: 14px; line-height: 1.9; color: var(--muted); }
@media (max-width: 380px) {
  header { gap: 8px; }
  .wordmark { font-size: 16px; }
  .language-switch { gap: 10px; font-size: 12px; }
}
