:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #111419;
  --panel-strong: #181d24;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f4f2;
  --muted: #b9b8b4;
  --soft: #86827d;
  --red: #e21717;
  --red-dark: #880d10;
  --amber: #ff9f1a;
  --steel: #d7d9dc;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(226, 23, 23, 0.22), transparent 30rem),
    linear-gradient(180deg, #07080a 0%, #101116 45%, #090a0c 100%);
  color: var(--text);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 55%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: #050506;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(226, 23, 23, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  padding: 10px 8px;
}

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

.site-nav .nav-feature-link {
  border: 1px solid rgba(226, 23, 23, 0.42);
  padding-inline: 10px;
  color: var(--text);
  background: rgba(226, 23, 23, 0.12);
}

.nav-new-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(255, 159, 26, 0.18);
  color: #ffd18a;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  place-items: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(30px, 6vw, 78px);
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 56px 0 78px;
}

.hero-media {
  position: absolute;
  inset: 24px auto auto 0;
  z-index: -1;
  width: min(860px, 78vw);
  aspect-ratio: 1024 / 502;
  overflow: hidden;
  border-radius: 6px;
  opacity: 0.34;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.3), rgba(8, 9, 11, 0.1) 42%, rgba(8, 9, 11, 0.86)),
    linear-gradient(180deg, transparent 35%, rgba(8, 9, 11, 0.95));
}

.hero-media img {
  width: 112%;
  max-width: none;
  height: 100%;
  margin-left: -6%;
  object-fit: cover;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.4rem, 13vw, 10rem);
  line-height: 0.82;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 0;
}

h1::first-line {
  color: var(--steel);
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.1vw, 1.42rem);
  line-height: 1.55;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-badge {
  position: relative;
  display: inline-flex;
  width: min(100%, 178px);
  transition: transform 160ms ease, opacity 160ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
}

.store-badge img {
  width: 100%;
  height: auto;
}

.store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 178px;
  min-height: 64px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.store-button.primary {
  border-color: rgba(226, 23, 23, 0.5);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
}

.store-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}

.store-button strong {
  font-size: 1.2rem;
}

.app-preview {
  justify-self: center;
  width: min(100%, 360px);
}

.phone-shell {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  background: linear-gradient(145deg, #2b3037, #07080a 44%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-screenshot {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  border-radius: 28px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tool-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.tool-grid article span {
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
}

h3 {
  margin: 30px 0 14px;
  font-size: 1.42rem;
}

.tool-grid p,
.field-section p,
.site-footer {
  color: var(--muted);
  line-height: 1.6;
}

.ecosystem-section {
  padding-top: 56px;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.ecosystem-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24, 29, 36, 0.94), rgba(17, 20, 25, 0.94));
}

.ecosystem-card.feature {
  border-color: rgba(226, 23, 23, 0.46);
  background:
    linear-gradient(135deg, rgba(226, 23, 23, 0.18), rgba(255, 159, 26, 0.08)),
    rgba(17, 20, 25, 0.96);
}

.ecosystem-card span {
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
}

.ecosystem-card h3 {
  margin-top: 22px;
}

.ecosystem-card p {
  color: var(--muted);
  line-height: 1.58;
}

.directory-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid rgba(226, 23, 23, 0.5);
  border-radius: 8px;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--text);
  font-weight: 800;
}

.field-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.field-list {
  border-top: 1px solid var(--line);
}

.field-list p {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 22px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.field-list strong {
  color: var(--text);
}

.notice-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 72px;
  padding: 28px;
  border: 1px solid rgba(255, 159, 26, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 159, 26, 0.12), rgba(226, 23, 23, 0.08)),
    rgba(17, 20, 25, 0.92);
}

.notice-section h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.notice-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.directory-landing-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 70px;
}

.directory-landing-hero {
  max-width: 860px;
}

.directory-landing-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 10vw, 7.2rem);
  line-height: 0.88;
}

.directory-landing-hero p,
.directory-landing-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.directory-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.store-button.disabled {
  cursor: default;
  opacity: 0.62;
}

.directory-landing-panel {
  max-width: 780px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.directory-listings-section {
  margin-top: 44px;
}

.directory-filter-section {
  margin-bottom: 22px;
}

.directory-listings-heading {
  max-width: 720px;
  margin-bottom: 16px;
}

.directory-listings-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.directory-search-row,
.directory-filter-grid,
.directory-filter-status,
.directory-active-filters {
  display: grid;
  gap: 12px;
}

.directory-search-row {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  align-items: end;
  margin-top: 22px;
}

.directory-filter-panel {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.directory-filter-panel summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--text);
  font-weight: 900;
}

.directory-filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 16px 16px;
}

.directory-filter-field {
  display: grid;
  gap: 8px;
}

.directory-filter-field span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.directory-filter-field input,
.directory-filter-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(8, 9, 11, 0.86);
  color: var(--text);
  font: inherit;
}

.directory-filter-field input::placeholder {
  color: var(--soft);
}

.directory-filter-field input:focus,
.directory-filter-field select:focus,
.directory-clear-button:focus-visible {
  outline: 2px solid rgba(255, 159, 26, 0.86);
  outline-offset: 2px;
}

.directory-filter-field select:disabled {
  cursor: not-allowed;
  color: var(--soft);
  opacity: 0.78;
}

.directory-filter-note {
  margin: -4px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.directory-filter-status {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 14px;
}

.directory-filter-status p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.directory-clear-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.directory-clear-button:hover {
  border-color: rgba(226, 23, 23, 0.5);
}

.directory-active-filters {
  display: flex;
  flex-wrap: wrap;
  margin-top: 12px;
}

.directory-active-filters span {
  border: 1px solid rgba(226, 23, 23, 0.42);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(226, 23, 23, 0.1);
  color: var(--muted);
  font-size: 0.88rem;
}

.directory-active-filters strong {
  color: var(--text);
}

.directory-empty-state {
  max-width: 680px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(24, 29, 36, 0.94), rgba(17, 20, 25, 0.94));
}

