/* Coque des planches. Sidebar opaque, specimens surface-1, étiquettes mono. */

.yc-planche__shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100svh;
}

.yc-planche__side {
  position: sticky;
  top: 0;
  z-index: var(--yc-z-sticky);
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: var(--yc-space-4) var(--yc-space-3);
  padding: var(--yc-space-5) var(--yc-space-4);
  background: var(--yc-surface-1);
  border-bottom: 1px solid var(--yc-line);
}

.yc-planche__brand {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-height: var(--yc-size-touch);
  color: var(--yc-text-1);
  text-decoration: none;
}

.yc-planche__brand:hover {
  color: var(--yc-text-1);
}

.yc-mark {
  width: var(--yc-size-mark);
  height: var(--yc-size-mark);
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-2);
  color: var(--yc-text-1);
  font-family: var(--yc-font-display);
  font-weight: var(--yc-fw-bold);
  font-size: 12px;
  letter-spacing: var(--yc-ls-ui);
}

.yc-word {
  font-weight: var(--yc-fw-bold);
  font-size: 15px;
  letter-spacing: var(--yc-ls-wordmark);
  color: var(--yc-text-1);
}

.yc-word span {
  color: var(--yc-text-2);
  font-weight: var(--yc-fw-medium);
}

.yc-planche__toggle {
  margin-left: auto;
  width: var(--yc-size-touch);
  height: var(--yc-size-touch);
  border-radius: var(--yc-radius-md);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
  color: var(--yc-text-1);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.yc-planche__toggle:hover {
  background: var(--yc-surface-2);
  border-color: var(--yc-line-hover);
}

.yc-planche__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}

.yc-planche__nav {
  display: none;
  flex: 1 0 100%;
  flex-direction: column;
  gap: var(--yc-space-6);
}

.yc-planche__side.is-open .yc-planche__nav {
  display: flex;
}

.yc-planche__group p {
  margin: 0 0 8px;
}

.yc-planche__group a {
  display: flex;
  align-items: center;
  min-height: var(--yc-size-touch);
  padding: 0 12px;
  border-radius: var(--yc-radius-sm);
  color: var(--yc-text-2);
  text-decoration: none;
  font-size: var(--yc-fs-small);
  font-weight: var(--yc-fw-medium);
  letter-spacing: var(--yc-ls-ui);
}

.yc-planche__group a:hover,
.yc-planche__group a[aria-current="true"],
.yc-planche__group a[aria-current="page"] {
  color: var(--yc-text-1);
  background: var(--yc-surface-2);
}

.yc-planche__main {
  min-width: 0;
  padding: var(--yc-space-8) var(--yc-gutter-mobile) var(--yc-space-24);
}

.yc-planche__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--yc-space-6);
  margin-bottom: var(--yc-space-12);
  padding-bottom: var(--yc-space-6);
  border-bottom: 1px solid var(--yc-line);
}

.yc-planche__top h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--yc-fw-extrabold);
  letter-spacing: var(--yc-ls-h2);
  line-height: var(--yc-lh-h2);
}

.yc-planche__top p {
  max-width: 58ch;
  margin-top: 12px;
  color: var(--yc-text-2);
}

.yc-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.yc-brand-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--yc-radius-full);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
}

.yc-brand-switch button {
  min-height: var(--yc-size-touch);
  padding: 0 16px;
  border: 0;
  border-radius: var(--yc-radius-full);
  background: transparent;
  color: var(--yc-text-2);
  font-size: 14px;
  font-weight: var(--yc-fw-bold);
  letter-spacing: var(--yc-ls-ui);
  cursor: pointer;
}

.yc-brand-switch button:hover {
  color: var(--yc-text-1);
  background: var(--yc-surface-2);
}

.yc-brand-switch button[aria-pressed="true"] {
  background: var(--yc-text-1);
  color: var(--yc-bg);
}

.yc-brand-switch button[aria-pressed="true"]:hover {
  background: var(--yc-text-1);
  color: var(--yc-bg);
}

.yc-section {
  padding: var(--yc-space-12) 0;
}

.yc-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--yc-fw-extrabold);
  letter-spacing: var(--yc-ls-h2);
  margin-bottom: 12px;
}

.yc-section > .yc-lead {
  margin-bottom: var(--yc-space-8);
}

.yc-spec-grid {
  display: grid;
  gap: var(--yc-space-6);
}

