:root {
  color-scheme: light dark;
  --page: #f5f7fb;
  --page-strong: #eef2f8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-subtle: rgba(255, 255, 255, 0.58);
  --text: #111318;
  --muted: #636a78;
  --line: rgba(23, 35, 58, 0.10);
  --blue: #0a7cff;
  --blue-strong: #0066df;
  --green: #22a559;
  --shadow: 0 24px 70px rgba(35, 55, 90, 0.12);
  --shadow-soft: 0 14px 38px rgba(35, 55, 90, 0.08);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --content: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #080a0f;
    --page-strong: #10141c;
    --surface: rgba(24, 28, 38, 0.76);
    --surface-solid: #171b24;
    --surface-subtle: rgba(26, 31, 42, 0.62);
    --text: #f6f7fa;
    --muted: #aab1bf;
    --line: rgba(226, 233, 247, 0.12);
    --blue: #57a6ff;
    --blue-strong: #82bcff;
    --green: #53cf85;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.24);
  }
}

* {
  box-sizing: border-box;
}

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

html[data-lang="zh"] [data-lang="en"],
html[data-lang="en"] [data-lang="zh"] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% -6%, rgba(79, 159, 255, 0.20), transparent 34rem),
    radial-gradient(circle at 90% 18%, rgba(100, 224, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, var(--page) 0%, var(--page-strong) 100%);
  color: var(--text);
  font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 20px;
}

.nav-shell {
  width: min(100%, var(--content));
  min-height: 60px;
  margin: 0 auto;
  padding: 8px 10px 8px 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 34px rgba(30, 45, 75, 0.08);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 102, 223, 0.20);
}

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

.nav-link,
.language-toggle {
  min-height: 40px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, transform 100ms ease-out;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--surface-subtle);
  color: var(--text);
}

.nav-link:active,
.language-toggle:active,
.button:active {
  transform: scale(0.97);
}

.language-toggle {
  margin-left: 4px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.page-shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 84px));
  padding: 76px 0 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero-icon {
  width: 108px;
  height: 108px;
  margin: 0 auto 26px;
  border-radius: 27px;
  box-shadow: 0 24px 50px rgba(0, 112, 238, 0.26);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 780;
}

