:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.16);
  --paper: #ffffff;
  --wash: #f5f5f7;
  --wash-deep: #e8e8ed;
  --blue: #0071e3;
  --blue-pressed: #0062c4;
  --black: #000000;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --page: min(1120px, calc(100vw - 40px));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "PingFang SC", "PingFang HK", "Helvetica Neue", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: -0.012em;
}

body,
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: underline;
}

button,
summary,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.42);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.visually-hidden {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 52px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(0, 0, 0, 0.08);
}

.nav-shell {
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand-link {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-link:hover,
.nav-link:hover,
.project-menu a:hover,
.language-link:hover {
  text-decoration: none;
}

.brand-glyph {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 9px;
  font-size: 15px;
  font-weight: 730;
  letter-spacing: -0.06em;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.language-link,
.project-switcher summary {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 520;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.nav-link[aria-current="page"],
.project-switcher summary:hover,
.nav-link:hover,
.language-link:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.045);
}

.project-switcher {
  position: relative;
}

.project-switcher summary {
  list-style: none;
}

.project-switcher summary::-webkit-details-marker {
  display: none;
}

.project-switcher summary::after {
  width: 7px;
  height: 7px;
  margin: -4px 2px 0 8px;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.project-switcher[open] summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.project-menu {
  position: absolute;
  top: 48px;
  right: 0;
  width: 270px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transform-origin: top right;
  animation: menu-in 180ms var(--ease-out);
}

.project-menu a {
  min-height: 56px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  border-radius: 12px;
  text-decoration: none;
}

.project-menu a:hover {
  background: var(--wash);
}

.menu-project-icon {
  width: 36px;
  height: 36px;
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.menu-project-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.menu-copy {
  display: grid;
  gap: 2px;
}

.menu-copy strong {
  font-size: 14px;
  font-weight: 650;
}

.menu-copy small {
  color: var(--muted);
  font-size: 12px;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-4px);
  }
}

.section-shell {
  width: var(--page);
  margin: 0 auto;
}

.home-hero {
  position: relative;
  min-height: 760px;
  padding: 112px 0 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.home-hero::before,
.home-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 50%;
}

.home-hero::before {
  width: min(64vw, 820px);
  aspect-ratio: 1;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.home-hero::after {
  width: min(42vw, 540px);
  aspect-ratio: 1;
  top: 42%;
  left: 50%;
  border-color: rgba(0, 113, 227, 0.16);
  transform: translate(-50%, -50%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0;
}

.display-title {
  margin: 0;
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 720;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 480;
  line-height: 1.36;
  letter-spacing: -0.026em;
}

.button-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  min-height: 46px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 550;
  line-height: 1;
  text-decoration: none;
  transition: background 140ms ease, transform 140ms ease;
}

.button:hover {
  background: var(--blue-pressed);
  text-decoration: none;
}

.button:active {
  transform: scale(0.97);
}

.button-secondary {
  color: var(--blue);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.button-secondary:hover {
  color: #fff;
  background: var(--blue);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 17px;
  font-weight: 520;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.022em;
}

.projects-section {
  padding: 112px 0;
  background: var(--wash);
}

.project-carousel {
  margin-top: 48px;
}

.project-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.project-track::-webkit-scrollbar {
  display: none;
}

.project-stage {
  position: relative;
  min-height: 620px;
  padding: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  align-items: center;
  gap: 56px;
  overflow: hidden;
  color: #f5f5f7;
  background: #050505;
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.project-stage::after {
  position: absolute;
  width: 480px;
  height: 480px;
  right: -110px;
  bottom: -180px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(255, 255, 255, 0.025),
    0 0 0 152px rgba(255, 255, 255, 0.018);
}

.project-copy {
  position: relative;
  z-index: 2;
}

.project-label {
  margin: 0 0 12px;
  color: #8ac2ff;
  font-size: 15px;
  font-weight: 650;
}

.project-name {
  margin: 0;
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}

.project-description {
  max-width: 590px;
  margin: 24px 0 0;
  color: #a1a1a6;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.project-stage .text-link {
  margin-top: 26px;
  color: #2997ff;
}

.project-stage.is-anxu {
  background: #081a2d;
}

.project-stage.is-anxu::after {
  border-color: rgba(78, 125, 255, 0.24);
  box-shadow: 0 0 0 76px rgba(78, 125, 255, 0.045),
    0 0 0 152px rgba(78, 125, 255, 0.025);
}

.app-icon {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  aspect-ratio: 1;
  justify-self: center;
  overflow: hidden;
  background: #111;
  border-radius: 23.5%;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: rotate(4deg);
  transition: transform 500ms var(--ease-out);
}

.project-stage:hover .app-icon {
  transform: rotate(0deg) scale(1.015);
}

.app-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.anxu-icon {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);
  aspect-ratio: 1;
  justify-self: center;
  transform: rotate(-3deg);
  filter: drop-shadow(0 32px 58px rgba(0, 0, 0, 0.42));
  transition: transform 500ms var(--ease-out);
}

.project-stage:hover .anxu-icon {
  transform: rotate(0deg) scale(1.015);
}

.anxu-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-controls {
  min-height: 52px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.carousel-position {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.carousel-position strong {
  color: var(--ink);
  font-weight: 680;
}

.carousel-dots,
.carousel-arrows {
  display: flex;
  align-items: center;
}

.carousel-dot,
.carousel-arrow {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dot span {
  width: 7px;
  height: 7px;
  background: #b7b7bc;
  border-radius: 50%;
  transition: width 220ms var(--ease-out), background 220ms ease;
}

.carousel-dot[aria-current="true"] span {
  width: 24px;
  background: var(--ink);
  border-radius: 999px;
}

.carousel-arrows {
  justify-self: end;
  gap: 8px;
}

.carousel-arrow {
  background: #e1e1e5;
  font-family: inherit;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-arrow:hover:not(:disabled) {
  background: #d2d2d7;
}

.carousel-arrow:active:not(:disabled) {
  transform: scale(0.94);
}

.carousel-arrow:disabled {
  color: #a1a1a6;
  background: #ececef;
  cursor: default;
}

.principles-section {
  padding: 120px 0;
}

.principle-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.principle {
  min-height: 250px;
  padding: 32px 30px 30px 0;
  border-bottom: 1px solid var(--line);
}

.principle + .principle {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.principle-number {
  color: var(--blue);
  font-size: 14px;
  font-weight: 680;
}

.principle h3 {
  margin: 56px 0 10px;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.contact-section {
  padding: 112px 0;
  color: #f5f5f7;
  background: #000;
  text-align: center;
}

.contact-section .section-title,
.contact-section .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.contact-section .section-lead {
  color: #a1a1a6;
}

.contact-section .text-link {
  margin-top: 28px;
  color: #2997ff;
}

.ibey-hero {
  min-height: 760px;
  padding: 82px 0 96px;
  overflow: hidden;
  background: var(--paper);
}

.ibey-hero-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.84fr);
  align-items: center;
  gap: 68px;
}

.ibey-brandline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ibey-brandline .mini-app-icon {
  width: 52px;
  height: 52px;
  position: relative;
  overflow: hidden;
  background: #111;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.mini-app-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ibey-brandline strong {
  font-size: 21px;
  letter-spacing: -0.025em;
}

.ibey-title {
  max-width: 660px;
  margin: 30px 0 0;
  font-size: clamp(52px, 6.4vw, 82px);
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.ibey-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.42;
  letter-spacing: -0.024em;
}

.ibey-hero .button-row {
  justify-content: flex-start;
}

.availability-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.phone-stage {
  position: relative;
  min-height: 710px;
  margin: 0;
  display: grid;
  place-items: center;
}

.phone-stage::before,
.phone-stage::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(0, 113, 227, 0.15);
  border-radius: 50%;
}

.phone-stage::before {
  width: 520px;
  height: 520px;
}

.phone-stage::after {
  width: 390px;
  height: 390px;
  border-color: rgba(0, 0, 0, 0.08);
}

.phone {
  position: relative;
  z-index: 2;
  width: 326px;
  padding: 10px;
  overflow: hidden;
  background: #111;
  border: 1px solid #3a3a3c;
  border-radius: 56px;
  box-shadow: 0 36px 76px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: rotate(2deg);
}

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1206 / 2622;
  overflow: hidden;
  background: #f2f2f7;
  border-radius: 47px;
}

.phone-shot-link,
.phone-screenshot {
  width: 100%;
  height: 100%;
  display: block;
}

.phone-shot-link {
  min-height: 44px;
}

.phone-screenshot {
  object-fit: cover;
}

.phone-stage figcaption {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 8px;
  padding: 8px 12px;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  font-size: 12px;
  font-weight: 650;
}

.ibey-intro {
  padding: 120px 0;
  color: #f5f5f7;
  background: #000;
  text-align: center;
}

.ibey-intro .section-title,
.ibey-intro .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.ibey-intro .section-lead {
  color: #a1a1a6;
}

.feature-section {
  padding: 120px 0;
  background: var(--wash);
}

.feature-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-panel {
  position: relative;
  min-height: 650px;
  padding: 42px;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-md);
}

.feature-panel.wide {
  grid-column: 1 / -1;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  align-items: center;
  gap: 40px;
}

.feature-panel h3 {
  max-width: 490px;
  margin: 0;
  font-size: clamp(30px, 3.8vw, 47px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.feature-panel p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-screenshot {
  position: relative;
  margin: 0;
}

.feature-screenshot a,
.feature-screenshot img {
  width: 100%;
  display: block;
}

.feature-screenshot a {
  min-height: 44px;
  overflow: hidden;
  background: #f2f2f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.15);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}

.feature-screenshot a:hover {
  box-shadow: 0 30px 68px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.feature-screenshot img {
  height: auto;
}

.feature-screenshot figcaption {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  padding: 7px 11px;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  font-size: 12px;
  font-weight: 650;
}

.feature-screenshot.is-phone {
  position: absolute;
  right: 42px;
  bottom: -305px;
  width: min(62%, 330px);
}

.feature-screenshot.is-phone a {
  border: 8px solid #1d1d1f;
  border-radius: 46px 46px 0 0;
}

.feature-screenshot.is-landscape a {
  border: 8px solid #1d1d1f;
  border-radius: 30px;
}

.privacy-section {
  padding: 124px 0;
  color: #f5f5f7;
  background: #000;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 88px;
}

.privacy-section .section-lead {
  color: #a1a1a6;
}

.privacy-points {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.privacy-points li {
  min-height: 82px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #d2d2d7;
  font-size: 16px;
}

.check-glyph {
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #000;
  background: #f5f5f7;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 750;
}

.ibey-links-section {
  padding: 100px 0;
}

.link-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-panel {
  min-height: 240px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--wash);
  border-radius: 22px;
  text-decoration: none;
  transition: transform 220ms var(--ease-out), background 180ms ease;
}

.link-panel:hover {
  background: #ececf0;
  text-decoration: none;
  transform: translateY(-4px);
}

.link-panel small {
  color: var(--muted);
  font-size: 13px;
}

.link-panel strong {
  margin-top: auto;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.link-panel span {
  margin-top: 8px;
  color: var(--blue);
  font-size: 15px;
}

.legal-hero {
  padding: 86px 0 60px;
  background: var(--wash);
}

.legal-hero .section-shell {
  max-width: 900px;
}

.legal-product {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 650;
}

.legal-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.052em;
}

.legal-summary {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

.legal-date {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  width: min(980px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 72px 0 100px;
  display: grid;
  grid-template-columns: 190px minmax(0, 720px);
  align-items: start;
  gap: 70px;
}

.legal-toc {
  position: sticky;
  top: 84px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.legal-toc a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-content h2 {
  margin: 0;
  padding-top: 42px;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.036em;
  scroll-margin-top: 70px;
}

.legal-content h2:first-child {
  padding-top: 0;
}

.legal-content h3 {
  margin: 26px 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.72;
}

.legal-content p {
  margin: 12px 0 0;
}

.legal-content p a,
.legal-content li a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.legal-content ul,
.legal-content ol {
  margin: 12px 0 0;
  padding-left: 1.4em;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-callout {
  margin: 28px 0 4px;
  padding: 24px;
  background: var(--wash);
  border-radius: 18px;
}

.legal-callout strong {
  display: block;
  margin-bottom: 6px;
}

.legal-callout p {
  margin: 0;
}

.legal-actions {
  margin-top: 46px;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.support-contact {
  margin: 28px 0 8px;
  padding: 26px;
  background: #000;
  border-radius: 20px;
}

.support-contact small {
  display: block;
  color: #a1a1a6;
  font-size: 13px;
}

.support-contact a {
  min-height: 44px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  color: #2997ff;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 620;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.not-found {
  min-height: calc(100vh - 52px);
  padding: 90px 20px;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--wash-deep);
  font-size: clamp(110px, 25vw, 240px);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.not-found h1 {
  margin: 30px 0 0;
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: -0.045em;
}

.not-found p {
  margin: 12px 0 24px;
  color: var(--muted);
}

.site-footer {
  padding: 28px 0 34px;
  color: var(--muted);
  background: var(--wash);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 12px;
}

.footer-shell {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-copy {
  max-width: 720px;
}

.footer-copy p {
  margin: 0;
}

.footer-copy p + p {
  margin-top: 5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 1;
  transform: translateY(22px);
  transition: transform 700ms var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .project-stage,
  .ibey-hero-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .project-stage {
    padding: 52px;
  }

  .app-icon,
  .anxu-icon {
    width: min(70vw, 340px);
    grid-row: 1;
  }

  .ibey-hero-grid {
    gap: 40px;
  }

  .phone-stage {
    min-height: 700px;
  }

  .feature-panel.wide {
    grid-template-columns: 1fr;
  }

  .feature-screenshot.is-landscape {
    margin-top: 30px;
  }

  .privacy-layout {
    gap: 52px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-toc {
    position: static;
    margin-bottom: 40px;
    padding-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    border-bottom: 1px solid var(--line);
  }

  .legal-toc strong {
    width: 100%;
  }
}

@media (max-width: 700px) {
  :root {
    --page: min(100% - 32px, 560px);
  }

  body {
    font-size: 16px;
  }

  .nav-shell {
    gap: 8px;
  }

  .brand-link span:last-child,
  .nav-link.optional,
  .language-link .language-long {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .nav-link,
  .language-link,
  .project-switcher summary {
    padding: 0 9px;
  }

  .project-menu {
    position: fixed;
    top: 58px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .home-hero {
    min-height: 680px;
    padding: 84px 0 76px;
  }

  .home-hero::before {
    width: 125vw;
  }

  .home-hero::after {
    width: 82vw;
  }

  .display-title {
    font-size: clamp(48px, 16vw, 70px);
  }

  .hero-lead {
    font-size: 20px;
  }

  .projects-section,
  .principles-section,
  .contact-section,
  .feature-section,
  .privacy-section,
  .ibey-links-section,
  .ibey-intro {
    padding: 82px 0;
  }

  .project-stage {
    min-height: 0;
    padding: 38px 24px 42px;
    gap: 38px;
    border-radius: 28px;
  }

  .project-carousel {
    margin-top: 38px;
  }

  .project-track {
    gap: 12px;
  }

  .carousel-controls {
    grid-template-columns: 44px 1fr auto;
  }

  .carousel-dots {
    justify-self: center;
  }

  .project-description {
    font-size: 19px;
  }

  .principle-grid,
  .feature-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 0;
    padding: 26px 0;
  }

  .principle + .principle {
    padding-left: 0;
    border-left: 0;
  }

  .principle h3 {
    margin-top: 34px;
  }

  .ibey-hero {
    min-height: 0;
    padding: 58px 0 70px;
  }

  .ibey-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ibey-title {
    font-size: clamp(48px, 14vw, 66px);
  }

  .ibey-hero .button-row {
    justify-content: flex-start;
  }

  .phone-stage {
    min-height: 620px;
    margin-top: 10px;
  }

  .phone-stage::before {
    width: 440px;
    height: 440px;
  }

  .phone-stage::after {
    width: 330px;
    height: 330px;
  }

  .phone {
    width: 280px;
    border-radius: 50px;
  }

  .phone-screen {
    border-radius: 41px;
  }

  .feature-panel {
    min-height: 570px;
    padding: 30px 24px;
  }

  .feature-panel.wide {
    grid-column: auto;
    min-height: 0;
    padding: 30px 24px;
  }

  .feature-screenshot.is-phone {
    right: 15%;
    bottom: -255px;
    width: 70%;
  }

  .feature-screenshot.is-phone a {
    border-width: 7px;
    border-radius: 38px 38px 0 0;
  }

  .feature-screenshot.is-landscape {
    margin-top: 26px;
  }

  .feature-screenshot.is-landscape a {
    border-width: 6px;
    border-radius: 20px;
  }

  .privacy-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .link-panel {
    min-height: 190px;
  }

  .legal-hero {
    padding: 58px 0 46px;
  }

  .legal-title {
    font-size: clamp(44px, 14vw, 62px);
  }

  .legal-summary {
    font-size: 18px;
  }

  .legal-layout {
    width: var(--page);
    padding: 48px 0 74px;
  }

  .legal-content h2 {
    padding-top: 34px;
    font-size: 26px;
  }

  .legal-callout,
  .support-contact {
    padding: 20px;
    border-radius: 16px;
  }

  .footer-shell {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .site-header.is-scrolled,
  .project-menu,
  .phone-stage figcaption,
  .feature-screenshot figcaption {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #4a4a4f;
    --line: rgba(0, 0, 0, 0.3);
  }

  .site-header,
  .project-menu {
    background: #fff;
    border-color: #000;
  }
}
