@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --pink: #c83565;
  --pink-deep: #a11d4b;
  --ink: #1e171a;
  --text: #2e2629;
  --muted: #554b4f;
  --blush: #fff1f4;
  --blush-2: #ffe3ea;
  --line: #ece4e8;
  --paper: #ffffff;
  --success: #218041;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --gutter: 16px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 500 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--pink-deep); text-underline-offset: 3px; }
a:hover { color: var(--pink); }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--blush); padding: 1px 6px; border-radius: 6px; }
pre { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font-size: 13px; }
pre code { background: none; padding: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 14ch; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
h3 { font-size: 1.3rem; margin: 40px 0 14px; letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; margin-bottom: 6px; letter-spacing: -0.015em; }
.pink { color: var(--pink); }
ul { padding-left: 1.2em; margin: 0 0 12px; }
li { margin: 4px 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.top-logo img { width: 140px; height: auto; }
.top-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.top-nav::-webkit-scrollbar { display: none; }
.top-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.top-nav a:hover { background: var(--blush); color: var(--ink); }
@media (max-width: 719px) {
  .top-inner { flex-direction: column; align-items: flex-start; gap: 4px; height: auto; padding-top: 10px; padding-bottom: 6px; }
  .top-logo img { width: 120px; }
  .top-nav { margin-left: -10px; max-width: calc(100% + 10px); flex-wrap: wrap; gap: 0 2px; overflow: visible; }
  .top-nav a { padding: 4px 9px; }
  html { scroll-padding-top: 120px; }
}

/* Hero */
.hero { background: var(--blush); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.eyebrow { font-weight: 700; color: var(--pink-deep); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; margin: 0 0 12px; }
.lede { font-size: 1.15rem; max-width: 46ch; margin: 18px 0 26px; }
.btn { display: inline-block; background: var(--pink); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 999px; }
.btn:hover { background: #ac2152; color: #fff; }

/* Sections */
.sec { padding: 64px 0; }
.sec.alt { background: #fffafb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { font-size: 1.05rem; max-width: 62ch; margin: 0 0 8px; }
.note { color: var(--muted); margin-top: 28px; }
.cols { display: grid; gap: 8px 40px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; } }

.ticks, .crosses { list-style: none; padding: 0; }
.ticks li::before, .crosses li::before { display: inline-block; width: 1.4em; font-weight: 800; }
.ticks li::before { content: "\2713"; color: var(--success); }
.crosses li::before { content: "\2715"; color: var(--pink-deep); }

/* Grids */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .g2, .g4, .g3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } }

.logo-card { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.pair { display: grid; grid-template-columns: 1fr; }
.bg { display: flex; align-items: center; justify-content: center; padding: 28px; min-height: 130px; }
.bg.light { background: #fff; }
.bg.dark { background: var(--ink); }
.bg { position: relative; }
.bg.avoid img { opacity: 0.55; }
.tag { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.tag.ok { background: #e6f4ea; color: var(--success); }
.tag.no { background: var(--blush-2); color: var(--pink-deep); }
.bg img { max-height: 80px; width: auto; }
[data-logos="stacked"] .bg { min-height: 170px; }
[data-logos="stacked"] .bg img { max-height: 110px; }
[data-logos="icon"] .pair { grid-template-columns: 1fr 1fr; }
[data-logos="icon"] .bg img { max-height: 64px; }
.logo-card figcaption, .tile figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink); text-transform: capitalize; }
.logo-card figcaption a, .tile figcaption a { text-transform: none; font-weight: 700; }

.tile { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.tile img { margin: 24px auto; height: 96px; width: auto; }
.tile img.round { border-radius: 50%; }
.tile img.fav { height: 32px; margin: 56px auto; }
.tile figcaption { flex-wrap: wrap; justify-content: flex-start; }
.tile figcaption a { margin-left: 4px; }
.icons { margin-bottom: 20px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--ink); background: var(--blush); }
tr:last-child td { border-bottom: 0; }

/* Swatches */
.swatches { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .swatches { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .swatches { grid-template-columns: repeat(7, 1fr); } .swatches.big { grid-template-columns: repeat(3, 1fr); } }
.swatch { all: unset; cursor: pointer; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper); }
.swatch:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.chip { height: 84px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 8px; border-bottom: 1px solid var(--line); }
.big .chip { height: 130px; }
.copy { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--ink); opacity: 0; transition: opacity 0.15s; }
.swatch:hover .copy, .swatch:focus-visible .copy { opacity: 1; }
.sw-name { font-weight: 700; color: var(--ink); padding: 10px 12px 0; font-size: 14px; }
.sw-hex { font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); padding: 0 12px; }
.sw-use { font-size: 12.5px; color: var(--muted); padding: 2px 12px 12px; line-height: 1.4; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: all 0.2s; z-index: 20; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Type */
.specimen { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 20px; }
.label { font-weight: 700; color: var(--pink-deep); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; margin: 0 0 10px; }
.display-sample { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.035em; line-height: 1.02; color: var(--ink); margin: 0 0 14px; font-variation-settings: "opsz" 96; }
.body-sample { font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.4; margin: 0 0 14px; }
.meta { color: var(--muted); font-size: 14px; }

/* Voice */
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--blush); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; }
.quotes { list-style: none; padding: 0; }
.quotes li { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.2rem; letter-spacing: -0.02em; padding: 10px 0 10px 16px; border-left: 4px solid var(--pink); margin: 10px 0; }

audio { width: 100%; max-width: 420px; }

/* Motion */
.stings { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; margin-top: 20px; }
@media (min-width: 860px) { .stings { grid-template-columns: 2.2fr 1.25fr 0.75fr; } }
.sting { margin: 0; }
.sting video, .reel video { width: 100%; border-radius: 16px; background: var(--blush); border: 1px solid var(--line); }
.sting.v { max-width: 260px; }
@media (min-width: 860px) { .sting.v { max-width: none; } }
.sting figcaption { font-weight: 600; font-size: 14px; color: var(--ink); padding-top: 8px; }
.sting figcaption a { margin-left: 6px; }

/* Reels */
.reels { display: grid; gap: 28px 16px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 540px) { .reels { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .reels { grid-template-columns: repeat(3, 1fr); } }
.reel { margin: 0; }
.reel video { aspect-ratio: 9 / 16; object-fit: cover; }
.reel figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; }
.reel strong { font-family: var(--display); font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.reel span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.reel a { font-weight: 700; font-size: 14px; margin-top: 4px; }

.covers { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 900px) { .covers { grid-template-columns: repeat(9, 1fr); } }
.cover { margin: 0; }
.cover img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.cover figcaption { font-size: 12.5px; font-weight: 600; color: var(--ink); padding-top: 6px; line-height: 1.3; }

/* Footer */
.foot { padding: 40px 0 56px; }
.foot p { color: var(--muted); margin: 10px 0 0; }

/* Download buttons */
.logo-card figcaption, .tile figcaption { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; }
.cap { text-transform: capitalize; }
.dl { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.dl-group { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.dl-k { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-right: 2px; }
.chipbtn { display: inline-block; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--pink-deep); background: var(--blush); border: 1px solid var(--blush-2); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chipbtn:hover { background: var(--blush-2); color: var(--pink-deep); }
.logo-card figcaption a.chipbtn, .tile figcaption a.chipbtn { font-weight: 700; margin-left: 0; }
.small { font-size: 14px; color: var(--muted); max-width: 60ch; margin-top: 12px; }