.yc-spec {
  border-radius: var(--yc-radius-lg);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
  overflow: hidden;
}

.yc-stack {
  display: grid;
  gap: var(--yc-space-6);
}

.yc-spec__label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 14px 18px;
  border-bottom: 1px solid var(--yc-line);
  font-family: var(--yc-font-mono);
  font-size: 12px;
  letter-spacing: var(--yc-ls-kicker);
  text-transform: uppercase;
  color: var(--yc-text-3);
}

.yc-spec__label b {
  font-weight: var(--yc-fw-medium);
  color: var(--yc-text-3);
  letter-spacing: var(--yc-ls-kicker);
}

.yc-spec__stage {
  padding: 24px 18px;
}

.yc-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 14px 14px 14px 18px;
  background: var(--yc-bg);
  border-top: 1px solid var(--yc-line);
  color: var(--yc-text-2);
  font-family: var(--yc-font-mono);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  overflow: auto;
}

.yc-code code {
  white-space: pre-wrap;
  word-break: break-word;
}

.yc-copy {
  min-height: var(--yc-size-touch);
  padding: 0 12px;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
  color: var(--yc-text-1);
  font-family: var(--yc-font-mono);
  font-size: 11px;
  letter-spacing: var(--yc-ls-kicker);
  text-transform: uppercase;
  cursor: pointer;
}

.yc-copy:hover {
  border-color: var(--yc-line-hover);
  background: var(--yc-surface-2);
  color: var(--yc-text-1);
}

.yc-states {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.yc-state {
  min-height: 108px;
  padding: 14px;
  border-radius: var(--yc-radius-md);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.yc-state span {
  font-family: var(--yc-font-mono);
  font-size: 11px;
  letter-spacing: var(--yc-ls-kicker);
  text-transform: uppercase;
  color: var(--yc-text-3);
}

.yc-preview__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.yc-preview__bar button {
  min-height: var(--yc-size-touch);
  padding: 0 14px;
  border-radius: var(--yc-radius-md);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  color: var(--yc-text-2);
  font-size: var(--yc-fs-small);
  font-weight: var(--yc-fw-bold);
  letter-spacing: var(--yc-ls-ui);
  cursor: pointer;
}

.yc-preview__bar button:hover,
.yc-preview__bar button[aria-pressed="true"] {
  color: var(--yc-text-1);
  border-color: var(--yc-line-hover);
  background: var(--yc-surface-2);
}

.yc-preview__frame {
  width: 100%;
  margin-inline: auto;
  border-radius: var(--yc-radius-lg);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  padding: 8px 16px 4px;
  overflow: hidden;
  transition: max-width var(--yc-duration-base) var(--yc-ease-out);
}

.yc-preview.is-mobile .yc-preview__frame {
  max-width: var(--yc-preview-mobile);
}

.yc-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
  gap: 12px;
}

.yc-swatch {
  border-radius: var(--yc-radius-md);
  border: 1px solid var(--yc-line);
  overflow: hidden;
  background: var(--yc-bg);
}

.yc-swatch i {
  display: block;
  height: 72px;
  border-bottom: 1px solid var(--yc-line);
}

.yc-swatch p,
.yc-swatch small {
  display: block;
  padding: 0 12px;
}

.yc-swatch p {
  margin-top: 10px;
  color: var(--yc-text-1);
  font-size: 14px;
  font-weight: var(--yc-fw-bold);
  letter-spacing: var(--yc-ls-ui);
}

.yc-swatch small {
  padding-top: 4px;
  padding-bottom: 12px;
  color: var(--yc-text-3);
  font-family: var(--yc-font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.yc-table-wrap {
  overflow-x: auto;
}

.yc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}

.yc-table th,
.yc-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--yc-line);
  vertical-align: middle;
}

.yc-table th {
  font-family: var(--yc-font-mono);
  font-size: 12px;
  font-weight: var(--yc-fw-medium);
  letter-spacing: var(--yc-ls-kicker);
  text-transform: uppercase;
  color: var(--yc-text-2);
}

.yc-table td:nth-child(2) {
  min-width: 200px;
  color: var(--yc-text-2);
}

.yc-pass {
  color: var(--yc-text-1);
  font-weight: var(--yc-fw-bold);
}

.yc-fail {
  color: var(--yc-danger);
  font-weight: var(--yc-fw-bold);
}

