@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("dm-serif-display-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #141425;
  --muted: #525363;
  --accent: #3f27c8;
  --line: #dadbe4;
  --hero: #eeebfc;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; font: 400 16px/1.5 "DM Sans", Arial, sans-serif; }
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
a:focus-visible, summary:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #5945dc; outline-offset: 3px; }
:where(a, button, input, select, summary) { -webkit-tap-highlight-color: #d9d5ff80; }
.wrap { width: min(83.333333%, 1320px); margin-inline: auto; }
.sr, .symbols { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 5; background: white; padding: 8px 16px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.icon { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.header { position: relative; z-index: 2; background: white; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 66px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.logo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #4027c6; color: white; font-size: 21px; letter-spacing: -.12em; padding-right: 3px; }
.desktop-nav, .footer-inner nav, .header-actions { display: flex; align-items: center; }
.desktop-nav { gap: clamp(20px, 3vw, 46px); }
.desktop-nav a, .footer-inner nav a { font-weight: 550; font-size: 15px; line-height: 1.3; padding: 10px 0; }
.desktop-nav a:hover, .footer-inner nav a:hover, .back-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.account { display: inline-flex; justify-content: center; align-items: center; min-height: 38px; border-radius: 7px; background: #17162d; color: white; padding: 7px 20px; font-weight: 650; font-size: 15px; }
.account:hover { background: #36324e; }
.header-actions { gap: 8px; }
.mobile-menu { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hero); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#9888d859 .85px, transparent .95px); background-size: 22px 22px; background-position: center; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: 14px; }
.hero-copy { position: relative; z-index: 1; padding-block: clamp(30px, 3.6vw, 62px); }
.hero h1 { color: #12121c; font-weight: 800; font-size: clamp(60px, 5.8vw, 92px); letter-spacing: -.065em; line-height: .95; }
.hero h1 em { display: block; font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-style: italic; font-size: 1.065em; color: var(--accent); line-height: .98; letter-spacing: -.045em; }
.hero p { max-width: 425px; margin: 19px 0 22px; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.36; letter-spacing: -.025em; }
.hero-art { position: relative; width: 108%; max-width: none; height: auto; display: block; justify-self: center; mask-image: linear-gradient(to right,transparent,black 5%,black 95%,transparent),linear-gradient(to bottom,transparent,black 8%,black 91%,transparent); mask-composite: intersect; }
.search-form, .directory-form { display: flex; gap: 8px; }
.search-form { max-width: 510px; }
.search-field { flex: 1; display: flex; align-items: center; gap: 11px; min-width: 0; padding-inline: 15px 8px; color: #36334a; border: 1px solid #a8a4c0; border-radius: 8px; background: white; cursor: text; }
.search-field:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 0; height: 48px; outline: 0; font-size: 15px; }
.search-field input:focus-visible { outline: 0; }
.search-field input::placeholder { color: #646170; opacity: 1; }
.search-button { border: 1px solid transparent; border-radius: 8px; padding: 0 23px; min-height: 48px; color: white; background: var(--accent); font-weight: 700; }
.search-button:hover { background: #30209e; }
.content { padding-block: 33px 35px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
h2 { font-size: clamp(25px, 2.1vw, 34px); line-height: 1.15; letter-spacing: -.055em; font-weight: 750; }
.text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 15px; font-weight: 700; }
.text-link .icon { width: 16px; height: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.tool-grid, .collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px 16px; }
.tool { display: flex; position: relative; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 9px; padding: 18px 23px 18px 17px; min-height: 86px; background: white; transition: border-color .15s, background .15s; }
.tool:hover, .result-list a:hover { border-color: #a399dd; background: #faf9ff; }
.tool strong, .tool small { display: block; }
.tool strong { font-size: clamp(16px, 1.32vw, 21px); font-weight: 750; letter-spacing: -.045em; line-height: 1.25; }
.tool small { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.38; }
.tile { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 10px; color: #232138; }
.tile .icon { width: 28px; height: 28px; }
.rose { background: #ffd9e2; }.blue { background: #ccdeff; }.green { background: #d5f3d6; }
.lilac { background: #e2d7ff; }.yellow { background: #ffedb4; font-size: 26px; font-weight: 500; letter-spacing: -.07em; }.sky { background: #cceeff; }
.launch { position: absolute; right: 11px; top: 12px; width: 14px; height: 14px; }
.collections { margin-top: 33px; }
.collection { position: relative; display: flex; align-items: center; aspect-ratio: 3 / 1; min-height: 106px; padding: 14px clamp(16px,1.8vw,30px); isolation: isolate; overflow: hidden; border-radius: 10px; }
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .2s ease; }
.collection:hover img { transform: scale(1.035); }
.collection strong { font-size: clamp(19px,2vw,34px); line-height: 1.04; letter-spacing: -.05em; }
.pdf { background: #ddd6fb; }.audio { background: #ffefc4; }.photo { background: #cce9ff; }
footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 18px; }
.footer-inner .logo { width: 29px; height: 29px; font-size: 18px; border-radius: 6px; }
.footer-inner .wordmark { font-size: 20px; }
.footer-inner nav { flex-wrap: wrap; gap: 24px; }
.footer-inner nav a { font-size: 14px; }
.directory { min-height: 66vh; max-width: 1050px; padding-block: 34px 50px; }
.back-link { display: inline-flex; gap: 4px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 550; }
.back-link .icon, .pages .prev { transform: rotate(180deg); }
.back-link .icon { width: 14px; height: 14px; }
.directory h1 { font-size: clamp(38px, 5vw, 66px); letter-spacing: -.065em; margin: 16px 0 22px; line-height: 1.05; }
.directory-form { padding: 15px; border-radius: 12px; background: var(--hero); }
.category-field { display: flex; }
.category-field select { max-width: 215px; border: 1px solid #a8a4c0; border-radius: 8px; padding: 0 10px; background: white; font-size: 15px; color: var(--ink); }
.result-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 23px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.result-list { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.result-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 5px; border-bottom: 1px solid var(--line); }
.result-category { font-size: 12px; font-weight: 650; color: var(--accent); }
.result-list strong { display: block; line-height: 1.3; font-size: 19px; letter-spacing: -.04em; }
.result-list p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.result-end { flex: none; display: flex; align-items: center; gap: 17px; font-size: 12px; color: var(--muted); }
.result-end .icon { width: 16px; height: 16px; color: var(--ink); }
.empty { padding-block: 32px 50px; }.empty p { margin-top: 6px; color: var(--muted); }
.pages { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 14px; color: var(--muted); }
.pages a { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-weight: 700; color: var(--accent); }
.pages .icon { width: 15px; height: 15px; }
@media(max-width: 1030px) {
  .tool { gap: 10px; padding-left: 11px; }
  .tile { width: 40px; height: 42px; }.tile .icon { width: 25px; height: 25px; }
  .tool-grid, .collection-grid { gap: 10px; }
}
@media(max-width: 780px) {
  .wrap { width: calc(100% - 48px); }
  .hero h1 { font-size: clamp(48px, 7.5vw, 61px); }
  .hero p { font-size: 16px; }
  .hero-inner { gap: 0; grid-template-columns: 1fr .9fr; }
  .hero-art { width: 114%; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tool { padding-left: 15px; }
  .desktop-nav { gap: 15px; }.desktop-nav a { font-size: 14px; }
}
@media(max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 60px; gap: 8px; }.wordmark { font-size: 21px; gap: 7px; }
  .logo { width: 29px; height: 29px; font-size: 18px; border-radius: 7px; }
  .account { min-height: 36px; padding: 6px 13px; font-size: 14px; }
  .desktop-nav { display: none; }.mobile-menu { position: relative; display: block; }
  .mobile-menu summary { list-style: none; width: 38px; height: 40px; display: grid; align-content: center; justify-content: center; gap: 4px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
  .mobile-menu nav { position: absolute; top: calc(100% + 6px); right: 0; width: 170px; padding: 5px; border: 1px solid var(--line); background: white; border-radius: 8px; box-shadow: 0 6px 22px #17162515; }
  .mobile-menu nav a { display: block; padding: 10px; font-weight: 600; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 30px 0 0; }
  .hero h1 { font-size: clamp(51px, 9.6vw, 60px); }
  .hero p { margin: 14px 0 16px; max-width: 340px; font-size: 16px; }
  .hero-art { width: min(80%, 320px); margin-block: 2px 0; }
  .search-field { gap: 8px; padding-left: 12px; }.search-button { padding-inline: 16px; }
  .search-field input { font-size: 16px; height: 44px; }.search-button { min-height: 46px; }
  .content { padding-block: 25px 27px; }.section-heading { margin-bottom: 12px; }
  .tool { min-height: 74px; gap: 9px; }.collections { margin-top: 26px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection { aspect-ratio: 3.8 / 1; min-height: 94px; }
  .collection strong { font-size: 24px; }.collection img { object-fit: fill; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-inner nav { gap: 21px; }
  .directory { padding-top: 22px; }
  .directory-form { display: grid; grid-template-columns: minmax(0,1fr) auto; padding: 9px; }
  .directory-form .search-field { grid-column: 1 / -1; }
  .category-field select { width: 100%; max-width: none; }
  .result-list a { align-items: flex-start; }
  .result-end { flex-direction: column-reverse; gap: 6px; align-items: flex-end; }
}
@media(max-width: 485px) {
  .tool-grid { grid-template-columns: 1fr; gap: 8px; }
  .tool { min-height: 70px; gap: 13px; padding: 10px 25px 10px 12px; }
  .tile { width: 43px; height: 43px; }.tool strong { font-size: 17px; }
  .launch { top: 13px; right: 13px; }
  .result-list a { flex-wrap: wrap; gap: 4px; }
  .result-end { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
