/* The public page also serves this file directly, without the app shell. */
:root:has(.lp-page) {
  --lp-bg: #08090b;
  --lp-fg: #f6f6f4;
  --lp-muted: #a5a7ac;
  --lp-line: #303136;
  --lp-surface: #17181b;
  --lp-section-bg: #101114;
  --lp-soft: #222328;
  --lp-accent: #df4167;
  --lp-focus: #ff88a3;
  --lp-on-button: #08090b;
  --lp-dot: rgb(145 73 87 / 0.22);
  --lp-device: #202126;
  --lp-device-edge: #53555d;
  --lp-device-base: #383a41;
  --lp-font: "Inter Variable", Inter, "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --lp-display: "Outfit Variable", Outfit, var(--lp-font);
}
:root[data-theme="light"]:has(.lp-page) {
  --lp-bg: #fbfaf9;
  --lp-fg: #19171b;
  --lp-muted: #575159;
  --lp-line: #ded9dd;
  --lp-surface: #fff;
  --lp-section-bg: #f1eef0;
  --lp-soft: #ece7eb;
  --lp-focus: #aa254b;
  --lp-on-button: #fff;
  --lp-dot: rgb(164 55 79 / 0.16);
  --lp-device: #dedbe0;
  --lp-device-edge: #a8a2ab;
  --lp-device-base: #cac5cd;
}
html:has(.lp-page), html:has(.lp-page) body, html:has(.lp-page) body #root {
  height: auto;
  min-height: 100%;
  background: var(--lp-bg);
}
.lp-page {
  --lp-ease: cubic-bezier(0.24, 1, 0.4, 1);
  min-height: 100vh;
  overflow-x: clip;
  background: var(--lp-bg);
  color: var(--lp-fg);
  font: 16px/1.6 var(--lp-font);
}
.lp-main svg { flex: none; }
.lp-container { width: min(100% - 80px, 1200px); margin-inline: auto; }
.lp-main :is(h1, h2, h3) { margin: 0; text-wrap: balance; }
.lp-main :is(h1, h2) { font-family: var(--lp-display); font-weight: 500; letter-spacing: -0.036em; line-height: 1.08; }
.lp-main h2 { max-width: 19ch; font-size: clamp(34px, 4.35vw, 62px); }
.lp-main h3 { font-size: clamp(17px, 1.7vw, 23px); font-weight: 600; line-height: 1.32; letter-spacing: -0.02em; }
.lp-main :is(a, button, summary, iframe, [tabindex]):focus-visible {
  outline: 2px solid var(--lp-focus);
  outline-offset: 4px;
}

.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 17px;
  border: 1px solid var(--lp-line);
  border-radius: 9px;
  background: var(--lp-surface);
  color: var(--lp-fg);
  font: 600 14px/1.35 var(--lp-font);
  text-decoration: none;
}
.lp-button:hover { background: var(--lp-soft); }
.lp-button--primary { border-color: var(--lp-fg); background: var(--lp-fg); color: var(--lp-on-button); }
.lp-button--primary:hover { background: color-mix(in srgb, var(--lp-fg) 84%, var(--lp-bg)); }

