@font-face {
  font-family: "Google Sans Flex";
  src: url("./public/assets/google-sans-flex.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #121112;
  --surface: #1c1b1e;
  --surface-raised: #212023;
  --control: #322f37;
  --control-soft: rgba(255, 255, 255, 0.06);
  --outline: #323033;
  --primary: #d0bcff;
  --primary-ink: #381e72;
  --tertiary: #efb8c7;
  --tertiary-ink: #4a2532;
  --control-active: #49454e;
  --on-control-active: #f5eefa;
  --selected-surface: #332d41;
  --primary-muted: #684fa4;
  --text: #fffbff;
  --text-soft: #cac4cf;
  --text-muted: #afa9b4;
  --text-dim: #948f99;
  --radius-card: 24px;
  --page-pad: 120px;
  --content-width: 1200px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f7fb;
  --surface: #fffbff;
  --surface-raised: #f2eff4;
  --control: #e7e0eb;
  --control-soft: rgba(56, 30, 114, 0.07);
  --outline: #d6d0d9;
  --primary: #6750a4;
  --primary-ink: #ffffff;
  --tertiary: #ffd8e4;
  --tertiary-ink: #31111d;
  --control-active: #e8def8;
  --on-control-active: #1d192b;
  --selected-surface: #eee7f7;
  --primary-muted: #59458f;
  --text: #1d1b20;
  --text-soft: #49454f;
  --text-muted: #625b71;
  --text-dim: #79747e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Google Sans Flex", "Noto Sans", system-ui, sans-serif;
  font-variation-settings: "ROND" 0, "GRAD" 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--tertiary);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 700;
}

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

