/* The supplied artwork remains unchanged; this viewport shows only its phone. */
.home-page .device-preview,
.tutorial-reference .device-preview,
.content-reference .device-preview {
  position: relative;
  display: block;
  width: min(350px, 100%);
  aspect-ratio: 940 / 1953;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-mask: url("assets/app-preview-1.3.2/phone-mask.svg") center / 100% 100% no-repeat;
  mask: url("assets/app-preview-1.3.2/phone-mask.svg") center / 100% 100% no-repeat;
}

.home-page .device-preview img,
.tutorial-reference .device-preview img,
.content-reference .device-preview img {
  position: absolute;
  inset: auto;
  top: -37.2248%;
  left: -18.2979%;
  width: 136.5958%;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: initial;
  transform: none;
}

.home-page .hero--product {
  min-height: 900px;
  min-height: max(820px, 100svh);
  padding: 112px max(24px, calc((100% - 1180px) / 2)) 60px;
  background: #000;
  color: #fff;
}

.home-page .hero--product::before,
.home-page .hero-overlay,
.home-page .hero-glow,
.home-page .float-card {
  display: none;
}

.home-page .hero-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 7vw, 112px);
  min-height: calc(max(820px, 100svh) - 172px);
  direction: ltr;
}

.home-page .hero-visual {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  perspective: none;
}

.home-page .hero-phone.device-preview {
  width: min(350px, 100%);
  transform: none;
  will-change: auto;
}

.home-page .hero-content {
  grid-column: 2;
  grid-row: 1;
  max-width: 660px;
  min-width: 0;
  padding: 0;
}

.home-page .hero-content > .eyebrow,
.home-page .hero-proof {
  display: none;
}

.home-page .hero h1 {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(52px, 5.7vw, 96px);
  font-weight: 200;
  line-height: 1.14;
  letter-spacing: 0.13em;
  direction: ltr;
}

.home-page .hero-tagline {
  margin: 26px 0 0;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.home-page .hero-tagline br {
  display: none;
}

.home-page .hero-tagline span::before {
  content: " ";
}

.home-page .hero-copy {
  max-width: 510px;
  margin-top: 18px;
  color: #a1a1aa;
  font-size: 16px;
  line-height: 1.7;
}

.home-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-page .hero-actions .button {
  min-height: 46px;
  padding-inline: 18px;
  font-size: 12px;
}

.home-page .hero .social-links {
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 0;
}

.home-page .hero .social-links a {
  min-height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #a1a1aa;
  font-size: 12px;
}

.home-page .hero .social-links a:hover {
  color: #fff;
}

.home-page .feature-story__media,
html[data-theme="light"] .home-page .feature-story__media {
  min-height: 670px;
  padding: 50px 20px;
  background: #000;
  border-color: #1a1a1a;
}

.home-page .feature-story__media::before,
.home-page .feature-story__media .media-note {
  display: none;
}

.home-page .feature-story__media .device-preview {
  width: min(270px, 82%);
}

.home-page .showcase-section--swiss {
  background: #000;
  color: #fff;
}

.home-page .showcase-section--swiss .showcase-head h2,
.home-page .showcase-section--swiss .screen-copy h3 {
  color: #fff;
}

.home-page .showcase-section--swiss .showcase-head > p,
.home-page .showcase-section--swiss .screen-copy > p:not(.eyebrow) {
  color: #a1a1aa;
}

.home-page .showcase-section--swiss .eyebrow {
  color: #7ea7ff;
}

.home-page .screen-showcase {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 7vw, 112px);
  min-height: 680px;
}

.home-page .phone-frame.device-preview {
  width: min(320px, 100%);
  justify-self: center;
}

.home-page .screen-tabs {
  justify-content: flex-start;
}

.home-page .screen-tab {
  color: #b8bcc6;
}

.home-page .screen-tab.active,
.home-page .screen-tab:hover {
  color: #fff;
}

.home-page .screen-showcase .button.secondary {
  color: #fff;
  border-color: #333;
}

.home-page .screen-copy > .screen-access {
  margin-top: 20px;
  color: #8c8c98;
  font-size: 12px;
  line-height: 1.5;
}