.yc-pair {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 32px;
  padding: 4px 8px;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  font-size: 13px;
  font-weight: var(--yc-fw-bold);
}

.yc-bars {
  display: grid;
  gap: 10px;
}

.yc-bar {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  font-family: var(--yc-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--yc-text-3);
}

.yc-bar b {
  display: block;
  height: 8px;
  border-radius: var(--yc-radius-full);
  background: var(--yc-text-2);
  max-width: 100%;
}

.yc-columns {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
  min-height: 72px;
}

.yc-columns span {
  background: var(--yc-surface-2);
  border: 1px solid var(--yc-line);
  border-radius: var(--yc-radius-sm);
}

.yc-bp {
  display: grid;
  gap: 8px;
}

.yc-bp div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  color: var(--yc-text-2);
  font-size: 14px;
}

.yc-bp i {
  height: 8px;
  border-radius: var(--yc-radius-full);
  background: var(--yc-text-2);
}

.yc-radii {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.yc-radii div {
  width: 96px;
  height: 96px;
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  display: grid;
  place-items: end start;
  padding: 8px;
  color: var(--yc-text-3);
  font-family: var(--yc-font-mono);
  font-size: 11px;
}

.yc-elev {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.yc-elev article {
  min-height: 120px;
  padding: 16px;
  border-radius: var(--yc-radius-lg);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  color: var(--yc-text-1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.yc-elev small,
.yc-glass-demo figcaption,
.yc-icon-row figcaption {
  font-family: var(--yc-font-mono);
  font-size: 11px;
  letter-spacing: var(--yc-ls-kicker);
  text-transform: uppercase;
  color: var(--yc-text-3);
}

.yc-role-row {
  display: grid;
  gap: 10px;
}

.yc-role {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  color: var(--yc-text-1);
}

.yc-role p {
  color: var(--yc-text-2);
  font-size: 14px;
}

.yc-role strong {
  display: block;
  color: var(--yc-text-1);
  font-size: 14px;
}

.yc-icon {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yc-check {
  color: var(--yc-accent);
}

.yc-glass-demo {
  position: relative;
  display: grid;
  border-radius: var(--yc-radius-lg);
  overflow: hidden;
  border: 1px solid var(--yc-line);
  min-height: 520px;
}

.yc-glass-demo img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 70% 30%;
}

.yc-glass-demo .yc-panes {
  grid-area: 1 / 1;
  align-self: end;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.yc-pane {
  padding: 16px 18px;
  border-radius: var(--yc-radius-lg);
  color: var(--yc-text-1);
}

.yc-pane strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.yc-pane p {
  color: var(--yc-text-2);
  font-size: 14px;
  line-height: 1.5;
  max-width: 42ch;
}

.yc-pane small {
  display: block;
  margin-top: 8px;
  font-family: var(--yc-font-mono);
  font-size: 11px;
  letter-spacing: var(--yc-ls-kicker);
  text-transform: uppercase;
  color: var(--yc-text-3);
}

.yc-pane--header {
  background: var(--yc-glass-header-bg);
  border: 1px solid var(--yc-line);
  -webkit-backdrop-filter: blur(var(--yc-glass-header-blur));
  backdrop-filter: blur(var(--yc-glass-header-blur));
}

.yc-pane--float {
  background: var(--yc-glass-float-bg);
  border: 1px solid var(--yc-line);
  -webkit-backdrop-filter: blur(var(--yc-glass-float-blur));
  backdrop-filter: blur(var(--yc-glass-float-blur));
  box-shadow: var(--yc-shadow-2);
}

.yc-z {
  display: grid;
  gap: 8px;
}

.yc-z div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  color: var(--yc-text-1);
  font-size: 14px;
}

.yc-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yc-icon-row figure {
  margin: 0;
  width: 96px;
  min-height: 96px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: var(--yc-radius-md);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
  color: var(--yc-text-1);
}

.yc-motion-track {
  display: grid;
  gap: 14px;
}

.yc-motion-row {
  display: grid;
  grid-template-columns: minmax(72px, 96px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.yc-motion-lane {
  height: 48px;
  border-radius: var(--yc-radius-full);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  position: relative;
  overflow: hidden;
}

.yc-motion-pip {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 84px;
  height: 34px;
  border-radius: var(--yc-radius-full);
  background: var(--yc-text-1);
  color: var(--yc-bg);
  font-size: 12px;
  font-weight: var(--yc-fw-bold);
  letter-spacing: var(--yc-ls-ui);
  display: grid;
  place-items: center;
}

.yc-motion-lane:hover .yc-motion-pip {
  transform: translateX(36px);
}

.yc-pip-fast { transition: transform var(--yc-duration-fast) var(--yc-ease-out); }
.yc-pip-base { transition: transform var(--yc-duration-base) var(--yc-ease-out); }
.yc-pip-enter { transition: transform var(--yc-duration-enter) var(--yc-ease-out); }

.yc-parallax-box {
  position: relative;
  height: 180px;
  border-radius: var(--yc-radius-lg);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg-2);
  overflow: hidden;
}

.yc-parallax-card {
  position: absolute;
  right: 16%;
  top: 28%;
  width: min(200px, 70%);
  padding: 14px 16px;
  border-radius: var(--yc-radius-lg);
  background: var(--yc-glass-float-bg);
  border: 1px solid var(--yc-line);
  -webkit-backdrop-filter: blur(var(--yc-glass-float-blur));
  backdrop-filter: blur(var(--yc-glass-float-blur));
  color: var(--yc-text-1);
  font-size: 14px;
  font-weight: var(--yc-fw-bold);
}

.yc-ratios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.yc-ratio {
  margin: 0;
}

.yc-ratio div {
  position: relative;
  overflow: hidden;
  border-radius: var(--yc-radius-lg);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
}

.yc-ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yc-ratio div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yc-overlay-bottom);
  pointer-events: none;
}

.yc-ratio figcaption {
  margin-top: 8px;
  font-family: var(--yc-font-mono);
  font-size: 12px;
  letter-spacing: var(--yc-ls-kicker);
  text-transform: uppercase;
  color: var(--yc-text-3);
}

.yc-type-row {
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--yc-line);
}

.yc-type-row small {
  display: block;
  margin-bottom: 8px;
}

.yc-weights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  color: var(--yc-text-1);
  font-size: 28px;
  letter-spacing: -0.02em;
}

.yc-bans {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yc-ban {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--yc-radius-full);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  color: var(--yc-text-2);
  font-size: 13px;
  letter-spacing: var(--yc-ls-ui);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.yc-ban i {
  width: 10px;
  height: 10px;
  border-radius: var(--yc-radius-full);
  flex: none;
}

.yc-ban-grad {
  width: min(100%, 280px);
  height: 28px;
  border-radius: var(--yc-radius-full);
  border: 1px solid var(--yc-line);
  background: linear-gradient(90deg, #22d3ee, #60a5fa, #a78bfa);
  position: relative;
}

.yc-ban-grad::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1px;
  background: var(--yc-text-1);
}

.yc-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
  color: var(--yc-text-2);
  font-family: var(--yc-font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.yc-tag--accent {
  background: transparent;
  border-color: color-mix(in srgb, var(--yc-accent) 30%, transparent);
  color: var(--yc-accent);
}

.yc-text-link {
  color: var(--yc-accent);
  font-weight: var(--yc-fw-bold);
  font-size: 14px;
  letter-spacing: var(--yc-ls-ui);
}

.yc-text-link:hover {
  color: var(--yc-accent-hover);
}

.yc-spinner {
  width: 16px;
  height: 16px;
  border-radius: var(--yc-radius-full);
  border: 1.5px solid var(--yc-line-hover);
  border-top-color: var(--yc-text-1);
  animation: yc-spin 800ms linear infinite;
}

@keyframes yc-spin {
  to { transform: rotate(360deg); }
}

.yc-show-focus {
  outline: 2px solid var(--yc-accent);
  outline-offset: 2px;
  box-shadow: var(--yc-glow-focus);
}

.yc-home {
  position: relative;
  z-index: var(--yc-z-content);
}

.yc-home-header {
  position: sticky;
  top: 0;
  z-index: var(--yc-z-sticky);
  padding: 12px 12px 0;
}

.yc-home-nav {
  width: min(var(--yc-nav-max), 100%);
  margin-inline: auto;
  min-height: var(--yc-size-nav);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border-radius: var(--yc-radius-lg);
  border: 1px solid var(--yc-line);
  background: var(--yc-glass-header-bg);
  -webkit-backdrop-filter: blur(var(--yc-glass-header-blur));
  backdrop-filter: blur(var(--yc-glass-header-blur));
}

.yc-home-nav .yc-planche__brand {
  margin-right: auto;
}

.yc-home-nav a.yc-navlink {
  display: none;
  color: var(--yc-text-2);
  text-decoration: none;
  font-size: var(--yc-fs-small);
  font-weight: var(--yc-fw-medium);
  letter-spacing: var(--yc-ls-ui);
  padding: 8px 10px;
  min-height: var(--yc-size-touch);
  align-items: center;
  border-radius: var(--yc-radius-sm);
}

.yc-home-nav a.yc-navlink:hover {
  color: var(--yc-text-1);
  background: var(--yc-surface-2);
}

.yc-home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 0 32px;
}

.yc-home-hero img.yc-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 16%;
}

.yc-home-float {
  display: none;
}

.yc-home-hero .yc-scrim {
  position: absolute;
  inset: 0;
  background: var(--yc-overlay-mobile);
}

.yc-home-hero .yc-halo {
  position: absolute;
  inset: 0;
  background: var(--yc-hero-halo);
  pointer-events: none;
}

.yc-home-copy {
  position: relative;
  z-index: var(--yc-z-hero);
  width: min(640px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.yc-home-copy h1 {
  font-weight: var(--yc-fw-black);
  font-size: var(--yc-fs-h1-mobile);
  line-height: 1.12;
  letter-spacing: var(--yc-ls-h1);
  max-width: 16ch;
}

.yc-home-copy h1 .yc-grad-text {
  display: block;
}

.yc-home-meta {
  margin: 0;
  font-family: var(--yc-font-mono);
  font-size: 12px;
  font-weight: var(--yc-fw-medium);
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--yc-text-3);
}

.yc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--yc-size-control-md);
  padding: 0 22px;
  border-radius: var(--yc-radius-md);
  border: 1px solid transparent;
  font-size: var(--yc-fs-small);
  font-weight: var(--yc-fw-bold);
  letter-spacing: var(--yc-ls-ui);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--yc-duration-fast) var(--yc-ease-out), border-color var(--yc-duration-fast) var(--yc-ease-out), transform var(--yc-duration-fast) var(--yc-ease-out), box-shadow var(--yc-duration-fast) var(--yc-ease-out);
}

