@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2)
    format("woff2");
}

:root {
  --yp-bg: #0c0d11;
  --yp-text: #f2f2f2;
  --yp-text-dim: rgba(220, 220, 220, 0.78);
  --yp-text-faint: rgba(220, 220, 220, 0.5);
  --yp-line: rgba(255, 255, 255, 0.2);
  --yp-ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--yp-bg);
  color: var(--yp-text);
  font-family: "Figtree", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

.glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.glow::before {
  content: "";
  position: absolute;
  top: -18%;
  left: 50%;
  width: 130%;
  height: 85%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 72% 70% at 50% 0%,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.1) 36%,
    rgba(255, 255, 255, 0.03) 58%,
    transparent 74%
  );
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding:
    calc(28px + env(safe-area-inset-top, 0px))
    24px
    calc(28px + env(safe-area-inset-bottom, 0px));
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.brand__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.brand__word {
  margin: 0;
  font-family: "Figtree", sans-serif;
  font-size: 22px;
  font-weight: 500;
  font-stretch: 100%;
  font-synthesis: none;
  letter-spacing: 0.3em;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  transform: none;
}

.brand__tag {
  margin: 0;
  font-family: "Figtree", sans-serif;
  font-size: 8px;
  font-weight: 400;
  font-stretch: 100%;
  font-synthesis: none;
  letter-spacing: 0.48em;
  line-height: 1;
  color: #fff;
  padding-right: 0.48em;
  transform: none;
}

main {
  flex: 1 1 auto;
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 56px 0 64px;
}

.kicker {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yp-text-faint);
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.038em;
  line-height: 1.15;
}

h2 {
  margin: 32px 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yp-text-faint);
}

.faq-item {
  margin: 0 0 32px;
}

.faq-item h2 {
  margin: 0 0 10px;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-transform: none;
  color: var(--yp-text);
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-section {
  margin: 0 0 40px;
}

.faq-section__title {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yp-text-faint);
}

.faq-details {
  margin: 0 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-details[open] {
  background: rgba(255, 255, 255, 0.05);
}

.faq-details summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 44px 16px 18px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--yp-text);
  position: relative;
}

.faq-details summary::-webkit-details-marker {
  display: none;
}

.faq-details summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-right: 1.5px solid var(--yp-text-faint);
  border-bottom: 1.5px solid var(--yp-text-faint);
  transform: rotate(45deg);
  transition: transform 0.2s var(--yp-ease);
}

.faq-details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.faq-details summary:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: -2px;
  border-radius: 14px;
}

.faq-details__body {
  padding: 0 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-details__body p:last-child {
  margin-bottom: 0;
}

h3 {
  margin: 24px 0 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--yp-text);
}

strong {
  color: var(--yp-text);
}

p,
li {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--yp-text-dim);
}

ul {
  margin: 0 0 14px;
  padding-left: 1.15em;
}

ul ul {
  margin: 8px 0 0;
}

a {
  color: var(--yp-text);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-top: 8px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--yp-text-faint);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus-visible,
.site-footer__link[aria-current="page"] {
  color: var(--yp-text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 28px;
}

@media (min-width: 560px) {
  .swatches {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.swatch {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.swatch__chip {
  height: 72px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.swatch__chip--canvas {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.swatch__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.swatch__name {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--yp-text);
}

.swatch__hex {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--yp-text-faint);
}

.words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}

.word {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--yp-text);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.mark-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 8px 0 28px;
}

.mark-row img {
  display: block;
  height: 28px;
  width: auto;
}

.mark {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.mark__ring,
.mark__core {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}

.mark__ring {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mark__ring--mid {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.36);
}

.mark__core {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.28);
}

.type-sample {
  margin: 0 0 8px;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.038em;
  line-height: 1.15;
  color: var(--yp-text);
}

.type-meta {
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--yp-text-faint);
}

.site-footer__copy {
  margin: 0;
  color: var(--yp-text-faint);
  font-size: 12px;
  letter-spacing: 0.02em;
}
