:root {
  --bg: #f2f1ed;
  --surface: #faf9f4;
  --surface-strong: #ffffff;
  --surface-muted: #ece8e0;
  --text: #161a20;
  --muted: #5a646b;
  --line: rgba(22, 26, 32, 0.12);
  --line-strong: rgba(22, 26, 32, 0.2);
  --accent: #6a89ff;
  --accent-2: #88a5ff;
  --accent-3: #57b8ff;
  --accent-4: #97aefc;
  --slate: #3e4749;
  --lite-slate: #879499;
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(106, 137, 255, 0.12), transparent 30%),
    radial-gradient(circle at 92% 16%, rgba(136, 165, 255, 0.1), transparent 34%),
    radial-gradient(circle at 80% 82%, rgba(151, 174, 252, 0.08), transparent 32%),
    linear-gradient(180deg, #f7f5f1 0%, var(--bg) 360px);
}

a {
  color: inherit;
}

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

.page {
  width: 100%;
}

.site-header,
.section,
.site-footer {
  width: 100%;
}

.topbar,
.intro,
.section > *,
.site-footer > * {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.topnav {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.topnav a {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: color-mix(in srgb, var(--muted) 64%, var(--accent-3) 36%);
  font-weight: 600;
}

.topnav a:hover {
  color: color-mix(in srgb, var(--accent) 72%, var(--text) 28%);
  background: color-mix(in srgb, var(--accent-2) 18%, #ffffff 82%);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.78fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: 44px;
  padding-bottom: 72px;
}

.intro-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: color-mix(in srgb, var(--accent-4) 62%, var(--muted) 38%);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  line-height: 1.02;
}

h1 {
  max-width: 100%;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--accent) 74%, var(--text) 26%);
}

h2 {
  max-width: 100%;
  font-size: clamp(1.7rem, 3.2vw, 2.9rem);
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--accent-2) 54%, var(--text) 46%);
}

h3 {
  font-size: clamp(1.5rem, 2.1vw, 2.25rem);
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--accent-3) 50%, var(--text) 50%);
}

p {
  margin: 0;
  color: color-mix(in srgb, var(--muted) 78%, var(--accent-4) 22%);
  line-height: 1.68;
}

p,
li {
  overflow-wrap: anywhere;
  word-break: normal;
}

.intro-lead {
  margin-top: 20px;
  max-width: 56ch;
  font-size: clamp(1.03rem, 1.3vw, 1.15rem);
}

