:root {
  color-scheme: light;
  --ink: #181626;
  --navy: #191d60;
  --blue: #243590;
  --teal: #00605c;
  --paper: #fffaf0;
  --gray: #d8d6cd;
  --rust: #a62f16;
  --muted: #4b4742;
  --line: #918e83;
  --bevel: inset 1px 1px white, inset -2px -2px #858176;
  font-family: Tahoma, Verdana, sans-serif;
  color: var(--ink);
  background: #e9e5da;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
[hidden] { display: none !important; }
a { color: #22247e; text-underline-offset: .19em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid #1552b2; outline-offset: 4px; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; line-height: .98; letter-spacing: -.05em; }
h3 { line-height: 1.15; letter-spacing: -.04em; }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 6rem); }
.eyebrow, .category { font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { color: var(--rust); margin-bottom: 1rem; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 10; top: 1rem; left: 1rem; background: white; padding: .75rem 1rem; }

.header {
  background: var(--paper);
  border-top: 6px solid var(--navy);
  border-bottom: 1px solid var(--line);
}
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.25rem; }
.wordmark { display: inline-flex; color: var(--ink); align-items: center; gap: .75rem; font-size: clamp(1.125rem, 2.2vw, 1.45rem); font-weight: 700; letter-spacing: -.05em; text-decoration: none; }
.wordmark-light { font-weight: 400; }
.mark { width: 2rem; height: 2rem; display: grid; align-content: center; justify-items: start; gap: 3px; padding-left: .45rem; background: var(--navy); border: 1px solid var(--ink); transform: rotate(-5deg); }
.mark i { display: block; height: 3px; width: 17px; transform: skewX(-28deg); background: #fff4ce; }
.mark i:nth-child(2) { width: 13px; }
.mark i:nth-child(3) { width: 8px; }
nav { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; }
nav a { font-size: .875rem; font-weight: 700; }

.hero {
  padding-block: clamp(1.25rem, 3.4vw, 3.25rem);
  background-color: #dedace;
  background-image: radial-gradient(#8d8a7c 0.75px, transparent 0.75px);
  background-size: 6px 6px;
}
.hero-window { padding: 3px; border: 1px solid #3c3a40; box-shadow: var(--bevel), 6px 6px 0 #16192d3b; background: var(--gray); }
.title-bar { display: flex; align-items: center; gap: .5rem; background: var(--navy); color: white; padding: .28rem .55rem; font-size: .875rem; font-weight: 700; }
.title-icon { color: #fff0ad; }
.title-controls { margin-left: auto; color: #24202d; background: var(--gray); padding-inline: .25rem; box-shadow: var(--bevel); line-height: 1.2; }
.hero-inner { display: grid; grid-template-columns: .96fr 1fr; align-items: stretch; background: var(--paper); }
.hero-copy { padding: clamp(1.5rem, 4vw, 4rem); align-self: center; }
.hero h1 { font-size: clamp(3.2rem, 6.5vw, 6rem); }
.hero h1 em { color: var(--rust); }
.hero-summary { color: var(--muted); max-width: 29rem; margin-top: 1.25rem; font-size: clamp(1rem, 1.45vw, 1.19rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }
.hero-art { background: #142268; border-left: 4px solid #d67e35; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.button, .filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: .55rem .85rem;
  border: 1px solid #514d60;
  box-shadow: var(--bevel);
  background: var(--gray);
  color: var(--ink);
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
}
.button:hover, .filters button:hover { background: #f2efe6; color: var(--ink); }
.button:active, .filters button:active { box-shadow: inset 2px 2px #686575, inset -1px -1px white; }
.primary, .contact { background: #ffe3a2; }
.primary:hover, .contact:hover { background: #fff0c6; }

.section-heading { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: end; margin-bottom: 1.2rem; }
.section h2 { font-size: clamp(2.5rem, 4.8vw, 4rem); }
.filters { display: flex; flex-wrap: wrap; gap: .3rem; }
.filters button { cursor: pointer; }
.filters button[aria-pressed="true"] { color: white; background: var(--navy); box-shadow: inset 2px 2px #090c30, inset -1px -1px #7c83bd; }

.directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.product {
  --card-color: var(--blue);
  display: flex;
  flex-direction: column;
  min-height: 14.5rem;
  border: 1px solid #8a8790;
  box-shadow: 2px 2px 0 #a19b8c68;
  background: var(--paper);
}
.product[data-category="developer"] { --card-color: var(--rust); }
.product.featured { --card-color: var(--teal); background: #f5f7e6; }
.product:focus-within { border-color: var(--blue); }
.product-icon {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 2rem;
  justify-content: start;
  padding-inline: 1rem;
  background: var(--card-color);
  color: white;
  font-size: .875rem;
  font-weight: 700;
}
.api { font-family: ui-monospace, monospace; }
.product-copy { display: flex; flex-direction: column; flex: 1; align-items: start; padding: 1rem 1.125rem 1.25rem; }
.category { color: var(--muted); letter-spacing: .065em; }
.product h3 { font-size: 1.6rem; margin: .3rem 0 .55rem; overflow-wrap: anywhere; }
.product-copy > p:not(.category) { margin-bottom: .875rem; }
.domain, .development { margin-top: auto; font-size: .9375rem; font-weight: 700; }
.development, .product-status { color: var(--muted); }

.efile { color: white; background: #181d56; border-block: 4px double #f9cb73; }
.efile p { max-width: 43rem; margin-top: 1rem; color: #e3e1f4; }
.company { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.company h2 + p { max-width: 39rem; margin-top: 1rem; color: var(--muted); }
.contact { flex-shrink: 0; }
.footer { border-top: 1px solid var(--line); background: var(--paper); font-size: .875rem; }

@media (max-width: 58rem) {
  .hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
  .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-direction: column; align-items: start; gap: .4rem; padding-block: .7rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { border-left: 0; border-top: 4px solid #d67e35; }
  .hero-art img { height: auto; }
  .company { align-items: start; flex-direction: column; }
}
@media (max-width: 34rem) {
  .directory { grid-template-columns: 1fr; }
  .product { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
