:root {
  --ink: #0b0c0e;
  --ink-soft: #15171a;
  --paper: #f4f3ef;
  --paper-bright: #fbfbf8;
  --line: rgba(255, 255, 255, 0.16);
  --dark-line: rgba(11, 12, 14, 0.14);
  --coral: #ff5b45;
  --coral-dark: #d94231;
  --cyan: #41d9e6;
  --muted: #777a80;
}

/* Tutorial category and cover-card grid */
.tutorial-page.tutorial-library-page {
  min-height: calc(100vh - 160px);
  padding: 126px clamp(24px, 4.8vw, 92px) 130px;
  background: #0b0d10;
}
.tutorial-library-page .tutorial-library {
  width: min(1740px, 100%);
  margin: 0 auto;
}
.tutorial-library-page .tutorial-group {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}
.tutorial-library-page .tutorial-group + .tutorial-group {
  margin-top: 74px;
  border: 0;
}
.tutorial-library-page .tutorial-group-heading {
  min-height: 0;
  margin: 0 0 24px;
  padding: 2px 0 0;
  display: block;
  border: 0;
}
.tutorial-library-page .tutorial-group-heading h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}
.tutorial-card-grid {
  min-width: 0;
  margin-left: clamp(56px, 6.5vw, 120px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px clamp(18px, 2vw, 34px);
}
.tutorial-grid-card {
  min-width: 0;
  margin: 0;
  padding: 0;
  color: inherit;
  text-align: inherit;
  background: transparent;
  border: 0;
  cursor: default;
}
.tutorial-grid-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #101216;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tutorial-grid-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}
.tutorial-grid-card:hover .tutorial-grid-media img {
  transform: scale(1.025);
  opacity: 0.88;
}
.tutorial-grid-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 5px;
}
.tutorial-grid-video-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(10, 12, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font-size: 10px;
}
.tutorial-grid-card h3 {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}
.tutorial-grid-content p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.6;
}
.tutorial-grid-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.tutorial-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  text-decoration: none;
}
.tutorial-link:hover,
.tutorial-link-primary {
  color: #0b0d10;
  background: #41d9e6;
  border-color: #41d9e6;
}
.tutorial-detail-page {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 120px 24px 130px;
}
.tutorial-docs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 90px);
  padding-top: 90px;
  background: #fbfcff;
  color: #344054;
}
.tutorial-docs-sidebar {
  position: sticky;
  top: 90px;
  height: calc(100vh - 90px);
  overflow: auto;
  padding: 28px 20px 40px 28px;
  background: #f5f7fb;
  border-right: 1px solid #e3e7ef;
}
.tutorial-docs-brand {
  margin-bottom: 28px;
  color: #172033;
  font-size: 19px;
  font-weight: 700;
}
.tutorial-docs-group {
  margin: 24px 0 8px;
  color: #64748b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tutorial-docs-nav {
  display: grid;
  gap: 3px;
}
.tutorial-docs-nav a {
  padding: 9px 11px;
  color: #526176;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}
.tutorial-docs-nav a:hover {
  background: #e9edff;
  color: #5b46d6;
}
.tutorial-docs-nav a.is-active {
  color: #5b46d6;
  background: #e8e1ff;
  font-weight: 650;
}
.tutorial-docs-main {
  min-width: 0;
  padding: 48px clamp(24px, 6vw, 90px) 110px;
  background: linear-gradient(120deg, #fff 0%, #fbf8ff 100%);
}
.tutorial-docs-main .tutorial-detail-article {
  max-width: 1040px;
  margin: 0 auto;
}
.tutorial-docs-main .tutorial-detail-cover {
  max-height: 360px;
}
.tutorial-docs-main .tutorial-detail-back {
  display: none;
}
.tutorial-docs-main .tutorial-detail-header h1 {
  color: #25324a;
}
.tutorial-docs-main .tutorial-detail-header p {
  color: #667085;
}
.tutorial-docs-main .tutorial-detail-body {
  color: #475467;
}
.tutorial-docs-main .tutorial-detail-body h2,
.tutorial-docs-main .tutorial-detail-body h3 {
  color: #25324a;
}
.tutorial-detail-article {
  max-width: 860px;
  margin: 0 auto;
}
.tutorial-detail-back {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-size: 13px;
}
.tutorial-detail-cover {
  width: 100%;
  max-height: 430px;
  margin-top: 28px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.tutorial-detail-header {
  padding: 34px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.tutorial-detail-kicker {
  color: #41d9e6;
  font-size: 12px;
}
.tutorial-detail-header h1 {
  margin: 12px 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.12;
}
.tutorial-detail-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.8;
}
.tutorial-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 34px;
}
.tutorial-detail-body {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.9;
}
.tutorial-detail-body h2,
.tutorial-detail-body h3 {
  color: #fff;
  line-height: 1.35;
  margin: 34px 0 12px;
}
.tutorial-detail-body a {
  color: #41d9e6;
}
.tutorial-detail-body img {
  max-width: 100%;
  height: auto;
}
.tutorial-detail-body blockquote {
  margin: 24px 0;
  padding: 12px 18px;
  border-left: 3px solid #41d9e6;
  background: rgba(255, 255, 255, 0.05);
}
.tutorial-library-page .tutorial-library-status {
  min-height: 240px;
}
.tutorial-video-dialog {
  width: min(960px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: rgba(255, 255, 255, 0.92);
  background: #101216;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.tutorial-video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}
.tutorial-video-dialog video {
  width: 100%;
  max-height: min(68vh, 680px);
  display: block;
  background: #000;
  object-fit: contain;
}
.tutorial-video-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(10, 12, 15, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.tutorial-video-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.tutorial-video-copy {
  padding: 22px 24px 26px;
}
.tutorial-video-copy span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}
.tutorial-video-copy h2 {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}

/* API-document tutorial surface */
.tutorial-page.tutorial-library-page {
  padding: 0;
}
.tutorial-page.tutorial-library-page .tutorial-library {
  width: 100%;
  margin: 0;
}
.docs-rich-document {
  padding: 24px 0 80px;
  color: #475467;
  font-size: 15px;
  line-height: 1.85;
}
.docs-rich-document h2 {
  margin: 36px 0 12px;
  color: #26334b;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.docs-rich-document h3 {
  margin: 24px 0 9px;
  color: #344054;
  font-size: 17px;
}
.docs-rich-document p {
  margin: 10px 0;
}
.docs-rich-document code {
  padding: 3px 6px;
  color: #5368be;
  background: #f0f2f8;
  border-radius: 5px;
  font-size: 0.88em;
}
.docs-rich-document pre {
  overflow: auto;
  margin: 18px 0;
  padding: 18px 20px;
  color: #e4e9ff;
  background: #1e2430;
  border-radius: 10px;
  font:
    12px/1.75 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.docs-rich-document pre code {
  padding: 0;
  color: inherit;
  background: none;
}
.docs-rich-document img {
  max-width: 100%;
  height: auto;
  margin: 16px 0;
  border: 1px solid #e1e5ed;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(38, 51, 75, 0.06);
}
.docs-rich-document table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  background: #fff;
}
.docs-rich-document th,
.docs-rich-document td {
  padding: 11px 13px;
  border: 1px solid #e3e7ef;
  text-align: left;
}
.docs-rich-document th {
  color: #344054;
  background: #f5f7fb;
  font-weight: 700;
}
.docs-rich-document ol,
.docs-rich-document ul {
  padding-left: 24px;
}
.docs-rich-document li {
  margin: 6px 0;
}
.docs-rich-document [data-doc-block] {
  margin: 18px 0;
  padding: 17px 20px;
  border: 1px solid #e3e7ef;
  border-radius: 10px;
  background: #fff;
}
.docs-rich-document [data-doc-block="callout"] {
  color: #5b4ca6;
  border-color: #d9d0ff;
  background: #f4f0ff;
}
.docs-rich-document [data-doc-block="endpoint"] {
  color: #365c7d;
  border-color: #cfe7f6;
  background: #f0f8fd;
}
.docs-rich-document [data-doc-block="params"] {
  border-left: 3px solid #8660e9;
}
.docs-rich-document [data-doc-block="response"] {
  color: #246b55;
  border-color: #c8ebdd;
  background: #f1fbf6;
}
.docs-rich-document [data-doc-block="code"] {
  padding: 0;
  border: 0;
  background: transparent;
}
.tutorial-docs-layout {
  grid-template-columns: 286px minmax(0, 1fr);
  padding-top: 72px;
  background: #f8f9fd;
  color: #344054;
}
.tutorial-docs-sidebar {
  top: 72px;
  height: calc(100vh - 72px);
  padding: 24px 18px 42px;
  background: #f5f7fb;
  border-right: 1px solid #e5e7ef;
}
.tutorial-docs-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 10px 20px;
  color: #27344d;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.tutorial-docs-brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #7558e8, #9d7cff);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}
.tutorial-docs-search {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 2px 22px;
  padding: 8px 10px;
  color: #98a2b3;
  background: #fff;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
}
.tutorial-docs-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #344054;
  background: transparent;
  font: inherit;
  font-size: 12px;
}
.tutorial-docs-group {
  margin: 22px 10px 8px;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tutorial-docs-nav {
  gap: 2px;
}
.tutorial-docs-nav a {
  padding: 9px 11px;
  color: #667085;
  border-radius: 8px;
  font-size: 12px;
}
.tutorial-docs-nav a:hover {
  color: #6849db;
  background: #eeeaff;
}
.tutorial-docs-nav a.is-active {
  color: #6849db;
  background: #e9e2ff;
  font-weight: 700;
}
.tutorial-docs-main {
  padding: 0 clamp(24px, 6vw, 96px) 110px;
  background: linear-gradient(120deg, #fff 0%, #fbf8ff 100%);
}
.docs-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid #edf0f5;
}
.docs-breadcrumb {
  color: #98a2b3;
  font-size: 12px;
}
.docs-copy-page,
.docs-copy-code {
  border: 1px solid #dfe3eb;
  border-radius: 7px;
  color: #475467;
  background: #fff;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.docs-copy-page {
  padding: 7px 12px;
}
.tutorial-detail-article {
  max-width: 1160px !important;
}
.docs-header {
  padding: 38px 0 20px;
  border-bottom: 1px solid #e8ebf2;
}
.docs-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.docs-title-line h1 {
  margin: 0;
  color: #26334b !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  letter-spacing: -0.035em;
}
.docs-status {
  padding: 6px 11px;
  color: #5972d8;
  background: #edf1ff;
  border-radius: 999px;
  font-size: 12px;
}
.docs-summary {
  max-width: 760px;
  margin: 15px 0 22px;
  color: #667085 !important;
  font-size: 15px;
  line-height: 1.75;
}
.docs-endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  border: 1px solid #e2e6ef;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}
.docs-method {
  padding: 9px 11px;
  border-radius: 7px;
  color: #12805c;
  background: #dcfaeb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.docs-method-post,
.docs-method-put,
.docs-method-patch {
  color: #6d48cb;
  background: #eee6ff;
}
.docs-method-delete {
  color: #c2415a;
  background: #ffe7ea;
}
.docs-path {
  flex: 1;
  color: #475467;
  font-size: 13px;
}
.docs-try-button,
.docs-run-button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 7px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.docs-try-button {
  color: #fff;
  background: #8660e9;
  border: 1px solid #8660e9;
}
.docs-run-button {
  color: #475467;
  background: #fff;
  border: 1px solid #dfe3eb;
}
.docs-section {
  margin-top: 34px;
}
.docs-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}
.docs-section-heading h2,
.docs-section-heading {
  color: #344054;
  font-size: 20px;
  font-weight: 700;
}
.docs-section-heading h2 {
  margin: 0;
}
.docs-section-hint,
.docs-section-description {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 400;
}
.docs-section-description {
  margin: 0 0 14px;
  line-height: 1.7;
}
.docs-params-card,
.docs-response-card {
  overflow: hidden;
  border: 1px solid #e4e8f0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 5px 22px rgba(38, 51, 75, 0.035);
}
.docs-card-title {
  padding: 14px 17px;
  border-bottom: 1px solid #edf0f5;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}
.docs-field-row {
  display: grid;
  grid-template-columns: 180px 90px minmax(160px, 1fr) minmax(160px, 0.8fr);
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border-bottom: 1px solid #f0f2f6;
}
.docs-field-row:last-child {
  border-bottom: 0;
}
.docs-field-name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.docs-field-name code,
.docs-field-example {
  color: #4b65c5;
  font-size: 12px;
}
.docs-required {
  color: #f97316;
  font-size: 10px;
}
.docs-field-type {
  color: #667085;
  font-size: 11px;
}
.docs-field-description {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}
.docs-field-example {
  justify-self: start;
  padding: 4px 7px;
  color: #667085;
  background: #f5f6fa;
  border-radius: 5px;
}
.docs-code-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 8px;
  overflow-x: auto;
}
.docs-code-tabs button {
  padding: 8px 14px;
  border: 1px solid #e2e5ed;
  border-radius: 7px;
  color: #667085;
  background: #fff;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.docs-code-tabs button.is-active {
  color: #6849db;
  border-color: #cfc1ff;
  background: #f0ebff;
  font-weight: 700;
}
.docs-code-panel {
  position: relative;
  overflow: auto;
  min-height: 130px;
  padding: 20px;
  border: 1px solid #2c3342;
  border-radius: 10px;
  color: #e5e7eb;
  background: #1e2430;
}
.docs-code-panel pre {
  margin: 0;
  padding-right: 84px;
  white-space: pre-wrap;
  color: #e4e9ff;
  font:
    12px/1.75 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.docs-copy-code {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  color: #d5dcf0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.docs-response-status {
  padding: 14px 17px;
  color: #0b9f68;
  border-bottom: 1px solid #edf0f5;
  font-size: 13px;
  font-weight: 700;
}
.docs-response-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
}
.docs-response-fields {
  border-right: 1px solid #edf0f5;
}
.docs-response-example {
  margin: 0;
  padding: 22px;
  overflow: auto;
  color: #475467;
  background: #fbfcfe;
  font:
    12px/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.docs-guide-section {
  padding-top: 8px;
  border-top: 1px solid #e8ebf2;
}
.docs-guide-section > .docs-section-heading {
  margin-bottom: 12px;
}
.docs-guide-section .tutorial-detail-body {
  color: #667085;
  font-size: 14px;
  line-height: 1.85;
}
@media (max-width: 760px) {
  .tutorial-docs-layout {
    display: block;
    padding-top: 64px;
  }
  .tutorial-docs-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #e5e7ef;
  }
  .tutorial-docs-nav {
    display: flex;
    overflow-x: auto;
  }
  .tutorial-docs-nav a {
    flex: 0 0 auto;
  }
  .tutorial-docs-group {
    margin-top: 12px;
  }
  .tutorial-docs-main {
    padding: 0 18px 70px;
  }
  .docs-endpoint {
    flex-wrap: wrap;
  }
  .docs-path {
    min-width: 180px;
  }
  .docs-field-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .docs-field-description,
  .docs-field-example {
    grid-column: 1 / -1;
  }
  .docs-response-grid {
    grid-template-columns: 1fr;
  }
  .docs-response-fields {
    border-right: 0;
    border-bottom: 1px solid #edf0f5;
  }
}
.tutorial-video-copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1280px) {
  .tutorial-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .tutorial-library-page .tutorial-group {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .tutorial-card-grid {
    margin-left: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tutorial-docs-layout {
    display: block;
    padding-top: 76px;
  }
  .tutorial-docs-sidebar {
    position: static;
    height: auto;
    max-height: 270px;
    padding: 18px;
  }
  .tutorial-docs-main {
    padding: 30px 18px 70px;
  }
  .tutorial-page.tutorial-library-page {
    padding: 104px 18px 84px;
  }
  .tutorial-library-page .tutorial-group + .tutorial-group {
    margin-top: 56px;
  }
  .tutorial-library-page .tutorial-group-heading {
    padding: 0;
  }
  .tutorial-library-page .tutorial-group-heading h2 {
    font-size: 21px;
  }
  .tutorial-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }
  .tutorial-grid-card h3 {
    margin-top: 10px;
    font-size: 12px;
  }
  .tutorial-video-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
  .tutorial-video-copy {
    padding: 18px 18px 22px;
  }
  .tutorial-video-copy h2 {
    font-size: 18px;
  }
}

/* List-only tutorial library */
.tutorial-page.tutorial-library-page {
  min-height: calc(100vh - 160px);
  padding: 124px clamp(22px, 6vw, 96px) 120px;
  background: #0b0d10;
}
.tutorial-library-page .tutorial-library {
  width: min(1380px, 100%);
  margin: 0 auto;
}
.tutorial-library-page .tutorial-group {
  padding: 0;
}
.tutorial-library-page .tutorial-group + .tutorial-group {
  margin-top: 74px;
  border-top: 0;
}
.tutorial-library-page .tutorial-group-heading {
  min-height: 0;
  margin-bottom: 24px;
  display: block;
  border: 0;
}
.tutorial-library-page .tutorial-group-heading h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.3;
}
.tutorial-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.tutorial-list-row {
  min-height: 112px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(180px, 0.38fr);
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.tutorial-list-number {
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 800;
}
.tutorial-list-copy h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 19px;
  line-height: 1.35;
}
.tutorial-list-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
}
.tutorial-list-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.tutorial-list-tags span {
  padding: 5px 8px;
  color: #65d8d0;
  border: 1px solid rgba(101, 216, 208, 0.28);
  font-size: 9px;
  white-space: nowrap;
}
.tutorial-library-page .tutorial-library-status {
  min-height: 180px;
}

@media (max-width: 560px) {
  .tutorial-page.tutorial-library-page {
    padding: 104px 18px 82px;
  }
  .tutorial-library-page .tutorial-group + .tutorial-group {
    margin-top: 52px;
  }
  .tutorial-library-page .tutorial-group-heading {
    margin-bottom: 14px;
    padding: 0;
  }
  .tutorial-library-page .tutorial-group-heading h2 {
    font-size: 22px;
  }
  .tutorial-list-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }
  .tutorial-list-tags {
    grid-column: 2;
    justify-content: flex-start;
  }
}

/* Dynamic tutorial library */
.tutorial-library-page {
  max-width: none;
  background: #0b0d10;
}
.tutorial-library-intro {
  width: min(1380px, 100%);
  min-height: 260px;
  margin: 0 auto;
  padding: 62px 0 54px;
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.tutorial-library-intro .section-kicker {
  margin: 0 0 8px;
  align-self: start;
}
.tutorial-library-intro h1 {
  margin: 0;
  font-size: 82px;
  line-height: 0.98;
  letter-spacing: 0;
}
.tutorial-library-intro div > p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  line-height: 1.8;
}
.tutorial-library {
  width: min(1380px, 100%);
  margin: 0 auto;
}
.tutorial-group {
  padding-top: 78px;
}
.tutorial-group + .tutorial-group {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.tutorial-group-heading {
  min-height: 74px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-top: 2px solid #e85f49;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.tutorial-group-heading > span {
  color: #e85f49;
  font-size: 11px;
  font-weight: 800;
}
.tutorial-group-heading h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}
.tutorial-group-heading small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}
.tutorial-course {
  padding: 34px 0 18px;
}
.tutorial-course + .tutorial-course {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.tutorial-course-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.7fr);
  min-height: 480px;
  background: #15181c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
}
.tutorial-card-media {
  position: relative;
  min-width: 0;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050608;
}
.tutorial-card-media video,
.tutorial-card-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
  object-fit: contain;
}
.tutorial-media-label {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 9px;
  color: #fff;
  background: rgba(5, 6, 8, 0.82);
  font-size: 9px;
  font-weight: 800;
}
.tutorial-course-copy {
  padding: 54px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tutorial-course-index {
  color: #65d8d0;
  font-size: 9px;
  font-weight: 800;
}
.tutorial-course-copy h2 {
  margin: 18px 0;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: 0;
}
.tutorial-course-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-line;
}
.tutorial-course-copy .btn {
  width: max-content;
  margin-top: 30px;
}
.tutorial-step-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.tutorial-step {
  min-height: 112px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(160px, 0.34fr);
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.tutorial-step-number {
  color: #e85f49;
  font-size: 11px;
  font-weight: 800;
}
.tutorial-step-copy h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 0;
}
.tutorial-step-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1.7;
}
.tutorial-step-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.tutorial-step-tags span {
  padding: 5px 8px;
  color: #65d8d0;
  border: 1px solid rgba(101, 216, 208, 0.26);
  font-size: 9px;
}
.tutorial-library-status {
  width: min(1380px, 100%);
  min-height: 180px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.46);
}
.tutorial-library-status.is-error {
  color: #ff9382;
}