.intro-note {
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.note-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.note-brand img {
  width: clamp(54px, 7vw, 84px);
  height: auto;
}

.note-brand p {
  font-size: clamp(1.55rem, 3.1vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.1;
}

.note-appstore-row {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.note-appstore-link {
  display: inline-flex;
}

.note-appstore-link img {
  width: min(300px, 100%);
  height: auto;
}

.note-appstore-text {
  font-size: 0.92rem;
  color: var(--muted);
}

.section {
  padding-top: 128px;
}

.principles {
  background: linear-gradient(180deg, rgba(135, 148, 153, 0.08) 0%, rgba(135, 148, 153, 0.03) 100%);
  padding-bottom: 20px;
}

.apps {
  background: transparent;
  padding: 112px 24px 56px;
  border-radius: 0;
}

.section-heading {
  min-width: 0;
  max-width: 760px;
}

.section-heading h2 {
  margin-top: 18px;
}

.section-heading p:last-child,
.team-entry p,
.principle p,
.app-summary,
.footer-brand p {
  margin-top: 18px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.principle {
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.principle-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.principle h3 {
  margin-bottom: 18px;
}

.apps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
}

.apps-anchor-strip {
  display: grid;
  gap: 0;
  height: 0;
  overflow: hidden;
}

.apps-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 132px;
}

.apps-dock-shell {
  display: grid;
  gap: 40px;
  overflow: visible;
}

.app-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 0;
  background:
    radial-gradient(circle at 88% 15%, rgba(136, 165, 255, 0.14), transparent 28%),
    radial-gradient(circle at 10% 82%, rgba(87, 184, 255, 0.12), transparent 34%),
    var(--surface);
}

.app-spotlight-copy,
.app-spotlight-bottom,
.app-spotlight-visual {
  min-width: 0;
  overflow: visible;
}

.app-spotlight-copy {
  display: grid;
  align-content: start;
}

.app-spotlight-visual {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-spotlight-visual img {
  width: min(100%, 980px);
  max-height: none;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  clip-path: inset(0.8% 0.8% 0.8% 0.8%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.app-spotlight-visual img.is-transitioning {
  opacity: 0.58;
  transform: scale(0.985);
}

.app-spotlight-bottom {
  display: grid;
  align-content: start;
  order: 3;
}

.apps-dock-wrap {
  position: static;
  z-index: 20;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.apps-dock-hint {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lite-slate);
}

.apps-dock {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 12px 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(228, 234, 241, 0.45) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(18, 24, 34, 0.24);
  backdrop-filter: blur(9px);
}

.dock-item {
  --dock-scale: 1;
  --dock-lift: 0px;
  display: grid;
  justify-items: center;
  gap: 0;
  width: 78px;
  padding: 4px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transform: translateY(var(--dock-lift)) scale(var(--dock-scale));
  transform-origin: bottom center;
  transition:
    transform 95ms cubic-bezier(0.24, 1, 0.36, 1),
    background-color 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.dock-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 14px;
  border: 0;
  box-shadow:
    0 10px 16px rgba(18, 24, 34, 0.26),
    0 2px 0 rgba(255, 255, 255, 0.3) inset;
}

.dock-item span {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(17, 21, 28, 0.9);
  color: #f8fbff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.dock-item:hover,
.dock-item:focus-visible,
.dock-item.is-active {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.dock-item:hover span,
.dock-item:focus-visible span,
.dock-item.is-active span {
  opacity: 1;
}

.dock-item:focus-visible {
  outline: 2px solid rgba(0, 166, 181, 0.6);
  outline-offset: 4px;
}

.app-copy {
  min-width: 0;
}

.app-copy-top {
  grid-area: top;
}

.app-copy-bottom {
  grid-area: bottom;
  display: grid;
  align-content: start;
  gap: 2px;
}

.app-kicker {
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--accent-4) 56%, var(--slate) 44%);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-summary {
  max-width: none;
  font-size: 1.02rem;
  line-height: 1.64;
  color: color-mix(in srgb, var(--muted) 65%, var(--accent-3) 35%);
  overflow: visible;
}

.app-summary strong {
  color: color-mix(in srgb, var(--accent) 70%, var(--text) 30%);
  font-weight: 700;
}

.app-summary em {
  color: color-mix(in srgb, var(--accent-2) 70%, #3f474e 30%);
  font-style: italic;
  font-weight: 600;
}

.app-summary-extra {
  margin-top: 2px;
}

.app-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.app-list li {
  position: relative;
  padding-left: 14px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--slate) 65%, var(--accent-4) 35%);
  overflow: visible;
  white-space: normal;
}

.app-list li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 60%, var(--lite-slate) 40%);
}

.app-list strong {
  color: color-mix(in srgb, var(--accent-3) 52%, var(--text) 48%);
}

.app-store-badge-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
}

.app-store-badge-link img {
  width: clamp(112px, 22vw, 156px);
  height: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
  align-items: start;
}

.team-entry {
  min-width: 0;
  position: relative;
  display: block;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.team-entry::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 176, 73, 0.68), rgba(73, 213, 255, 0.18), transparent 72%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.team-entry::after {
  content: "";
  display: block;
  clear: both;
}

.team-photo-frame {
  position: relative;
  float: left;
  width: 154px;
  aspect-ratio: 4 / 5;
  margin: 0 20px 12px 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 221, 171, 0.14);
  background: #101722;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.36);
}

.team-photo-frame::before,
.team-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.team-photo-frame::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 221, 171, 0.08) 0%, rgba(42, 55, 82, 0.2) 100%),
    radial-gradient(ellipse at 22% 12%, rgba(73, 213, 255, 0.14), transparent 46%);
  mix-blend-mode: screen;
}