.yc-btn--primary {
  background: var(--yc-text-1);
  color: var(--yc-bg);
  box-shadow: var(--yc-shadow-1);
}

.yc-btn--primary:hover {
  background: color-mix(in srgb, var(--yc-text-1) 88%, black);
  color: var(--yc-bg);
  box-shadow: var(--yc-glow-cta);
}

.yc-btn--outline {
  background: transparent;
  color: var(--yc-text-2);
  border-color: var(--yc-line-hover);
}

.yc-btn--outline:hover {
  color: var(--yc-text-1);
  border-color: var(--yc-text-3);
  background: var(--yc-surface-2);
}

.yc-btn--wa {
  background: var(--yc-wa);
  color: var(--yc-bg);
  padding-inline: 28px;
}

.yc-btn--wa:hover {
  background: color-mix(in srgb, var(--yc-wa) 86%, white);
  color: var(--yc-bg);
}

.yc-btn:disabled,
.yc-btn[disabled] {
  opacity: var(--yc-opacity-disabled);
  cursor: not-allowed;
  box-shadow: none;
}

.yc-btn:active {
  transform: translateY(var(--yc-press));
}

.yc-btn:disabled:active,
.yc-btn[disabled]:active {
  transform: none;
}

.yc-levels,
.yc-principles,
.yc-sites {
  position: relative;
  padding: var(--yc-band) 0;
}