/* Centered typography, one brand gesture, and the actual product film. */
.lp-hero {
  position: relative;
  isolation: isolate;
  padding: 64px 0 80px;
  text-align: center;
  background-image: radial-gradient(circle, var(--lp-dot) 1px, transparent 1.7px);
  background-size: 28px 28px;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 36% 55% at 50% 48%, var(--lp-bg) 55%, transparent);
}
.lp-hero__content { width: min(100% - 40px, 760px); margin-inline: auto; container-type: inline-size; }
.lp-main .lp-hero__title {
  font-size: clamp(80px, 7vw, 100px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: initial;
}
.lp-page:lang(ja) .lp-hero__title { font-size: min(clamp(58px, 5.6vw, 78px), 11.4cqi); letter-spacing: -0.055em; line-height: 1.16; }
.lp-hero__body { max-width: 54ch; margin: 28px auto 32px; color: var(--lp-muted); font-size: 18px; line-height: 1.75; text-wrap: balance; }
.lp-hero .lp-actions { justify-content: center; }
.lp-hero__apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 524px; margin: 24px auto 0; padding: 0; list-style: none; }
.lp-hero__apps a { display: flex; flex-direction: column; height: 100%; padding: 8px; border: 1px solid var(--lp-line); border-radius: 8px; background: var(--lp-surface); color: var(--lp-fg); text-decoration: none; overflow-wrap: anywhere; }
.lp-hero__apps a:hover { border-color: var(--lp-focus); }
.lp-hero__apps strong { font-size: 14px; font-weight: 600; }
.lp-hero__apps span { color: var(--lp-muted); font-size: 12px; line-height: 1.4; }
.lp-hero__title > span { display: block; }
.lp-hero__title > .lp-hero__title-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.lp-hero__capsule { display: inline-block; flex: 0 0 168px; width: 168px; line-height: 0; pointer-events: none; }
[data-lp-capsule] { position: relative; }
[data-lp-capsule] img { display: block; width: 100%; height: auto; }
.lp-capsule-live { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.lp-capsule-rendered .lp-capsule-live { opacity: 1; }
.lp-capsule-rendered img { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  [data-lp-capsule] img, .lp-capsule-live { transition: opacity 160ms ease-out; }
}
.lp-hero__demo { margin-top: 56px; text-align: left; }
.lp-product-tour { margin: 0; }
.lp-product-tour__media { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--lp-line); border-radius: 14px; background: #08090b; }
.lp-product-tour video[hidden] { display: none; }
.lp-brand-interlude { display: grid; justify-items: center; padding-block: 0 clamp(34px, 5vw, 70px); }
.lp-brand-interlude__characters { width: min(100%, 470px); margin-inline-end: clamp(0px, 12vw, 160px); }

.lp-use-case { padding-block: clamp(48px, 7.5vw, 108px); scroll-margin-top: 70px; }
.lp-use-case--discover { padding-bottom: clamp(32px, 5vw, 64px); }
.lp-use-case__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.55fr);
  align-items: center;
  gap: clamp(26px, 4.5vw, 72px);
}
.lp-use-case__copy { min-width: 0; }
.lp-use-case__layout > .lp-use-case__copy { container-type: inline-size; }
.lp-use-case__copy h2 { max-width: 15ch; font-size: clamp(34px, 4.2vw, 60px); }
.lp-page:lang(ja) .lp-use-case__copy h2 {
  max-width: 14em;
  font-size: clamp(21px, 10.5cqi, 44px);
  line-height: 1.23;
  line-break: strict;
}
.lp-use-case__copy > p { max-width: 37ch; margin: 16px 0 0; color: var(--lp-muted); }
.lp-use-case__link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 44px;
  margin-top: 14px;
  color: var(--lp-fg);
  font-size: 15px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--lp-line);
  text-underline-offset: 4px;
}
.lp-use-case__link:hover { text-decoration-color: var(--lp-focus); }
.lp-use-case__link svg { color: var(--lp-focus); }