.team-photo-frame::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, transparent 0%, rgba(5, 8, 13, 0.18) 100%);
  opacity: 0.62;
}

.team-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(0.86) contrast(1.08) brightness(0.9) sepia(0.12) saturate(0.92);
  transform: scale(1.02);
}

.team-entry:nth-child(2) .team-photo {
  object-fit: cover;
  object-position: center 24%;
  transform: scale(1.02);
  border-radius: 0;
  box-shadow: none;
}

.team-entry:nth-child(2) .team-photo-frame {
  background: #101722;
}

.team-copy {
  min-width: 0;
}

.team-entry h3 {
  font-size: clamp(1.34rem, 1.9vw, 1.85rem);
  margin-bottom: 14px;
}

.site-footer {
  padding: 128px 0 64px;
  background: linear-gradient(180deg, rgba(62, 71, 73, 0.06) 0%, rgba(62, 71, 73, 0.02) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-brand,
.footer-column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-logo {
  width: 50px;
  height: 50px;
}

.footer-logo-link {
  display: inline-flex;
  width: max-content;
}

.footer-column h3 {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  color: color-mix(in srgb, var(--muted) 66%, var(--accent-4) 34%);
  text-decoration: none;
}

.footer-column a:hover {
  color: color-mix(in srgb, var(--accent) 68%, var(--text) 32%);
}

.support-page,
.legal-page {
  display: grid;
  gap: 24px;
  padding-bottom: 72px;
}

.support-lead,
.legal-lead {
  margin-top: 22px;
  max-width: 66ch;
}

.support-lang-switch {
  margin-top: 10px;
}

.support-lang-switch a,
.support-lead a,
.support-note a,
.support-back-link,
.legal-back-link,
.legal-card a {
  color: var(--slate);
  font-weight: 700;
  text-decoration: none;
}

.support-lang-switch a:hover,
.support-lead a:hover,
.support-note a:hover,
.support-back-link:hover,
.legal-back-link:hover,
.legal-card a:hover {
  text-decoration: underline;
}

.support-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-card,
.legal-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.support-card h2,
.legal-card h2,
.legal-meta h2 {
  max-width: none;
  font-size: clamp(1.32rem, 2.1vw, 1.9rem);
  margin-bottom: 18px;
}

.support-list {
  margin-top: 8px;
}

.support-note {
  margin-top: 4px;
}

.support-meta,
.legal-meta {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.support-meta p,
.legal-meta p {
  margin-top: 8px;
}

.support-back-link,
.legal-back-link {
  display: inline-block;
  margin-top: 10px;
}

.panel {
  width: min(900px, calc(100% - 48px));
  margin: 56px auto;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

/* Mac native luminous direction */
:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-muted: #edf1f5;
  --text: #111827;
  --muted: #5f6c7a;
  --line: rgba(17, 24, 39, 0.12);
  --line-strong: rgba(17, 24, 39, 0.18);
  --accent: #0969da;
  --accent-2: #3b82f6;
  --accent-3: #0ea5e9;
  --accent-4: #64748b;
  --slate: #334155;
  --lite-slate: #7b8794;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1220px;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 18% 6%, rgba(9, 105, 218, 0.12), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(14, 165, 233, 0.1), transparent 32%),
    linear-gradient(180deg, #fbfcfd 0%, #f3f6f8 460px, var(--bg) 100%);
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 800;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5.2vw, 5.45rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: #101113;
}

h2 {
  color: #131820;
  letter-spacing: -0.045em;
}

h3 {
  color: #1f2937;
  letter-spacing: -0.03em;
}

p,
li {
  color: var(--muted);
}

.topbar {
  min-height: 82px;
  margin-top: 12px;
  padding-inline: 20px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 36px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.brand-mark {
  width: 46px;
  height: 46px;
  filter: none;
}

.brand-name {
  color: #111827;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
}

.topnav a {
  color: #596575;
  border-radius: 999px;
}

.topnav a:hover {
  color: var(--accent);
  background: rgba(9, 105, 218, 0.08);
}

.eyebrow,
.principles .eyebrow,
.apps .eyebrow,
.team-section .eyebrow,
.app-kicker {
  color: var(--accent);
}

.intro {
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.68fr);
  padding-top: 70px;
  padding-bottom: 98px;
}

.intro-lead {
  color: #5f6c7a;
  font-size: clamp(1.06rem, 1.35vw, 1.18rem);
}

.intro-note {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1.586 / 1;
  min-height: 0;
  justify-self: end;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.16) 68%, rgba(15, 23, 42, 0.34)),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.08) 0 1px, rgba(15, 23, 42, 0.18) 1px 3px, transparent 3px 7px),
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.3), transparent 28%),
    radial-gradient(circle at 84% 82%, rgba(9, 105, 218, 0.26), transparent 34%),
    linear-gradient(135deg, #29313d 0%, #111827 48%, #36404d 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.24),
    inset 0 -1px 1px rgba(0, 0, 0, 0.45),
    inset 22px 0 60px rgba(255, 255, 255, 0.06),
    inset -28px -18px 70px rgba(0, 0, 0, 0.26),
    0 28px 70px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  isolation: isolate;
}

