:root {
  --bg: #05060c;
  --text: #eef0ff;
  --muted: #8b90a8;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 24px;
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; }
::selection { background: rgba(124, 92, 255, 0.42); color: #fff; }

/* ---------- Background ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1000px 700px at 50% -20%, rgba(109, 77, 255, 0.20), transparent 65%),
    radial-gradient(900px 600px at 110% 18%, rgba(34, 211, 238, 0.11), transparent 60%),
    radial-gradient(800px 700px at -10% 72%, rgba(255, 79, 216, 0.10), transparent 60%),
    #05060c;
}

.backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 12%, #000 8%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 65% at 50% 12%, #000 8%, transparent 85%);
  opacity: 0.55;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  will-change: transform;
  animation: drift 22s ease-in-out infinite alternate;
}
.orb-1 { width: 470px; height: 470px; background: #6d4dff; top: -170px; left: -130px; opacity: 0.5; }
.orb-2 { width: 380px; height: 380px; background: #22d3ee; top: 30px; right: -170px; opacity: 0.26; animation-delay: -7s; }
.orb-3 { width: 540px; height: 540px; background: #ff4fd8; bottom: -280px; left: 34%; opacity: 0.16; animation-delay: -12s; }

@keyframes drift {
  to { transform: translate3d(45px, 32px, 0) scale(1.09); }
}

/* ---------- Topbar ---------- */
.topbar {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: fadeDown 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(145deg, #7c5cff, #22d3ee);
  color: #070812;
  box-shadow:
    0 12px 30px -10px rgba(124, 92, 255, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.brand-mark svg { width: 20px; height: 20px; margin-left: 2px; }

.brand-text { min-width: 0; }
.brand-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-text small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #cdd1e6;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.top-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #54f0a8;
  box-shadow: 0 0 12px #54f0a8;
  animation: pulse 2.4s ease-in-out infinite;
}

/* ---------- Hero ---------- */
.hero {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 46px;
  text-align: center;
  animation: fadeUp 0.9s 0.08s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  color: #b9bed8;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #a78bfa);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.85);
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h1 .grad {
  background: linear-gradient(100deg, #a78bfa 0%, #22d3ee 46%, #ff5cd6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s linear infinite;
}

.hero p {
  max-width: 570px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  font-weight: 350;
  line-height: 1.65;
}
.hero p strong { color: #dfe3f7; font-weight: 500; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #0ea968 100%);
  color: #04120a;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow:
    0 16px 34px -16px rgba(37, 211, 102, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 20px 42px -16px rgba(37, 211, 102, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.hero-cta:active { transform: translateY(0) scale(0.99); }
.hero-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-cta svg { width: 19px; height: 19px; flex: none; }

/* ---------- Toolbar ---------- */
main {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 22px;
  animation: fadeUp 0.8s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 390px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.search:focus-within {
  border-color: rgba(124, 92, 255, 0.55);
  background: rgba(124, 92, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}
.search svg { width: 17px; height: 17px; color: #7e849e; flex: none; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font-size: 0.9rem;
}
.search input::placeholder { color: #6f7590; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search kbd {
  flex: none;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #757b95;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.2;
}

.results {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}
.results strong { color: #e9ecff; font-weight: 600; }

/* ---------- App cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 48%, rgba(255, 255, 255, 0.03));
  box-shadow:
    0 20px 50px -30px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  animation: cardIn 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--delay, 0ms);
}
.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb, 124, 92, 255), 0.42);
  box-shadow:
    0 34px 70px -34px rgba(var(--accent-rgb, 124, 92, 255), 0.55),
    0 20px 50px -30px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.app-card.is-hidden { display: none; }

.app-logo {
  position: relative;
  display: grid;
  place-items: center;
  height: 168px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(120% 130% at 50% 0%, rgba(var(--accent-rgb, 124, 92, 255), 0.16), rgba(9, 10, 20, 0.55) 55%, rgba(5, 6, 12, 0.82));
}
.app-logo img {
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 138px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55));
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.app-card:hover .app-logo img { transform: scale(1.055) translateY(-2px); }

.app-body { display: flex; flex-direction: column; gap: 5px; padding: 2px 4px 0; }
.app-body h2 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.app-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 48px;
  margin-top: 2px;
  padding: 0 10px 0 18px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent, #7c5cff) 0%, var(--accent2, #22d3ee) 100%);
  color: #08080f;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 14px 30px -14px rgba(var(--accent-rgb, 124, 92, 255), 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06) saturate(1.05);
}
.btn:active { transform: translateY(0) scale(0.99); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.btn-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(8, 8, 15, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn-icon svg { width: 15px; height: 15px; }

/* ---------- App list (rows) ---------- */
.app-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  box-shadow:
    0 20px 50px -34px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  animation: cardIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--delay, 0ms);
}
.app-row:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb, 124, 92, 255), 0.42);
  box-shadow:
    0 28px 60px -34px rgba(var(--accent-rgb, 124, 92, 255), 0.5),
    0 20px 50px -30px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.app-row.is-hidden { display: none; }

.row-logo {
  flex: none;
  width: 78px;
  height: 78px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(120% 130% at 50% 0%, rgba(var(--accent-rgb, 124, 92, 255), 0.18), rgba(9, 10, 20, 0.6) 60%, rgba(5, 6, 12, 0.85));
}
.row-logo img {
  max-width: 86%;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
  transition: transform 0.35s ease;
}
.app-row:hover .row-logo img { transform: scale(1.06); }

.row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.row-info h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.row-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.row-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s ease, filter 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.row-btn svg { width: 16px; height: 16px; flex: none; }
.row-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.row-btn:active { transform: translateY(0) scale(0.99); }

.row-btn.primary {
  background: linear-gradient(135deg, var(--accent, #7c5cff) 0%, var(--accent2, #22d3ee) 100%);
  color: #08080f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 12px 26px -14px rgba(var(--accent-rgb, 124, 92, 255), 0.85);
}
.row-btn.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06) saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 16px 30px -14px rgba(var(--accent-rgb, 124, 92, 255), 0.95);
}

.row-btn.license {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #e9ecff;
}
.row-btn.license:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.1);
  color: #d7ffe8;
}

/* ---------- Help list ---------- */
.help-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 0 20px;
  transition: border-color 0.25s ease, background 0.25s ease;
  animation: cardIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--delay, 0ms);
}
.faq:hover { border-color: rgba(124, 92, 255, 0.35); }
.faq[open] { border-color: rgba(124, 92, 255, 0.45); background: rgba(124, 92, 255, 0.06); }
.faq.is-hidden { display: none; }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #cdd1e6;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq[open] summary::after { content: "−"; background: rgba(124, 92, 255, 0.25); }

.faq-body {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-body p { margin: 0 0 10px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body strong { color: #dfe3f7; font-weight: 500; }
.faq-body a { color: #a78bfa; text-decoration: underline; text-underline-offset: 3px; }
.faq-body ul { margin: 8px 0 0; padding-left: 20px; }
.faq-body li { margin-bottom: 6px; }

/* ---------- Material card ---------- */
.material-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.material-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: 46px 32px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow:
    0 30px 70px -40px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: cardIn 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.material-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px;
  left: 50%;
  width: 420px;
  height: 300px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.35), transparent 70%);
  filter: blur(30px);
}

.material-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #7c5cff, #22d3ee);
  color: #070812;
  box-shadow:
    0 16px 36px -12px rgba(124, 92, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.material-icon svg { width: 34px; height: 34px; }

.material-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.material-card p {
  max-width: 500px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}
.material-card .btn {
  display: inline-flex;
  width: auto;
  padding: 0 20px;
  gap: 12px;
}
.material-note {
  display: block;
  margin-top: 16px;
  color: #6e748e;
  font-size: 0.76rem;
}

/* ---------- Empty state ---------- */
.empty {
  display: none;
  padding: 72px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  text-align: center;
}
.empty.show { display: block; animation: fadeUp 0.4s ease both; }
.empty strong {
  display: block;
  margin-bottom: 6px;
  color: #e9ecff;
  font-size: 1.08rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #6e748e;
  font-size: 0.76rem;
}
.footer .heart { color: #ff5cd6; }
.footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #aeb3cc;
  transition: color 0.2s ease;
}
.footer a:hover { color: #fff; }
.footer a svg { width: 13px; height: 13px; }
.footer-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- Animations ---------- */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
@keyframes shimmer {
  to { background-position: 200% center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .topbar { width: calc(100% - 32px); padding: 18px 0; }
  .brand-text small { display: none; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .top-chip { padding: 8px 12px; font-size: 0.72rem; }

  .hero { width: calc(100% - 32px); padding: 38px 0 34px; }
  .eyebrow { margin-bottom: 18px; font-size: 0.64rem; }
  .hero p { margin-top: 18px; font-size: 0.95rem; }

  main { width: calc(100% - 32px); padding-bottom: 54px; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .search { max-width: none; }
  .results { text-align: right; }

  .grid { grid-template-columns: 1fr; gap: 14px; }
  .app-card { padding: 14px; border-radius: 22px; }
  .app-logo { height: 158px; }
  .app-logo img { max-height: 128px; }

  .app-row {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }
  .row-info { flex-basis: calc(100% - 90px); }
  .row-actions { width: 100%; }
  .row-btn { flex: 1; }

  .faq { padding: 0 16px; }

  .footer {
    width: calc(100% - 32px);
    justify-content: center;
    text-align: center;
    padding: 22px 0 30px;
  }
}

@media (max-width: 400px) {
  .search kbd { display: none; }
  .app-body h2 { font-size: 1rem; }
  .btn { height: 46px; }
  .row-actions { flex-direction: column; align-items: stretch; }
  .row-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