.lp-native {
  padding-block: clamp(46px, 6.5vw, 88px);
  scroll-margin-top: 70px;
}
.lp-native__intro { max-width: 690px; }
.lp-native__intro h2 { max-width: none; font-size: clamp(32px, 4.5vw, 56px); }
.lp-page:lang(ja) .lp-native__intro h2 { font-size: clamp(25px, 3.65vw, 48px); }
.lp-native__intro > p { max-width: 52ch; margin: 16px 0 0; color: var(--lp-muted); }
.lp-native__workflows { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(26px, 4vw, 56px); margin-top: clamp(24px, 4vw, 50px); }
.lp-native__workflow { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lp-native__copy { min-width: 0; }
.lp-native__copy h3 { margin: 0; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.08; }
.lp-native__copy > p { max-width: 36ch; margin: 12px 0 0; color: var(--lp-muted); }
.lp-native__copy > .lp-use-case__link { margin-top: 5px; }
.lp-native__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; min-width: 0; border: 1px solid var(--lp-line); border-radius: 11px; background: #16171b; outline-offset: 3px; }

.lp-device-scene { position: relative; min-width: 0; margin: 0; }
.lp-laptop {
  position: relative;
  min-width: 0;
  padding: 7px 7px 8px;
  border: 1px solid var(--lp-device-edge);
  border-radius: 13px 13px 5px 5px;
  background: var(--lp-device);
}
.lp-laptop::after {
  content: "";
  position: absolute;
  inset: 100% -2.7% auto;
  height: 7px;
  border: 1px solid #55575e;
  border-radius: 0 0 50% 50%;
  background: var(--lp-device-base);
}
.lp-laptop__screen { display: block; overflow: hidden; border-radius: 6px 6px 2px 2px; }
.lp-laptop__screen img, img.lp-laptop__screen { display: block; width: 100%; height: auto; }
.lp-device-scene--discover { padding: 0 6% clamp(70px, 10vw, 133px) 0; }
.lp-device-scene__launch {
  position: absolute;
  display: block;
  width: 47%;
  height: auto;
  inset: auto 0 0 auto;
  border: 1px solid var(--lp-device-edge);
  border-radius: 11px;
}
.lp-create { --lp-demo-width: 1000px; padding-block: clamp(34px, 5.3vw, 74px) clamp(34px, 5vw, 62px); }
.lp-create__copy, .lp-create__film, .lp-create__comparison, .lp-create__note {
  width: min(100%, var(--lp-demo-width));
  margin-inline: auto;
}
.lp-create__copy { margin-bottom: clamp(20px, 4vw, 36px); }
.lp-create__copy h2 { max-width: 23ch; }
.lp-page:lang(ja) .lp-create__copy h2 { max-width: none; font-size: clamp(28px, 5.35vw, 62px); }
.lp-create__copy > p { max-width: 52ch; }
.lp-create__film > .lp-laptop__screen { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #f5f3ed; }
.lp-page video[data-lp-video] > img { display: block; width: 100%; height: auto; }
.lp-page .lp-video-fallback, .lp-page video[data-lp-video-failed] { display: none; }
.lp-page video:not([hidden])[data-lp-video-failed] + .lp-video-fallback { display: block; }
.lp-developer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-block: 12px; }
.lp-developer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--lp-muted); text-underline-offset: 4px; }
.lp-developer-links a:hover { color: var(--lp-fg); }
.lp-create__note { display: none; margin-top: 16px; color: var(--lp-muted); font-size: 14px; }
.lp-create__comparison { display: none; gap: 18px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.lp-create__comparison figure { margin: 0; min-width: 0; }
.lp-create__comparison figcaption { margin-bottom: 8px; color: var(--lp-muted); font-size: 14px; }
.lp-create__comparison img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--lp-line); }
.lp-use-case--share { border-block: 1px solid var(--lp-line); background: var(--lp-section-bg); }
.lp-use-case--share .lp-use-case__layout {
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 0.78fr);
}
.lp-use-case--share .lp-device-scene { grid-column: 1; grid-row: 1; }
.lp-device-scene--share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 27%);
  align-items: center;
  gap: clamp(13px, 2vw, 29px);
}
.lp-laptop img.lp-share-screen {
  width: 100%;
  aspect-ratio: 1.28;
  height: auto;
  object-fit: contain;
  background: #141414;
}
.lp-device-scene__phone {
  display: block;
  width: 100%;
  height: auto;
  padding: 5px;
  border: 1px solid var(--lp-device-edge);
  border-radius: 21px;
  background: var(--lp-device);
}

.lp-manifesto { border-block: 1px solid var(--lp-line); background: var(--lp-section-bg); }
.lp-manifesto__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); align-items: end; gap: clamp(24px, 4vw, 48px); padding-block: clamp(48px, 6vw, 88px); }
.lp-manifesto__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.lp-manifesto__copy > p { max-width: 37ch; margin: 0; color: var(--lp-muted); font-size: clamp(15px, 1.45vw, 18px); text-wrap: pretty; }
.lp-manifesto__characters {
  --lp-ground-shadow: rgb(0 0 0 / 0.48);
  width: 100%;
  max-width: 690px;
  justify-self: end;
  margin-block-end: max(-72px, -11%);
}
:root[data-theme="light"] .lp-manifesto__characters { --lp-ground-shadow: rgb(25 17 20 / 0.2); }
.lp-manifesto__characters::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 13% 3% at 28% 70.5%, var(--lp-ground-shadow), transparent),
    radial-gradient(ellipse 13% 3.2% at 51% 74.5%, var(--lp-ground-shadow), transparent),
    radial-gradient(ellipse 13% 2.8% at 73% 67.5%, var(--lp-ground-shadow), transparent);
}
.lp-manifesto__characters img { position: relative; }
.lp-manifesto h2 { max-width: none; font-size: clamp(52px, 7.1vw, 100px); line-height: 1.04; }
.lp-page:lang(ja) .lp-manifesto h2 { font-size: clamp(38px, 5.5vw, 76px); line-height: 1.12; letter-spacing: -0.055em; }
.lp-manifesto h2 > span { display: inline-block; }