@media (max-width: 980px) {
  .tutorial-course-feature {
    grid-template-columns: 1fr;
  }
  .tutorial-card-media,
  .tutorial-card-media video,
  .tutorial-card-media img {
    min-height: 390px;
  }
}

@media (max-width: 560px) {
  .tutorial-library-intro {
    min-height: 220px;
    padding: 48px 0 38px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .tutorial-library-intro h1 {
    font-size: 54px;
  }
  .tutorial-library-intro div > p {
    margin-top: 17px;
  }
  .tutorial-group {
    padding-top: 54px;
  }
  .tutorial-group-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px 0;
  }
  .tutorial-group-heading h2 {
    font-size: 23px;
  }
  .tutorial-group-heading small {
    grid-column: 2;
  }
  .tutorial-course {
    padding-top: 20px;
  }
  .tutorial-course-feature {
    min-height: 0;
  }
  .tutorial-card-media,
  .tutorial-card-media video,
  .tutorial-card-media img {
    min-height: 218px;
  }
  .tutorial-course-copy {
    padding: 30px 22px 34px;
  }
  .tutorial-course-copy h2 {
    font-size: 27px;
  }
  .tutorial-step {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 22px 0;
  }
  .tutorial-step-tags {
    grid-column: 2;
    justify-content: flex-start;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
body.modal-open {
  overflow: hidden;
}
button,
input {
  font: inherit;
  letter-spacing: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 72px;
  padding: 0 clamp(22px, 4vw, 70px);
  display: flex;
  align-items: center;
  gap: 42px;
  color: #fff;
  transition:
    background 0.25s,
    border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(9, 10, 12, 0.92);
  backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}
.brand img {
  border-radius: 7px;
  object-fit: cover;
}
.brand span {
  font-size: 17px;
  font-weight: 400;
}
.brand strong {
  font-weight: 800;
}
.main-nav {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.2s;
}
.inner-header {
  gap: clamp(18px, 2vw, 34px);
  padding-left: clamp(18px, 3vw, 52px);
  padding-right: clamp(18px, 3vw, 52px);
}
.inner-header .main-nav {
  gap: clamp(12px, 1.45vw, 24px);
}
.inner-header .main-nav a {
  font-size: clamp(11px, 1vw, 13px);
}
.main-nav a:hover {
  color: #fff;
}
.main-nav a.is-active {
  color: #fff;
}
.main-nav a.is-active::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto 0;
  background: var(--coral);
}
.header-actions {
  display: flex;
  gap: 10px;
}
.header-member-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.header-membership-action {
  min-height: 38px;
  padding: 0 16px;
  color: var(--coral);
  background: transparent;
  border: 1px solid var(--coral);
}
.header-membership-action:hover {
  color: #fff;
  background: var(--coral);
}
.btn {
  border: 0;
  border-radius: 4px;
  min-height: 40px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 650;
  font-size: 14px;
  transition:
    transform 0.18s,
    background 0.18s,
    border-color 0.18s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-accent {
  background: #fff;
  color: var(--ink);
}
.btn-primary {
  background: var(--coral);
  color: #fff;
}
.btn-primary:hover {
  background: var(--coral-dark);
}
.btn-outline {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(11, 12, 14, 0.35);
}
.btn-large {
  min-height: 52px;
  padding: 0 28px;
}
.btn-block {
  width: 100%;
  min-height: 48px;
}
.mobile-menu-button {
  display: none;
  color: #fff;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.account-menu {
  position: relative;
}
.account-trigger {
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.account-name {
  max-width: 110px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
}
.account-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 242px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  padding: 8px;
  border-radius: 6px;
}
.account-summary {
  padding: 12px 12px 14px;
  border-bottom: 1px solid var(--dark-line);
  display: grid;
  gap: 4px;
}
.account-summary strong {
  font-size: 14px;
}
.account-summary span {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-summary em {
  width: max-content;
  margin-top: 6px;
  padding: 4px 7px;
  font-size: 11px;
  font-style: normal;
  color: #a23225;
  background: #fff0ed;
  border-radius: 3px;
}
.account-popover a,
.account-popover button {
  width: 100%;
  min-height: 39px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  font-size: 13px;
  text-align: left;
}
.account-popover a:hover,
.account-popover button:hover {
  background: #f2f2ee;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0a0b0d;
}
.homepage-announcement {
  position: relative;
  z-index: 5;
  margin-top: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 10px clamp(20px, 5vw, 76px);
  color: #fff;
  background: #171a1f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.homepage-announcement-mark {
  display: grid;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: #111316;
  background: var(--coral);
  font-size: 14px;
  font-weight: 850;
}
.homepage-announcement-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 12px;
}
.homepage-announcement-copy > span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.homepage-announcement-copy strong {
  font-size: 14px;
}
.homepage-announcement-copy p {
  flex-basis: 100%;
  margin: 1px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.5;
}
.homepage-announcement-link {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.homepage-announcement-link:hover {
  border-color: var(--coral);
  color: var(--coral);
}
.home-hero {
  min-height: max(650px, calc(100svh - 96px));
  display: grid;
  place-items: center;
}
.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 7, 7, 0.8) 0%,
      rgba(7, 7, 7, 0.61) 42%,
      rgba(7, 7, 7, 0.48) 100%
    ),
    rgba(0, 0, 0, 0.14);
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 134px 0 90px;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
}
.hero-content {
  min-width: 0;
}
.hero-logo-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-logo-lockup > img {
  width: 68px;
  height: 68px;
  border-radius: 11px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}