html[dir="rtl"] .home-page .hero-content {
  direction: rtl;
}

html[dir="rtl"] .home-page .hero h1 {
  text-align: right;
}

@media (max-width: 1100px) {
  .home-page .hero-layout {
    gap: 42px;
  }

  .home-page .hero h1 {
    font-size: clamp(46px, 5.7vw, 64px);
    letter-spacing: 0.1em;
  }

  .home-page .hero-phone.device-preview {
    width: min(310px, 100%);
  }
}

@media (max-width: 820px) {
  .home-page .hero--product {
    min-height: auto;
    padding: 120px 24px 72px;
  }

  .home-page .hero-layout {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 0;
  }

  .home-page .hero-content,
  .home-page .hero-visual {
    grid-column: 1;
    grid-row: auto;
  }

  .home-page .hero-content {
    order: 1;
    max-width: 600px;
    margin-inline: auto;
    text-align: center;
  }

  .home-page .hero-visual {
    order: 2;
    margin: 0;
  }

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

  .home-page .hero-tagline {
    margin-top: 20px;
  }

  .home-page .hero-copy {
    margin-inline: auto;
  }

  .home-page .hero-actions,
  .home-page .hero .social-links {
    justify-content: center;
  }

  .home-page .hero-scroll {
    display: none;
  }

  .home-page .feature-story__media,
  html[data-theme="light"] .home-page .feature-story__media {
    min-height: 640px;
  }

  .home-page .screen-showcase {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-page .screen-copy {
    max-width: 600px;
  }

  html[dir="rtl"] .home-page .hero h1 {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .home-page .hero--product {
    padding-inline: 20px;
  }

  .home-page .hero h1 {
    font-size: clamp(34px, 9vw, 43px);
    letter-spacing: 0.085em;
  }

  .home-page .hero-copy {
    font-size: 14px;
  }

  .home-page .hero-phone.device-preview {
    width: min(275px, 88%);
  }

  .home-page .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .hero .social-links {
    gap: 10px 18px;
  }

  .home-page .feature-story__media,
  html[data-theme="light"] .home-page .feature-story__media {
    min-height: 590px;
    padding-inline: 12px;
  }

  .home-page .phone-frame.device-preview {
    width: min(275px, 88%);
  }
}

/* The closing sections keep a quiet black canvas and a protected-wallet visual. */
html[data-theme] .home-page .trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(44px, 7vw, 112px);
  width: 100%;
  margin: 0;
  padding: 72px max(24px, calc((100% - 1180px) / 2));
  color: #fff;
  background: #000;
  border-block-start: 1px solid #1d1d1d;
  direction: ltr;
}

.home-page .trust-visual {
  width: min(360px, 100%);
  margin: 0 auto;
}

.home-page .trust-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.home-page .trust-copy {
  min-width: 0;
  max-width: 660px;
}

html[data-theme] .home-page .trust-section h2,
html[data-theme] :is(.home-page, .tutorial-reference) .cta-section h2 {
  max-width: 660px;
  margin: 18px 0 20px;
  color: #fff;
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

html[data-theme] .home-page .trust-section p:not(.eyebrow),
html[data-theme] :is(.home-page, .tutorial-reference) .cta-section p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: #a1a1aa;
  font-size: 16px;
  line-height: 1.75;
}

html[data-theme] .home-page .trust-section .eyebrow,
html[data-theme] :is(.home-page, .tutorial-reference) .cta-section .eyebrow {
  margin: 0;
  color: #7ea7ff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
}

html[data-theme] .home-page .trust-section .inline-links {
  gap: 12px;
  margin-top: 28px;
}

html[data-theme] .home-page .trust-section .inline-links a {
  min-height: 44px;
  padding: 11px 18px;
  color: #d6d6de;
  background: transparent;
  border: 1px solid #303030;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

html[data-theme] .home-page .trust-section .inline-links a:hover,
html[data-theme] .home-page .trust-section .inline-links a:focus-visible {
  color: #fff;
  background: #0d121c;
  border-color: #3c4c68;
}

html[data-theme] :is(.home-page, .tutorial-reference) .cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 80px max(24px, calc((100% - 1180px) / 2));
  color: #fff;
  background: #000;
  border: 0;
  border-block-start: 1px solid #1d1d1d;
  border-radius: 0;
  box-shadow: none;
}

html[data-theme] :is(.home-page, .tutorial-reference) .cta-section::before,
html[data-theme] :is(.home-page, .tutorial-reference) .cta-section::after {
  display: none;
}

html[data-theme] :is(.home-page, .tutorial-reference) .cta-section .store-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: end;
  width: min(360px, 100%);
  margin: 0;
}