.lp-ai-prompt {
  display: grid;
  gap: 12px;
  width: 100%;
  text-align: start;
}
.lp-ai-prompt label { width: fit-content; font-size: 14px; font-weight: 600; }
.lp-ai-prompt__editor {
  display: grid;
  min-width: 0;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: var(--lp-bg);
}
.lp-ai-prompt__editor > * {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 0;
  font: 400 16px/1.65 var(--lp-font);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.lp-ai-prompt__editor [data-prompt-size] { visibility: hidden; }
.lp-ai-prompt__editor textarea {
  overflow: hidden;
  resize: none;
  background: transparent;
  color: var(--lp-fg);
  border-radius: inherit;
}
.lp-ai-prompt__editor textarea:focus-visible { outline: 2px solid var(--lp-focus); outline-offset: 2px; }
.lp-ai-prompt__actions button:not(:disabled) { cursor: pointer; }
.lp-ai-prompt p { margin: 0; color: var(--lp-muted); font-size: 14px; line-height: 1.6; }
.lp-ai-prompt__destinations:not([hidden]) { display: flex; flex-wrap: wrap; gap: 0 16px; }
.lp-ai-prompt__destinations a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lp-fg);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 3px;
}

.lp-discover-carousel {
  padding-bottom: clamp(20px, 4vw, 52px);
}
.lp-discover-carousel[hidden],
.lp-discover-carousel__controls[hidden],
.lp-discover-carousel__controls button[hidden],
[aria-pressed="true"] > .lp-carousel-play,
[aria-pressed="false"] > .lp-carousel-pause { display: none; }
.lp-discover-carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.lp-discover-carousel__controls { display: flex; gap: 8px; }
.lp-discover-carousel__controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  color: var(--lp-fg);
  background: var(--lp-surface);
  cursor: pointer;
}
.lp-discover-carousel__controls button:hover { background: var(--lp-soft); }
.lp-discover-carousel__controls button[aria-disabled="true"] { opacity: 0.48; cursor: default; }
.lp-discover-carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--lp-line) transparent;
  list-style: none;
  padding: 0 0 8px;
  margin: 0;
}
.lp-discover-carousel__track > li { flex: 0 0 clamp(154px, 25vw, 224px); min-width: 0; }
.lp-discover-carousel__card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  color: var(--lp-fg);
  background: var(--lp-surface);
  text-decoration: none;
}
.lp-discover-carousel__card:hover { border-color: var(--lp-focus); }
.lp-main .lp-discover-carousel__card:focus-visible { outline-offset: -3px; }
.lp-discover-carousel__preview {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: var(--lp-soft);
  color: var(--lp-muted);
  font: 500 38px/1 var(--lp-display);
}
.lp-discover-carousel__preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--lp-soft);
  opacity: 0;
}
.lp-discover-carousel__preview img[data-loaded] { opacity: 1; }
.lp-discover-carousel__title {
  display: block;
  overflow: hidden;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.lp-page) { scroll-behavior: smooth; }
  .lp-button { transition: background-color 200ms var(--lp-ease); }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.lp-page) { scroll-behavior: auto; }
  .lp-create__film { display: none; }
  .lp-create__comparison { display: grid; }
  .lp-create__note { display: block; }
}
@media (max-width: 1199px) {
  .lp-hero { padding-top: 56px; }
}