.yc-levels {
  background: var(--yc-bg-2);
}

.yc-level-grid {
  display: grid;
  gap: 16px;
}

.yc-level {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 168px;
  padding: 22px;
  border-radius: var(--yc-radius-lg);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
  color: inherit;
  text-decoration: none;
  transition: background var(--yc-duration-fast) var(--yc-ease-out), border-color var(--yc-duration-fast) var(--yc-ease-out);
}

.yc-level:hover {
  background: var(--yc-surface-2);
  border-color: var(--yc-line-hover);
  color: inherit;
}

.yc-level h3 {
  font-size: var(--yc-fs-h3-card);
  font-weight: var(--yc-fw-bold);
}

.yc-level p {
  color: var(--yc-text-2);
  font-size: 15px;
  line-height: 1.5;
  max-width: 36ch;
}

.yc-bento {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.yc-bento__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 16px;
  border-radius: var(--yc-radius-lg);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition:
    background-color var(--yc-duration-fast) var(--yc-ease-out),
    border-color var(--yc-duration-fast) var(--yc-ease-out),
    transform var(--yc-duration-fast) var(--yc-ease-out);
}

.yc-bento__card:hover {
  background: var(--yc-surface-2);
  border-color: var(--yc-line-hover);
  color: inherit;
}