html[data-theme] :is(.home-page, .tutorial-reference) .cta-section .button {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

html[data-theme] :is(.home-page, .tutorial-reference) .cta-section .button.secondary {
  color: #fff;
  background: transparent;
  border-color: #303030;
  box-shadow: none;
}

html[data-theme] :is(.home-page, .tutorial-reference) .cta-section .button:hover {
  box-shadow: none;
}

html[dir="rtl"] .home-page .trust-copy {
  direction: rtl;
}

html[dir="rtl"] .home-page .trust-section h2,
html[dir="rtl"] :is(.home-page, .tutorial-reference) .cta-section h2 {
  line-height: 1.45;
  letter-spacing: 0;
}

@media (max-width: 820px) {
  html[data-theme] .home-page .trust-section,
  html[data-theme] :is(.home-page, .tutorial-reference) .cta-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 64px;
  }

  .home-page .trust-copy {
    grid-row: 1;
    margin-inline: auto;
  }

  .home-page .trust-visual {
    grid-row: 2;
  }

  html[data-theme] :is(.home-page, .tutorial-reference) .cta-section .store-actions {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  html[data-theme] .home-page .trust-section,
  html[data-theme] :is(.home-page, .tutorial-reference) .cta-section {
    padding-inline: 20px;
    padding-block: 52px;
  }

  html[data-theme] .home-page .trust-section h2,
  html[data-theme] :is(.home-page, .tutorial-reference) .cta-section h2 {
    font-size: clamp(30px, 8vw, 38px);
  }

  html[data-theme] .home-page .trust-section p:not(.eyebrow),
  html[data-theme] :is(.home-page, .tutorial-reference) .cta-section p:not(.eyebrow) {
    font-size: 15px;
  }

  .home-page .trust-visual {
    width: min(300px, 100%);
  }

  html[data-theme] :is(.home-page, .tutorial-reference) .cta-section .store-actions {
    width: 100%;
  }
}

/* Supporting pages share the same quiet black canvas and real app imagery. */
html[data-theme] body.content-reference {
  color: #e7e7ea;
  background: #000;
}

html[data-theme] .content-reference .site-header,
html[data-theme] .content-reference .site-header.solid {
  color: #e7e7ea;
  background: rgba(0, 0, 0, 0.92);
  border-color: #202124;
  box-shadow: none;
}

html[data-theme] .content-reference .theme-toggle {
  color: #e7e7ea;
  background: #080a0e;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

html[data-theme] .content-reference .legal-page {
  width: min(1180px, calc(100% - 48px));
  padding: 128px 0 88px;
}

html[data-theme] .content-reference .legal-hero {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 40px 0 52px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #202124;
  border-radius: 0;
  box-shadow: none;
}

.content-reference .legal-hero::after {
  display: none;
}

html[data-theme] .content-reference .legal-hero h1 {
  max-width: 100%;
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(42px, 5.7vw, 82px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

html[data-theme] .content-reference .eyebrow {
  color: #8da7d2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

html[data-theme] .content-reference .legal-hero p:not(.eyebrow):not(.content-wordmark) {
  max-width: 620px;
  margin: 22px 0 0;
  color: #a1a1aa;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

html[data-theme] .content-reference:is(.about-reference, .contact-reference) .legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 6vw, 90px);
  align-items: center;
  padding: 0 0 68px;
  direction: ltr;
}

.content-reference .legal-hero .content-phone {
  width: min(310px, 100%);
  margin: 0 auto;
}

.content-reference .content-hero-copy {
  min-width: 0;
}

html[data-theme] .content-reference .legal-hero p.content-wordmark {
  max-width: 100%;
  margin: 0 0 30px;
  color: #fff;
  font-size: clamp(44px, 5.7vw, 90px);
  font-weight: 200;
  line-height: 1.14;
  letter-spacing: 0.13em;
}

html[data-theme] .content-reference .content-hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

html[dir="rtl"] .content-reference .content-hero-copy {
  direction: rtl;
}

html[dir="rtl"] .content-reference .legal-hero h1 {
  line-height: 1.35;
  letter-spacing: 0;
}

.content-reference .content-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

html[data-theme] .content-reference .content-hero-actions .button.primary {
  min-height: 46px;
  padding: 12px 18px;
  gap: 12px;
  color: #fff;
  background: linear-gradient(110deg, #080b13 0%, #142039 42%, #213b68 100%);
  border-color: rgba(78, 103, 148, 0.25);
  border-radius: 999px;
  box-shadow: none;
  font-size: 12px;
}

.content-reference .social-links {
  gap: 18px;
  margin: 26px 0 0;
}

html[data-theme] .content-reference .social-links a {
  padding: 0;
  min-height: 40px;
  color: #a1a1aa;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
}

html[data-theme] .content-reference .social-links a:hover {
  color: #fff;
}

html[data-theme] .content-reference .legal-document {
  gap: 0;
  padding-top: 18px;
}

html[data-theme] .content-reference .legal-document section {
  padding: 34px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #202124;
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: minmax(210px, 0.38fr) minmax(0, 1fr);
  gap: 20px 64px;
}

.content-reference .legal-document section::before {
  display: none;
}

html[data-theme] .content-reference .legal-document h2 {
  margin: 0;
  color: #e7e7ea;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

html[data-theme] .content-reference .legal-document p,
html[data-theme] .content-reference .legal-document li {
  color: #a1a1aa;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

html[data-theme] .content-reference .legal-document a {
  color: #9bb5e0;
  font-weight: 500;
  overflow-wrap: anywhere;
}

html[data-theme] .content-reference .inline-links a {
  min-height: 44px;
  padding: 10px 16px;
  color: #d2dbea;
  background: #0b101a;
  border-color: #252f40;
  text-decoration: none;
  font-size: 13px;
}

html[data-theme] .content-reference .inline-links a:hover {
  color: #fff;
  border-color: #465a79;
}

html[data-theme="light"] .content-reference .legal-document section {
  margin-top: 16px;
  padding: 28px;
  background: #f8fafc;
  border-color: #dde3eb;
  border-radius: 14px;
}

html[data-theme="light"] .content-reference .legal-document h2 {
  color: #111827;
}

html[data-theme="light"] .content-reference .legal-document p,
html[data-theme="light"] .content-reference .legal-document li {
  color: #586270;
}

html[data-theme="light"] .content-reference .legal-document a {
  color: #285da8;
}

html[data-theme="light"] .content-reference .inline-links a {
  background: #eef3fa;
  border-color: #d4deec;
}

html[data-theme="light"] .content-reference .inline-links a:hover {
  color: #173e74;
  background: #e2ebf8;
  border-color: #91a8c5;
}

html[data-theme] .document-reference .legal-page {
  width: min(980px, calc(100% - 48px));
}

html[data-theme] .document-reference .legal-document {
  max-width: 800px;
  margin-inline: auto;
}

html[data-theme] .document-reference .legal-document section {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

html[data-theme] .document-reference .legal-document section > :not(h2) {
  grid-column: 1;
}

html[data-theme] .content-reference .site-footer {
  color: #85858e;
  background: #000;
  border-color: #202124;
}

html[data-theme] .content-reference .site-footer a {
  color: #a1a1aa;
}

html[data-theme] .content-reference .site-footer a:hover {
  color: #fff;
}

html[data-theme] .content-reference.utility-page .legal-page {
  width: min(820px, calc(100% - 48px));
  min-height: 100svh;
  display: grid;
  align-content: center;
}

html[data-theme] .content-reference.utility-page .legal-hero {
  padding-block: 44px;
}

html[data-theme] .content-reference.utility-page .button.primary {
  margin-top: 30px;
  color: #fff;
  background: linear-gradient(110deg, #080b13 0%, #142039 42%, #213b68 100%);
  border-color: rgba(78, 103, 148, 0.25);
  border-radius: 999px;
  box-shadow: none;
}

@media (min-width: 1281px) {
  html[data-theme] .content-reference .site-header .site-nav a:not(.nav-action) {
    color: #a1a1aa;
  }

  html[data-theme] .content-reference .site-header .site-nav a:hover {
    color: #fff;
  }

  html[data-theme] .content-reference .site-header .nav-action {
    color: #fff;
    background: linear-gradient(110deg, #080b13 0%, #142039 42%, #213b68 100%);
    border-color: #252f40;
    box-shadow: none;
  }
}

@media (max-width: 820px) {
  html[data-theme] .content-reference .legal-page {
    padding-top: 118px;
  }

  html[data-theme] .content-reference:is(.about-reference, .contact-reference) .legal-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .content-reference .content-hero-copy {
    grid-row: 1;
    text-align: center;
  }

  .content-reference .content-phone {
    grid-row: 2;
  }

  html[data-theme] .content-reference .legal-hero p.content-wordmark {
    font-size: clamp(36px, 8.8vw, 70px);
  }

  .content-reference .social-links {
    justify-content: center;
  }

  .content-reference .content-hero-actions {
    justify-content: center;
  }

  html[data-theme] .content-reference .content-hero-copy p {
    margin-inline: auto;
  }

  html[data-theme] .content-reference .legal-document section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  html[data-theme] .content-reference .legal-document section > :not(h2) {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  html[data-theme] .content-reference .legal-page {
    width: calc(100% - 40px);
    padding-bottom: 60px;
  }

  html[data-theme] .content-reference .legal-hero {
    padding-top: 16px;
    padding-bottom: 36px;
  }

  html[data-theme] .content-reference .legal-hero h1 {
    font-size: clamp(34px, 9vw, 43px);
  }

  html[data-theme] .content-reference .content-hero-copy h1 {
    font-size: 28px;
  }

  html[data-theme] .content-reference .legal-hero p.content-wordmark {
    font-size: clamp(34px, 9vw, 43px);
    letter-spacing: 0.085em;
  }

  .content-reference .legal-hero .content-phone {
    width: min(275px, 90%);
  }

  .content-reference .content-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  html[data-theme] .content-reference .legal-document section {
    padding-block: 28px;
  }

  html[data-theme] .content-reference .legal-document p,
  html[data-theme] .content-reference .legal-document li {
    font-size: 15px;
  }
}

/* Tutorials share the same authentic phone view and black presentation. */
html[data-theme] .tutorial-reference {
  background: #000;
  color: #fff;
}

.tutorial-reference .tutorial-page {
  background: #000;
}

.tutorial-reference .tutorial-hero {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 7vw, 112px);
  min-height: max(800px, calc(100svh - 72px));
  padding: 54px 0;
  direction: ltr;
}

.tutorial-reference .tutorial-hero > div {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.tutorial-reference .tutorial-hero-card.device-preview {
  grid-column: 1;
  grid-row: 1;
  width: min(350px, 100%);
  margin-inline: auto;
  transform: none;
}

.tutorial-reference .tutorial-hero p.tutorial-wordmark {
  max-width: 100%;
  margin: 0 0 30px;
  color: #fff;
  font-size: clamp(52px, 5.7vw, 96px);
  font-weight: 200;
  line-height: 1.14;
  letter-spacing: 0.13em;
  direction: ltr;
}

html[data-theme] .tutorial-reference .tutorial-hero h1 {
  margin: 14px 0 0;
  max-width: 620px;
  color: #fff;
  font-size: clamp(28px, 2.9vw, 40px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

html[data-theme] .tutorial-reference .tutorial-hero p:not(.eyebrow):not(.tutorial-wordmark) {
  margin-top: 20px;
  max-width: 540px;
  color: #a1a1aa;
  font-size: 16px;
  line-height: 1.7;
}

.tutorial-reference .tutorial-hero .social-links {
  gap: 18px;
  margin-block: 24px;
}

.tutorial-reference .tutorial-hero .social-links a {
  min-height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #a1a1aa;
  font-size: 12px;
}

.tutorial-reference .tutorial-hero .social-links a:hover {
  color: #fff;
}

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

.tutorial-reference .tutorial-hero .hero-actions .button.secondary {
  color: #fff;
  background: transparent;
  border-color: #333;
}

html[data-theme] .tutorial-reference .tutorial-showcase,
html[data-theme] .tutorial-reference .tutorial-showcase.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 96px);
  background: #000;
  color: #fff;
  border-color: #1d1d1d;
}

.tutorial-reference .tutorial-media-grid {
  gap: 24px;
  align-items: center;
}

.tutorial-reference .tutorial-media-grid .device-preview {
  width: 100%;
  max-width: 270px;
  justify-self: center;
}

.tutorial-reference .tutorial-media.single {
  width: 100%;
  justify-self: center;
}

.tutorial-reference .tutorial-media.single .device-preview {
  width: min(320px, 100%);
  margin-inline: auto;
}

html[data-theme] .tutorial-reference .tutorial-copy h2,
html[data-theme] .tutorial-reference .section-heading h2 {
  color: #fff;
}

html[data-theme] .tutorial-reference .tutorial-copy p,
html[data-theme] .tutorial-reference .tutorial-copy li,
html[data-theme] .tutorial-reference .section-heading > p:not(.eyebrow) {
  color: #a1a1aa;
}

html[data-theme] .tutorial-reference .tutorial-hero .eyebrow,
html[data-theme] .tutorial-reference .tutorial-copy .eyebrow,
html[data-theme] .tutorial-reference .section-heading .eyebrow {
  color: #7ea7ff;
}

html[dir="rtl"] .tutorial-reference .tutorial-hero > div {
  direction: rtl;
}

@media (max-width: 1100px) {
  .tutorial-reference .tutorial-hero {
    gap: 42px;
  }

  .tutorial-reference .tutorial-hero p.tutorial-wordmark {
    font-size: clamp(44px, 5.7vw, 64px);
    letter-spacing: 0.1em;
  }

  .tutorial-reference .tutorial-hero-card.device-preview {
    width: min(310px, 100%);
  }
}

@media (max-width: 900px) {
  html[data-theme] .tutorial-reference .tutorial-showcase,
  html[data-theme] .tutorial-reference .tutorial-showcase.reverse {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .tutorial-reference .tutorial-media-grid {
    max-width: 570px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .tutorial-reference .tutorial-hero {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 0;
    padding-block: 54px 72px;
  }

  .tutorial-reference .tutorial-hero > div,
  .tutorial-reference .tutorial-hero-card.device-preview {
    grid-column: 1;
    grid-row: auto;
  }

  .tutorial-reference .tutorial-hero > div {
    max-width: 600px;
    margin-inline: auto;
    text-align: center;
  }

  .tutorial-reference .tutorial-hero p.tutorial-wordmark {
    font-size: clamp(42px, 8.8vw, 70px);
    margin-bottom: 24px;
  }

  .tutorial-reference .tutorial-hero .hero-actions,
  .tutorial-reference .tutorial-hero .social-links {
    justify-content: center;
  }

  html[data-theme] .tutorial-reference .tutorial-hero p:not(.eyebrow):not(.tutorial-wordmark) {
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .tutorial-reference .tutorial-hero {
    width: calc(100% - 40px);
  }

  .tutorial-reference .tutorial-hero p.tutorial-wordmark {
    font-size: clamp(34px, 9vw, 43px);
    letter-spacing: 0.085em;
  }

  .tutorial-reference .tutorial-hero-card.device-preview,
  .tutorial-reference .tutorial-media.single .device-preview {
    width: min(275px, 90%);
  }

  .tutorial-reference .tutorial-hero .hero-actions {
    flex-direction: column;
  }

  .tutorial-reference .tutorial-media-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tutorial-reference .tutorial-media-grid .device-preview {
    width: min(275px, 90%);
  }
}