@media (max-width: 960px) {
  .lp-container { width: calc(100% - 56px); }

  .lp-main .lp-hero__title { font-size: clamp(64px, 8.7vw, 84px); }
  .lp-page:lang(ja) .lp-hero__title { font-size: min(64px, 11.4cqi); }
}
@media (max-width: 690px) {
  .lp-container { width: calc(100% - 40px); }
  .lp-hero { padding: 48px 0 56px; }
  .lp-hero__capsule { flex-basis: 104px; width: 104px; }
  .lp-hero__demo { margin-top: 32px; }
  .lp-brand-interlude__characters { width: min(90%, 380px); margin-inline-end: 0; }
  .lp-main .lp-hero__title { font-size: clamp(40px, 11.5vw, 72px); }
  .lp-page:lang(ja) .lp-hero__title { font-size: min(clamp(33px, 8.3vw, 53px), 11.5cqi); }
  .lp-hero__body { margin: 24px auto 28px; font-size: 16px; }
  .lp-use-case__layout, .lp-use-case--share .lp-use-case__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lp-device-scene--discover { padding-right: 3%; padding-bottom: 23%; }
  .lp-device-scene__launch { width: 56%; }
  .lp-create__comparison, .lp-native__workflows { grid-template-columns: minmax(0, 1fr); }
  .lp-create__film { width: calc(100% - 12px); }
  .lp-use-case--share .lp-device-scene { grid-column: auto; grid-row: auto; }
  .lp-device-scene--share { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; }
  .lp-device-scene--share .lp-laptop { width: 100%; }
  .lp-laptop img.lp-share-screen { aspect-ratio: 1.02; }
  .lp-device-scene__phone { width: min(68%, 250px); }
  .lp-manifesto__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 48px 40px; }
  .lp-manifesto__copy { align-items: center; gap: 16px; text-align: center; }
  .lp-ai-prompt__editor > * { padding: 16px; }
  .lp-manifesto__characters { width: min(100vw - 16px, 480px); justify-self: center; margin-block-end: max(-40px, -10%); }
}
@media (max-width: 360px) {
  .lp-hero__capsule { flex-basis: 92px; width: 92px; }
  .lp-actions { gap: 6px; }
  .lp-button { padding-inline: 10px; }
}

/* ── shared media frame (also used by Discover's hero recordings) ──
   Discover mounts LandingVideo on its own. */
.landing-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--canvas);
  aspect-ratio: 16 / 10;
}

.landing-media-video,
.landing-media-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-media-frame {
  width: 100%;
  height: 100%;
}

/* Public navigation uses the same shared header as Docs and Legal. */
.lp-page .site-header {position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:8px;min-height:64px;padding:0 24px;border-bottom:1px solid var(--lp-line);background:var(--lp-bg);color:var(--lp-fg)}
.lp-page .site-header__brand {display:flex;align-items:center;min-width:44px;min-height:44px;padding:6px 8px;margin:-6px 8px -6px -8px;border-radius:12px;color:var(--lp-fg);text-decoration:none}
.lp-page .site-header__nav {display:flex;gap:8px;margin:0}
.lp-page .site-header__nav a {display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border-radius:12px;color:var(--lp-muted);font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap}
.lp-page .site-header__actions {display:flex;align-items:center;gap:8px;margin-left:auto}
.lp-page .site-header__search {display:flex;align-items:center;gap:16px;width:clamp(240px,26vw,380px);height:42px;padding:0 14px;border:1px solid var(--lp-line);border-radius:12px;color:var(--lp-muted)}
.lp-page .site-header__search input {flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--lp-fg);font:inherit}
.lp-page .site-header__studio,.lp-page .site-header__signin {display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border:1px solid var(--lp-line);border-radius:12px;color:var(--lp-fg);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.lp-page .site-header__signin { background: var(--lp-surface); }
.lp-page .site-header :focus-visible {outline:2px solid var(--lp-focus);outline-offset:2px}
@media(max-width:900px){.lp-page .site-header {padding:0 12px}.lp-page .site-header__search {width:clamp(100px,22vw,240px)}.lp-page .site-header__studio span {display:none}}
@media(max-width:640px){.lp-page .site-header {padding:0 8px;gap:4px}.lp-page .site-header__nav a:nth-child(2) span,.lp-page .site-header__search,.lp-page .site-header__studio {display:none}.lp-page .site-header__nav {gap:0}.lp-page .site-header__nav a {padding:0 8px}.lp-page .site-header__actions {gap:4px}.lp-page .site-header__signin {padding:0 8px;font-size:13px}}


/* Public header and landing share the same compact navigation rhythm. */
.lp-page .site-header__nav a[aria-current="page"] { background: var(--lp-surface); color: var(--lp-fg); }
.lp-page .site-header__studio { background: var(--lp-surface); color: var(--lp-fg); }
.lp-page .site-header__search { box-sizing: border-box; flex: 0 1 374px; width: clamp(240px, 26vw, 374px); height: 42px; }
.lp-page .site-header__shortcut { flex: none; color: var(--lp-muted); font: 12px/1 var(--lp-font); white-space: nowrap; }
.lp-theme-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--lp-fg);
  background: transparent;
  cursor: pointer;
}
.lp-theme-toggle:hover { background: var(--lp-soft); }
.lp-theme-toggle[aria-pressed="true"] {
  background: var(--lp-surface);
  border-color: var(--lp-line);
  color: var(--lp-focus);
}
.lp-page .global-footer { padding-inline: max(32px, calc((100% - 1120px) / 2)); }
.lp-page .global-footer__copyright { font: 400 12px/1.5 var(--lp-font); }
@media (max-width: 640px) {
  .lp-page .site-header__nav a:first-child span { display: none; }
  .lp-page .site-header__nav a { width: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .lp-page .site-header__search { display: flex; position: relative; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; justify-content: center; border: 0; background: transparent; }
  .lp-page .site-header__search input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: text; }
  .lp-page .site-header__search:focus-within { position: absolute; inset: 6px 8px; z-index: 40; width: auto; padding: 0 12px; justify-content: flex-start; background: var(--lp-surface); border: 1px solid var(--lp-line); }
  .lp-page .site-header__search:focus-within input { position: static; opacity: 1; }
  .lp-page .site-header__shortcut { display: none; }
  .lp-page .site-header__studio { display: inline-flex; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; }
  .lp-page .site-header__studio span { display: none; }
  .lp-page .site-header__actions { margin-left: auto; }
  .lp-page .global-footer { padding-inline: 20px; }
}
@media (max-width: 420px) { .lp-page .site-header__nav a:nth-child(2) { display: none; } }