.intro-note::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(122deg, transparent 0 28%, rgba(255, 255, 255, 0.28) 38%, rgba(255, 255, 255, 0.04) 49%, transparent 60%),
    radial-gradient(ellipse at 30% 8%, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.86;
  pointer-events: none;
}

.intro-note::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.1), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.intro-note > * {
  position: relative;
  z-index: 2;
}

.note-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.note-brand img {
  width: clamp(58px, 6vw, 78px);
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55))
    drop-shadow(0 10px 16px rgba(15, 23, 42, 0.12));
}

.note-brand p {
  color: rgba(248, 250, 252, 0.96);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.035em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.34);
}

.note-appstore-text {
  color: var(--muted);
}

.note-appstore-row {
  width: 100%;
  justify-items: center;
  margin-top: 0;
  gap: 7px;
}

.note-appstore-link img {
  width: 210px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.18));
}

.note-appstore-text {
  font-size: 0.86rem;
  color: rgba(226, 232, 240, 0.76);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

.section {
  padding-top: 118px;
}

.principles {
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.55) 0%, rgba(245, 247, 248, 0) 100%);
}

.apps {
  padding-top: 86px;
  background: transparent;
  gap: 38px;
}

.principle,
.team-entry,
.support-card,
.legal-card,
.support-meta,
.legal-meta,
.panel {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 38px rgba(17, 24, 39, 0.07);
}

.principle::before,
.team-entry::before {
  content: none;
}

.principle-index {
  color: #94a3b8;
}

.app-spotlight {
  --spotlight-rgb: 9, 105, 218;
  --spotlight-rgb-2: 14, 165, 233;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 26px 44px;
  min-height: 430px;
  padding: 30px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 34%, rgba(var(--spotlight-rgb), 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(239, 244, 249, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 22px 54px rgba(17, 24, 39, 0.12);
}

.app-spotlight::before {
  content: none;
}

.app-spotlight.is-wide-preview {
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 0.96fr);
  background:
    radial-gradient(circle at 78% 34%, rgba(var(--spotlight-rgb), 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(239, 244, 249, 0.78));
}

.app-spotlight-visual {
  grid-row: span 2;
  overflow: hidden;
  min-height: 0;
  align-self: center;
}

.app-preview-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  overflow: hidden;
}

.app-spotlight-visual img,
.app-spotlight.is-wide-preview .app-spotlight-visual img {
  width: min(100%, 500px);
  max-height: 300px;
  object-fit: contain;
  transform: translateY(0) rotate(-0.12deg);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 28px rgba(17, 24, 39, 0.14));
}

.app-spotlight.is-wide-preview .app-spotlight-visual img {
  width: min(100%, 640px);
  max-height: 290px;
}

.app-spotlight-bottom {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

#spotlightTitle {
  font-family: "Lobster", "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: #111827;
  font-size: clamp(2.15rem, 3.4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0;
  font-variation-settings: normal;
}

#spotlightSummary,
#spotlightExtra {
  color: #5f6c7a;
}

.app-summary {
  color: #5f6c7a;
}