.section {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.hero {
  position: relative;
  height: 940px;
  max-width: none;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 343px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow img {
  position: absolute;
  display: block;
  max-width: none;
}

.hero-glow img:nth-child(1) {
  top: 117px;
  left: -50px;
  width: max(1414px, calc(100% - 26px));
  height: 959px;
}

.hero-glow img:nth-child(2) {
  top: 128px;
  left: -108px;
  width: 703px;
  height: 560px;
}

.hero-glow img:nth-child(3) {
  top: 470px;
  left: -354px;
  width: 718px;
  height: 503px;
}

.hero-glow img:nth-child(4) {
  top: 117px;
  right: -43px;
  width: 576px;
  height: 403px;
}

.topbar {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 74px;
  padding: 0 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 720;
  white-space: nowrap;
}

.wordmark img {
  display: block;
  width: 24px;
  height: 24px;
}

.desktop-nav {
  position: absolute;
  left: 50%;
  display: flex;
  transform: translateX(-50%);
  gap: 4px;
}

.desktop-nav a {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -0.02em;
  transition: color 160ms ease, background-color 160ms ease;
}

.desktop-nav a:hover {
  background: var(--control-soft);
  color: var(--text);
}

.desktop-nav a.is-active {
  background: rgba(208, 188, 255, 0.12);
  color: var(--primary);
}

.toolbar,
.theme-switch {
  display: flex;
  align-items: center;
}

.toolbar {
  gap: 8px;
}

.theme-switch {
  gap: 2px;
  overflow: hidden;
  border-radius: 24px;
}

.language-pill,
.icon-button {
  height: 36px;
  border: 0;
  background: var(--surface);
}

.language-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.language-pill > i {
  font-size: 17px;
}

.icon-button {
  cursor: pointer;
}

.icon-button > i {
  font-size: 19px;
  line-height: 1;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  padding: 6px;
  border-radius: 4px;
}

.icon-button--active {
  border-radius: 70px;
  background: var(--primary);
  color: var(--primary-ink);
}

.menu-button {
  border-radius: 50px;
}

.mobile-menu {
  position: fixed;
  z-index: 40;
  top: 64px;
  right: 16px;
  width: min(280px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--outline);
  border-radius: 20px;
  background: rgba(28, 27, 30, 0.96);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: none;
}

.mobile-menu a {
  display: block;
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--text-soft);
}

.mobile-menu a:hover {
  background: var(--control-soft);
  color: var(--text);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(1200px, calc(100% - 48px));
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.wordmark--hero {
  display: none;
}

.release-chips,
.feature-chips,
.knowledge-links,
.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.chip,
.feature-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 12px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.chip {
  padding: 0 12px;
  background: var(--control-soft);
  color: var(--text-soft);
}

.chip--primary {
  background: var(--primary);
  color: var(--primary-ink);
}

.chip--tertiary {
  background: var(--tertiary);
  color: var(--tertiary-ink);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero h1 {
  margin: 0;
  color: var(--text);
  font-size: 96px;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1;
}

.hero-comma {
  display: inline-block;
  margin-left: 0.045em;
  letter-spacing: 0;
}

.hero-copy p {
  width: min(592px, 100%);
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 570;
  letter-spacing: -0.02em;
  transition: transform 160ms ease, filter 160ms ease, background-color 160ms ease;
}

.button:hover,
.mini-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.button:active,
.mini-button:active {
  transform: translateY(0);
}

.hero-actions .button {
  width: 212px;
  min-height: 60px;
  font-size: 16px;
}

.button--muted {
  background: var(--control);
  color: var(--text);
}

.hero-actions .button--muted {
  background: var(--control-soft);
}

.button--primary {
  background: var(--primary);
  color: var(--primary-ink);
}

.features {
  display: grid;
  min-height: 588px;
  grid-template-columns: 470px minmax(0, 694px);
  align-items: start;
  gap: 36px;
  padding: 120px max(120px, calc((100% - 1200px) / 2));
}

.features-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.feature-chips {
  align-content: flex-start;
  width: 100%;
}

.feature-chip {
  gap: 8px;
  padding: 0 12px;
  border: 0;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 560;
}

.feature-chip--active {
  background: var(--control-active);
  color: var(--on-control-active);
}

.chip-check {
  display: none;
}

.feature-chip--active .chip-check {
  display: inline-block;
}

.feature-chip--outline {
  border: 1px solid var(--outline);
  background: transparent;
}

.features-all,
.versions-all {
  min-height: 56px;
}

.feature-showcase {
  display: grid;
  height: 348px;
  grid-template-columns: minmax(0, 239px) 363px;
  gap: 36px;
  overflow: hidden;
  padding: 20px 36px 20px 20px;
  border-radius: var(--radius-card);
  background: var(--surface);
}

.feature-copy {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: opacity 120ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-copy.is-updating {
  opacity: 0;
  transform: translateY(6px);
}

.round-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #323033;
  color: var(--text-soft);
  font-size: 22px;
}

.round-icon i {
  line-height: 1;
}

.feature-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}

.feature-text h3 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 580;
  letter-spacing: -0.02em;
}

.feature-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 23px;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px 0 16px;
  border-radius: 90px;
  background: var(--primary);
  color: var(--primary-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: transform 160ms ease, filter 160ms ease;
}

.phone {
  position: relative;
  width: 363px;
  height: 767px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 9px solid #151417;
  border-radius: 56px;
  background: #f5f5f5;
  color: #080808;
  box-shadow: 0 0 0 2px #bbb8bd, inset 0 0 0 2px #101010, 0 26px 70px rgba(0, 0, 0, 0.36);
}

.phone::after {
  content: "";
  position: absolute;
  top: 168px;
  right: -12px;
  width: 4px;
  height: 80px;
  border-radius: 4px;
  background: #8c898f;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 23px;
  font-size: 11px;
}

.phone-status span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.phone-status i {
  font-size: 13px;
}

.phone-camera {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
  border: 6px solid #050505;
  border-radius: 50%;
  background: #17133b;
}

.phone-content {
  padding: 8px 12px 24px;
}

.phone-back {
  display: block;
  margin-bottom: 28px;
  font-size: 28px;
  line-height: 1;
}

.phone h4 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: #e7e7e7;
  color: #808080;
  font-size: 13px;
}

