@font-face {
  font-family: Archivo; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('/_next/static/media/21ca8f3f56c22ca2-s.p.1cp9-4nby68jc.woff2') format('woff2');
}
@font-face {
  font-family: Inter; font-weight: 100 900; font-display: swap;
  src: url('/_next/static/media/83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono'; font-weight: 100 900; font-display: swap;
  src: url('/_next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2') format('woff2');
}
:root {
  color-scheme: light;
  --paper: #f2f1ee;
  --surface: #faf9f7;
  --ink: #101014;
  --muted: #565658;
  --line: #cecdca;
  --orbit: #dad9d6;
  --accent: #165bc1;
  --mono: 'Geist Mono', monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #121316;
  --surface: #1b1c20;
  --ink: #f2f1ee;
  --muted: #b4b3b0;
  --line: #3d3e43;
  --orbit: #303137;
  --accent: #88b8ff;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 68px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.6 Inter, Arial, sans-serif; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 5; background: var(--surface); padding: 8px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.bar { position: sticky; top: 0; z-index: 2; min-height: 52px; display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--paper); }
.bar a, .bar button, .footer a, .eyebrow, .button, .filters button { font: 600 11px/1.4 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.bar a, .bar button { display: flex; align-items: center; gap: 10px; padding: 0 22px; text-decoration: none; }
.bar nav { display: flex; flex: 1; }
.bar nav a { border-left: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.theme { min-width: 48px; justify-content: center; background: none; border: 0; border-left: 1px solid var(--line); }
.primary { background: var(--ink); color: var(--paper); }
.button { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 18px; text-decoration: none; border: 1px solid var(--ink); }
.primary:hover { opacity: .82; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; text-align: center; min-height: 510px; padding: 58px 20px; border-bottom: 1px solid var(--line); }
.orbits { position: absolute; inset: 0; z-index: -2; background: repeating-radial-gradient(circle at center, transparent 0 55px, var(--orbit) 56px 57px, transparent 58px 67px); }
.orbits::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, var(--paper) 7%, transparent 54%); }
.hero-copy { z-index: 1; }
.eyebrow { color: var(--muted); margin: 0; }
.wordmark { font: 900 clamp(32px, 9vw, 118px)/.9 Archivo, Arial, sans-serif; font-stretch: 115%; letter-spacing: -.025em; margin: 20px 0 22px; }
h1, h2, h3 { font-family: Archivo, Arial, sans-serif; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(25px, 4vw, 48px); letter-spacing: -.045em; }
.hero-copy > p:not([class]) { max-width: 34ch; margin: 14px auto 22px; color: var(--muted); }
.hero-note { margin-top: 18px; }
.satellite { position: absolute; width: 72px; height: 72px; border-radius: 19%; box-shadow: 0 8px 20px #0003; font-size: 34px; }
.sat-a { left: 12%; top: 18%; transform: rotate(-12deg); }
.sat-b { right: 11%; bottom: 16%; transform: rotate(10deg); }
.sat-c { left: 18%; bottom: 10%; transform: rotate(8deg); }
.sat-d { right: 18%; top: 9%; transform: rotate(-8deg); }
.directory, .footer { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.directory { padding: 48px 0 64px; }
.directory-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 20px; }
.directory h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.05em; }
.search { display: flex; align-items: center; gap: 10px; width: min(100%, 340px); background: var(--surface); border: 1px solid var(--line); padding: 0 12px; }
.search input { width: 100%; min-width: 0; min-height: 44px; background: transparent; border: 0; }
.search input::placeholder { color: var(--muted); }
.filters { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
#categories { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { border: 1px solid var(--line); background: transparent; min-height: 40px; padding: 0 12px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.catalog:not(:empty) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px; background: var(--surface); }
.card:hover, .card:focus-within { background: var(--paper); }
.card h3 { font-size: 23px; letter-spacing: -.025em; margin-top: 5px; }
.card p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin: 8px 0 20px; }
.card button { margin-top: auto; padding: 0; align-self: flex-start; min-height: 36px; border: 0; background: none; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.card button::after { content: ''; position: absolute; inset: 0; }
.card:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; }
.empty { border: 1px solid var(--line); padding: 20px; }
.empty button { background: none; border: none; text-decoration: underline; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding: 20px 0; }
dialog { width: min(660px, calc(100% - 24px)); max-height: calc(100% - 24px); border: 1px solid var(--line); padding: 0; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #101014a8; }
.dialog-head { display: flex; justify-content: space-between; gap: 12px; padding: 20px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 4px 0 6px; font-size: 32px; letter-spacing: -.035em; }
#tool-description { margin: 0; color: var(--muted); }
.close { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; font-size: 24px; }
.workspace { padding: 20px; }
#fields { display: grid; gap: 12px; margin-bottom: 16px; }
.workspace label { display: grid; gap: 4px; font-weight: 600; min-width: 0; }
.workspace input, .workspace select, .workspace textarea { min-height: 44px; padding: 8px; border: 1px solid var(--line); background: var(--paper); width: 100%; }
.workspace textarea { min-height: 100px; resize: vertical; font: 14px/1.5 var(--mono); }
#feedback { margin: 8px 0; color: var(--muted); overflow-wrap: anywhere; }
#result { display: grid; gap: 10px; }
#result .button { justify-self: start; }
@media (max-width: 960px) {
  .catalog:not(:empty) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sat-a { left: 5%; } .sat-b { right: 5%; }
  .sat-c { left: 8%; } .sat-d { right: 8%; }
}
@media (max-width: 700px) {
  .directory, .footer { width: calc(100% - 32px); }
  .directory-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .search { width: 100%; }
  .catalog:not(:empty) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 450px; padding: 90px 12px; }
  .satellite { width: 48px; height: 48px; font-size: 24px; }
  .sat-a { top: 7%; } .sat-d { top: 6%; }
  .sat-b, .sat-c { bottom: 5%; }
}
@media (max-width: 440px) {
  .bar a, .bar button { padding: 0 12px; }
  .bar nav a { display: none; }
  .catalog:not(:empty) { grid-template-columns: 1fr; }
}

.icon { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: middle; }
.brand .icon, .theme .icon, .search .icon, .close .icon { font-size: 20px; }
.satellite, .tool-icon { display: grid; place-items: center; color: #101014; }
.sat-a, .tool-icon[data-category="Text"] { background: #a9b9ff; }
.sat-b, .tool-icon[data-category="Image & Design"] { background: #ffac88; }
.sat-c, .tool-icon[data-category="Converters"] { background: #93dce9; }
.sat-d, .tool-icon[data-category="Developer"] { background: #bbdf91; }
.tool-icon { width: 56px; height: 56px; border-radius: 12px; font-size: 27px; margin-bottom: 18px; }
.card button .icon, .button .icon, .nav-action .icon, .footer > a:last-child .icon { font-size: 15px; }
