:root {
  --paper: #f8f7fb;
  --paper-2: #eeedf4;
  --ink: #181622;
  --ink-soft: #55535f;
  --line: rgba(24, 22, 34, 0.14);
  --line-light: rgba(255, 255, 255, 0.2);
  --lime: #dfff50;
  --coral: #ff5d4f;
  --blue: #5442ff;
  --violet: #b8a8ff;
  --white: #fffef9;
  --sans: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: var(--sans);
  --radius: 22px;
  --shadow: 0 22px 60px rgba(20, 20, 15, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

button {
  color: inherit;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--coral);
}

.section-shell {
  width: min(1440px, calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1408px, calc(100% - 32px));
  height: 70px;
  margin: 12px auto 0;
  padding: 0 22px;
  border: 1px solid rgba(24, 22, 34, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 40px rgba(47, 39, 110, 0.07);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: height 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  height: 62px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 12px 34px rgba(47, 39, 110, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand sup {
  align-self: flex-start;
  margin: -3px 0 0 -6px;
  font-size: 7px;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  gap: 3px;
  align-items: end;
  width: 21px;
  height: 19px;
}

.brand-mark span {
  display: block;
  background: var(--ink);
  border-radius: 1px;
}

.brand-mark span:nth-child(1) {
  height: 44%;
}

.brand-mark span:nth-child(2) {
  height: 100%;
}

.brand-mark span:nth-child(3) {
  height: 68%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
}

.main-nav a,
.main-nav button {
  position: relative;
  padding: 8px 0;
  color: var(--ink-soft);
  border: 0;
  background: transparent;
  font-size: inherit;
  cursor: pointer;
  transition: color 180ms ease;
}

.main-nav a::after,
.main-nav button::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav button:hover {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.icon-button,
.mobile-menu {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: background 180ms ease, color 180ms ease;
}

.icon-button:hover {
  background: var(--ink);
  color: var(--white);
}

.icon-button svg {
  width: 18px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 40px;
  padding: 0 18px;
  color: var(--white);
  border-radius: 100px;
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.header-cta:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.header-cta svg {
  width: 17px;
}

.header-cta.login-cta {
  gap: 7px;
  padding: 0 14px 0 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.header-cta.login-cta svg {
  width: 15px;
  color: var(--blue);
}

.header-cta.login-cta:hover {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.header-cta.login-cta:hover svg {
  color: var(--lime);
}

.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  gap: 32px;
  align-items: center;
  min-height: 720px;
  padding-top: 42px;
  padding-bottom: 64px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 12px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 93, 79, 0.12);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(60px, 7.1vw, 112px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.hero h1 em {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.hero-title-line {
  display: inline-block;
  font-size: 0.82em;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.hero h1 em::after {
  position: absolute;
  right: -9px;
  bottom: 5px;
  left: -6px;
  z-index: -1;
  height: 24%;
  content: "";
  background: var(--lime);
  transform: rotate(-1deg);
}

.hero-intro {
  max-width: 500px;
  margin: 34px 0 0;
  color: #4f4e49;
  font-size: 15px;
  line-height: 1.9;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 590px);
  min-height: 62px;
  margin-top: 28px;
  padding: 7px 7px 7px 18px;
  border: 1px solid rgba(24, 22, 34, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 35px rgba(48, 39, 112, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.hero-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(84, 66, 255, 0.09);
}

.hero-search > svg {
  width: 19px;
  flex: 0 0 auto;
  color: var(--ink-soft);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  padding: 8px 0;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}

.hero-search input::placeholder {
  color: #9a97a4;
}

.hero-search button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 17px;
  color: var(--white);
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-search button:hover {
  background: #4130e5;
  transform: translateX(-1px);
}

.hero-search button svg {
  width: 16px;
}

.hero-quicklinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: #8c8997;
  font-size: 9px;
}

.hero-quicklinks span {
  margin-right: 2px;
}

.hero-quicklinks button {
  padding: 4px 9px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-quicklinks button:hover {
  color: var(--blue);
  border-color: rgba(84, 66, 255, 0.35);
  background: white;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 54px;
  padding: 7px 8px 7px 22px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(20, 20, 15, 0.13);
}

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

.button-primary:hover {
  background: var(--blue);
}

.button-arrow {
  display: grid;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  place-items: center;
}

.button-arrow svg {
  width: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  border-bottom: 1px solid var(--ink);
}

.text-link svg {
  width: 17px;
  transition: transform 180ms ease;
}

.text-link-button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

.text-link:hover svg {
  transform: translate(3px, -3px);
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 42px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 88px;
}

.hero-stats div + div {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.hero-stats strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-stats span {
  color: var(--ink-soft);
  font-size: 10px;
}

.hero-stage {
  position: relative;
  min-height: 590px;
  isolation: isolate;
}

.hero-stage::before {
  position: absolute;
  top: 6%;
  right: -5%;
  z-index: -2;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: var(--violet);
  filter: saturate(0.9);
}

.hero-stage::after {
  position: absolute;
  top: 4%;
  right: 8%;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 23, 20, 0.19);
  border-radius: 50%;
  content: "";
}

.stage-card {
  position: absolute;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-card-main {
  top: 9%;
  right: 8%;
  z-index: 3;
  width: 78%;
  border: 8px solid var(--white);
  border-radius: 8px;
  background: var(--white);
  transform: rotate(3.4deg);
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-stage:hover .stage-card-main {
  transform: rotate(1.2deg) translateY(-6px);
}

.stage-card-main img {
  aspect-ratio: 4 / 3.28;
}

.stage-card-meta {
  display: flex;
  justify-content: space-between;
  padding: 12px 5px 5px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.stage-card-small {
  width: 29%;
  border: 5px solid var(--white);
  border-radius: 5px;
}

.stage-card-small img {
  aspect-ratio: 3 / 4;
}

.stage-card-a {
  bottom: 8%;
  left: 2%;
  z-index: 4;
  transform: rotate(-8deg);
}

.stage-card-b {
  top: 1%;
  left: 6%;
  z-index: 2;
  transform: rotate(-11deg);
}

.stage-label {
  position: absolute;
  top: 8%;
  left: 0;
  z-index: 5;
  padding: 7px 10px;
  border: 1px solid rgba(23, 23, 20, 0.4);
  border-radius: 100px;
  background: var(--paper);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.orbit-badge {
  position: absolute;
  right: -1%;
  bottom: 8%;
  z-index: 6;
  display: grid;
  width: 106px;
  height: 106px;
  color: var(--white);
  border-radius: 50%;
  background: var(--ink);
  place-items: center;
  transform: rotate(-9deg);
  animation: bob 5s ease-in-out infinite;
}

.orbit-badge svg {
  width: 100%;
  height: 100%;
}

.orbit-badge text {
  fill: var(--white);
  stroke: none;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.orbit-badge .orbit-arrow {
  stroke: var(--lime);
  stroke-width: 2;
}

.floating-note {
  position: absolute;
  z-index: 7;
  border: 1px solid var(--line);
  background: rgba(255, 254, 249, 0.94);
  box-shadow: 0 12px 26px rgba(23, 23, 20, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.floating-note-top {
  top: 12%;
  right: -1%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 100px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #39b157;
  box-shadow: 0 0 0 3px rgba(57, 177, 87, 0.14);
}

.floating-note-bottom {
  bottom: 14%;
  left: 12%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 9px;
  transform: rotate(2deg);
}

.floating-note-bottom span {
  color: var(--ink-soft);
}

.floating-note-bottom strong {
  font-size: 12px;
}

.stage-gridline {
  position: absolute;
  z-index: -1;
  background: rgba(23, 23, 20, 0.16);
}

.stage-gridline-one {
  top: 0;
  right: 30%;
  width: 1px;
  height: 100%;
}

.stage-gridline-two {
  right: 0;
  bottom: 24%;
  width: 70%;
  height: 1px;
}

.trust-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -20px;
  margin-bottom: 74px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 40px rgba(54, 45, 117, 0.05);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 18px 24px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 11px;
  place-items: center;
}

.trust-icon svg {
  width: 17px;
}

.trust-icon-preview {
  color: var(--blue);
  background: #e9e6ff;
}

.trust-icon-files {
  color: #27733b;
  background: #e5f6df;
}

.trust-icon-platform {
  color: #8a4c00;
  background: #fff0d8;
}

.trust-icon-update {
  color: #a42f43;
  background: #ffe6e9;
}

.trust-item > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-item strong {
  font-size: 11px;
  font-weight: 700;
}

.trust-item small {
  color: var(--ink-soft);
  font-size: 8px;
}

.marquee {
  overflow: hidden;
  overflow: clip;
  padding: 19px 0;
  border: 1px solid rgba(84, 66, 255, 0.13);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.68), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.68)),
    linear-gradient(100deg, #e8e5ff, #f5f2ff 45%, #def5da);
  box-shadow: 0 10px 30px rgba(54, 45, 117, 0.05);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee span {
  padding-inline: 26px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.marquee i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--blue);
  transform: rotate(45deg);
}

.trending {
  padding-top: 78px;
  padding-bottom: 24px;
}

.trending-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.trending-heading .eyebrow {
  margin-bottom: 18px;
}

.trending-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.trending-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 55px rgba(56, 46, 122, 0.06);
}

.trending-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
  background:
    radial-gradient(circle at 72% 26%, rgba(122, 107, 255, 0.28), transparent 30%),
    linear-gradient(145deg, #fbfaff, #e8e7ff);
}

.trending-index {
  align-self: start;
  margin-bottom: 30px;
  color: #847fa2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.trending-intro h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.trending-intro p {
  max-width: 310px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.75;
}

.trending-intro .text-link {
  align-self: start;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

.trending-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 12px 28px 12px 0;
  list-style: none;
}

.trending-row {
  display: grid;
  grid-template-columns: 34px 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.trending-row:last-child {
  border-bottom: 0;
}

.trending-empty {
  display: grid;
  min-height: 210px;
  padding: 28px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  place-items: center;
  text-align: center;
}

.trending-rank {
  color: #a19eab;
  font-family: var(--serif);
  font-size: 19px;
}

.trending-row:first-child .trending-rank {
  color: var(--blue);
}

.trending-thumb {
  overflow: hidden;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--paper-2);
}

.trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.trending-copy strong {
  display: block;
  overflow: hidden;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trending-copy span {
  display: block;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trending-open {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.trending-open:hover {
  color: var(--white);
  background: var(--blue);
  transform: rotate(45deg);
}

.trending-open svg {
  width: 14px;
}

.catalog {
  padding-top: 104px;
  padding-bottom: 120px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 52px;
}

.section-heading .eyebrow {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-heading h2 sup {
  position: relative;
  top: -2.7em;
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.heading-note {
  max-width: 260px;
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 9px;
}

.sort-control select {
  height: 36px;
  padding: 0 28px 0 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  cursor: pointer;
}

.search-field {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 12px;
  max-width: 590px;
}

.search-field > svg {
  width: 19px;
  flex: 0 0 auto;
}

.search-field input {
  width: 100%;
  padding: 7px 0;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}

.search-field input::placeholder {
  color: #99978e;
}

.search-field kbd {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.4);
  font-family: var(--sans);
  font-size: 9px;
  white-space: nowrap;
}

.view-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.view-button {
  display: grid;
  width: 32px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  color: #98968d;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.view-button.active {
  color: var(--white);
  background: var(--ink);
}

.view-button svg {
  width: 15px;
  fill: currentColor;
  stroke: none;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 34px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter-chip span {
  margin-left: 4px;
  font-size: 9px;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.result-count {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 10px;
}

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

.skill-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  animation: cardIn 480ms both;
}

.skill-card.featured {
  grid-column: span 2;
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.78;
  border-radius: 14px;
  background: var(--card-bg, var(--paper-2));
}

.skill-card.featured .card-media {
  aspect-ratio: 16 / 8.8;
}

.card-media img,
.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 350ms ease;
}

.skill-card:hover .card-media img,
.skill-card:hover .card-media video {
  transform: scale(1.035);
}

.card-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.14));
  pointer-events: none;
}

.card-type,
.card-index {
  position: absolute;
  z-index: 2;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 100px;
  background: rgba(255, 254, 249, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.card-type {
  left: 14px;
}

.card-type svg {
  width: 11px;
  fill: var(--coral);
  stroke: none;
}

.card-index {
  right: 54px;
  color: var(--white);
  background: rgba(23, 23, 20, 0.8);
}

.favorite-button {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 4;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 254, 249, 0.92);
  cursor: pointer;
  place-items: center;
  transition: transform 180ms ease, background 180ms ease;
}

.favorite-button:hover {
  transform: scale(1.1);
}

.favorite-button svg {
  width: 13px;
  fill: transparent;
  stroke: var(--ink);
  stroke-width: 1.8;
}

.favorite-button.saved svg {
  fill: var(--coral);
  stroke: var(--coral);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 3px 18px;
}

.card-category {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 9px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-category::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--card-accent);
}

.card-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  min-height: 54px;
}

.card-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.skill-card.featured .card-title {
  font-size: 33px;
}

.card-open {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.card-open svg {
  width: 14px;
}

.skill-card:hover .card-open {
  color: var(--white);
  background: var(--ink);
  transform: rotate(45deg);
}

.card-summary {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.3em;
  margin: 10px 0 15px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-evidence {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 0 15px;
  color: var(--ink-soft);
  font-size: 8px;
}

.card-evidence .evidence-safety {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  color: #226f3a;
  border-radius: 100px;
  background: #e7f7e6;
  font-weight: 650;
}

.card-evidence .evidence-safety svg {
  width: 10px;
}

.card-evidence .evidence-platform {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
}

.mini-avatar,
.author-avatar {
  display: grid;
  color: var(--ink);
  border-radius: 50%;
  background: var(--avatar-color, var(--lime));
  font-weight: 800;
  place-items: center;
}

.mini-avatar {
  width: 24px;
  height: 24px;
  font-size: 8px;
}

.card-metrics {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 9px;
}

.card-metrics span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.card-metrics svg {
  width: 11px;
}

.skill-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.skill-grid.list-view .skill-card {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.skill-grid.list-view .skill-card.featured {
  display: grid;
  grid-column: auto;
}

.skill-grid.list-view .card-media,
.skill-grid.list-view .skill-card.featured .card-media {
  aspect-ratio: 1.55 / 1;
  border-radius: 8px;
}

.skill-grid.list-view .card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}

.skill-grid.list-view .card-title-row {
  min-height: 0;
}

.skill-grid.list-view .card-summary {
  min-height: 0;
}

.skill-grid.list-view .card-evidence {
  margin-top: 14px;
}

.skill-grid.list-view .card-summary {
  max-width: 620px;
}

.empty-state {
  padding: 100px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.empty-state > span {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.empty-state h3 {
  margin: 16px 0 8px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
}

.empty-state p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.site-footer {
  padding-bottom: 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 38px 0;
  border-top: 1px solid var(--ink);
}

.footer-brand {
  font-size: 18px;
}

.footer-top > p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: end;
  gap: 24px;
  font-size: 10px;
}

.footer-links a,
.footer-links button {
  padding: 0;
  color: inherit;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  border-color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  color: #8b8980;
  font-size: 8px;
  letter-spacing: 0.08em;
  border-top: 1px solid var(--line);
}

.footer-partners {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 24px;
  white-space: nowrap;
  scrollbar-width: thin;
}

.footer-partners > span {
  flex: 0 0 auto;
  margin-right: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-partners a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-partners a:hover {
  color: var(--blue);
  border-color: rgba(84, 68, 255, 0.3);
  background: white;
}

.user-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 50px;
  display: flex;
  width: min(320px, calc(100vw - 28px));
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 50px rgba(28, 23, 65, 0.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.user-popover-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
}

.user-popover-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  color: white;
  border-radius: 12px;
  background: var(--blue);
  font-size: 12px;
  font-weight: 750;
  place-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.user-popover-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.user-popover-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.user-popover-copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-popover-copy small {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-popover-role {
  padding: 5px 9px;
  color: var(--blue);
  border: 1px solid rgba(84, 68, 255, 0.18);
  border-radius: 999px;
  background: #f1efff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.user-popover button {
  min-height: 36px;
  padding: 7px 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.user-popover button:hover {
  color: white;
  background: var(--ink);
}

.user-popover button.quiet:hover {
  color: #ff5c62;
  border-color: rgba(255, 92, 98, 0.25);
  background: #fff1f2;
}

.user-popover-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.user-popover-meta strong {
  padding: 5px 9px;
  color: var(--blue);
  border-radius: 100px;
  background: #ebe8ff;
  font-size: 11px;
  white-space: nowrap;
}

.user-popover-meta small {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.auth-modal {
  width: min(920px, calc(100% - 30px));
  max-width: none;
  max-height: calc(100vh - 30px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 0;
  border-radius: 24px;
  background: white;
  box-shadow: 0 40px 120px rgba(10, 10, 8, 0.34);
}

.auth-modal::backdrop {
  background: rgba(17, 17, 14, 0.72);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.auth-modal[open] {
  animation: modalIn 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 590px;
}

.auth-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 4;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  place-items: center;
}

.auth-modal-close:hover {
  color: white;
  background: var(--ink);
  transform: rotate(90deg);
}

.auth-modal-close svg {
  width: 15px;
}

.auth-modal-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 58px 40px 42px;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.82), transparent 24%),
    linear-gradient(145deg, #e9e5ff, #f8f6ff 58%, #dfff50);
}

.auth-modal-aside .eyebrow {
  margin-bottom: 48px;
}

.auth-modal-aside h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 22px;
  font-size: clamp(38px, 4vw, 51px);
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.auth-modal-aside h2 em {
  font-style: normal;
  color: var(--blue);
}

.auth-modal-aside > p:not(.eyebrow) {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.auth-modal-aside ul {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.auth-modal-aside .auth-plan-note {
  z-index: 2;
  max-width: 300px;
  margin-top: 16px;
  padding: 9px 12px;
  border: 1px solid rgba(84, 66, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}

.auth-modal-aside li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #494653;
  font-size: 10px;
}

.auth-modal-aside li span {
  display: grid;
  width: 22px;
  height: 22px;
  color: white;
  border-radius: 50%;
  background: var(--ink);
  font-size: 8px;
  font-weight: 700;
  place-items: center;
}

.auth-orbit {
  position: absolute;
  border: 1px solid rgba(84, 66, 255, 0.17);
  border-radius: 50%;
}

.auth-orbit-one {
  right: -90px;
  bottom: 80px;
  width: 260px;
  height: 260px;
}

.auth-orbit-two {
  right: -34px;
  bottom: 137px;
  width: 146px;
  height: 146px;
}

.auth-modal-main {
  overflow-y: auto;
  max-height: calc(100vh - 30px);
  padding: 38px 54px 42px;
}

.auth-tabs {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.auth-tabs button {
  min-height: 34px;
  padding: 0 16px;
  color: var(--ink-soft);
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.auth-tabs button.active {
  color: white;
  background: var(--ink);
}

.auth-form {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
}

.auth-form-kicker {
  color: var(--blue);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.auth-form h3 {
  margin: 10px 0 8px;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.auth-form > p:not(.auth-error) {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 12px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
}

.auth-form label span {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  height: 45px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  background: #fbfafc;
  font-size: 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.auth-form input:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(84, 66, 255, 0.08);
}

.auth-form input::placeholder {
  color: #aaa7b2;
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 49px;
  margin-top: 5px;
  padding: 0 10px 0 16px;
  color: white;
  border: 0;
  border-radius: 9px;
  background: var(--ink);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.auth-submit:hover {
  background: var(--blue);
}

.auth-submit svg {
  width: 17px;
  padding: 8px;
  box-sizing: content-box;
  color: var(--ink);
  border-radius: 50%;
  background: var(--lime);
}

.auth-error {
  margin: -2px 0 12px;
  padding: 8px 10px;
  color: #ab3349;
  border-radius: 7px;
  background: var(--pink-soft);
  font-size: 10px;
}

.auth-demo-hint {
  margin-top: 13px;
  color: #9996a1;
  font-size: 9px;
  text-align: center;
}

.submit-modal {
  width: min(1050px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 0;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 40px 120px rgba(10, 10, 8, 0.34);
}

.submit-modal::backdrop {
  background: rgba(17, 17, 14, 0.72);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.submit-modal[open] {
  animation: modalIn 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.submit-modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  max-height: calc(100vh - 32px);
}

.submit-modal-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 58px 42px 42px;
  background:
    radial-gradient(circle at 82% 15%, rgba(255, 255, 255, 0.7), transparent 25%),
    radial-gradient(circle at 12% 92%, rgba(84, 66, 255, 0.28), transparent 35%),
    var(--lime);
}

.submit-modal-aside::after {
  position: absolute;
  top: 25%;
  right: -112px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(24, 22, 34, 0.18);
  border-radius: 50%;
  content: "";
}

.submit-modal-aside .eyebrow {
  margin-bottom: 48px;
}

.submit-modal-aside h2 {
  margin: 0 0 22px;
  font-size: clamp(45px, 4.8vw, 65px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
}

.submit-modal-aside h2 em {
  font-family: var(--serif);
  font-weight: 400;
}

.submit-modal-aside > p:not(.eyebrow) {
  max-width: 280px;
  margin: 0;
  color: rgba(24, 22, 34, 0.72);
  font-size: 11px;
  line-height: 1.8;
}

.submit-modal-aside ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.submit-modal-aside li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
}

.submit-modal-aside li span {
  display: grid;
  width: 24px;
  height: 24px;
  color: var(--white);
  border-radius: 50%;
  background: var(--ink);
  font-size: 7px;
  font-weight: 700;
  place-items: center;
}

.submit-aside-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 40px;
}

.submit-aside-note strong {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.submit-aside-note span {
  color: rgba(24, 22, 34, 0.66);
  font-size: 8px;
  line-height: 1.5;
}

.submit-modal-main {
  overflow-y: auto;
  max-height: calc(100vh - 32px);
  padding: 54px 48px 42px;
  scrollbar-color: #c4c0b5 transparent;
  scrollbar-width: thin;
}

.submit-modal-close {
  top: 24px;
  right: 24px;
}

.submit-form-heading {
  padding-right: 42px;
}

.submit-form-heading > span {
  color: var(--blue);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.submit-form-heading h3,
.submit-success h3 {
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.submit-form-heading p,
.submit-success p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

.submit-form-heading b {
  color: var(--coral);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 14px;
  margin-top: 30px;
}

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field > span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 650;
}

.form-field > span b {
  color: var(--coral);
}

.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  background: #fbfafc;
  font-size: 11px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-field input:not([type="checkbox"]),
.form-field select {
  height: 43px;
  padding: 0 12px;
}

.form-field textarea {
  min-height: 94px;
  padding: 12px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(84, 66, 255, 0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #aaa7b2;
}

.platform-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-options label {
  cursor: pointer;
}

.platform-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.platform-options span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  background: white;
  font-size: 9px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.platform-options input:checked + span {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.upload-zone {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 13px 15px;
  border: 1px dashed rgba(84, 66, 255, 0.5);
  border-radius: 11px;
  background: rgba(84, 66, 255, 0.035);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.upload-zone:hover {
  border-color: var(--blue);
  background: rgba(84, 66, 255, 0.065);
}

.upload-zone > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  display: grid;
  width: 36px;
  height: 36px;
  color: var(--blue);
  border-radius: 9px;
  background: white;
  box-shadow: 0 4px 14px rgba(47, 39, 110, 0.08);
  place-items: center;
}

.upload-icon svg {
  width: 17px;
}

.upload-zone > span:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.upload-zone strong {
  font-size: 10px;
}

.upload-zone small {
  color: var(--ink-soft);
  font-size: 8px;
}

.upload-zone em {
  max-width: 170px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 8px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input {
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.submit-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.submit-form-footer > span {
  max-width: 220px;
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.5;
}

.submit-form-footer .button {
  min-height: 49px;
}

.submit-error {
  margin: 14px 0 0;
  color: #b7271c;
  font-size: 12px;
  line-height: 1.5;
}

.upload-limit-modal {
  width: min(520px, calc(100% - 30px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 0;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 36px 110px rgba(10, 10, 8, 0.34);
}

.upload-limit-modal::backdrop {
  background: rgba(17, 17, 14, 0.72);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.upload-limit-modal[open] {
  animation: modalIn 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.upload-limit-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 46px 42px 38px;
}

.upload-limit-shell .modal-close {
  top: 22px;
  right: 22px;
}

.upload-limit-mark {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  color: var(--blue);
  border-radius: 14px;
  background: white;
  place-items: center;
}

.upload-limit-mark svg {
  width: 22px;
}

.upload-limit-shell h2 {
  margin: 18px 0 16px;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.upload-limit-shell h2 em {
  color: var(--blue);
  font-style: italic;
}

.upload-limit-shell > p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.upload-limit-email {
  margin: 22px 0 28px;
  padding-bottom: 5px;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.submit-success {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.submit-success[hidden] {
  display: none;
}

.success-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  color: var(--ink);
  border-radius: 50%;
  background: var(--lime);
  place-items: center;
}

.success-mark svg {
  width: 27px;
  stroke-width: 2.2;
}

.submit-success > span:nth-child(2) {
  color: var(--blue);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.submit-success h3 {
  font-size: 48px;
}

.submit-success p {
  max-width: 440px;
  font-size: 12px;
  line-height: 1.8;
}

.submit-success-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.skill-modal {
  width: min(1180px, calc(100% - 34px));
  max-width: none;
  max-height: calc(100vh - 34px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 0;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 40px 120px rgba(10, 10, 8, 0.34);
}

.skill-modal::backdrop {
  background: rgba(17, 17, 14, 0.72);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.skill-modal[open] {
  animation: modalIn 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-shell {
  position: relative;
  max-height: calc(100vh - 34px);
}

.modal-layout {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  max-height: calc(100vh - 34px);
}

.modal-media-column {
  display: flex;
  flex-direction: column;
  min-height: 680px;
  padding: 18px;
  background: #dfdcd3;
}

.modal-media {
  position: relative;
  display: grid;
  flex: 1;
  overflow: hidden;
  min-height: 580px;
  border-radius: 12px;
  background: var(--paper-2);
  place-items: center;
}

.modal-media img,
.modal-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-media video {
  background: #111;
}

.modal-media-footer {
  display: flex;
  justify-content: space-between;
  padding: 13px 4px 0;
  color: #5d5c55;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.modal-info-column {
  overflow-y: auto;
  max-height: calc(100vh - 34px);
  padding: 54px 48px 38px;
  scrollbar-color: #c4c0b5 transparent;
  scrollbar-width: thin;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 5;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 254, 249, 0.85);
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.modal-close:hover {
  color: var(--white);
  background: var(--ink);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 16px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-right: 44px;
}

.modal-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.modal-tags span:first-child {
  border-color: var(--accent, var(--ink));
  background: var(--accent, var(--ink));
}

.modal-info-column h2 {
  margin: 24px 0 16px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.1vw, 52px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.modal-summary {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.modal-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 23px;
}

.author-avatar {
  width: 34px;
  height: 34px;
  font-size: 10px;
}

.modal-author-row > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-author-row strong {
  font-size: 10px;
}

.modal-author-row small {
  color: var(--ink-soft);
  font-size: 8px;
}

.modal-rating {
  margin-left: auto;
  font-size: 10px;
  font-weight: 650;
}

.modal-divider {
  height: 1px;
  margin: 26px 0;
  background: var(--line);
}

.modal-section {
  margin-bottom: 26px;
}

.modal-safety {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f8f4;
}

.modal-safety .modal-section-title {
  margin-bottom: 12px;
}

.safety-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.safety-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: #27733b;
  border-radius: 9px;
  background: #e7f7e6;
  place-items: center;
}

.safety-mark svg {
  width: 17px;
}

.safety-row > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.safety-row strong {
  font-size: 9px;
}

.safety-row small {
  color: var(--ink-soft);
  font-size: 8px;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.platform-pills span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: white;
  font-size: 8px;
}

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

.install-steps span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 7px;
  line-height: 1.35;
}

.install-steps b {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--white);
  border-radius: 50%;
  background: var(--blue);
  font-size: 7px;
  place-items: center;
}

.modal-section-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-section-title span:last-child {
  color: #aaa79e;
}

.requirement-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirement-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 10px;
}

.requirement-list li::before {
  display: grid;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  content: "✓";
  color: var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-size: 8px;
  font-weight: 800;
  place-items: center;
}

.file-list {
  border-top: 1px solid var(--line);
}

.file-row {
  display: grid;
  grid-template-columns: 23px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}

.file-row span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--paper-2);
  font-size: 8px;
  font-weight: 750;
  place-items: center;
}

.file-row small {
  color: var(--ink-soft);
  font-size: 8px;
}

.download-panel {
  margin-top: 30px;
  padding: 16px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
}

.download-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
  color: var(--ink-soft);
  font-size: 8px;
}

.download-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.download-button {
  display: flex;
  align-items: center;
  min-height: 51px;
  padding: 0 18px;
  color: var(--white);
  border-radius: 8px;
  background: var(--ink);
  font-size: 12px;
  font-weight: 650;
  transition: background 180ms ease;
}

.download-button:hover {
  background: var(--blue);
}

.download-size {
  margin-left: auto;
  margin-right: 18px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 500;
}

.download-button svg {
  width: 17px;
}

.download-footnote {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 12px;
  color: var(--ink-soft);
  font-size: 8px;
}

.download-footnote .license {
  margin-left: auto;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  max-width: min(360px, calc(100% - 48px));
  padding: 13px 18px;
  color: var(--white);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
  font-size: 11px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

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

img,
video {
  -webkit-user-drag: none;
  user-select: none;
}

video::-webkit-media-controls-download-button {
  display: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: rotate(-9deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-8px);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 0.92fr 1.08fr;
    min-height: 650px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero h1 {
    font-size: clamp(58px, 7vw, 82px);
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stats div + div {
    padding-left: 20px;
  }

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

  .trust-item {
    padding: 16px 18px;
  }

  .trending-intro {
    padding: 34px;
  }

  .trending-list {
    padding-right: 14px;
  }

  .trending-row {
    grid-template-columns: 30px 44px minmax(0, 1fr) 32px;
    gap: 10px;
    padding-inline: 10px;
  }

  .trending-thumb {
    width: 42px;
    height: 42px;
  }

  .submit-modal-aside {
    padding: 50px 30px 38px;
  }

  .submit-modal-main {
    padding: 48px 34px 36px;
  }

  .modal-layout {
    grid-template-columns: 1fr 0.88fr;
  }

  .modal-media-column {
    min-height: 620px;
  }

  .modal-media {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .section-shell {
    width: min(100% - 36px, 680px);
  }

  .site-header {
    top: 8px;
    grid-template-columns: 1fr auto;
    width: calc(100% - 20px);
    height: 64px;
    margin-top: 8px;
    padding: 0 16px;
    border-radius: 16px;
  }

  .main-nav {
    position: absolute;
    top: 69px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a,
  .main-nav button {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .header-cta:not(.login-cta),
  .search-jump {
    display: none;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-menu span {
    width: 16px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .mobile-menu[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .mobile-menu[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(54px, 12vw, 86px);
  }

  .hero-intro {
    margin-top: 26px;
  }

  .hero-search {
    width: 100%;
  }

  .hero-stats {
    margin-top: 42px;
  }

  .hero-stage {
    min-height: 520px;
    width: min(100%, 570px);
    margin: 0 auto;
  }

  .trust-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2px;
    margin-bottom: 54px;
  }

  .trust-item:nth-child(odd) {
    border-left: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .trending {
    padding-top: 78px;
  }

  .trending-heading {
    align-items: start;
  }

  .trending-layout {
    grid-template-columns: 1fr;
  }

  .trending-intro {
    min-height: 260px;
  }

  .trending-index {
    margin-bottom: 20px;
  }

  .trending-list {
    padding: 8px 20px 12px;
  }

  .catalog {
    padding-top: 90px;
  }

  .section-heading {
    align-items: start;
    gap: 20px;
  }

  .heading-note {
    display: none;
  }

  .filter-row {
    align-items: start;
    flex-direction: column;
  }

  .toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .submit-modal-shell {
    display: block;
    overflow-y: auto;
    max-height: calc(100vh - 24px);
  }

  .submit-modal-aside {
    min-height: 290px;
    padding: 38px 28px 30px;
  }

  .submit-modal-aside .eyebrow {
    margin-bottom: 24px;
  }

  .submit-modal-aside h2 {
    font-size: 48px;
  }

  .submit-modal-aside ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px 14px;
    margin-top: 22px;
  }

  .submit-aside-note {
    display: none;
  }

  .submit-modal-main {
    overflow: visible;
    max-height: none;
    padding: 38px 28px 32px;
  }

  .submit-modal {
    max-height: calc(100vh - 24px);
  }

  .footer-top {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .footer-top > p {
    display: none;
  }

  .modal-layout {
    display: block;
    overflow-y: auto;
    max-height: calc(100vh - 24px);
  }

  .skill-modal,
  .modal-shell {
    max-height: calc(100vh - 24px);
  }

  .modal-media-column {
    min-height: auto;
    padding: 12px;
  }

  .modal-media {
    min-height: 360px;
    aspect-ratio: 1.22 / 1;
  }

  .modal-info-column {
    overflow: visible;
    max-height: none;
    padding: 38px 28px 30px;
  }

  .modal-close {
    position: fixed;
    top: 24px;
    right: 24px;
  }

  .auth-modal {
    max-height: calc(100vh - 20px);
  }

  .auth-modal-shell {
    display: block;
    overflow-y: auto;
    max-height: calc(100vh - 20px);
  }

  .auth-modal-aside {
    min-height: 270px;
    padding: 36px 28px 28px;
  }

  .auth-modal-aside .eyebrow {
    margin-bottom: 22px;
  }

  .auth-modal-aside h2 {
    font-size: 42px;
  }

  .auth-modal-aside ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px 14px;
    margin-top: 20px;
  }

  .auth-modal-main {
    overflow: visible;
    max-height: none;
    padding: 30px 28px 34px;
  }

  .auth-modal-close {
    position: fixed;
    top: 22px;
    right: 22px;
  }
}

@media (max-width: 560px) {
  .section-shell {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: clamp(48px, 14.7vw, 72px);
  }

  .hero-search {
    min-height: 57px;
    padding-left: 14px;
  }

  .login-cta {
    height: 38px;
    padding: 0 11px;
  }

  .login-cta svg {
    display: none;
  }

  .hero-search button {
    width: 44px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }

  .hero-search button span {
    display: none;
  }

  .hero-quicklinks {
    gap: 6px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-stats {
    justify-content: space-between;
    gap: 8px;
  }

  .hero-stats div {
    min-width: 0;
  }

  .hero-stats div + div {
    padding-left: 16px;
  }

  .hero-stats strong {
    font-size: 23px;
  }

  .hero-stage {
    min-height: 410px;
  }

  .trust-rail {
    grid-template-columns: 1fr;
    margin-top: 2px;
  }

  .trust-item {
    min-height: 74px;
    padding: 14px 17px;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trending-heading {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
  }

  .trending-heading h2 {
    font-size: 42px;
  }

  .trending-intro {
    min-height: 240px;
    padding: 28px 24px;
  }

  .trending-list {
    padding-inline: 10px;
  }

  .trending-row {
    grid-template-columns: 26px 40px minmax(0, 1fr) 30px;
    min-height: 72px;
  }

  .trending-thumb {
    width: 38px;
    height: 38px;
  }

  .stage-card-main {
    width: 86%;
    right: 3%;
  }

  .stage-card-a {
    bottom: 2%;
    left: 0;
    width: 30%;
  }

  .stage-card-b {
    width: 27%;
    left: 0;
  }

  .orbit-badge {
    right: 0;
    bottom: 1%;
    width: 82px;
    height: 82px;
  }

  .floating-note-top {
    top: 4%;
    right: 0;
  }

  .floating-note-bottom {
    bottom: 7%;
    left: 23%;
  }

  .section-heading h2 {
    font-size: 52px;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field kbd {
    display: none;
  }

  .toolbar-actions {
    gap: 8px;
  }

  .sort-control > span {
    display: none;
  }

  .view-switcher {
    align-self: end;
  }

  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: calc(100vw - 28px);
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .skill-grid,
  .skill-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .skill-card.featured,
  .skill-grid.list-view .skill-card,
  .skill-grid.list-view .skill-card.featured {
    display: block;
    grid-column: auto;
    padding: 0;
  }

  .skill-card .card-media,
  .skill-card.featured .card-media,
  .skill-grid.list-view .card-media,
  .skill-grid.list-view .skill-card.featured .card-media {
    aspect-ratio: 1.25 / 1;
  }

  .skill-grid.list-view .card-body {
    padding: 17px 3px 18px;
  }

  .skill-card.featured .card-title,
  .card-title {
    font-size: 27px;
  }

  .submit-modal-shell {
    max-height: calc(100vh - 14px);
  }

  .submit-modal {
    width: calc(100% - 14px);
    max-height: calc(100vh - 14px);
  }

  .submit-modal-aside {
    min-height: 250px;
    padding: 34px 22px 26px;
  }

  .submit-modal-aside h2 {
    font-size: 42px;
  }

  .submit-modal-main {
    padding: 32px 20px 28px;
  }

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

  .form-field-wide {
    grid-column: auto;
  }

  .submit-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-form-footer > span {
    max-width: none;
  }

  .submit-form-footer .button {
    width: 100%;
  }

  .submit-success {
    min-height: 440px;
  }

  .submit-success h3 {
    font-size: 39px;
  }

  .submit-success-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: start;
  }

  .footer-bottom {
    gap: 12px;
    flex-direction: column;
  }

  .skill-modal {
    width: calc(100% - 14px);
  }

  .modal-media {
    min-height: 280px;
  }

  .modal-info-column h2 {
    font-size: 40px;
  }

  .auth-modal {
    width: calc(100% - 14px);
    max-height: calc(100vh - 14px);
  }

  .auth-modal-shell {
    max-height: calc(100vh - 14px);
  }

  .auth-modal-aside {
    min-height: 235px;
    padding: 30px 22px 24px;
  }

  .auth-modal-aside h2 {
    font-size: 36px;
  }

  .auth-modal-aside > p:not(.eyebrow) {
    max-width: 280px;
    font-size: 11px;
  }

  .auth-modal-aside ul {
    display: none;
  }

  .auth-modal-main {
    padding: 27px 20px 30px;
  }

  .auth-form {
    margin-top: 27px;
  }

  .auth-form h3 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography legibility pass */
body {
  font-size: 16px;
  line-height: 1.5;
}

.brand {
  font-size: 17px;
}

.brand sup {
  font-size: 8px;
}

.main-nav {
  font-size: 15px;
}

.header-cta {
  font-size: 13px;
}

.eyebrow {
  font-size: 12.5px;
}

.hero-intro {
  font-size: 18px;
  line-height: 1.75;
}

.hero-search input {
  font-size: 16px;
}

.hero-search button,
.button {
  font-size: 15px;
}

.hero-quicklinks,
.hero-quicklinks button {
  font-size: 12px;
}

.text-link {
  font-size: 14px;
}

.hero-stats span {
  font-size: 13px;
}

.stage-label,
.floating-note-top,
.floating-note-bottom,
.stage-card-meta {
  font-size: 9px;
}

.trust-item strong {
  font-size: 14px;
}

.trust-item small {
  font-size: 11.5px;
}

.trending-index {
  font-size: 12px;
}

.trending-intro p {
  font-size: 14px;
  line-height: 1.7;
}

.trending-copy strong {
  font-size: 15px;
}

.trending-copy span {
  font-size: 12px;
}

.heading-note {
  font-size: 16px;
}

.search-field input {
  font-size: 17px;
}

.search-field kbd {
  font-size: 10px;
}

.sort-control {
  font-size: 12px;
}

.sort-control select {
  font-size: 13px;
}

.filter-chip {
  min-height: 40px;
  font-size: 13px;
}

.result-count {
  font-size: 13px;
}

.card-type,
.card-index {
  font-size: 10px;
}

.card-category {
  font-size: 12px;
}

.card-title {
  font-size: 28px;
}

.card-summary {
  font-size: 14px;
  line-height: 1.7;
}

.card-evidence {
  font-size: 11.5px;
}

.card-author,
.card-metrics {
  font-size: 12px;
}

.mini-avatar {
  font-size: 9px;
}

.empty-state > span {
  font-size: 11px;
}

.empty-state p {
  font-size: 16px;
}

.footer-top > p {
  font-size: 16px;
}

.footer-links {
  font-size: 13px;
}

.footer-bottom {
  font-size: 11px;
}

.submit-modal-aside > p:not(.eyebrow),
.submit-form-heading p,
.submit-success p {
  font-size: 14px;
}

.submit-modal-aside li,
.form-field > span,
.platform-options span,
.upload-zone strong,
.upload-zone em,
.form-consent,
.submit-form-footer > span {
  font-size: 12px;
}

.submit-modal-aside li span,
.submit-form-heading > span,
.submit-success > span:nth-child(2) {
  font-size: 9px;
}

.submit-aside-note span,
.upload-zone small {
  font-size: 11px;
}

.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
  font-size: 14px;
}

.modal-tags span,
.download-meta,
.download-size,
.download-footnote,
.modal-media-footer,
.platform-pills span {
  font-size: 11px;
}

.modal-summary {
  font-size: 15px;
}

.modal-author-row strong {
  font-size: 13px;
}

.modal-author-row small,
.file-row small,
.safety-row small,
.install-steps span {
  font-size: 10px;
}

.modal-rating,
.modal-section-title,
.file-row,
.safety-row strong,
.download-button {
  font-size: 12px;
}

.requirement-list li {
  font-size: 13px;
}

@media (max-width: 820px) {
  .trending {
    padding-top: 62px;
  }
}

@media (max-width: 560px) {
  .marquee {
    width: calc(100% - 28px);
    padding: 15px 0;
    border-radius: 13px;
  }

  .marquee span {
    padding-inline: 18px;
    font-size: 15px;
  }
}

/* Full Skill library page */
.all-skills-page main {
  min-height: 70vh;
}

.all-library-hero {
  padding-top: clamp(70px, 9vw, 132px);
}

.all-library-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}

.all-library-kicker .eyebrow {
  margin: 0;
}

.all-library-kicker > span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.all-library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: end;
  gap: 48px;
  padding: 54px 0 70px;
}

.all-library-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 128px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.all-library-heading h1 em {
  color: var(--blue);
  font-style: italic;
}

.all-library-heading p {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
}

.all-library-side-note {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.all-library-side-note strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.all-library-side-note span {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.all-library-catalog {
  padding-top: 0;
  padding-bottom: 64px;
}

.all-skills-page .catalog-toolbar {
  margin-top: 0;
}

.all-skills-page .site-footer {
  padding-top: 0;
}

@media (max-width: 980px) {
  .all-library-heading {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 52px;
  }

  .all-library-side-note {
    max-width: 360px;
  }
}

@media (max-width: 620px) {
  .all-library-hero {
    padding-top: 60px;
  }

  .all-library-kicker {
    align-items: flex-start;
  }

  .all-library-heading h1 {
    font-size: clamp(56px, 18vw, 84px);
  }

  .all-library-heading p {
    margin-top: 20px;
    font-size: 15px;
  }
}

/* Refined skill detail modal */
.skill-modal {
  width: min(1200px, calc(100% - 40px));
  height: min(820px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  border-radius: 26px;
}

.modal-shell {
  height: 100%;
  max-height: 100%;
}

.modal-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(470px, 1.04fr);
  height: 100%;
  max-height: 100%;
}

.modal-media-column {
  justify-content: center;
  min-height: 0;
  padding: 18px;
  background: #e8e5dc;
}

.modal-media {
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: #eeece5;
}

.modal-media img,
.modal-media video {
  object-fit: cover;
}

.modal-media-footer {
  padding: 15px 4px 0;
  font-size: 11px;
}

.modal-info-column {
  max-height: 100%;
  padding: 48px 54px 42px;
}

.modal-close {
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
}

.modal-tags {
  gap: 7px;
  padding-right: 50px;
}

.modal-tags span {
  padding: 7px 11px;
  font-size: 10px;
}

.modal-info-column h2 {
  max-width: 560px;
  margin: 24px 0 16px;
  font-size: clamp(40px, 3.5vw, 50px);
  line-height: 1.06;
}

.modal-summary {
  max-width: 590px;
  font-size: 16px;
  line-height: 1.72;
}

.modal-author-row {
  gap: 12px;
  margin-top: 25px;
}

.author-avatar {
  width: 39px;
  height: 39px;
  font-size: 11px;
}

.modal-author-row strong {
  font-size: 14px;
}

.modal-author-row small {
  font-size: 11px;
}

.modal-rating {
  font-size: 12px;
}

.modal-divider {
  margin: 28px 0;
}

.modal-section {
  margin-bottom: 30px;
}

.modal-section-title {
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.07em;
}

.requirement-list {
  gap: 11px;
}

.requirement-list li {
  gap: 11px;
  font-size: 14px;
  line-height: 1.55;
}

.requirement-list li::before {
  width: 19px;
  height: 19px;
  font-size: 10px;
}

.modal-safety {
  padding: 18px;
  border-radius: 14px;
}

.safety-row {
  gap: 12px;
  margin-bottom: 15px;
}

.safety-row strong {
  font-size: 12px;
}

.safety-row small {
  font-size: 11px;
}

.platform-pills {
  gap: 7px;
}

.platform-pills span {
  padding: 6px 10px;
  font-size: 10px;
}

.install-steps {
  gap: 8px;
}

.install-steps span {
  min-height: 44px;
  padding: 9px;
  font-size: 11px;
}

.install-steps b {
  width: 20px;
  height: 20px;
  font-size: 9px;
}

.file-row {
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  font-size: 12px;
}

.file-row span:first-child {
  width: 27px;
  height: 27px;
  font-size: 9px;
}

.file-row small {
  font-size: 10px;
}

.download-panel {
  margin-top: 32px;
  padding: 18px;
  border-radius: 15px;
}

.download-meta {
  margin-bottom: 15px;
  font-size: 11px;
}

.download-button {
  min-height: 56px;
  padding-inline: 20px;
  font-size: 14px;
}

.download-size {
  font-size: 11px;
}

.download-footnote {
  padding-top: 14px;
  font-size: 11px;
}

@media (max-width: 900px) {
  .skill-modal {
    width: calc(100% - 20px);
    height: auto;
    max-height: calc(100vh - 20px);
  }

  .modal-shell {
    height: auto;
    max-height: calc(100vh - 20px);
  }

  .modal-layout {
    display: block;
    overflow-y: auto;
    height: auto;
    max-height: calc(100vh - 20px);
  }

  .modal-media-column {
    padding: 12px;
  }

  .modal-media {
    aspect-ratio: 4 / 3;
  }

  .modal-info-column {
    overflow: visible;
    max-height: none;
    padding: 42px 30px 32px;
  }
}

.brand-logo {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 5px 16px rgba(84, 68, 255, 0.22);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: hue-rotate(100deg) saturate(1.18) brightness(0.92);
}

.footer-brand .brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) 130px 150px minmax(220px, 0.9fr);
  gap: 42px;
  align-items: start;
  padding: 48px 0 44px;
  border-top: 1px solid var(--ink);
}

.footer-main > div:first-child > p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
}

.footer-main .footer-links {
  display: grid;
  justify-content: start;
  gap: 12px;
  align-content: start;
}

.footer-main .footer-links span,
.footer-note > span {
  color: #94918a;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-note {
  display: grid;
  gap: 13px;
  align-content: start;
}

.footer-note p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
}

.footer-submit {
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
}

@media (max-width: 820px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-top: 36px;
  }

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

/* Contact modal */
.contact-modal {
  width: min(1100px, calc(100% - 34px));
  max-width: none;
  max-height: calc(100vh - 34px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 0;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 40px 120px rgba(10, 10, 8, 0.34);
}

.contact-modal::backdrop {
  background: rgba(17, 17, 14, 0.72);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.contact-modal[open] {
  animation: modalIn 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  max-height: calc(100vh - 34px);
}

.contact-modal-close {
  top: 24px;
  right: 24px;
}

.contact-modal-aside {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 620px;
  flex-direction: column;
  justify-content: center;
  padding: 54px 36px;
  color: var(--white);
  background: linear-gradient(145deg, #3023bb, #5544ff 56%, #7a6fff);
}

.contact-modal-aside .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact-modal-aside .eyebrow-dot {
  background: var(--lime);
}

.contact-modal-aside h2 {
  margin: 28px 0 20px;
  font-family: var(--serif);
  font-size: clamp(34px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.05;
  white-space: nowrap;
}

.contact-modal-aside h2 em {
  color: var(--lime);
  font-style: italic;
}

.contact-modal-aside > p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.contact-aside-points {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.contact-aside-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.contact-aside-points b {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 9px;
  place-items: center;
}

.contact-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.contact-orbit-one {
  top: -120px;
  right: -130px;
  width: 360px;
  height: 360px;
}

.contact-orbit-two {
  right: -35px;
  bottom: -150px;
  width: 310px;
  height: 310px;
  background: rgba(223, 255, 80, 0.08);
}

.contact-modal-main {
  overflow-y: auto;
  max-height: calc(100vh - 34px);
  padding: 54px 48px 42px;
}

.contact-form-heading {
  padding-right: 42px;
}

.contact-form-heading > span,
.contact-success > span:nth-child(2) {
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.contact-form-heading h3,
.contact-success h3 {
  margin: 12px 0 9px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.contact-form-heading p,
.contact-success p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.contact-form-heading b {
  color: var(--coral);
}

.contact-form-grid {
  gap: 20px 16px;
  margin-top: 30px;
}

.contact-error {
  margin: 14px 0 0;
  color: #b7271c;
  font-size: 12px;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-form-footer > span {
  max-width: 230px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.contact-form-footer .button {
  min-height: 50px;
  min-width: 170px;
  white-space: nowrap;
}

.contact-success {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contact-success-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-size: 24px;
  font-weight: 800;
  place-items: center;
}

@media (max-width: 820px) {
  .contact-modal {
    max-height: calc(100vh - 20px);
  }

  .contact-modal-shell {
    display: block;
    overflow-y: auto;
    max-height: calc(100vh - 20px);
  }

  .contact-modal-aside {
    min-height: 270px;
    padding: 40px 28px 32px;
  }

  .contact-modal-aside h2 {
    margin-top: 22px;
    font-size: 34px;
    white-space: normal;
  }

  .contact-aside-points {
    display: none;
  }

  .contact-modal-main {
    overflow: visible;
    max-height: none;
    padding: 42px 28px 34px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

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