html[data-theme] .lp-page .site-header__studio { background: var(--lp-surface); color: var(--lp-fg); }
@media (max-width: 640px) {
  .lp-page .site-header { min-height: 56px; }
  .lp-page .site-header__brand { margin-right: 0; }
  .lp-page .site-header__studio { flex: 0 0 44px; }
  .lp-page .site-header__signin { min-height: 44px; }
}
@media (max-width: 374px) {
  .lp-page .site-header, .lp-page .site-header__actions { gap: 0; }
  .lp-page .site-header__signin { padding-inline: 6px; }
}
@media (max-width: 350px) { .lp-page .site-header__brand .ato-logo-wordmark { display: none; } }

.lp-page .global-footer__brand > a,
.lp-page .global-footer__nav a { color: #f5f5f5; }
.lp-page .global-footer__brand .ato-logo-wordmark { color: inherit; }
.lp-page .global-footer__nav a:hover,
.lp-page .global-footer__nav a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
:root[data-theme="light"] .lp-page .global-footer {
  background: var(--lp-bg);
  border-color: var(--lp-line);
}
:root[data-theme="light"] .lp-page :is(.global-footer__brand > a, .global-footer__nav a) { color: var(--lp-fg); }
:root[data-theme="light"] .lp-page .global-footer__copyright { color: var(--lp-muted); }
:root[data-theme="light"] .lp-page .global-footer__nav a:is(:hover, :focus-visible) { color: var(--lp-focus); }

/* The landing-page newsletter block sits between the manifesto and the
   developer links; the footer one is laid out by the shared footer rules. */
.lp-page .lp-newsletter { max-width: 1120px; margin: 0 auto; padding: 8px 0 56px; }
.lp-page .lp-newsletter .newsletter-signup__title { color: var(--lp-muted); font: 700 11px/1.4 var(--lp-font); letter-spacing: 0.12em; }
.lp-page .lp-newsletter .newsletter-signup__input { border-color: var(--lp-line); color: var(--lp-fg); }
.lp-page .lp-newsletter .newsletter-signup__button { border-color: var(--lp-focus); background: var(--lp-focus); color: #08090b; }
.lp-page .lp-newsletter .newsletter-signup__hint { color: var(--lp-muted); }
.lp-page .global-footer__newsletter { grid-column: 1 / -1; padding-top: 8px; }
.lp-page .global-footer__newsletter .newsletter-signup__title { color: #a3a3a3; }
.lp-page .global-footer__newsletter .newsletter-signup__input { border-color: #2b2d31; color: #f5f5f5; }
.lp-page .global-footer__newsletter .newsletter-signup__button { border-color: #e7ff5e; background: #e7ff5e; color: #0c0d0f; }