.yc-bento__card:hover h3,
.yc-bento__card:hover p {
  color: var(--yc-text-1);
}

.yc-bento__card:hover p {
  color: var(--yc-text-2);
}

.yc-bento__card:active {
  transform: translateY(var(--yc-press));
}

.yc-bento__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: var(--yc-radius-md);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  overflow: hidden;
}

.yc-bento__body h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: var(--yc-fw-bold);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.yc-bento__body h3 .yc-icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--yc-text-2);
}

.yc-bento__body p {
  margin-top: 6px;
  color: var(--yc-text-2);
  font-size: 14px;
  line-height: 1.5;
  max-width: 36ch;
}

.yc-bento__swatches {
  display: grid;
  grid-template-columns: repeat(4, 28px);
  gap: 8px;
}

.yc-bento__swatches i {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
}

.yc-bento__btns,
.yc-bento__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.yc-bento__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--yc-radius-md);
  border: 1px solid var(--yc-line);
  background: transparent;
  color: var(--yc-text-2);
  font-size: 13px;
  font-weight: var(--yc-fw-bold);
  letter-spacing: 0.02em;
  line-height: 1;
}

.yc-bento__btn--solid {
  background: var(--yc-text-1);
  border-color: transparent;
  color: var(--yc-bg);
}

.yc-bento__mini {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 240px);
  padding: 10px;
  border-radius: var(--yc-radius-md);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
}

.yc-bento__mini-media {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-2);
}

.yc-bento__mini-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--yc-text-2);
  font-size: 13px;
  line-height: 1.35;
}

.yc-bento__mini-copy b {
  color: var(--yc-text-1);
  font-size: 14px;
  font-weight: var(--yc-fw-bold);
}

.yc-bento__nav {
  justify-content: flex-start;
  width: min(100%, 320px);
  padding: 8px;
  border-radius: var(--yc-radius-md);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
  color: var(--yc-text-2);
  font-size: 13px;
  font-weight: var(--yc-fw-medium);
  letter-spacing: 0.02em;
}

.yc-bento__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  background: var(--yc-bg);
  color: var(--yc-text-1);
  font-size: 12px;
  font-weight: var(--yc-fw-bold);
  letter-spacing: 0.04em;
}

.yc-bento__nav .yc-bento__btn {
  margin-left: auto;
}

.yc-bento__wire {
  display: grid;
  gap: 8px;
  width: min(100%, 168px);
}

.yc-bento__wire i {
  display: block;
  height: 12px;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-2);
}

.yc-bento__wire i:first-child {
  height: 36px;
}

.yc-bento__wire i:nth-child(2) {
  width: 70%;
  height: 16px;
}

.yc-bento__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: min(100%, 280px);
}

.yc-bento__pair > span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-radius: var(--yc-radius-sm);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
  color: var(--yc-text-2);
  font-size: 13px;
  line-height: 1.35;
}

.yc-bento__pair b {
  color: var(--yc-text-1);
  font-size: 12px;
  font-weight: var(--yc-fw-bold);
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.yc-principle {
  display: grid;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--yc-line);
}

.yc-principle h3 {
  font-size: 1.25rem;
  font-weight: var(--yc-fw-bold);
}

.yc-principle p {
  max-width: 62ch;
  color: var(--yc-text-2);
}

.yc-site-list {
  display: grid;
  gap: 12px;
}

.yc-site-list article {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--yc-radius-lg);
  border: 1px solid var(--yc-line);
  background: var(--yc-surface-1);
}

.yc-site-list strong {
  color: var(--yc-text-1);
}

.yc-site-list span {
  color: var(--yc-text-2);
  font-size: 14px;
  line-height: 1.5;
}

.yc-note {
  margin-top: 20px;
  font-family: var(--yc-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--yc-text-3);
}

@media (max-width: 767px) {
  .yc-home-nav .yc-word {
    display: none;
  }

  .yc-home-nav .yc-brand-switch button {
    padding-inline: 12px;
  }
}