.hero-logo-lockup p {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2.2px;
}
.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 2.2px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 5vw, 74px);
  line-height: 0.94;
  font-weight: 850;
  letter-spacing: 0;
}
.hero-lead {
  max-width: 520px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  font-size: clamp(15px, 1.3vw, 18px);
}
.hero-capabilities {
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}
.hero-capabilities span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero-capabilities span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--coral);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}
.hero-video-window {
  width: 100%;
  min-width: 0;
  background: #08090a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}
.video-window-bar {
  height: 38px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  letter-spacing: 1.4px;
}
.video-window-bar > span {
  display: flex;
  gap: 5px;
}
.video-window-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.video-window-bar i:first-child {
  background: var(--coral);
}
.video-window-bar b {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}
.video-window-bar em {
  justify-self: end;
  font-style: normal;
}
.video-player-shell {
  position: relative;
  background: #040506;
}
.video-player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #040506;
}

/* The homepage preview is an ambient, autoplaying video.  Some WebKit-based
   browsers still draw their large center play affordance when autoplay is
   delayed or blocked, which obscures the artwork.  Keep the native controls
   hidden for this decorative player. */
.video-player-shell video::-webkit-media-controls-start-playback-button,
.video-player-shell video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
}
.video-window-copy {
  min-height: 94px;
  padding: 19px 22px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.video-window-copy > span {
  color: var(--coral);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.video-window-copy h2 {
  margin: 0;
  font-size: 20px;
}
.video-window-copy p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.6;
}
.hero-scene-label {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 4vw, 70px);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  letter-spacing: 1.8px;
}
.hero-scene-label i {
  width: 58px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.hero-scroll {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 4vw, 70px);
  bottom: 24px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 2px;
}

.product-section,
.membership-section {
  padding: 110px clamp(22px, 6vw, 96px);
}
.section-intro {
  max-width: 1240px;
  margin: 0 auto 55px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 60px;
  align-items: end;
}
.section-kicker {
  color: var(--coral);
  margin-bottom: 14px;
}
.section-intro h2,
.showcase-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.12;
}
.section-intro > p,
.showcase-copy > p {
  margin: 0;
  color: #5d6066;
  line-height: 1.9;
  font-size: 15px;
}
.product-stage {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  background: #0a0b0d;
  overflow: hidden;
  aspect-ratio: 16 / 8.7;
}
.product-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stage-caption {
  position: absolute;
  left: 28px;
  bottom: 26px;
  color: #fff;
  background: rgba(8, 9, 11, 0.76);
  backdrop-filter: blur(12px);
  border-left: 3px solid var(--cyan);
  padding: 13px 20px;
  display: grid;
  gap: 3px;
}
.stage-caption span {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.55);
}
.stage-caption strong {
  font-size: 15px;
}
.capability-grid {
  max-width: 1240px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}
.capability-grid article {
  position: relative;
  min-height: 230px;
  padding: 34px 30px;
  border-right: 1px solid var(--dark-line);
}
.capability-grid article:last-child {
  border-right: 0;
}
.capability-grid svg {
  color: var(--coral);
  margin-top: 22px;
}
.capability-index {
  font-size: 10px;
  color: #94969a;
}
.capability-grid h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}
.capability-grid p {
  margin: 0;
  color: #6f7277;
  line-height: 1.7;
  font-size: 14px;
}

.showcase-section {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  min-height: 670px;
}
.showcase-copy {
  padding: 100px clamp(26px, 6vw, 92px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-copy > p {
  color: rgba(255, 255, 255, 0.56);
  margin-top: 26px;
}
.showcase-copy .section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
}
.text-command {
  width: max-content;
  margin-top: 32px;
  color: #fff;
  background: transparent;
  border: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  gap: 16px;
}
.showcase-visual {
  position: relative;
  overflow: hidden;
}
.showcase-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.06);
}
.showcase-tag {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  letter-spacing: 1.8px;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 12px;
}

.membership-section {
  background: var(--paper-bright);
}
.pricing-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--dark-line);
  padding: 34px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
}
.pricing-card.featured {
  color: #fff;
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}
.plan-marker {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--ink);
  background: var(--cyan);
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.plan-heading span {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--coral);
  font-weight: 800;
}
.featured .plan-heading span {
  color: var(--cyan);
}
.plan-heading h2,
.plan-heading h3 {
  margin: 8px 0 0;
  font-size: 24px;
}
.plan-price {
  margin: 34px 0;
  font-size: 34px;
  font-weight: 800;
  min-height: 44px;
}
.plan-price small {
  font-size: 13px;
  font-weight: 500;
  color: #80838a;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  gap: 14px;
  color: #63666c;
  font-size: 14px;
}
.featured ul {
  color: rgba(255, 255, 255, 0.62);
}
.pricing-card li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  background: var(--coral);
}
.featured li::before {
  background: var(--cyan);
}
.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}
.featured .btn-primary {
  background: var(--coral);
}
.legacy-note {
  text-align: center;
  color: #74777c;
  margin: 28px auto 0;
  font-size: 13px;
}

.site-footer {
  min-height: 140px;
  padding: 34px clamp(22px, 6vw, 96px);
  background: #08090b;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-footer p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}
.site-footer > span {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
}

.contact-dialog {
  position: relative;
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  color: #fff;
  background: #121417;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
  overflow: auto;
}
.contact-dialog:not([open]) {
  display: none;
}
.contact-dialog::backdrop {
  background: rgba(2, 3, 5, 0.8);
  backdrop-filter: blur(9px);
}
.contact-dialog[open] {
  animation: contact-dialog-in 0.2s ease-out;
}
@keyframes contact-dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.contact-dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(8, 9, 11, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.contact-dialog-media {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 34px;
  background: #08090b;
}
.contact-dialog-media img {
  width: min(100%, 280px);
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
}
.contact-dialog-copy {
  padding: 58px 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-dialog-copy > span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.contact-dialog-copy h2 {
  margin: 14px 0 12px;
  font-size: 38px;
}
.contact-dialog-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  line-height: 1.8;
}
.contact-dialog-value {
  margin: 30px 0 24px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-dialog-value small,
.contact-dialog-value strong {
  grid-column: 1;
}
.contact-dialog-value small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}
.contact-dialog-value strong {
  font-size: 22px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-dialog-value .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  white-space: nowrap;
}
.contact-dialog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-dialog-topics span {
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
}

.compact-footer {
  min-height: 110px;
}

.inner-header {
  background: rgba(9, 10, 12, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
}
.inner-main {
  padding-top: 72px;
  min-height: calc(100vh - 140px);
}
.page-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: #fff;
  background: #090a0c;
  display: flex;
  align-items: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 6, 8, 0.95),
    rgba(5, 6, 8, 0.65) 45%,
    rgba(5, 6, 8, 0.12)
  );
}
.page-hero > div {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}
.page-hero h1,
.showcase-title h1,
.account-heading h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.95;
}
.page-hero p:not(.section-kicker) {
  max-width: 530px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.8;
}
.page-hero .btn {
  margin-top: 22px;
}
.page-section {
  padding-top: 105px;
}
.page-next {
  min-height: 180px;
  padding: 48px clamp(22px, 6vw, 96px);
  display: flex;
  align-items: center;
  gap: 34px;
  background: var(--paper-bright);
  border-top: 1px solid var(--dark-line);
}
.page-next > span {
  color: #92959a;
  font-size: 9px;
  letter-spacing: 1.8px;
}
.page-next a {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 750;
}
.page-next b {
  margin-left: 18px;
  color: var(--coral);
}