.phone small {
  display: block;
  padding: 17px 18px 10px;
  color: #838383;
  font-size: 10px;
  font-weight: 650;
}

.country {
  display: grid;
  height: 48px;
  grid-template-columns: 20px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}

.country i {
  width: 14px;
  height: 14px;
  border: 2px solid #9b9b9b;
  border-radius: 50%;
}

.country--selected i {
  border: 4px solid #ff375f;
}

.flag {
  width: 18px;
  height: 18px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(#d12b36 0 66%, #2a953f 66%);
}

.flag--au {
  background: #1a376f;
}

.flag--az {
  background: linear-gradient(#36a2d1 0 33%, #e33d4d 33% 66%, #3c9d4b 66%);
}

.flag--al {
  background: #d93b3b;
}

.features-all-mobile,
.versions-all-mobile {
  display: none;
}

.updates {
  display: grid;
  min-height: 632px;
  grid-template-columns: 345px minmax(0, 819px);
  align-items: stretch;
  gap: 36px;
  padding: 120px max(120px, calc((100% - 1200px) / 2));
}

.updates-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.version-list {
  width: 100%;
  padding: 2px;
  border-radius: 20px;
  background: var(--surface);
}

.version-row {
  display: grid;
  width: 100%;
  height: 36px;
  grid-template-columns: 20px 32px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  text-align: left;
}

.version-row > i {
  font-size: 14px;
}

.version-row b {
  font-weight: 570;
}

.version-row em,
.version-row time {
  opacity: 0.6;
  font-style: normal;
}

.version-row--active {
  background: var(--selected-surface);
  color: var(--primary);
}

.update-card {
  display: grid;
  height: 392px;
  grid-template-columns: 285px minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
  transition: opacity 130ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.update-card.is-updating {
  opacity: 0.5;
  transform: translateY(5px);
}

.update-summary {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
}

.release-number {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}

.release-number strong {
  color: var(--text);
  font-size: 46px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.release-number span {
  color: var(--text-muted);
  font-size: 14px;
}

.changes-list {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  padding: 20px;
}

.changes-list::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48px;
  background: linear-gradient(transparent, var(--surface));
  pointer-events: none;
}

.changes-list > div {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 12px;
  min-height: 46px;
  padding: 12px;
  border-radius: 4px;
  background: var(--surface-raised);
  color: var(--text-soft);
}

.changes-list > div > i {
  flex: 0 0 20px;
  color: var(--primary);
  font-size: 20px;
  line-height: 20px;
}

.changes-list p {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
}

.knowledge {
  display: flex;
  min-height: 509px;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 120px max(120px, calc((100% - 1200px) / 2));
}

.knowledge-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.knowledge-copy h2 {
  font-size: 54px;
  line-height: 58px;
}

.knowledge-copy > p {
  width: 660px;
  max-width: 100%;
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.25;
}

.knowledge-search {
  display: flex;
  width: 894px;
  max-width: 100%;
  flex-direction: column;
  gap: 12px;
}

.search-row {
  display: flex;
  gap: 8px;
}

.search-field {
  display: flex;
  min-width: 0;
  height: 56px;
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--surface);
}

.search-field > i {
  color: var(--text-dim);
  font-size: 20px;
}

.search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}

.search-field input::placeholder {
  color: #79767a;
  opacity: 1;
}

.search-submit {
  min-height: 56px;
}

.open-label-mobile {
  display: none;
}

.knowledge-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 560;
  white-space: nowrap;
}

.team {
  display: flex;
  min-height: 524px;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 120px max(120px, calc((100% - 1200px) / 2));
}

.team-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.person-card {
  display: flex;
  min-width: 0;
  height: 188px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  padding: 20px;
  border-radius: 24px;
  transition: transform 180ms ease, filter 180ms ease;
}

.person-card:hover {
  z-index: 2;
  filter: saturate(1.05);
  transform: translateY(-4px);
}

.person-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 24px;
}

.person-top img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.person-card h3,
.person-card p {
  margin: 0;
}