@media (min-width: 768px) {
  .yc-home-hero {
    align-items: center;
  }

  .yc-home-hero img.yc-hero-photo {
    object-position: center 20%;
  }

  .yc-bento {
    grid-template-columns: 1fr 1fr;
  }

  .yc-bento__card--foundations {
    grid-column: 1 / -1;
  }

  .yc-home-hero .yc-scrim {
    background: var(--yc-overlay-desktop);
  }

  .yc-home-copy {
    width: min(640px, calc(100% - 80px));
    margin-left: max(28px, calc((100% - 1280px) / 2));
    margin-right: auto;
  }

  .yc-home-copy h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
  }

  .yc-level-grid {
    grid-template-columns: 1fr 1fr;
  }

  .yc-glass-demo .yc-panes {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    padding: 20px;
  }

  .yc-spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .yc-planche__shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .yc-planche__side {
    top: 0;
    height: 100svh;
    border-bottom: 0;
    border-right: 1px solid var(--yc-line);
    overflow: auto;
    padding: var(--yc-space-6) var(--yc-space-4);
  }

  .yc-planche__toggle {
    display: none;
  }

  .yc-planche__nav {
    display: flex;
  }

  .yc-planche__main {
    padding: var(--yc-space-12) var(--yc-space-10) var(--yc-space-24);
  }

  .yc-home-nav a.yc-navlink {
    display: inline-flex;
  }

  .yc-level-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .yc-bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(168px, auto);
  }

  .yc-bento__card--foundations {
    grid-column: span 3;
    grid-row: span 2;
  }

  .yc-bento__card--atoms,
  .yc-bento__card--molecules {
    grid-column: span 3;
  }

  .yc-bento__card--organisms,
  .yc-bento__card--templates,
  .yc-bento__card--rules {
    grid-column: span 2;
  }

  .yc-bento__card--foundations .yc-bento__preview {
    flex: 1;
    min-height: 200px;
  }

  .yc-bento__card--foundations .yc-bento__swatches {
    grid-template-columns: repeat(4, 40px);
    gap: 12px;
  }

  .yc-bento__card--foundations .yc-bento__swatches i {
    width: 40px;
    height: 40px;
  }

  .yc-home-float {
    display: block;
    position: absolute;
    z-index: var(--yc-z-float);
    overflow: hidden;
    border-radius: var(--yc-radius-lg);
    border: 1px solid var(--yc-line);
    background: var(--yc-glass-float-bg);
    -webkit-backdrop-filter: blur(var(--yc-glass-float-blur));
    backdrop-filter: blur(var(--yc-glass-float-blur));
    box-shadow: var(--yc-shadow-3);
    pointer-events: none;
  }

  .yc-home-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .yc-home-float--a {
    width: 188px;
    height: 112px;
    top: 96px;
    right: 36px;
  }

  .yc-home-float--b {
    width: 120px;
    height: 188px;
    right: 64px;
    bottom: 36px;
  }

  .yc-site-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1023px) {
  .yc-home-burger {
    margin-left: auto;
    width: var(--yc-size-touch);
    height: var(--yc-size-touch);
    border-radius: var(--yc-radius-md);
    border: 1px solid var(--yc-line);
    background: transparent;
    color: var(--yc-text-1);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }

  .yc-home-burger:hover {
    background: var(--yc-surface-2);
    border-color: var(--yc-line-hover);
  }

  .yc-home-burger span {
    width: 16px;
    height: 1.5px;
    background: currentColor;
  }

  .yc-home-sheet {
    margin: 8px auto 0;
    width: min(var(--yc-nav-max), 100%);
    padding: 8px;
    border-radius: var(--yc-radius-lg);
    border: 1px solid var(--yc-line);
    background: var(--yc-surface-1);
  }

  .yc-home-sheet a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: var(--yc-radius-sm);
    color: var(--yc-text-2);
    text-decoration: none;
    font-weight: var(--yc-fw-medium);
  }

  .yc-home-sheet a:hover {
    color: var(--yc-text-1);
    background: var(--yc-surface-2);
  }
}

@media (min-width: 1024px) {
  .yc-home-burger,
  .yc-home-sheet {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yc-btn:active,
  .yc-bento__card:active,
  .yc-motion-lane:hover .yc-motion-pip,
  .yc-spinner {
    transform: none;
    animation: none;
  }
}
