:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 100%;
  color: #eef4fb;
  background: #08111f;
  line-height: 1.7;
  font-synthesis: none;
}

html { background: #08111f; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgb(24 168 196 / 16%), transparent 29rem),
    radial-gradient(circle at 0 42%, rgb(63 99 255 / 10%), transparent 32rem),
    #08111f;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: #67e8f9; }
a:hover { color: #a5f3fc; }

:where(a, button):focus-visible {
  outline: 3px solid #67e8f9;
  outline-offset: 3px;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #eef4fb;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
}

.header-actions,
nav {
  display: flex;
  align-items: center;
}

.header-actions { gap: 18px; }
nav { flex-wrap: wrap; gap: 8px 24px; }
nav a { color: #92a3b8; font-size: .92rem; text-decoration: none; }
nav a[aria-current="page"] { color: #eef4fb; }

.language-switcher {
  flex-wrap: nowrap;
  gap: 2px;
  padding: 3px;
  border: 1px solid #2f4157;
  border-radius: 10px;
  background: #0b1727;
}

.language-switcher a {
  padding: 5px 9px;
  border-radius: 7px;
  color: #8295aa;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.language-switcher a[aria-current="page"] {
  color: #08111f;
  background: #67e8f9;
}

.language-switcher a:hover { color: #eef4fb; }
.language-switcher a[aria-current="page"]:hover { color: #08111f; }

.header-install-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-weight: 800;
  text-decoration: none;
}

.header-install-button { padding-inline: 17px; color: #08111f; background: #67e8f9; }
.header-install-button:hover { color: #08111f; background: #a5f3fc; }

main { padding-block: 76px 112px; }
section + section { margin-top: 120px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: 480px;
}

.hero-copy { max-width: 850px; }
.eyebrow { margin: 0 0 12px; color: #67e8f9; font-size: .76rem; font-weight: 900; letter-spacing: .2em; }
h1, h3 { font-weight: 800; }
h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.7rem); line-height: 1.1; letter-spacing: -.065em; }
h1 span { color: #67e8f9; }
h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.25; }
h3 { margin: 0; line-height: 1.35; }
.lead { max-width: 760px; margin: 30px 0 0; color: #a9b8ca; font-size: clamp(1.05rem, 2vw, 1.28rem); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }
.primary-button { gap: 18px; padding: 14px 22px; color: #08111f; background: #67e8f9; box-shadow: 0 12px 34px rgb(6 182 212 / 18%); }
.primary-button:hover { color: #08111f; background: #a5f3fc; transform: translateY(-1px); }
.secondary-button { padding: 13px 22px; border: 1px solid #33445a; color: #eef4fb; }
.secondary-button:hover { border-color: #67e8f9; color: #67e8f9; }
.privacy-note { color: #8193a8; font-size: .9rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.section-heading > p { max-width: 390px; margin: 0; color: #92a3b8; }

.demo-video-frame {
  overflow: hidden;
  border: 1px solid #2a3b51;
  border-radius: 20px;
  background: #252521;
  box-shadow: 0 34px 90px rgb(0 0 0 / 30%);
}

.demo-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 708;
  background: #252521;
  object-fit: contain;
}

.demo-feature-list {
  display: grid;
  gap: 72px;
}

.demo-feature-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  align-items: center;
  margin-bottom: 18px;
}

.demo-feature-heading > span {
  grid-row: 1 / 3;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 12px;
  color: #08111f;
  background: #67e8f9;
  font-size: 1.05rem;
  font-weight: 900;
}

.demo-feature-heading h3 {
  font-size: 1.35rem;
}

.demo-feature-heading p {
  margin: 0;
  color: #92a3b8;
}

.document code { overflow-wrap: anywhere; color: #c9f7fb; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.usage ol { padding-left: 1.5em; }
.usage li + li { margin-top: 12px; }
.settings-preview {
  max-width: 600px;
  margin: 24px auto 28px;
}
.settings-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #2a3b51;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgb(0 0 0 / 24%);
}
.chrome-url-copy {
  display: flex;
  width: min(100%, 390px);
  min-height: 46px;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 6px 7px 6px 15px;
  border: 1px solid #3a4d64;
  border-radius: 12px;
  color: #d9e7f5;
  background: #15253a;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}
.chrome-url-copy code {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font: 600 .9rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chrome-url-copy button {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: #b8c9da;
  background: #263a52;
  cursor: pointer;
}
.chrome-url-copy button:hover { color: #08111f; background: #67e8f9; }
.chrome-url-copy button:focus-visible { outline: 2px solid #67e8f9; outline-offset: 2px; }
.chrome-url-copy button.is-copied { color: #08111f; background: #86efac; }
.copy-feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.button {
  display: inline-block;
  margin-top: 20px;
  padding: 13px 22px;
  border-radius: 11px;
  color: #08111f;
  background: #67e8f9;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { color: #08111f; background: #a5f3fc; }
.button-disabled,
.button-disabled:hover {
  color: #8191a5;
  background: #26364b;
  cursor: not-allowed;
  user-select: none;
}
.availability-note { margin: 10px 0 0; color: #8193a8; font-size: .9rem; }

.document { max-width: 800px; }
.document h1, .contact h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.document > p { margin-top: 18px; color: #b0bed0; }
.document > .eyebrow { margin-top: 0; }
.document h2 { margin-top: 2.2em; font-size: 1.5rem; }
.updated { color: #71869e !important; }
.contact { max-width: 820px; min-height: 66vh; }
.contact > p:not(.eyebrow) { margin-top: 24px; color: #acbbcb; font-size: 1.2rem; }
.contact-link { margin-left: .3em; font-weight: 800; white-space: nowrap; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 30px; border-top: 1px solid #26364b; color: #6f8299; font-size: .86rem; }
footer a { color: #92a3b8; text-underline-offset: 4px; }
footer a:hover { color: #67e8f9; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .header-actions > nav:not(.language-switcher) { order: 3; flex-basis: 100%; justify-content: flex-end; }
  .hero { min-height: auto; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .site-header, footer { align-items: flex-start; flex-direction: column; }
  .header-actions, .header-actions > nav:not(.language-switcher) { justify-content: flex-start; }
  main { padding-block: 50px 78px; }
  section + section { margin-top: 88px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  footer { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