.dark-page {
  background: #0c0e11;
  color: #fff;
}
.showcase-page {
  padding-bottom: 0;
}
.showcase-title {
  min-height: 390px;
  padding: 105px clamp(22px, 6vw, 96px) 70px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.showcase-title p:last-child {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.54);
  line-height: 1.8;
}
.showcase-feature {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  background: #050607;
}
.showcase-feature video {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}
.showcase-feature > div {
  padding: 65px clamp(28px, 4vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-feature span,
.showcase-gallery article > span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.showcase-feature h2 {
  margin: 18px 0;
  font-size: clamp(30px, 3.4vw, 50px);
}
.showcase-feature p {
  color: rgba(255, 255, 255, 0.54);
  line-height: 1.9;
}
.showcase-feature .btn {
  width: max-content;
  margin-top: 22px;
}
.showcase-gallery {
  padding: 90px clamp(22px, 6vw, 96px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.showcase-gallery article {
  min-width: 0;
}
.showcase-gallery img,
.gallery-video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  margin-bottom: 19px;
  overflow: hidden;
  background: #050607;
}
.gallery-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-gallery h3 {
  margin: 9px 0 0;
  font-size: 20px;
}
.dark-next {
  color: #fff;
  background: #121418;
  border-color: rgba(255, 255, 255, 0.1);
}

.membership-page {
  background: #0b0d10;
  color: #fff;
  padding-top: 96px;
  padding-bottom: 100px;
}
.account-heading {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px 12px;
}
.account-heading .section-kicker {
  margin-bottom: 3px;
  font-size: 10px;
}
.account-heading h1 {
  font-size: clamp(36px, 3.8vw, 48px);
}
.account-heading p:last-child {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.membership-pricing {
  max-width: 1440px;
  padding: 0 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.points-section-heading span,
.referral-rules > div > span {
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}
.wallet-strip {
  max-width: 1160px;
  margin: 0 auto;
  min-height: 108px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.8fr 0.8fr 1.2fr;
  align-items: center;
  background: #15191e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.wallet-strip > div {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.wallet-strip > div:first-child {
  padding-left: 0;
}
.wallet-strip > div:last-child {
  padding-right: 0;
  border-right: 0;
}
.wallet-strip span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  letter-spacing: 0.7px;
}
.wallet-strip strong {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wallet-strip strong b {
  color: var(--cyan);
  font-size: 22px;
}
.invite-code-cell button {
  width: max-content;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  border: 0;
  background: transparent;
}
.invite-code-cell button strong {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 1px;
}
.invite-code-cell button em {
  color: var(--cyan);
  font-size: 9px;
  font-style: normal;
}
.points-section,
.membership-entry {
  max-width: 1160px;
  margin: 0 auto;
  padding: 90px 0;
}
.points-section-heading {
  margin-bottom: 32px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.points-section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 40px);
}
.points-section-heading p {
  max-width: 410px;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1.8;
  text-align: right;
}
.points-package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.point-package-card {
  position: relative;
  min-height: 360px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  background: #111419;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}
.point-package-card.featured {
  border-color: var(--coral);
  background: linear-gradient(155deg, #1d2026, #111318);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}
.point-package-card > i {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  color: #111;
  background: var(--coral);
  font-size: 8px;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 1px;
}
.point-package-card > span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}
.point-package-card h3 {
  margin: 10px 0 46px;
  font-size: 22px;
}
.point-package-card > strong {
  font-size: 56px;
  line-height: 1;
}
.point-package-card > strong small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 500;
}
.point-package-card > p {
  margin: 14px 0 34px;
  color: var(--coral);
  font-size: 20px;
  font-weight: 800;
}
.point-package-card .btn {
  width: 100%;
  margin-top: auto;
}
.points-note-band {
  min-height: 54px;
  margin-top: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  line-height: 1.7;
}
.image-cost-band {
  min-height: 92px;
  margin-top: 14px;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 1fr repeat(3, 1fr) 1.2fr;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.image-cost-band > span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}
.image-cost-band div {
  display: grid;
  gap: 5px;
}
.image-cost-band b {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}
.image-cost-band strong {
  color: #fff;
  font-size: 14px;
}
.image-cost-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  text-align: right;
}
.membership-entry {
  padding-top: 20px;
}
.membership-entry .pricing-card {
  background: #111419;
  border-color: rgba(255, 255, 255, 0.1);
}
.membership-entry .pricing-card.featured {
  background: #1a1e24;
  border-color: rgba(255, 255, 255, 0.1);
}
.membership-entry .pricing-card ul {
  color: rgba(255, 255, 255, 0.48);
}
.membership-entry .plan-extra-text {
  margin: -16px 0 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.7;
}
.membership-entry .plan-price small {
  color: rgba(255, 255, 255, 0.4);
}
.points-page .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.points-page .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.04);
}
.point-checkout-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  color: #15171a;
  background: transparent;
  border: 0;
  overflow: visible;
}
.point-checkout-dialog::backdrop {
  background: rgba(3, 5, 8, 0.78);
  backdrop-filter: blur(9px);
}
.point-checkout-dialog[open] {
  animation: checkout-in 0.24s ease-out;
}
@keyframes checkout-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.point-checkout-shell {
  position: relative;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}
.point-checkout-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #1677ff, #29b6ff);
}
.point-checkout-close {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 15px;
  color: #7a7e85;
}
.point-checkout-header {
  padding-right: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.alipay-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: #1677ff;
  border-radius: 9px;
  font-size: 24px;
  font-weight: 900;
}
.alipay-mark.small {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  font-size: 19px;
}
.point-checkout-header > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.point-checkout-header strong {
  font-size: 16px;
}
.point-checkout-header small {
  color: #9a9da3;
  font-size: 8px;
  letter-spacing: 1px;
}
.point-checkout-header em {
  margin-left: auto;
  padding: 5px 7px;
  color: #8c6500;
  background: #fff5cf;
  border-radius: 3px;
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}
.point-checkout-time {
  margin: 26px -30px 0;
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  color: #7f8389;
  background: #f6f8fb;
  font-size: 11px;
}
.point-checkout-time strong {
  color: #e65a44;
  font-variant-numeric: tabular-nums;
}
.point-checkout-amount {
  padding: 28px 0 25px;
  display: grid;
  gap: 7px;
  text-align: center;
  border-bottom: 1px solid #eceef1;
}
.point-checkout-amount span {
  color: #8a8e94;
  font-size: 11px;
}
.point-checkout-amount strong {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.8px;
}
.point-checkout-summary {
  margin: 0;
  padding: 17px 0;
  display: grid;
  gap: 11px;
  border-bottom: 1px solid #eceef1;
}
.point-checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.point-checkout-summary dt {
  color: #95989e;
  font-size: 11px;
}
.point-checkout-summary dd {
  max-width: 70%;
  margin: 0;
  overflow: hidden;
  color: #35383d;
  font-size: 11px;
  font-weight: 650;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.point-checkout-summary dd strong {
  color: #1677ff;
}
.point-payment-method {
  margin-top: 18px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #1677ff;
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.06);
}
.point-payment-method > div {
  display: grid;
  gap: 3px;
}
.point-payment-method strong {
  font-size: 12px;
}
.point-payment-method small {
  color: #91959b;
  font-size: 9px;
}
.point-payment-method i {
  margin-left: auto;
  color: #1677ff;
  font-size: 9px;
  font-style: normal;
}
.point-checkout-notice {
  margin: 14px 0 20px;
  color: #8a8e94;
  font-size: 10px;
  line-height: 1.65;
}
.point-checkout-actions {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10px;
}
.point-checkout-actions .btn {
  min-height: 48px;
}
.point-checkout-actions .btn-outline {
  color: #555960;
  border-color: #d9dce1;
}
.point-checkout-actions .btn-primary {
  justify-content: center;
  gap: 8px;
  background: #1677ff;
}
.point-checkout-actions .btn-primary:hover {
  background: #0d68e5;
}
.point-checkout-actions .btn-primary strong {
  font-size: 11px;
}
.point-checkout-actions .btn-primary[disabled] {
  cursor: wait;
  opacity: 0.64;
}
.point-checkout-success {
  padding: 32px 0 4px;
  text-align: center;
}
.payment-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #16ae78;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(22, 174, 120, 0.22);
}
.point-checkout-success > span {
  color: #16ae78;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.point-checkout-success h2 {
  margin: 9px 0 7px;
  font-size: 30px;
}
.point-checkout-success > p {
  margin: 0;
  color: #70747a;
  font-size: 13px;
}
.point-checkout-success > p strong {
  color: #1677ff;
}
.point-checkout-success > div:not(.payment-success-icon) {
  margin: 28px 0 22px;
  padding: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f7fa;
}
.point-checkout-success > div span {
  color: #81858b;
  font-size: 11px;
}
.point-checkout-success > div strong {
  font-size: 12px;
}
.point-checkout-success > div b {
  color: #15171a;
  font-size: 21px;
}
.point-checkout-success .btn {
  width: 100%;
  background: #1677ff;
}
.referral-center {
  max-width: 1160px;
  margin: 0 auto;
  padding: 25px 0 90px;
}
.referral-withdraw-link {
  width: max-content;
  margin-top: 22px;
}
.referral-center-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}
.referral-center-heading span,
.commission-panel header span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.referral-center-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(28px, 3vw, 40px);
}
.referral-center-heading p {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
}
.referral-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 14px;
}
.invite-share-card {
  min-width: 0;
  padding: 34px;
  background: linear-gradient(145deg, #171c22, #111419);
  border: 1px solid rgba(119, 228, 237, 0.32);
  border-radius: 7px;
}
.invite-share-card > span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.invite-share-card > strong {
  margin-top: 12px;
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 2px;
}
.invite-share-card > p {
  margin: 5px 0 28px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
}
.invite-share-card > label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}
.invite-link-field {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.invite-link-field input {
  min-width: 0;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 11px;
}
.invite-link-field button {
  padding: 0 16px;
  color: var(--cyan);
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 10px;
  font-weight: 750;
}
.invite-share-actions {
  margin-top: 12px;
  display: flex;
  gap: 9px;
}
.invite-share-actions .btn {
  min-width: 135px;
}
.invite-share-card > small {
  margin-top: 17px;
  display: block;
  color: rgba(255, 255, 255, 0.32);
  font-size: 9px;
}
.referral-stats {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 9px;
}
.referral-stats article {
  min-height: 100px;
  padding: 20px 23px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: #111419;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.referral-stats span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}
.referral-stats strong {
  color: #fff;
  font-size: 23px;
}
.referral-stats small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.25);
  font-size: 9px;
}
.commission-panel {
  margin-top: 14px;
  background: #111419;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.commission-panel > header {
  min-height: 90px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.commission-panel header h3 {
  margin: 7px 0 0;
  font-size: 20px;
}
.commission-panel header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
}
.commission-table-wrap {
  overflow-x: auto;
}
.commission-table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.commission-table-wrap th,
.commission-table-wrap td {
  height: 57px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
}
.commission-table-wrap th {
  height: 44px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  font-weight: 600;
}
.commission-table-wrap td {
  color: rgba(255, 255, 255, 0.65);
}
.commission-table-wrap td strong {
  color: var(--coral);
}
.commission-level {
  padding: 4px 7px;
  color: #101216;
  background: var(--cyan);
  border-radius: 2px;
  font-size: 9px;
  font-weight: 800;
}
.commission-level.level-2 {
  background: var(--coral);
}
.commission-empty {
  padding: 38px 20px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  text-align: center;
}
.referral-rules {
  max-width: 1160px;
  margin: 0 auto;
  padding: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  background: #f2f2ef;
  color: var(--ink);
}
.referral-rules h2 {
  margin: 12px 0 18px;
  font-size: 32px;
  line-height: 1.2;
}
.referral-rules p {
  margin: 0;
  color: #676a70;
  font-size: 13px;
  line-height: 1.9;
}
.referral-rules ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.referral-rules li {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  border-bottom: 1px solid #d4d5d2;
}
.referral-rules li:first-child {
  border-top: 1px solid #d4d5d2;
}
.referral-rules li b {
  color: var(--coral);
  font-size: 11px;
}
.referral-rules li span {
  font-size: 13px;
  font-weight: 750;
}
.legacy-band {
  max-width: 1160px;
  min-height: 180px;
  margin: 18px auto 0;
  padding: 34px;
  border: 1px solid var(--dark-line);
  display: grid;
  grid-template-columns: 0.45fr 1fr auto;
  align-items: center;
  gap: 30px;
}
.legacy-band > span {
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.legacy-band h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.legacy-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.account-page {
  background: var(--paper-bright);
  padding-bottom: 100px;
}
.account-layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  grid-template-areas: "profile membership" "security membership";
  gap: 16px;
  align-items: start;
}
.profile-panel,
.membership-panel,
.security-panel {
  background: #fff;
  border: 1px solid var(--dark-line);
  padding: 30px;
}
.profile-panel {
  grid-area: profile;
  min-height: 220px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.profile-avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-size: 20px;
  font-weight: 800;
}
.profile-panel h2 {
  margin: 0 0 12px;
  font-size: 23px;
}
.profile-panel p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 12px;
}
.membership-panel {
  grid-area: membership;
  min-height: 310px;
}
.panel-title span {
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.panel-title h2 {
  margin: 8px 0 22px;
  font-size: 20px;
}
.membership-panel dl {
  margin: 0;
  border-top: 1px solid var(--dark-line);
}
.membership-panel dl div {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--dark-line);
}
.membership-panel dt {
  color: var(--muted);
  font-size: 12px;
}
.membership-panel dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}
.profile-invite {
  display: flex;
  align-items: center;
  gap: 9px;
}
.profile-invite strong {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.profile-invite button {
  padding: 3px 6px;
  color: #147b86;
  background: #e7f8f9;
  border: 0;
  font-size: 9px;
  font-weight: 750;
}
.account-commands {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-transactions {
  width: min(1112px, calc(100% - 48px));
  margin: 18px auto 0;
  background: #fff;
  border: 1px solid var(--dark-line);
}
.account-transactions-header {
  padding: 28px 30px 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.account-transactions-header .panel-title h2 {
  margin-bottom: 0;
}
.account-transactions-header > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.transaction-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}
.transaction-summary > div {
  min-width: 0;
  padding: 20px 30px;
}
.transaction-summary > div + div {
  border-left: 1px solid var(--dark-line);
}
.transaction-summary span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
}
.transaction-summary strong {
  font-size: 22px;
}
.transaction-credit {
  color: #087c70;
}
.transaction-debit {
  color: #c34d3b;
}
.transaction-toolbar {
  min-height: 66px;
  padding: 13px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.transaction-toolbar > span {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.transaction-tabs {
  display: flex;
  border: 1px solid var(--dark-line);
}
.transaction-tabs button {
  min-height: 36px;
  padding: 0 15px;
  color: var(--muted);
  background: #fff;
  border: 0;
  font-size: 11px;
  font-weight: 700;
}
.transaction-tabs button + button {
  border-left: 1px solid var(--dark-line);
}
.transaction-tabs button:hover {
  color: var(--ink);
  background: #f6f6f3;
}
.transaction-tabs button.is-active {
  color: #fff;
  background: var(--ink);
}
.transaction-table-wrap {
  position: relative;
  min-height: 180px;
  overflow-x: auto;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}
.transaction-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.transaction-table th,
.transaction-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid #ecece8;
  font-size: 12px;
}
.transaction-table th:first-child,
.transaction-table td:first-child {
  padding-left: 30px;
}
.transaction-table th:last-child,
.transaction-table td:last-child {
  padding-right: 30px;
}
.transaction-table th {
  color: var(--muted);
  background: #fafaf8;
  font-size: 10px;
  font-weight: 750;
}
.transaction-table td:first-child,
.transaction-table td:last-child {
  white-space: nowrap;
}
.transaction-table td:nth-last-child(-n + 2) {
  font-weight: 800;
}
.transaction-table td:nth-child(3) strong,
.transaction-table td:nth-child(3) small {
  display: block;
}
.transaction-table td:nth-child(3) strong {
  font-size: 12px;
}
.transaction-table td:nth-child(3) small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.transaction-type {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.transaction-type.is-credit {
  color: #087c70;
  background: #effaf7;
}
.transaction-type.is-debit {
  color: #a94738;
  background: #fff4f0;
}
.transaction-state {
  position: absolute;
  inset: 43px 0 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
}
.transaction-state[hidden] {
  display: none;
}
.transaction-pagination {
  min-height: 68px;
  padding: 13px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.transaction-pagination > span {
  color: var(--muted);
  font-size: 11px;
}
.transaction-pagination > div {
  display: flex;
  gap: 8px;
}
.transaction-pagination .btn {
  min-height: 36px;
  padding: 0 14px;
}

#transactionRefresh {
  min-height: 36px;
  padding: 0 14px;
}
.transaction-table td:nth-child(3) {
  overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  .account-transactions {
    width: calc(100% - 36px);
  }
  .account-transactions-header,
  .transaction-toolbar,
  .transaction-pagination {
    padding-left: 18px;
    padding-right: 18px;
  }
  .transaction-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .transaction-summary > div:nth-child(3) {
    border-left: 0;
  }
  .transaction-summary > div:nth-child(n + 3) {
    border-top: 1px solid var(--dark-line);
  }
  .transaction-summary > div {
    padding: 16px 12px;
  }
  .transaction-summary > div:first-child {
    padding-left: 18px;
  }
  .transaction-summary > div:last-child {
    padding-right: 18px;
  }
  .transaction-summary strong {
    font-size: 17px;
  }
  .transaction-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }
  .transaction-tabs {
    width: 100%;
  }
  .transaction-tabs button {
    min-width: 0;
    flex: 1 1 0;
    padding: 0 7px;
    white-space: nowrap;
  }
  .transaction-toolbar > span {
    align-self: flex-end;
  }
  .transaction-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
  .transaction-pagination > div,
  .transaction-pagination .btn {
    width: 100%;
  }
}

.withdrawal-page {
  min-height: calc(100vh - 64px);
  padding-bottom: 96px;
  background: var(--paper-bright);
}
.withdrawal-heading,
.withdrawal-layout {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}
.withdrawal-heading {
  padding: 28px 0 24px;
}
.withdrawal-heading .section-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.withdrawal-heading h1 {
  margin: 0;
  font-size: 38px;
}
.withdrawal-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.withdrawal-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}
.withdrawal-form-panel,
.withdrawal-records-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--dark-line);
}
.withdrawal-form-panel > header {
  padding: 26px 28px;
  color: #fff;
  background: #15191e;
}
.withdrawal-form-panel > header div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.withdrawal-form-panel > header span,
.withdrawal-records-panel > header span {
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}
.withdrawal-form-panel > header strong {
  font-size: 32px;
}
.withdrawal-form-panel > header small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.6;
}
#withdrawalForm {
  padding: 28px;
  display: grid;
  gap: 18px;
}
.withdrawal-field {
  display: grid;
  gap: 7px;
}
.withdrawal-field > span {
  color: #4f5359;
  font-size: 12px;
  font-weight: 700;
}
.withdrawal-field input,
.withdrawal-field select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d2d4d6;
  border-radius: 3px;
  outline: none;
}
.withdrawal-field input:focus,
.withdrawal-field select:focus {
  border-color: #292d32;
  box-shadow: 0 0 0 2px rgba(41, 45, 50, 0.1);
}
.money-input {
  display: flex;
  align-items: center;
  border: 1px solid #d2d4d6;
  border-radius: 3px;
}
.money-input:focus-within {
  border-color: #292d32;
  box-shadow: 0 0 0 2px rgba(41, 45, 50, 0.1);
}
.money-input b {
  padding-left: 13px;
  font-size: 18px;
}
.money-input input {
  border: 0;
  box-shadow: none !important;
  font-size: 20px;
  font-weight: 750;
}
.withdrawal-field.has-error input,
.withdrawal-field.has-error select,
.withdrawal-field.has-error .money-input {
  border-color: #c83d33;
}
.field-error,
.withdrawal-form-error {
  margin: 0;
  color: #b9382d;
  font-size: 11px;
}
#withdrawalForm .btn {
  width: 100%;
  min-height: 46px;
}
.withdrawal-records-panel > header {
  min-height: 88px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--dark-line);
}
.withdrawal-records-panel h2 {
  margin: 6px 0 0;
  font-size: 18px;
}
.withdrawal-records-panel header p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.withdrawal-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}
.withdrawal-table-wrap table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}
.withdrawal-table-wrap th,
.withdrawal-table-wrap td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--dark-line);
  text-align: left;
  font-size: 11px;
}
.withdrawal-table-wrap th {
  color: var(--muted);
  background: #f7f7f5;
  font-size: 10px;
}
.withdrawal-status {
  display: inline-flex;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 750;
  background: #f2f2f0;
}
.withdrawal-status.status-paid {
  color: #14704f;
  background: #e7f6ef;
}
.withdrawal-status.status-rejected {
  color: #a9342c;
  background: #faece9;
}
.withdrawal-empty {
  padding: 64px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.security-panel {
  grid-area: security;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.security-panel-copy {
  min-width: 0;
}
.security-panel-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.security-panel .btn {
  width: max-content;
  flex: 0 0 auto;
}
.password-dialog {
  margin: auto;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 30px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
  overflow: auto;
}
.password-dialog:not([open]) {
  display: none;
}
.password-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}
.password-dialog-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.password-dialog h2 {
  margin: 0;
  font-size: 27px;
}
.password-dialog > p:not(.password-dialog-kicker) {
  margin: 8px 0 24px;
  color: #7b7e83;
  font-size: 13px;
}
.password-dialog .auth-form {
  gap: 15px;
}
.api-token-dialog {
  width: min(560px, calc(100% - 32px));
}
.api-token-field {
  margin: 22px 0 12px;
  padding: 16px;
  display: grid;
  gap: 9px;
  background: #f4f4f0;
  border: 1px solid rgba(11, 12, 14, 0.1);
  border-radius: 5px;
}
.api-token-field > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.api-token-field code {
  display: block;
  min-width: 0;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  user-select: all;
}
.password-dialog > .api-token-status {
  min-height: 20px;
  margin: 0 0 22px;
}
.api-token-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.api-token-actions .btn {
  min-width: 104px;
}

.auth-page {
  min-height: 100vh;
  background: #0b0c0e;
  color: #fff;
}
.auth-header {
  position: fixed;
  z-index: 5;
  inset: 0 0 auto;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 8, 10, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-header > a:last-child {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}
.auth-header > a:last-child strong {
  color: #fff;
  margin-left: 6px;
}
.auth-page-main {
  min-height: 100vh;
  padding-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(440px, 0.75fr);
}
.auth-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}
.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4, 5, 6, 0.88) 0%, rgba(4, 5, 6, 0.42) 36%, transparent 68%),
    linear-gradient(90deg, rgba(4, 5, 6, 0.08) 62%, rgba(4, 5, 6, 0.48) 100%);
}
.auth-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}
.auth-visual-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  filter: saturate(0.82) contrast(1.03);
}
.auth-visual > div {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 6vw, 88px);
  right: 35px;
  bottom: 58px;
  display: grid;
  gap: 13px;
}
.auth-visual span {
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: 1.8px;
}
.auth-visual strong {
  max-width: 620px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.25;
}
.auth-page-panel {
  width: min(440px, calc(100% - 48px));
  margin: auto;
  padding: 38px 0;
}
.auth-page-title p {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.auth-page-title h1 {
  margin: 0;
  font-size: 36px;
}
.auth-page-title > span {
  display: block;
  margin: 10px 0 30px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}
.auth-page .auth-form label {
  color: rgba(255, 255, 255, 0.78);
}
.auth-page .auth-form input {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}
.auth-page .auth-form input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}
.auth-switch {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  text-align: center;
}
.auth-switch a {
  color: #fff;
  margin-left: 5px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
}
.auth-dialog {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  padding: 34px;
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
}
.icon-button {
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: inherit;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-brand img {
  border-radius: 7px;
}
.auth-brand div {
  display: grid;
  gap: 2px;
}
.auth-brand strong {
  font-size: 14px;
}
.auth-brand span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #898c92;
}
.auth-tabs {
  margin: 32px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--dark-line);
}
.auth-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 12px;
  color: #85878c;
  font-weight: 650;
}
.auth-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-color: var(--coral);
}
.auth-dialog h2 {
  margin: 0;
  font-size: 27px;
}
.auth-dialog > p {
  color: #7b7e83;
  font-size: 13px;
  margin: 8px 0 24px;
}
.auth-form {
  display: grid;
  gap: 17px;
}
.auth-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
}
.auth-form input {
  width: 100%;
  height: 46px;
  border: 1px solid #d7d7d2;
  background: #fafaf7;
  padding: 0 13px;
  border-radius: 3px;
  outline: 0;
}
.auth-form input:focus {
  border-color: var(--ink);
  background: #fff;
}
.auth-form input[readonly] {
  color: #4b6266;
  background: #edf7f7;
  border-color: #b9dfe2;
  cursor: not-allowed;
}
.form-error {
  color: #bd3527 !important;
  background: #fff0ed;
  padding: 10px 12px;
  margin: 14px 0 0 !important;
  border-radius: 3px;
}
.video-dialog {
  position: relative;
  width: min(1120px, 96vw);
  background: #050607;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.62);
}
.video-dialog video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050607;
}
.video-close {
  position: absolute;
  z-index: 2;
  right: -48px;
  top: 0;
  color: #fff;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 130;
  transform: translateX(-50%);
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 17px;
  color: #fff;
  background: #17191c;
  border-left: 3px solid var(--cyan);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
  font-size: 13px;
}