.app-summary strong,
.app-list strong {
  color: #1f2937;
}

.app-summary em {
  color: #64748b;
  font-style: normal;
}

.app-list li {
  color: #5f6c7a;
}

.app-list li::before {
  background: rgb(var(--spotlight-rgb));
  box-shadow: none;
}

.apps-dock-hint {
  color: #7b8794;
}

.apps-dock {
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(232, 238, 245, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 32px rgba(17, 24, 39, 0.16);
}

.dock-item img,
.dock-item:nth-child(1).is-active img,
.dock-item:nth-child(1):hover img,
.dock-item:nth-child(1):focus-visible img,
.dock-item:nth-child(2).is-active img,
.dock-item:nth-child(2):hover img,
.dock-item:nth-child(2):focus-visible img,
.dock-item:nth-child(3).is-active img,
.dock-item:nth-child(3):hover img,
.dock-item:nth-child(3):focus-visible img,
.dock-item:nth-child(4).is-active img,
.dock-item:nth-child(4):hover img,
.dock-item:nth-child(4):focus-visible img {
  box-shadow:
    0 12px 24px rgba(17, 24, 39, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.dock-item span {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(17, 24, 39, 0.92);
  border: 0;
  color: #ffffff;
}

.team-photo-frame {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 16px;
  background: #e2e8f0;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.14);
}

.team-photo-frame::before,
.team-photo-frame::after {
  content: none;
}

.team-photo,
.team-entry:nth-child(2) .team-photo {
  filter: none;
}

.site-footer {
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.2) 0%, rgba(226, 232, 240, 0.68) 100%);
}

.footer-grid {
  border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.footer-column a {
  color: #5f6c7a;
}

.footer-column a:hover,
.support-lang-switch a,
.support-lead a,
.support-note a,
.support-back-link,
.legal-back-link,
.legal-card a {
  color: var(--accent);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  cursor: zoom-out;
}

.image-lightbox-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(94vw, 1400px);
  height: min(92vh, 980px);
}

.image-lightbox-frame img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(92vh, 100%);
  object-fit: contain;
  filter: drop-shadow(0 34px 70px rgba(15, 23, 42, 0.36));
}

#imageLightboxImage {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:focus-visible {
  outline: 2px solid rgba(9, 105, 218, 0.72);
  outline-offset: 3px;
}

body.is-lightbox-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .intro-note {
    justify-self: start;
  }
}

@media (max-width: 959px) {
  .principles-grid,
  .team-grid,
  .support-grid,
  .legal-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-spotlight,
  .app-spotlight.is-wide-preview {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 22px;
  }

  .app-spotlight-visual {
    grid-row: auto;
  }

  .app-spotlight-visual img {
    width: min(100%, 640px);
    max-height: 360px;
  }

  .app-spotlight.is-wide-preview .app-spotlight-visual img {
    width: min(100%, 640px);
    max-height: 300px;
    transform: translateY(0) rotate(-0.15deg);
  }

  .apps-dock {
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .dock-item {
    transform: scale(1) !important;
  }
}

@media (max-width: 760px) {
  .topbar,
  .intro,
  .section > *,
  .site-footer > *,
  .panel {
    width: calc(100% - 30px);
  }

  .topbar {
    min-height: 64px;
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 18px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .topnav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topnav::-webkit-scrollbar {
    display: none;
  }

  .topnav a {
    flex: 0 0 auto;
    padding: 4px 0 7px;
    background: none;
    font-size: 0.9rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 9.8vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.5rem, 8vw, 2.1rem);
  }

  .intro {
    padding-top: 42px;
    padding-bottom: 70px;
  }

  .intro-note {
    min-height: 405px;
    border-radius: 24px;
  }

  .app-spotlight,
  .principle,
  .team-entry,
  .support-card,
  .legal-card,
  .support-meta,
  .legal-meta,
  .panel {
    padding: 16px;
  }

  .team-entry {
    display: block;
  }

  .team-photo-frame {
    width: 88px;
    aspect-ratio: 4 / 5;
    margin: 0 14px 10px 0;
    border-radius: 12px;
  }
}