.person-card h3 {
  font-size: 16px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.person-card p {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 580;
  opacity: 0.65;
}

.person-tags span {
  display: inline-flex;
  height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.person-card--red {
  background: #ffb2b7;
  color: #67001b;
}

.person-card--red .person-tags span {
  background: #ff8792;
  color: #881b2f;
}

.person-card--blue {
  background: #90cdff;
  color: #003450;
}

.person-card--blue .person-tags span {
  background: #5db3f1;
  color: #004b71;
}

.person-card--orange {
  background: #ffb4a2;
  color: #621100;
}

.person-card--orange .person-tags span {
  background: #ff8b6e;
  color: #83260e;
}

.person-card--pink {
  background: #ffb2bf;
  color: #660028;
}

.person-card--pink .person-tags span {
  background: #ff86a0;
  color: #88193d;
}

.download {
  position: relative;
  display: flex;
  min-height: 600px;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  overflow: hidden;
  padding: 120px max(120px, calc((100% - 1200px) / 2));
  isolation: isolate;
}

.download-glow {
  position: absolute;
  z-index: -1;
  top: 11px;
  left: 50%;
  width: 1862px;
  max-width: none;
  height: 736px;
  transform: translateX(-50%);
  pointer-events: none;
}

.download-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.download-head h2 {
  color: var(--text);
}

.mirrors {
  display: flex;
  width: 528px;
  max-width: 100%;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  border-radius: 24px;
}

.mirror {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 4px;
  background: var(--control-soft);
  transition: filter 160ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mirror:hover {
  filter: brightness(1.12);
  transform: translateX(3px);
}

.mirror > i {
  flex: 0 0 24px;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.mirror > .mirror-action {
  font-size: 21px;
}

.mirror > span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.mirror strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.mirror small {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 560;
}

.mirror--primary {
  background: var(--primary);
  color: var(--primary-ink);
}

.mirror--primary small {
  color: var(--primary-muted);
}

.footer {
  position: relative;
  max-width: none;
  min-height: 318px;
  margin: 0 auto;
  overflow: hidden;
  padding: 36px max(120px, calc((100% - 1200px) / 2));
}

:root[data-theme="light"] .hero-glow,
:root[data-theme="light"] .download-glow {
  opacity: 0.42;
}

:root[data-theme="light"] .mobile-menu {
  border-color: rgba(29, 27, 32, 0.1);
  background: rgba(255, 251, 255, 0.94);
  box-shadow: 0 22px 70px rgba(29, 27, 32, 0.16);
}

.footer-wave {
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 20px;
  object-fit: cover;
  opacity: 0.7;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.footer-brand {
  display: flex;
  width: 250px;
  flex: 0 0 250px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand p,
.made-in {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 22px;
}

.footer-links {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-links h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.made-in {
  margin-top: 36px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .hero-content.reveal {
  transform: translate(-50%, calc(-50% + 14px));
}

.js .hero-content.reveal.is-visible {
  transform: translate(-50%, -50%);
}

.js .hero-content.reveal > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 560ms cubic-bezier(0.2, 0.78, 0.2, 1);
}

.js .hero-content.reveal.is-visible > * {
  opacity: 1;
  transform: none;
}

.js .hero-content.reveal.is-visible > :nth-child(1) { transition-delay: 90ms; }
.js .hero-content.reveal.is-visible > :nth-child(2) { transition-delay: 150ms; }
.js .hero-content.reveal.is-visible > :nth-child(3) { transition-delay: 220ms; }
.js .hero-content.reveal.is-visible > :nth-child(4) { transition-delay: 300ms; }

.js .team-grid.reveal .person-card,
.js .mirrors.reveal .mirror,
.js .changes-list > div {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .team-grid.reveal.is-visible .person-card,
.js .mirrors.reveal.is-visible .mirror,
.js .update-card.is-visible .changes-list > div {
  opacity: 1;
  transform: none;
}

.js .team-grid.reveal.is-visible .person-card:nth-child(2),
.js .mirrors.reveal.is-visible .mirror:nth-child(2),
.js .update-card.is-visible .changes-list > div:nth-child(2) { transition-delay: 70ms; }
.js .team-grid.reveal.is-visible .person-card:nth-child(3),
.js .mirrors.reveal.is-visible .mirror:nth-child(3),
.js .update-card.is-visible .changes-list > div:nth-child(3) { transition-delay: 140ms; }
.js .team-grid.reveal.is-visible .person-card:nth-child(4),
.js .update-card.is-visible .changes-list > div:nth-child(4) { transition-delay: 210ms; }
.js .update-card.is-visible .changes-list > div:nth-child(5) { transition-delay: 280ms; }
.js .update-card.is-visible .changes-list > div:nth-child(6) { transition-delay: 350ms; }
.js .update-card.is-visible .changes-list > div:nth-child(7) { transition-delay: 420ms; }

@keyframes hero-ambient {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -8px, 0) scale(1.015); }
}

.hero-glow {
  animation: hero-ambient 12s ease-in-out infinite;
}

.download-glow {
  animation: download-breathe 9s ease-in-out infinite;
}

@keyframes download-breathe {
  0%, 100% { opacity: 0.88; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.035); }
}

@media (max-width: 1279px) and (min-width: 1041px) {
  :root {
    --page-pad: 64px;
  }

  .features,
  .updates {
    gap: 32px;
    padding: 88px 64px;
  }

  .features {
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  }

  .updates {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .feature-showcase {
    grid-template-columns: minmax(190px, 1fr) 300px;
    gap: 24px;
    padding-right: 24px;
  }

  .phone {
    width: 300px;
  }

  .knowledge,
  .team,
  .download,
  .footer {
    padding-right: 64px;
    padding-left: 64px;
  }

  .topbar {
    padding-inline: 18px;
  }

  .wordmark--header span {
    display: none;
  }
}

@media (max-width: 1040px) and (min-width: 701px) {
  .features,
  .updates {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 72px 40px;
  }

  .features-intro,
  .updates-side {
    max-width: 720px;
  }

  .feature-showcase {
    width: 100%;
    grid-template-columns: minmax(210px, 1fr) minmax(280px, 330px);
    gap: 28px;
    padding-right: 24px;
  }

  .phone {
    width: min(330px, 45vw);
  }

  .update-card {
    width: 100%;
  }

  .versions-all {
    display: inline-flex;
  }

  .knowledge,
  .team,
  .download,
  .footer {
    padding-right: 40px;
    padding-left: 40px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    padding-inline: 18px;
  }

  .desktop-nav {
    display: none;
  }

  .wordmark--header span {
    display: inline;
  }
}

@media (max-width: 700px) {
  .desktop-only,
  .desktop-nav,
  .wordmark--header,
  .features-all,
  .version-list,
  .versions-all {
    display: none;
  }

  .section {
    width: 100%;
    min-height: 0;
  }

  .hero {
    width: 100%;
    height: 885px;
    border-radius: 0 0 28px 28px;
  }

  .hero-glow img:nth-child(1) {
    top: 0;
    left: 50%;
    width: 874px;
    height: 881px;
    transform: translateX(-58%);
  }

  .hero-glow img:nth-child(2) {
    top: 10px;
    left: -145px;
    width: 434px;
    height: 514px;
  }

  .hero-glow img:nth-child(3) {
    top: 324px;
    left: -297px;
    width: 444px;
    height: 462px;
  }

  .hero-glow img:nth-child(4) {
    top: 0;
    left: 482px;
    right: auto;
    width: 356px;
    height: 370px;
  }

  .topbar {
    height: 68px;
    padding: 16px;
  }

  .toolbar {
    width: 100%;
  }

  .theme-switch {
    order: 1;
  }

  .language-pill {
    order: 2;
  }

  .menu-button {
    order: 3;
    margin-left: auto;
  }

  .hero-content {
    top: calc(50% - 0.5px);
    width: 100%;
    padding: 0 16px;
  }

  .wordmark--hero {
    display: inline-flex;
  }

  .hero-copy {
    gap: 4px;
  }

  .hero h1 {
    font-size: clamp(43px, 12.1vw, 48px);
    letter-spacing: -0.035em;
    line-height: 1.2;
  }

  .hero-copy p {
    max-width: 330px;
    line-height: 1.35;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button--primary {
    order: -1;
  }

  .hero + .section,
  .section + .section,
  .footer {
    margin-top: 64px;
  }

  .section h2 {
    font-size: 22px;
    line-height: normal;
    letter-spacing: -0.03em;
  }

  .features {
    display: flex;
    min-height: 899px;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .features-intro {
    gap: 12px;
  }

  .feature-showcase {
    display: flex;
    width: 100%;
    height: 563px;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 16px;
  }

  .feature-copy {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
  }

  .feature-text {
    flex: 0 0 auto;
  }

  .phone {
    width: min(332px, calc(100vw - 64px));
    height: 701px;
    flex: 0 0 701px;
    border-radius: 52px;
  }

  .phone h4 {
    font-size: 22px;
  }

  .features-all-mobile,
  .versions-all-mobile {
    display: inline-flex;
    width: 100%;
    flex: 0 0 56px;
  }

  .updates {
    display: flex;
    min-height: 546px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    padding: 16px;
  }

  .updates-side {
    width: 100%;
    align-items: center;
  }

  .update-card {
    display: flex;
    width: 100%;
    height: 410px;
    flex: 0 0 410px;
    flex-direction: column;
  }

  .update-summary {
    width: 100%;
    height: 214px;
    flex: 0 0 214px;
  }

  .release-number {
    flex: 0 0 auto;
  }

  .changes-list {
    width: 100%;
    height: 196px;
    flex: 0 0 196px;
  }

  .changes-list p {
    font-size: 15px;
  }

  .knowledge {
    display: flex;
    min-height: 408px;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .knowledge-copy {
    align-items: flex-start;
    text-align: left;
  }

  .knowledge-copy h2 {
    font-size: 22px;
    line-height: normal;
  }

  .knowledge-copy > p {
    font-size: 17px;
    line-height: 23px;
  }

  .knowledge-search {
    width: 100%;
    flex: 1;
  }

  .search-row {
    display: contents;
  }

  .search-field,
  .search-submit {
    flex: 0 0 56px;
  }

  .search-submit {
    width: 100%;
    order: 3;
  }

  .open-label {
    display: none;
  }

  .open-label-mobile {
    display: inline;
  }

  .knowledge-links {
    order: 2;
    padding-right: 16px;
  }

  .search-field {
    order: 1;
  }

  .team {
    min-height: 260px;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: 16px;
  }

  .team-grid {
    display: flex;
    width: calc(100vw - 16px);
    align-self: flex-start;
    gap: 4px;
    overflow-x: auto;
    padding-right: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .person-card {
    width: calc(100vw - 32px);
    max-width: 364px;
    flex: 0 0 calc(100vw - 32px);
    scroll-snap-align: start;
  }

  .download {
    min-height: 360px;
    gap: 36px;
    padding: 16px;
  }

  .download-glow {
    top: -29px;
    width: 1161px;
    height: 459px;
  }

  .download-head {
    gap: 12px;
  }

  .download-head h2 {
    font-size: 22px;
  }

  .mirrors {
    width: 100%;
    flex: 0 0 220px;
  }

  .mirror {
    min-height: 72px;
  }

  .footer {
    width: 100%;
    min-height: 788px;
    padding: 36px 16px;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-brand {
    width: 100%;
    flex-basis: auto;
  }

  .footer-brand p {
    max-width: 320px;
  }

  .footer-links {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .footer-links h3 {
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .feature-chip {
    padding-inline: 10px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .phone {
    border-width: 7px;
  }

  .knowledge-copy > p {
    font-size: 15px;
    line-height: 21px;
  }
}

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

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