.directory-empty-state h3 {
  margin: 0 0 8px;
}

.directory-empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.directory-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 292px), 360px));
  justify-content: start;
  gap: 16px;
}

.directory-listing-card {
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24, 29, 36, 0.94), rgba(17, 20, 25, 0.94));
  box-shadow: var(--shadow);
}

.directory-card-link {
  display: block;
  height: 100%;
  outline-offset: 4px;
}

.directory-listing-card:hover,
.directory-listing-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(226, 23, 23, 0.42);
}

.directory-card-body {
  padding: 18px;
}

.directory-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.directory-card-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--red);
  font-weight: 900;
}

.directory-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-card-heading .eyebrow {
  margin-bottom: 5px;
}

.directory-card-heading h3 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.12;
}

.directory-card-summary {
  color: var(--muted);
  line-height: 1.52;
  margin-bottom: 0;
}

.directory-card-meta,
.directory-card-tags,
.directory-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.directory-card-meta,
.directory-card-tags {
  margin-top: 10px;
}

.directory-card-meta span,
.directory-card-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
}

.directory-card-actions {
  margin-top: 14px;
}

.directory-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.directory-card-button.primary {
  border-color: rgba(226, 23, 23, 0.5);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.directory-profile-page {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 62px;
}

.directory-profile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24, 29, 36, 0.94), rgba(17, 20, 25, 0.94));
  box-shadow: var(--shadow);
}

.directory-profile-hero {
  position: relative;
  background: #08090b;
}

.directory-profile-banner {
  width: 100%;
  height: clamp(118px, 18vw, 184px);
  object-fit: cover;
  opacity: 0.72;
}

.directory-profile-heading {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: clamp(16px, 3vw, 26px);
  margin-top: -48px;
  position: relative;
}

.directory-profile-logo {
  display: grid;
  place-items: center;
  width: clamp(78px, 11vw, 108px);
  height: clamp(78px, 11vw, 108px);
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 9, 11, 0.9);
  color: var(--red);
  font-weight: 900;
}

.directory-profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-profile-heading h1 {
  margin-bottom: 8px;
  font-size: clamp(2.1rem, 5.8vw, 4.8rem);
  line-height: 0.94;
}

.directory-profile-heading p {
  color: var(--muted);
  line-height: 1.55;
}

.directory-profile-section {
  padding: clamp(18px, 3vw, 28px);
  border-top: 1px solid var(--line);
}

.directory-profile-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.directory-profile-section p,
.directory-profile-muted {
  color: var(--muted);
  line-height: 1.62;
}

.contact-button {
  min-width: 118px;
}

.directory-connect-actions {
  align-items: stretch;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 70px;
  padding: 34px;
  border: 1px solid rgba(226, 23, 23, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(226, 23, 23, 0.16), rgba(255, 255, 255, 0.04)),
    var(--panel);
}

.download-section h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  white-space: nowrap;
}

.site-footer .footer-admin-link {
  color: var(--soft);
}

.policy-page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 86px;
}

.policy-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24, 29, 36, 0.94), rgba(17, 20, 25, 0.94));
  box-shadow: var(--shadow);
}

.policy-card h1 {
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
}

.policy-card h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  line-height: 1.15;
}

.policy-card p {
  color: var(--muted);
  line-height: 1.7;
}

.policy-card a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(226, 23, 23, 0.8);
  text-underline-offset: 4px;
}

.policy-updated {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 940px) {
  .hero,
  .field-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .app-preview {
    width: min(100%, 420px);
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-card.feature {
    grid-column: 1 / -1;
  }

  .download-section {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    width: min(100% - 28px, 1180px);
    align-items: center;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav[data-site-nav] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(12, 14, 18, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 180ms ease, opacity 160ms ease, transform 160ms ease, border-color 160ms ease;
  }

  .site-header.nav-open .site-nav[data-site-nav] {
    max-height: 260px;
    border-color: var(--line);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero,
  .section,
  .notice-section,
  .download-section,
  .site-footer,
  .policy-page,
  .directory-landing-page,
  .directory-profile-page {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-media {
    inset: 12px auto auto 0;
    width: min(72vw, 320px);
    opacity: 0.22;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 6rem);
  }

  .store-actions,
  .store-button {
    width: 100%;
  }

  .store-actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 380px;
  }

  .store-badge {
    flex: 1 1 0;
    width: auto;
    max-width: 178px;
    min-width: 0;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-card {
    min-height: 0;
  }

  .tool-grid article {
    min-height: 0;
  }

  .directory-listing-grid {
    grid-template-columns: 1fr;
  }

  .directory-search-row,
  .directory-filter-grid,
  .directory-filter-status {
    grid-template-columns: 1fr;
  }

  .directory-filter-panel summary {
    padding: 13px 14px;
  }

  .directory-filter-grid {
    padding: 0 14px 14px;
  }

  .directory-clear-button {
    width: 100%;
  }

  .directory-listing-card {
    max-width: none;
  }

  .directory-profile-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: -40px;
  }

  .field-list p {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .notice-section {
    grid-template-columns: 1fr;
    margin-bottom: 52px;
    padding: 22px;
  }

  .download-section {
    padding: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .store-actions {
    align-items: flex-start;
    flex-direction: column;
    max-width: 240px;
  }

  .store-badge {
    flex: none;
    width: min(100%, 220px);
    max-width: 220px;
  }
}