.studio-main {
  min-height: 100vh;
  padding-top: 72px;
  background: #0b0c0e;
  color: #fff;
}
.studio-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: end;
}
.studio-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.studio-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.98), rgba(5, 6, 8, 0.82) 40%, rgba(5, 6, 8, 0.2) 80%),
    linear-gradient(0deg, #0b0c0e, transparent 38%);
}
.studio-hero-content {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0 72px;
}
.studio-hero-content h1 {
  margin: 0;
  max-width: 760px;
  font-size: 68px;
  line-height: 1.04;
}
.studio-hero-content p:last-child {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.8;
}
.creation-launcher {
  width: min(1240px, calc(100% - 48px));
  margin: -28px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.creation-mode {
  min-height: 270px;
  padding: 30px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 25px;
  background: #17191d;
}
.creation-mode + .creation-mode {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.creation-mode-image {
  background: #f0f0eb;
  color: #101114;
}
.creation-mode-index {
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.creation-mode-video .creation-mode-index {
  color: var(--cyan);
}
.creation-mode h2 {
  margin: 0 0 10px;
  font-size: 32px;
}
.creation-mode p {
  margin: 0;
  color: #72757a;
  font-size: 14px;
  line-height: 1.7;
}
.creation-mode-video p {
  color: rgba(255, 255, 255, 0.48);
}
.mode-launch {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(11, 12, 14, 0.25);
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}
.creation-mode-video .mode-launch {
  border-color: rgba(255, 255, 255, 0.22);
}
.mode-launch:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}
.creation-mode-video .mode-launch:hover {
  background: var(--cyan);
  color: #0b0c0e;
  border-color: var(--cyan);
}
.studio-resources {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 105px 0 120px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
}
.studio-resource-intro h2 {
  margin: 0;
  max-width: 330px;
  font-size: 40px;
  line-height: 1.18;
}
.resource-links {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.resource-links a {
  min-height: 112px;
  padding: 22px 8px;
  display: grid;
  grid-template-columns: 130px 1fr 32px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.resource-links a:hover strong {
  color: var(--coral);
}
.resource-links span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
}
.resource-links strong {
  font-size: 20px;
  transition: color 0.18s;
}
.resource-links b {
  color: var(--cyan);
  font-size: 10px;
}

.prompt-page {
  min-height: 100vh;
  padding: 72px clamp(22px, 6vw, 96px) 110px;
  background: #0c0e11;
  color: #fff;
}
.library-hero {
  width: min(1320px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 34px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.library-hero.has-no-featured {
  grid-template-columns: minmax(0, 1fr);
}
.library-hero.has-no-featured .library-hero-copy {
  max-width: 760px;
}
.library-hero-copy h1 {
  margin: 0;
  font-size: clamp(50px, 6.2vw, 92px);
  line-height: 0.99;
  letter-spacing: -0.03em;
}
.library-hero-copy h1 em {
  color: var(--cyan);
  font-style: normal;
}
.library-hero-lead {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.85;
}
.library-stats {
  margin-top: 42px;
  display: flex;
  gap: 0;
}
.library-stats span {
  min-width: 132px;
  padding-right: 26px;
  margin-right: 26px;
  display: grid;
  gap: 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.library-stats span:last-child {
  border-right: 0;
  margin-right: 0;
}
.library-stats strong {
  font-size: 27px;
  line-height: 1;
  font-weight: 760;
}
.library-stats small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}
.featured-prompt {
  background: #171a1d;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.featured-media {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 6, 8, 0.72));
}
.featured-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.featured-media span {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  color: #0b0c0e;
  background: var(--cyan);
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 800;
}
.featured-copy {
  padding: 16px 18px 17px;
  display: grid;
  gap: 5px;
}
.featured-copy p {
  margin: 0;
  color: var(--coral);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.featured-copy h2 {
  margin: 0;
  font-size: 24px;
}
.featured-copy > span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}
.featured-open {
  width: max-content;
  margin-top: 7px;
  padding: 0 0 5px;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 13px;
}
.featured-open b {
  margin-left: 10px;
  color: var(--coral);
}
.library-workbench {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding-top: 34px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
}
.sidebar-heading > span {
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.sidebar-heading h2 {
  margin: 10px 0 24px;
  font-size: 27px;
}
.prompt-filters {
  display: grid;
  gap: 4px;
}
.prompt-filters button {
  min-height: 43px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  font-size: 13px;
}
.prompt-filters button b {
  color: rgba(255, 255, 255, 0.26);
  font-size: 10px;
  font-weight: 500;
}
.prompt-filters button.is-active,
.prompt-filters button:hover {
  color: #0b0c0e;
  background: var(--cyan);
  border-color: var(--cyan);
}
.prompt-filters button.is-active b,
.prompt-filters button:hover b {
  color: rgba(11, 12, 14, 0.6);
}
.sidebar-note {
  margin-top: 48px;
  padding-top: 18px;
  display: flex;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.note-mark {
  color: var(--coral);
  font-size: 19px;
  line-height: 1;
}
.sidebar-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  line-height: 1.7;
}
.results-toolbar {
  min-height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.results-toolbar .section-kicker {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
}
.results-toolbar h2 {
  margin: 0 0 18px;
  font-size: 27px;
}
.results-toolbar h2 span {
  margin-left: 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 500;
  vertical-align: middle;
}
.results-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 13px;
}
.prompt-search {
  width: min(285px, 32vw);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}
.prompt-search span {
  color: var(--coral);
  font-size: 21px;
  line-height: 1;
}
.prompt-search input {
  width: 100%;
  height: 37px;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}
.prompt-search input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}
.prompt-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
  white-space: nowrap;
}
.prompt-sort select {
  min-height: 34px;
  padding: 0 24px 0 8px;
  color: rgba(255, 255, 255, 0.68);
  background: #15171a;
  border: 1px solid rgba(255, 255, 255, 0.17);
  font-size: 11px;
}
.prompt-grid {
  min-height: 430px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.prompt-card {
  min-width: 0;
  background: #15171a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.prompt-card:hover {
  border-color: rgba(65, 217, 230, 0.55);
  transform: translateY(-3px);
}
.prompt-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090a0c;
}
.prompt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.prompt-card:hover .prompt-card-media img {
  filter: brightness(1.06);
}
.prompt-tone-warm img {
  filter: saturate(0.92) sepia(0.08) brightness(0.96);
}
.prompt-tone-cool img {
  filter: saturate(0.76) hue-rotate(8deg) brightness(1.03);
}
.prompt-card-media span {
  position: absolute;
  left: 13px;
  bottom: 12px;
  padding: 6px 8px;
  color: #0b0c0e;
  background: var(--cyan);
  font-size: 9px;
  font-weight: 800;
}
.prompt-card-copy {
  min-height: 155px;
  padding: 17px 17px 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 9px;
}
.prompt-card-copy h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}
.prompt-card-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  line-height: 1.65;
}
.prompt-open {
  width: max-content;
  align-self: end;
  padding: 0 0 6px;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 12px;
}
.prompt-open b {
  margin-left: 9px;
  color: var(--coral);
}
.prompt-loading,
.prompt-empty {
  grid-column: 1 / -1;
  margin: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.prompt-loading {
  min-height: 240px;
}
.prompt-empty {
  min-height: 150px;
}
.prompt-dialog {
  width: min(1120px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  color: #fff;
  background: #121417;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: auto;
}
.prompt-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}
.prompt-dialog[open] {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}
.prompt-dialog-close {
  position: fixed;
  z-index: 2;
  margin: 14px;
  right: max(20px, calc((100vw - 1120px) / 2 + 14px));
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(8, 9, 11, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 24px;
}
.prompt-dialog-media {
  background: #08090b;
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: calc(100dvh - 42px);
  min-width: 0;
}
.prompt-dialog-media-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.prompt-dialog-media-stage.is-comparing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.prompt-dialog-media img {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.prompt-dialog-compare {
  min-width: 0;
  min-height: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.prompt-dialog-compare[hidden] {
  display: none;
}
.prompt-dialog-media-toolbar {
  justify-self: center;
  margin: 12px 16px;
  z-index: 2;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 9, 11, 0.78);
  backdrop-filter: blur(8px);
}
.prompt-dialog-view-button {
  min-height: 28px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.prompt-dialog-view-button:hover,
.prompt-dialog-view-button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.prompt-dialog-view-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}
.prompt-dialog-copy {
  padding: 62px 42px 40px;
}
.prompt-dialog-copy > span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}
.prompt-dialog-copy h2 {
  margin: 14px 0;
  font-size: 34px;
}
.prompt-dialog-copy > p {
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.7;
}
.prompt-dialog-meta {
  margin: 24px 0 0;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 11px;
}
.prompt-dialog-meta span {
  color: rgba(255, 255, 255, 0.38);
}
.prompt-dialog-meta strong {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}
.prompt-dialog-references {
  margin-top: 24px;
}
.prompt-dialog-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
}
.prompt-dialog-section-heading small {
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
  font-weight: 500;
}
.prompt-dialog-reference-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prompt-dialog-reference-wrap {
  position: relative;
  width: 58px;
  height: 58px;
}
.prompt-dialog-reference {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2px;
  overflow: hidden;
  background: #090a0c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  cursor: pointer;
}
.prompt-dialog-reference:hover,
.prompt-dialog-reference.is-active {
  border-color: var(--cyan);
}
.prompt-dialog-reference img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 4px;
}
.prompt-dialog-reference-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 1;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: #25272b;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.prompt-dialog-reference-remove:hover {
  background: var(--coral);
  border-color: var(--coral);
}
.prompt-dialog-reference-add {
  width: 58px;
  height: 58px;
  margin-top: 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.52);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  font-size: 10px;
  cursor: pointer;
}
.prompt-dialog-reference-add[hidden] {
  display: none;
}
.prompt-dialog-reference-add:hover {
  color: #fff;
  border-color: var(--cyan);
}
.prompt-dialog-reference-add > span:first-child {
  font-size: 20px;
  line-height: 1;
}
.prompt-dialog-reference-add input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.prompt-text {
  margin: 28px 0;
  padding: 22px;
  color: rgba(255, 255, 255, 0.78);
  background: #090a0c;
  border-left: 3px solid var(--coral);
  font-size: 14px;
  line-height: 1.9;
}
.prompt-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.prompt-dialog .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.tutorial-page {
  min-height: 100vh;
  padding: 72px clamp(22px, 6vw, 96px) 110px;
  color: #fff;
  background: #0c0e11;
}
.tutorial-heading,
.tutorial-feature,
.tutorial-flow,
.tutorial-shortcuts {
  width: min(1320px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.tutorial-heading {
  min-height: 330px;
  padding-top: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 64px;
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.tutorial-heading h1 {
  margin: 0;
  font-size: clamp(50px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.tutorial-heading h1 em {
  color: var(--cyan);
  font-style: normal;
}
.tutorial-heading-note {
  max-width: 470px;
  padding-bottom: 4px;
}
.tutorial-heading-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  line-height: 1.85;
}
.tutorial-heading-note > div {
  margin-top: 28px;
  padding-left: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
  border-left: 2px solid var(--coral);
}
.tutorial-heading-note span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
}
.tutorial-heading-note strong {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 560;
}
.tutorial-feature {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  background: #050607;
}
.tutorial-video-shell {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #050607;
}
.tutorial-video-shell video {
  width: 100%;
  height: 100%;
  min-height: 570px;
  display: block;
  object-fit: contain;
  background: #050607;
}
.tutorial-feature .tutorial-video-shell > span {
  position: absolute;
  z-index: 1;
  left: 22px;
  top: 20px;
  padding: 7px 9px;
  color: #0b0c0e;
  background: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.tutorial-feature > div:not(.tutorial-video-shell) {
  padding: 58px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tutorial-feature span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}
.tutorial-feature h2 {
  margin: 17px 0;
  font-size: 38px;
  line-height: 1.2;
}
.tutorial-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.8;
}
.tutorial-feature-facts {
  margin: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.tutorial-feature-facts div {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.tutorial-feature-facts dt {
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
}
.tutorial-feature-facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  text-align: right;
}
.tutorial-feature .btn {
  width: max-content;
  margin-top: 28px;
}
.tutorial-flow {
  padding-top: 76px;
}
.tutorial-flow > header {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: end;
}
.tutorial-flow > header .section-kicker {
  margin-bottom: 13px;
}
.tutorial-flow > header h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
}
.tutorial-flow > header > p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  line-height: 1.8;
}
.lesson-index {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.lesson-index article {
  min-height: 116px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.lesson-index article > span {
  color: var(--coral);
  font-size: 11px;
}
.lesson-index h3 {
  margin: 0 0 7px;
  font-size: 19px;
}
.lesson-index p {
  margin: 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 13px;
}
.lesson-index em {
  color: var(--cyan);
  font-size: 10px;
  font-style: normal;
  text-align: right;
}
.tutorial-shortcuts {
  margin-top: 76px;
  padding: 32px 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  background: #15181c;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.tutorial-shortcuts .section-kicker {
  margin-bottom: 10px;
}
.tutorial-shortcuts h2 {
  margin: 0;
  font-size: 23px;
}
.tutorial-shortcut-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}
.tutorial-shortcut-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.tutorial-shortcut-list kbd {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #0b0c0e;
  background: var(--cyan);
  font-size: 11px;
  font-weight: 800;
}

.contact-page {
  min-height: 100vh;
  padding-top: 72px;
  background: #0c0e11;
  color: #fff;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.contact-visual {
  position: relative;
  min-height: 690px;
  overflow: hidden;
}
.contact-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 8, 0.94), rgba(5, 6, 8, 0.15) 64%);
}
.contact-visual > div {
  position: absolute;
  z-index: 1;
  left: clamp(28px, 6vw, 90px);
  right: 40px;
  bottom: 70px;
}
.contact-visual h1 {
  margin: 0;
  font-size: 78px;
  line-height: 1;
}
.contact-visual p:last-child {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.8;
}
.contact-panel {
  padding: 110px clamp(32px, 5vw, 76px) 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #141619;
}
.contact-panel > div:first-child > span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.contact-panel h2 {
  margin: 15px 0 12px;
  font-size: 38px;
}
.contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  line-height: 1.8;
}
.contact-value {
  margin: 50px 0 35px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.contact-value small,
.contact-value strong {
  grid-column: 1;
}
.contact-value strong {
  font-size: 25px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-page-qr {
  width: min(100%, 240px);
  height: 240px;
  object-fit: contain;
  align-self: flex-start;
}
.contact-value .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-topics span {
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
}

@media (max-width: 900px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 18px;
    background: rgba(9, 10, 12, 0.97);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .main-nav.open {
    display: flex;
  }
  .mobile-menu-button {
    display: flex;
    margin-left: 0;
  }
  .header-actions {
    order: 2;
  }
  .header-member-actions,
  .account-menu {
    margin-left: auto;
  }
  .header-member-actions .account-menu {
    margin-left: 0;
  }
  .account-name {
    display: none;
  }
  .home-hero {
    min-height: max(760px, calc(100svh - 84px));
  }
  .homepage-announcement {
    margin-top: 64px;
    align-items: flex-start;
    padding: 11px 18px;
  }
  .homepage-announcement-link {
    margin-top: 2px;
  }
  .hero-grid {
    width: min(650px, calc(100% - 36px));
    padding: 108px 0 68px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-content {
    max-width: 560px;
  }
  .hero h1 {
    font-size: clamp(46px, 9vw, 64px);
  }
  .hero-video-window {
    max-width: 650px;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .capability-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--dark-line);
    min-height: 200px;
  }
  .capability-grid article:last-child {
    border-bottom: 0;
  }
  .showcase-section {
    grid-template-columns: 1fr;
  }
  .showcase-copy {
    padding-top: 80px;
    padding-bottom: 70px;
  }
  .showcase-visual img {
    min-height: 420px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .pricing-card {
    min-height: 400px;
  }
  .showcase-feature {
    grid-template-columns: 1fr;
  }
  .showcase-feature video {
    min-height: 430px;
  }
  .showcase-gallery {
    grid-template-columns: 1fr;
  }
  .legacy-band {
    grid-template-columns: 1fr;
  }
  .legacy-band .btn {
    width: max-content;
  }
  .referral-overview {
    grid-template-columns: 1fr;
  }
  .referral-stats {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
  }
  .referral-stats article {
    min-width: 0;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 7px;
  }
  .referral-stats strong {
    overflow: hidden;
    font-size: 19px;
    text-overflow: ellipsis;
  }
  .account-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "profile" "membership" "security";
  }
  .auth-page-main {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    display: none;
  }
  .auth-page-panel {
    padding: 120px 0 60px;
  }
  .studio-hero-content h1 {
    font-size: 54px;
  }
  .studio-resources {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .library-hero {
    min-height: 0;
    padding: 38px 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .library-hero-copy h1 {
    font-size: clamp(50px, 10vw, 72px);
  }
  .featured-prompt {
    max-width: 540px;
  }
  .library-workbench {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 30px;
  }
  .sidebar-heading h2 {
    margin-bottom: 15px;
  }
  .prompt-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .prompt-filters button {
    min-height: 37px;
    padding: 0 10px;
    border-color: rgba(255, 255, 255, 0.16);
    gap: 14px;
  }
  .sidebar-note {
    display: none;
  }
  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 18px;
  }
  .results-controls {
    width: 100%;
    padding-bottom: 0;
    justify-content: space-between;
  }
  .prompt-search {
    width: min(100%, 390px);
  }
  .prompt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .prompt-dialog[open] {
    grid-template-columns: 1fr;
  }
  .prompt-dialog-media {
    position: relative;
    height: min(420px, calc(100dvh - 42px));
  }
  .prompt-dialog-media-stage {
    margin-top: 56px;
  }
  .prompt-dialog-close {
    right: 34px;
  }
  .tutorial-feature {
    grid-template-columns: 1fr;
  }
  .tutorial-heading {
    min-height: auto;
    padding: 78px 0 46px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tutorial-video-shell video {
    min-height: 390px;
  }
  .tutorial-flow > header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-page {
    grid-template-columns: 1fr;
  }
  .contact-visual {
    min-height: 570px;
  }
}

@media (max-width: 560px) {
  .brand span {
    font-size: 15px;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .header-actions .btn-ghost {
    display: none;
  }
  .header-actions .btn {
    min-height: 36px;
    padding: 0 13px;
  }
  .header-member-actions {
    gap: 7px;
  }
  .header-membership-action {
    min-height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }
  .homepage-announcement {
    gap: 10px;
  }
  .homepage-announcement-copy strong {
    font-size: 13px;
  }
  .homepage-announcement-copy p {
    font-size: 11px;
  }
  .homepage-announcement-link {
    padding: 6px 8px;
    font-size: 10px;
  }
  .header-member-actions .account-trigger svg {
    display: none;
  }
  .home-hero {
    min-height: max(760px, calc(100svh - 76px));
  }
  .hero-scene {
    object-position: 60% center;
  }
  .hero-scrim {
    background: rgba(7, 7, 7, 0.68);
  }
  .hero-grid {
    width: calc(100% - 36px);
    padding: 94px 0 62px;
    gap: 26px;
  }
  .hero-logo-lockup {
    gap: 13px;
  }
  .hero-logo-lockup > img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
  }
  .hero-logo-lockup p {
    margin-bottom: 5px;
    font-size: 8px;
  }
  .hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }
  .hero-lead {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-capabilities {
    margin-top: 14px;
    gap: 7px 14px;
    font-size: 11px;
  }
  .hero-actions {
    gap: 8px;
    margin-top: 24px;
  }
  .hero-actions .btn-large {
    min-height: 46px;
    padding: 0 16px;
  }
  .video-window-bar {
    height: 34px;
  }
  .video-window-copy {
    min-height: 90px;
    padding: 14px 16px;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .video-window-copy h2 {
    font-size: 17px;
  }
  .video-window-copy p {
    font-size: 10px;
  }
  .hero-scene-label {
    display: none;
  }
  .hero-scroll {
    display: none;
  }
  .product-section,
  .membership-section {
    padding: 78px 18px;
  }
  .product-stage {
    aspect-ratio: 4 / 3;
  }
  .product-stage img {
    object-position: center;
  }
  .stage-caption {
    left: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }
  .showcase-copy {
    padding: 72px 18px 60px;
  }
  .showcase-visual img {
    min-height: 320px;
  }
  .pricing-card {
    padding: 27px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .site-footer > span {
    margin-left: 0;
  }
  .auth-dialog {
    padding: 28px 22px;
  }
  .inner-main {
    padding-top: 64px;
  }
  .page-hero {
    min-height: 590px;
  }
  .page-hero > div {
    width: calc(100% - 36px);
  }
  .showcase-title,
  .account-heading {
    padding-left: 18px;
    padding-right: 18px;
  }
  .membership-page {
    padding-top: 82px;
  }
  .showcase-feature video {
    min-height: 300px;
  }
  .showcase-feature > div {
    padding: 45px 18px 60px;
  }
  .showcase-gallery {
    padding: 60px 18px;
  }
  .membership-pricing,
  .account-layout {
    padding-left: 18px;
    padding-right: 18px;
  }
  .wallet-strip {
    margin: 0 18px;
    padding: 20px;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .wallet-strip > div {
    padding: 0;
    border-right: 0;
  }
  .wallet-strip > div:last-child {
    grid-column: 1 / -1;
  }
  .points-section,
  .membership-entry {
    padding: 65px 18px;
  }
  .points-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .points-section-heading p {
    text-align: left;
  }
  .points-package-grid {
    grid-template-columns: 1fr;
  }
  .point-package-card {
    min-height: 320px;
  }
  .image-cost-band {
    grid-template-columns: 1fr 1fr;
  }
  .image-cost-band > span,
  .image-cost-band > p {
    grid-column: 1 / -1;
    text-align: left;
  }
  .point-checkout-dialog {
    width: calc(100% - 18px);
    max-height: calc(100vh - 18px);
  }
  .point-checkout-shell {
    padding: 24px 20px 20px;
  }
  .point-checkout-time {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .point-checkout-header {
    gap: 9px;
  }
  .point-checkout-header em {
    display: none;
  }
  .point-checkout-amount strong {
    font-size: 35px;
  }
  .point-checkout-actions {
    grid-template-columns: 1fr;
  }
  .point-checkout-actions #pointCheckoutCancel {
    order: 2;
  }
  .point-payment-method small {
    max-width: 210px;
  }
  .point-checkout-success {
    padding-top: 28px;
  }
  .referral-center {
    padding: 10px 18px 65px;
  }
  .referral-center-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .referral-center-heading p {
    text-align: left;
  }
  .invite-share-card {
    padding: 25px 20px;
  }
  .invite-share-card > strong {
    font-size: 27px;
  }
  .invite-share-actions {
    flex-direction: column;
  }
  .invite-share-actions .btn {
    width: 100%;
  }
  .referral-stats {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
  }
  .referral-stats article {
    min-height: 86px;
    grid-template-columns: 1fr auto;
  }
  .referral-stats small {
    grid-column: 1 / -1;
  }
  .commission-panel > header {
    padding: 20px;
  }
  .referral-rules {
    margin: 0 18px;
    padding: 35px 24px;
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .legacy-band {
    margin-left: 18px;
    margin-right: 18px;
  }
  .profile-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .security-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .security-panel .btn {
    width: 100%;
  }
  .account-commands {
    align-items: stretch;
    flex-direction: column;
  }
  .withdrawal-heading,
  .withdrawal-layout {
    width: calc(100% - 36px);
  }
  .withdrawal-heading {
    padding-top: 18px;
  }
  .withdrawal-heading h1 {
    font-size: 30px;
  }
  .withdrawal-layout {
    grid-template-columns: 1fr;
  }
  .withdrawal-form-panel > header,
  #withdrawalForm {
    padding-left: 20px;
    padding-right: 20px;
  }
  .auth-header {
    height: 64px;
    padding: 0 16px;
  }
  .auth-header .brand span {
    display: inline;
  }
  .auth-header > a:last-child {
    font-size: 11px;
  }
  .auth-page-main {
    padding-top: 64px;
  }
  .auth-page-panel {
    width: calc(100% - 36px);
    padding-top: 80px;
  }
  .studio-main {
    padding-top: 64px;
  }
  .studio-hero {
    min-height: 520px;
  }
  .studio-hero-content {
    width: calc(100% - 36px);
    padding-bottom: 54px;
  }
  .studio-hero-content h1 {
    font-size: 37px;
  }
  .studio-hero-content p:last-child {
    font-size: 13px;
  }
  .creation-launcher {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
  }
  .creation-mode {
    min-height: 240px;
    padding: 24px;
  }
  .creation-mode + .creation-mode {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .creation-mode h2 {
    font-size: 27px;
  }
  .studio-resources {
    width: calc(100% - 36px);
    padding: 76px 0 84px;
  }
  .studio-resource-intro h2 {
    font-size: 33px;
  }
  .resource-links a {
    grid-template-columns: 1fr 28px;
  }
  .resource-links a span,
  .resource-links a strong {
    grid-column: 1;
  }
  .resource-links a strong {
    font-size: 17px;
  }
  .resource-links a b {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .prompt-page,
  .tutorial-page {
    padding: 64px 18px 76px;
  }
  .library-hero {
    padding: 28px 0;
    gap: 24px;
  }
  .library-hero-copy h1 {
    font-size: 48px;
  }
  .library-hero-lead {
    margin-top: 20px;
    font-size: 13px;
  }
  .library-stats {
    margin-top: 30px;
  }
  .library-stats span {
    min-width: 0;
    padding-right: 13px;
    margin-right: 13px;
  }
  .library-stats strong {
    font-size: 22px;
  }
  .library-stats small {
    font-size: 10px;
  }
  .featured-media {
    aspect-ratio: 16 / 9;
  }
  .featured-copy {
    padding: 17px 18px 19px;
  }
  .featured-copy h2 {
    font-size: 21px;
  }
  .prompt-grid {
    grid-template-columns: 1fr;
  }
  .prompt-card-copy {
    min-height: 145px;
  }
  .results-controls {
    gap: 10px;
  }
  .prompt-sort span {
    display: none;
  }
  .prompt-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }
  .prompt-dialog-media {
    height: min(300px, calc(100dvh - 22px));
  }
  .prompt-dialog-media.is-comparing {
    height: min(560px, calc(100dvh - 22px));
  }
  .prompt-dialog-media-stage.is-comparing {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  .prompt-dialog-compare {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  .prompt-dialog-copy {
    padding: 34px 22px 26px;
  }
  .prompt-dialog-copy h2 {
    font-size: 27px;
  }
  .prompt-dialog-close {
    right: 18px;
    top: 8px;
    margin: 0;
  }
  .prompt-dialog-actions .btn {
    width: 100%;
  }
  .tutorial-heading h1 {
    font-size: 48px;
  }
  .tutorial-video-shell video {
    min-height: 260px;
  }
  .tutorial-feature > div:not(.tutorial-video-shell) {
    padding: 35px 24px;
  }
  .tutorial-feature h2 {
    font-size: 29px;
  }
  .tutorial-flow {
    padding-top: 60px;
  }
  .tutorial-flow > header h2 {
    font-size: 32px;
  }
  .lesson-index article {
    grid-template-columns: 44px 1fr;
    padding: 22px 0;
  }
  .lesson-index em {
    grid-column: 2;
    text-align: left;
  }
  .tutorial-shortcuts {
    margin-top: 60px;
    padding: 26px 20px;
    grid-template-columns: 1fr;
  }
  .contact-page {
    padding-top: 64px;
  }
  .contact-visual {
    min-height: 500px;
  }
  .contact-visual > div {
    left: 20px;
    right: 20px;
    bottom: 42px;
  }
  .contact-visual h1 {
    font-size: 52px;
  }
  .contact-panel {
    padding: 65px 22px;
  }
  .contact-panel h2 {
    font-size: 32px;
  }
  .contact-value {
    grid-template-columns: 1fr;
  }
  .contact-value .btn {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-top: 14px;
  }
  .contact-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    grid-template-columns: 1fr;
  }
  .contact-dialog-media {
    min-height: 240px;
    padding: 24px;
  }
  .contact-dialog-media img {
    width: min(190px, 70vw);
  }
  .contact-dialog-copy {
    padding: 34px 22px 28px;
  }
  .contact-dialog-copy h2 {
    font-size: 30px;
  }
  .contact-dialog-value {
    grid-template-columns: 1fr;
  }
  .contact-dialog-value .btn {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-top: 10px;
  }
}

/* Showcase */
.showcase-page {
  padding-bottom: 0;
  background: #0b0d0f;
}
.showcase-hero {
  position: relative;
  min-height: min(760px, calc(100svh - 118px));
  overflow: hidden;
  display: flex;
  align-items: end;
  background: #111315;
}
.showcase-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}
.showcase-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 8, 0.92) 0%,
      rgba(6, 7, 8, 0.66) 42%,
      rgba(6, 7, 8, 0.14) 76%
    ),
    linear-gradient(0deg, rgba(6, 7, 8, 0.8) 0%, transparent 45%);
}
.showcase-hero-content {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 96px));
  margin: 0 auto;
  padding: 108px 0 92px;
}
.showcase-hero-content .section-kicker {
  margin-bottom: 18px;
  color: #77e4ed;
}
.showcase-hero-content h1 {
  margin: 0;
  max-width: 700px;
  font-size: 78px;
  line-height: 0.98;
  font-weight: 820;
}
.showcase-hero-content > p:not(.section-kicker) {
  max-width: 550px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.85;
}
.showcase-hero-content .btn {
  margin-top: 34px;
}
.showcase-hero-meta {
  position: absolute;
  z-index: 1;
  right: 48px;
  bottom: 42px;
  display: grid;
  gap: 7px;
  padding-left: 18px;
  border-left: 2px solid #ff5b45;
}
.showcase-hero-meta span {
  color: #77e4ed;
  font-size: 9px;
  font-weight: 800;
}
.showcase-hero-meta strong {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 560;
}

.showcase-spotlight {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  background: #111417;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.showcase-spotlight-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #050607;
}
.showcase-spotlight-media img,
.showcase-spotlight-media video {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 42%;
}
.showcase-spotlight-media > span {
  position: absolute;
  top: 24px;
  left: 26px;
  padding: 10px 12px;
  color: #071012;
  background: #77e4ed;
  font-size: 9px;
  font-weight: 800;
}
.showcase-spotlight-copy {
  padding: 48px clamp(34px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-spotlight-copy .section-kicker {
  margin-bottom: 17px;
}
.showcase-spotlight-copy h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.14;
}
.showcase-spotlight-copy > p:not(.section-kicker) {
  max-width: 520px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.8;
}
.showcase-spotlight-copy dl {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.showcase-spotlight-copy dl div {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.showcase-spotlight-copy dt {
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}
.showcase-spotlight-copy dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  text-align: right;
}
.showcase-link-button {
  width: max-content;
  min-height: 40px;
  margin-top: 24px;
  padding: 0 0 7px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 720;
}
.showcase-link-button svg {
  transition: transform 0.2s;
}
.showcase-link-button:hover svg {
  transform: translateX(4px);
}

.showcase-works {
  padding: 118px clamp(24px, 5vw, 76px) 132px;
  color: #111315;
  background: #f2f1ec;
}
.showcase-works-heading {
  max-width: 1360px;
  margin: 0 auto 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 60px;
  align-items: end;
}
.showcase-works-heading .section-kicker {
  margin-bottom: 14px;
}
.showcase-works-heading h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
}
.showcase-works-heading > p {
  margin: 0 0 5px;
  color: #686b70;
  font-size: 14px;
  line-height: 1.8;
}
.showcase-toolbar {
  max-width: 1360px;
  margin: 0 auto 30px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid rgba(11, 12, 14, 0.18);
  border-bottom: 1px solid rgba(11, 12, 14, 0.18);
  scrollbar-width: none;
}
.showcase-toolbar::-webkit-scrollbar {
  display: none;
}
.showcase-toolbar button {
  flex: 0 0 auto;
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #707277;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(11, 12, 14, 0.15);
  font-size: 13px;
}
.showcase-toolbar button:first-child {
  border-left: 1px solid rgba(11, 12, 14, 0.15);
}
.showcase-toolbar button span {
  color: #a0a2a5;
  font-size: 9px;
}
.showcase-toolbar button.is-active {
  color: #fff;
  background: #111315;
}
.showcase-toolbar button.is-active span {
  color: #77e4ed;
}
.showcase-work-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 42px 18px;
  align-items: start;
}
.showcase-work {
  grid-column: span 4;
  min-width: 0;
}
.showcase-work-wide {
  grid-column: span 8;
}
.showcase-work-open {
  width: 100%;
  padding: 0;
  display: block;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
}
.showcase-work-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #dadad4;
}
.showcase-work-wide .showcase-work-media {
  aspect-ratio: 16 / 9;
}
.showcase-work-tall .showcase-work-media {
  aspect-ratio: 4 / 5;
}
.showcase-work-media img,
.showcase-work-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.showcase-work-media-dark img {
  object-position: center;
}
.showcase-work-media-detail img {
  object-position: 82% center;
  transform: scale(1.48);
}
.showcase-work-open:hover .showcase-work-media img,
.showcase-work-open:hover .showcase-work-media video {
  transform: scale(1.035);
}
.showcase-work-open:hover .showcase-work-media-detail img {
  transform: scale(1.53);
}
.showcase-work-copy {
  display: grid;
  gap: 8px;
  padding-top: 16px;
}
.showcase-work-copy > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.showcase-work-copy em {
  color: #d94835;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.showcase-work-copy b {
  color: #9b9d9f;
  font-size: 9px;
  font-weight: 600;
}
.showcase-work-copy strong {
  font-size: 20px;
  line-height: 1.3;
}
.showcase-work-copy small {
  color: #73767a;
  font-size: 11px;
}
.showcase-empty {
  max-width: 1360px;
  min-height: 240px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: #777a7e;
}

.showcase-cta {
  min-height: 370px;
  padding: 78px clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: 0.38fr 1fr auto;
  gap: 54px;
  align-items: center;
  color: #fff;
  background: #101215;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.showcase-cta > span {
  align-self: start;
  color: #77e4ed;
  font-size: 9px;
  font-weight: 800;
}
.showcase-cta h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.13;
}
.showcase-cta p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

.showcase-dialog {
  width: min(1180px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  color: #fff;
  background: #111315;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.6);
  overflow: auto;
}
.showcase-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
}
.showcase-dialog::backdrop {
  background: rgba(2, 3, 4, 0.82);
  backdrop-filter: blur(10px);
}
.showcase-dialog-close {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(7, 8, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.showcase-dialog-media {
  min-width: 0;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050607;
}
.showcase-dialog-media img,
.showcase-dialog-media video {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 42px);
  display: block;
  object-fit: contain;
}
.showcase-dialog-copy {
  padding: 62px 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-dialog-copy > span {
  color: #77e4ed;
  font-size: 9px;
  font-weight: 800;
}
.showcase-dialog-copy h2 {
  margin: 16px 0;
  font-size: 34px;
  line-height: 1.18;
}
.showcase-dialog-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.85;
}

@media (max-width: 980px) {
  .showcase-hero-content {
    width: calc(100% - 48px);
  }
  .showcase-hero-meta {
    display: none;
  }
  .showcase-spotlight {
    grid-template-columns: 1fr;
  }
  .showcase-spotlight-media img,
  .showcase-spotlight-media video {
    height: 400px;
  }
  .showcase-spotlight-copy {
    padding-top: 58px;
    padding-bottom: 64px;
  }
  .showcase-works-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .showcase-work {
    grid-column: span 6;
  }
  .showcase-work-wide {
    grid-column: span 12;
  }
  .showcase-cta {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .showcase-cta > span {
    align-self: auto;
  }
  .showcase-cta .btn {
    width: max-content;
  }
  .showcase-dialog[open] {
    grid-template-columns: 1fr;
  }
  .showcase-dialog-media {
    min-height: 390px;
  }
  .showcase-dialog-media img,
  .showcase-dialog-media video {
    max-height: 520px;
  }
  .showcase-dialog-copy {
    padding: 38px 34px 44px;
  }
}

@media (max-width: 560px) {
  .showcase-hero {
    min-height: min(690px, calc(100svh - 92px));
  }
  .showcase-hero-image {
    object-position: 65% center;
  }
  .showcase-hero-shade {
    background: linear-gradient(
      0deg,
      rgba(6, 7, 8, 0.94) 0%,
      rgba(6, 7, 8, 0.56) 70%,
      rgba(6, 7, 8, 0.28)
    );
  }
  .showcase-hero-content {
    width: calc(100% - 36px);
    padding: 82px 0 48px;
  }
  .showcase-hero-content h1 {
    font-size: 46px;
  }
  .showcase-hero-content > p:not(.section-kicker) {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.72;
  }
  .showcase-hero-content .btn {
    width: 100%;
    margin-top: 28px;
  }
  .showcase-spotlight {
    min-height: 0;
  }
  .showcase-spotlight-media img,
  .showcase-spotlight-media video {
    height: 240px;
  }
  .showcase-spotlight-media > span {
    top: 14px;
    left: 14px;
  }
  .showcase-spotlight-copy {
    padding: 44px 18px 50px;
  }
  .showcase-spotlight-copy h2 {
    font-size: 30px;
  }
  .showcase-spotlight-copy > p:not(.section-kicker) {
    margin-top: 20px;
    margin-bottom: 28px;
  }
  .showcase-works {
    padding: 80px 18px 92px;
  }
  .showcase-works-heading {
    margin-bottom: 35px;
  }
  .showcase-works-heading h2 {
    font-size: 36px;
  }
  .showcase-works-heading > p {
    font-size: 13px;
  }
  .showcase-toolbar {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
  }
  .showcase-toolbar button {
    min-height: 50px;
    padding: 0 16px;
    gap: 11px;
  }
  .showcase-work-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .showcase-work,
  .showcase-work-wide {
    grid-column: 1;
  }
  .showcase-work-media,
  .showcase-work-wide .showcase-work-media,
  .showcase-work-tall .showcase-work-media {
    aspect-ratio: 4 / 3;
  }
  .showcase-work-copy strong {
    font-size: 18px;
  }
  .showcase-cta {
    min-height: 410px;
    padding: 68px 18px;
  }
  .showcase-cta h2 {
    font-size: 34px;
  }
  .showcase-cta .btn {
    width: 100%;
  }
  .showcase-dialog {
    width: calc(100% - 18px);
    max-height: calc(100vh - 18px);
  }
  .showcase-dialog-media {
    min-height: 280px;
  }
  .showcase-dialog-media img,
  .showcase-dialog-media video {
    max-height: 390px;
  }
  .showcase-dialog-copy {
    padding: 34px 22px 38px;
  }
  .showcase-dialog-copy h2 {
    padding-right: 30px;
    font-size: 27px;
  }
}

/* Keep the document shell edge-to-edge after the legacy tutorial rules above. */
.tutorial-page.tutorial-library-page {
  padding: 0;
}
@media (max-width: 760px) {
  .tutorial-page.tutorial-library-page {
    padding: 0;
  }
}

/* Independent scrolling for the docs shell: the header stays fixed while both
   columns can be explored without moving the other column. */
body:has(.tutorial-docs-layout) {
  overflow: hidden;
}
.tutorial-page.tutorial-library-page:has(.tutorial-docs-layout) {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}
.tutorial-page.tutorial-library-page:has(.tutorial-docs-layout) .tutorial-docs-layout {
  height: calc(100vh - 72px);
  min-height: 0;
  margin-top: 72px;
  padding-top: 0;
  overflow: hidden;
}
.tutorial-page.tutorial-library-page:has(.tutorial-docs-layout) .tutorial-docs-sidebar {
  position: relative;
  top: auto;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.tutorial-page.tutorial-library-page:has(.tutorial-docs-layout) .tutorial-docs-main {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width: 760px) {
  body:has(.tutorial-docs-layout) {
    overflow: auto;
  }
  .tutorial-page.tutorial-library-page:has(.tutorial-docs-layout) {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  .tutorial-page.tutorial-library-page:has(.tutorial-docs-layout) .tutorial-docs-layout {
    height: auto;
    min-height: 0;
    margin-top: 64px;
    overflow: visible;
  }
  .tutorial-page.tutorial-library-page:has(.tutorial-docs-layout) .tutorial-docs-sidebar,
  .tutorial-page.tutorial-library-page:has(.tutorial-docs-layout) .tutorial-docs-main {
    height: auto;
    overflow: visible;
  }
}