.hero-copy,
.page-hero p {
  max-width: 700px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.platform-row {
  margin: 26px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  padding: 0;
}

.platform-row li {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.platform-row li + li::before {
  position: absolute;
  left: -13px;
  color: var(--line);
  content: "•";
}

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

.button {
  min-height: 50px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 680;
  transition: transform 100ms ease-out, box-shadow 180ms ease, background-color 180ms ease;
}

.button-primary {
  background: linear-gradient(180deg, #168aff 0%, #006fe8 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 112, 232, 0.28);
}

.button-primary:hover {
  box-shadow: 0 16px 38px rgba(0, 112, 232, 0.36);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.button-secondary:hover {
  background: var(--surface-solid);
}

.section {
  padding: 94px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin: 0 0 42px;
  text-align: left;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.042em;
}

.section-heading p {
  max-width: 690px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card,
.support-card,
.legal-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.feature-card h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.feature-symbol {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(10, 124, 255, 0.12);
  color: var(--blue);
  font-size: 21px;
  font-weight: 760;
}

.feature-card .feature-index {
  position: absolute;
  top: 30px;
  right: 28px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mac-showcase {
  display: block;
}

.mac-video {
  width: min(100%, 820px);
  margin: 0 auto;
}

.mac-video-frame {
  position: relative;
  aspect-ratio: 1600 / 1094;
}

.mac-video-poster,
.mac-video video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #000;
  box-shadow: var(--shadow-soft);
}

.mac-video-poster {
  z-index: 1;
}

.mac-video video {
  z-index: 2;
  opacity: 0;
  transition: opacity 140ms ease-out;
}

.mac-video video.is-ready {
  opacity: 1;
}

[data-motion-video] {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.mac-gallery {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mac-media {
  min-width: 0;
  margin: 0;
}

.mac-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.mac-media figcaption,
.mac-video figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.motion-card {
  min-width: 0;
}

.motion-card h3 {
  margin: 10px 2px 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motion-card video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  box-shadow: var(--shadow-soft);
}

.privacy-strip {
  padding: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(10, 124, 255, 0.18);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(10, 124, 255, 0.12), rgba(93, 211, 255, 0.08));
  box-shadow: none;
}

.privacy-strip h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.privacy-strip p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.privacy-facts {
  display: grid;
  gap: 10px;
}

.privacy-fact {
  padding: 13px 15px;
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 620;
}

.cta-card {
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.cta-card p {
  max-width: 660px;
  margin: 16px auto 26px;
  color: var(--muted);
  font-size: 18px;
}

.page-hero {
  padding: 86px 0 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 70px);
}

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

.support-card {
  padding: 26px;
  border-radius: var(--radius-md);
}

.support-card h2,
.support-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.support-card p {
  margin: 9px 0 0;
  color: var(--muted);
}

.support-card a {
  color: var(--blue);
  font-weight: 650;
}

.support-section {
  padding: 32px 0;
  scroll-margin-top: 98px;
}

.support-section > h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.035em;
}

.steps,
.faq-list {
  display: grid;
  gap: 12px;
}

.step-card,
.faq-item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.step-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(10, 124, 255, 0.13);
  color: var(--blue);
  font-weight: 760;
}

.step-card h3,
.faq-item h3 {
  margin: 2px 0 5px;
  font-size: 17px;
}

.step-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.contact-panel {
  margin-top: 26px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #087bf2, #005ac7);
  color: #fff;
  box-shadow: 0 24px 56px rgba(0, 94, 201, 0.30);
}

.contact-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.contact-panel p {
  max-width: 680px;
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.80);
}

.contact-panel .button {
  background: #fff;
  color: #0058b8;
}

.legal-shell {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 74px 0;
}

.legal-card {
  padding: clamp(26px, 5vw, 52px);
  border-radius: var(--radius-lg);
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.legal-meta {
  margin: 10px 0 28px;
  color: var(--muted);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card ul {
  margin: 10px 0;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-card a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 46px 20px 54px;
}

.footer-shell {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(10, 124, 255, 0.42);
  outline-offset: 3px;
}

@media (max-width: 880px) {
  .site-header {
    padding: 8px 12px;
  }

  .nav-shell {
    gap: 8px;
  }

  .nav-links {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap;
  }

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

  .feature-card {
    min-height: 260px;
  }

  .motion-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 24vw);
    margin-inline: -20px;
    padding: 0 20px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

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

  .motion-card {
    scroll-snap-align: start;
  }

  .support-grid {
    grid-template-columns: 1fr 1fr;
  }

  .privacy-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--content));
  }

  .site-header {
    padding: 8px;
  }

  .nav-shell {
    min-height: 54px;
    padding: 7px 8px 7px 10px;
    border-radius: 18px;
  }

  .brand {
    padding-left: 2px;
  }

  .nav-links {
    width: auto;
    margin-left: auto;
    overflow: visible;
  }

  .nav-link[aria-current="page"],
  .nav-link[href="privacy-policy.html"],
  .nav-link[href="terms-of-use.html"] {
    display: none;
  }

  .nav-link,
  .language-toggle {
    min-height: 38px;
    padding: 7px 10px;
  }

  .hero {
    min-height: auto;
    padding: 76px 0 88px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.045em;
  }

  .section {
    padding: 68px 0;
  }

  .feature-card {
    min-height: 250px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .motion-grid {
    grid-auto-columns: minmax(138px, 40vw);
    margin-inline: -12px;
    padding: 0 12px 12px;
  }

  .mac-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 78vw);
    margin-inline: -12px;
    padding: 0 12px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .mac-gallery::-webkit-scrollbar {
    display: none;
  }

  .mac-media {
    scroll-snap-align: start;
  }

  .legal-shell {
    width: min(calc(100% - 24px), 900px);
    padding-top: 48px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    margin-left: 0;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav-shell,
  .button-secondary,
  .feature-card,
  .support-card,
  .legal-card,
  .step-card,
  .faq-item {
    background: var(--surface-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: currentColor;
  }

  .nav-shell,
  .feature-card,
  .support-card,
  .legal-card,
  .step-card,
  .faq-item {
    border-width: 2px;
  }
}

/* Homepage hybrid: selected sections from the alternate Klipo concept. */

body.home-page {
  --showcase-soft: rgba(255, 255, 255, 0.42);
  --showcase-tab: rgba(255, 255, 255, 0.82);
  --showcase-dark: #0b0c0f;
  --showcase-dark-soft: #17181d;
  background:
    radial-gradient(38rem 30rem at 14% 8%, rgba(47, 125, 255, 0.24), transparent 60%) 0 0 / 100% 920px no-repeat,
    radial-gradient(34rem 28rem at 86% 4%, rgba(255, 79, 160, 0.20), transparent 60%) 0 0 / 100% 920px no-repeat,
    radial-gradient(40rem 32rem at 50% 46%, rgba(255, 122, 26, 0.16), transparent 62%) 0 0 / 100% 920px no-repeat,
    radial-gradient(36rem 30rem at 78% 60%, rgba(18, 184, 102, 0.18), transparent 60%) 0 0 / 100% 920px no-repeat,
    linear-gradient(180deg, var(--page) 0%, var(--page-strong) 100%);
}

.home-page .hero {
  position: relative;
  min-height: 0;
  padding: 108px 0 84px;
  display: block;
  overflow: hidden;
  isolation: isolate;
}

.home-page .hero::before {
  content: none;
}

.home-page .hero-copy-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-page .hero .eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.home-page .hero h1 {
  font-size: clamp(42px, 7.2vw, 92px);
  letter-spacing: -0.04em;
  background: linear-gradient(100deg, var(--text) 40%, var(--blue-strong) 66%, #d9368b 88%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.home-page .hero-copy {
  max-width: 560px;
  margin-top: 22px;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.5;
}

.home-page .type-row {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.home-page .type-row li {
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--content-color, var(--blue));
  box-shadow: 0 8px 18px -8px var(--content-color, var(--blue));
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.home-page .type-row .t-text { --content-color: #12b866; }
.home-page .type-row .t-link { --content-color: #2f7dff; }
.home-page .type-row .t-image { --content-color: #ff7a1a; }
.home-page .type-row .t-color { --content-color: #ef3d92; }

.home-page .hero .platform-row {
  margin-top: 16px;
  gap: 5px 10px;
}

.home-page .hero .platform-row li {
  color: var(--muted);
  font-weight: 500;
}

.home-page .hero .platform-row li + li::before {
  position: static;
  margin-right: 10px;
  color: var(--muted);
  content: "\00b7";
}

.home-page .hero-shot {
  position: relative;
  width: min(100%, 1180px);
  margin: 56px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-page .hero-shot img {
  width: 100%;
  height: auto;
}

.home-page .hero-shot picture {
  display: block;
}

.home-page .mac-stage {
  padding: 112px 0 96px;
  background: radial-gradient(120% 120% at 50% 0%, var(--showcase-dark-soft), var(--showcase-dark) 60%);
  color: #fff;
}

.home-page .mac-stage .section-heading,
.home-page .showcase-section .section-heading {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.home-page .mac-stage .section-heading h2,
.home-page .showcase-section .section-heading h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.home-page .mac-stage .section-heading p,
.home-page .showcase-section .section-heading p {
  max-width: 540px;
  margin: 14px auto 0;
  font-size: 17px;
}

.home-page .mac-stage .section-heading h2 {
  color: #fff;
}

.home-page .mac-stage .section-heading .eyebrow {
  color: rgba(255, 255, 255, 0.60);
}

.home-page .mac-stage .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.home-page .mac-video-poster,
.home-page .mac-video video {
  border: 0;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.home-page .mac-video figcaption {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-size: 13px;
}

.home-page .mac-gallery {
  margin-top: 56px;
  gap: 16px;
}

.home-page .mac-row {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.home-page .mac-row-media,
.home-page .mac-row-media img {
  overflow: hidden;
  border: 0;
  border-radius: 14px;
}

.home-page .mac-row-text {
  margin-top: 16px;
  text-align: left;
}

.home-page .mac-row-text .row-index {
  display: block;
  margin-bottom: 6px;
  color: var(--accent, #6fb2ff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-page .mac-row-text h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 660;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.home-page .mac-row-text p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.60);
  font-size: 14px;
  line-height: 1.5;
}

.home-page .showcase-section {
  --text: #111318;
  --muted: #636a78;
  --line: rgba(23, 35, 58, 0.10);
  --surface-solid: #ffffff;
  --showcase-tab: rgba(255, 255, 255, 0.82);
  border-top-color: #fefefe;
  background: #fefefe;
  color: var(--text);
}

.home-page .showcase-section .page-shell,
.home-page .showcase,
.home-page .showcase-stage,
.home-page .showcase-device {
  background: #fefefe;
}

.home-page .showcase-section .section-heading .eyebrow {
  text-align: center;
}

.home-page .showcase {
  min-height: 560px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 56px;
}

.home-page .showcase-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.home-page .showcase-tab {
  width: auto;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--showcase-tab);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 150ms ease;
}

.home-page .showcase-tab:hover {
  transform: translateX(2px);
}

.home-page .tab-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--muted);
  transition: background-color 200ms ease;
}

.home-page .showcase-tab.is-active {
  border-color: var(--text);
  background: var(--text);
  color: var(--surface-solid);
}

.home-page .showcase-tab.is-active .tab-dot {
  background: #6fb2ff;
}

.home-page .showcase-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-page .showcase-device {
  position: relative;
  width: clamp(275px, 25vw, 350px);
  aspect-ratio: 1080 / 1920;
}

.home-page .showcase-poster,
.home-page .showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 1080 / 1920;
  display: block;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: #fefefe;
  box-shadow: none;
}

.home-page .showcase-poster {
  z-index: 1;
}

.home-page .showcase-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 140ms ease-out;
}

.home-page .showcase-video.is-ready {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  .home-page {
    --showcase-soft: rgba(255, 255, 255, 0.035);
    --showcase-tab: rgba(24, 28, 38, 0.92);
  }
}

@media (max-width: 980px) {
  .home-page .mac-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-page .showcase {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-page .showcase-tabs {
    flex-flow: row wrap;
  }

  .home-page .showcase-tab {
    padding: 12px 18px;
    font-size: 13.5px;
  }

  .home-page .showcase-device {
    width: clamp(270px, 78vw, 320px);
  }
}

@media (max-width: 620px) {
  .home-page .hero {
    padding: 80px 0 60px;
  }

  .home-page .hero-shot {
    margin-top: 42px;
    border-radius: 24px;
  }

  .home-page .mac-stage {
    padding: 68px 0;
  }

  .home-page .mac-gallery {
    margin-inline: 0;
    padding: 0;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .home-page .showcase-tab {
    background: var(--surface-solid);
  }

  .home-page .showcase-tab.is-active {
    background: var(--text);
  }
}
