:root {
  color-scheme: light;
  --brand: #0052ff;
  --brand-strong: #003fca;
  --brand-soft: #eaf0ff;
  --ink: #0b172a;
  --muted: #536176;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --line: #dce3ee;
  --line-strong: #bac6d8;
  --success: #14784b;
  --success-soft: #e8f7ef;
  --warning: #865006;
  --warning-soft: #fff4df;
  --focus: #ffb800;
  --shadow: 0 18px 50px rgba(24, 51, 93, 0.1);
  --shadow-hover: 0 22px 58px rgba(0, 82, 255, 0.16);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --brand: #78a6ff;
    --brand-strong: #a8c5ff;
    --brand-soft: #172744;
    --ink: #edf2fa;
    --muted: #aab6c8;
    --bg: #09111f;
    --surface: #111b2c;
    --surface-raised: #152136;
    --line: #293750;
    --line-strong: #415372;
    --success: #77d9a7;
    --success-soft: #123426;
    --warning: #ffd18a;
    --warning-soft: #35270f;
    --focus: #ffcf4a;
    --shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
    --shadow-hover: 0 24px 64px rgba(0, 82, 255, 0.22);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #78a6ff;
  --brand-strong: #a8c5ff;
  --brand-soft: #172744;
  --ink: #edf2fa;
  --muted: #aab6c8;
  --bg: #09111f;
  --surface: #111b2c;
  --surface-raised: #152136;
  --line: #293750;
  --line-strong: #415372;
  --success: #77d9a7;
  --success-soft: #123426;
  --warning: #ffd18a;
  --warning-soft: #35270f;
  --focus: #ffcf4a;
  --shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 24px 64px rgba(0, 82, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 92% 4%,
      rgba(0, 82, 255, 0.11),
      transparent 24rem
    ),
    radial-gradient(
      circle at 4% 36%,
      rgba(0, 82, 255, 0.06),
      transparent 22rem
    ),
    var(--bg);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--brand-strong);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 7px #0b172a !important;
}

::selection {
  color: #ffffff;
  background: #0052ff;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #ffffff;
  background: #003fca;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  place-items: center;
  color: #ffffff;
  background: #0052ff;
  box-shadow: 0 8px 20px rgba(0, 82, 255, 0.25);
  font-size: 1.15rem;
  font-weight: 900;
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  flex: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.theme-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(24, 51, 93, 0.07);
  cursor: pointer;
}

.js .theme-toggle {
  display: grid;
}

.theme-toggle:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.theme-toggle .sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .sun {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .moon {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-toggle .sun {
    display: block;
  }
}

.hero {
  padding: clamp(54px, 8vw, 104px) 0 48px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 8px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1,
.page-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.65rem, 7.5vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 60ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.58;
}

.hero-actions,
.card-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  color: #ffffff;
  background: #0052ff;
  box-shadow: 0 10px 24px rgba(0, 82, 255, 0.24);
}

.button-primary:hover {
  color: #ffffff;
  background: #003fca;
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.button-secondary:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.button-light {
  color: #092154;
  background: #ffffff;
}

.button-light:hover {
  color: #092154;
  background: #eaf0ff;
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost-light:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.arrow-icon {
  width: 17px;
  height: 17px;
  flex: none;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(0, 82, 255, 0.08), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border-radius: 999px;
  content: "";
  filter: blur(2px);
}

.hero-visual::before {
  top: -95px;
  right: -65px;
  width: 260px;
  height: 260px;
  background: rgba(0, 82, 255, 0.17);
}

.hero-visual::after {
  bottom: -85px;
  left: -70px;
  width: 210px;
  height: 210px;
  background: rgba(67, 202, 146, 0.15);
}

.preview-card {
  position: absolute;
  z-index: 2;
  width: min(78%, 300px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-raised);
  box-shadow: 0 16px 40px rgba(14, 35, 70, 0.14);
}

.preview-money {
  top: 42px;
  left: 32px;
}

.preview-network {
  right: 28px;
  bottom: 38px;
}

.preview-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0052ff;
  box-shadow: 0 0 0 5px rgba(0, 82, 255, 0.12);
}

.preview-card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.preview-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.signal {
  display: flex;
  height: 34px;
  margin-top: 15px;
  align-items: end;
  gap: 6px;
}

.signal span {
  width: 8px;
  border-radius: 5px 5px 2px 2px;
  background: #0052ff;
}

.signal span:nth-child(1) {
  height: 30%;
  opacity: 0.45;
}
.signal span:nth-child(2) {
  height: 52%;
  opacity: 0.6;
}
.signal span:nth-child(3) {
  height: 72%;
  opacity: 0.78;
}
.signal span:nth-child(4) {
  height: 100%;
}

.trust-strip {
  margin: 0 0 clamp(72px, 10vw, 118px);
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.trust-grid {
  display: grid;
  margin: 0;
  padding: 22px 0;
  gap: 18px;
  list-style: none;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--success);
}

.trust-item strong {
  display: block;
  color: var(--ink);
}

.section {
  padding-bottom: clamp(78px, 10vw, 120px);
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  margin-bottom: 28px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.section-heading p {
  max-width: 55ch;
  margin: 0;
  color: var(--muted);
}

.featured-card,
.tool-card,
.prose-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.featured-card {
  display: grid;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-copy {
  padding: clamp(26px, 5vw, 48px);
}

.status {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  color: var(--warning);
  background: var(--warning-soft);
  font-size: 0.78rem;
  font-weight: 820;
}

.status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-neutral {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.featured-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.featured-card p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.featured-visual {
  position: relative;
  display: grid;
  min-height: 270px;
  padding: 40px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(255, 255, 255, 0.22),
      transparent 15rem
    ),
    linear-gradient(145deg, #0052ff, #043797);
}

.featured-visual::after {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 270px;
  height: 270px;
  border: 45px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.icon-cluster {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 84px);
  gap: 14px;
  transform: rotate(-3deg);
}

.icon-tile {
  display: grid;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(0, 18, 75, 0.24);
}

.icon-tile:nth-child(2),
.icon-tile:nth-child(3) {
  transform: translateY(12px);
}

.icon-tile img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.tool-grid {
  display: grid;
  gap: 20px;
}

.tool-card {
  display: flex;
  min-width: 0;
  padding: clamp(23px, 4vw, 32px);
  border-radius: var(--radius-md);
  flex-direction: column;
}

.tool-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.tool-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tool-logo,
.tool-symbol {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 15px;
}

.tool-symbol {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #0052ff;
}

.tool-symbol svg {
  width: 32px;
  height: 32px;
}

.tool-card h3 {
  margin: 2px 0 8px;
  font-size: 1.28rem;
  font-weight: 880;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
}

.tool-meta {
  margin: 19px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.tool-meta strong {
  color: var(--ink);
}

.tool-card-links {
  display: grid;
  margin-top: auto;
  padding-top: 21px;
  gap: 8px;
}

.app-link {
  display: flex;
  min-height: 54px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.25;
  text-decoration: none;
}

.app-link svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--brand-strong);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-link span {
  display: flex;
  flex-direction: column;
}

.app-link strong {
  color: var(--brand-strong);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-link:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  text-decoration: none;
}

.app-link-pending {
  color: var(--muted);
  background: var(--bg);
  cursor: default;
}

.app-link-pending:hover {
  border-color: var(--line);
  background: var(--bg);
}

.featured-copy .app-link {
  width: fit-content;
  min-width: 230px;
}

.disclaimer {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.ping-card {
  display: grid;
  border: 1px solid rgba(125, 167, 255, 0.44);
  border-radius: 30px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(96, 156, 255, 0.36),
      transparent 22rem
    ),
    linear-gradient(135deg, #071934, #0a3478);
  box-shadow: 0 24px 70px rgba(2, 24, 68, 0.28);
}

.ping-copy {
  padding: clamp(28px, 6vw, 56px);
}

.ping-card .eyebrow {
  color: #a9c6ff;
}

.ping-card h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 4.15rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.ping-lead {
  max-width: 60ch;
  margin: 21px 0 0;
  color: #cbdafa;
  font-size: 1.08rem;
}

.feature-chips {
  display: flex;
  margin: 25px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.feature-chips li {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #e4edff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 760;
}

.ping-status {
  display: flex;
  padding: clamp(26px, 5vw, 44px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  flex-direction: column;
  justify-content: center;
  background: rgba(3, 17, 44, 0.34);
}

.ping-graphic {
  width: min(100%, 310px);
  margin: 0 auto 28px;
}

.ping-status h3 {
  margin: 0 0 9px;
  font-size: 1.15rem;
}

.ping-status p {
  margin: 0;
  color: #cbdafa;
  font-size: 0.93rem;
}

.closing-panel {
  display: flex;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--surface);
}

.closing-panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.closing-panel p {
  max-width: 58ch;
  margin: 9px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(48px, 8vw, 88px) 0 38px;
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

.page-intro {
  max-width: 68ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.prose-layout {
  display: grid;
  padding-bottom: clamp(76px, 10vw, 120px);
  gap: 24px;
}

.prose-card {
  min-width: 0;
  padding: clamp(24px, 5vw, 48px);
  border-radius: var(--radius-lg);
}

.prose {
  max-width: 76ch;
}

.prose h2 {
  margin: 2.2em 0 0.55em;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.8em 0 0.45em;
  font-size: 1.13rem;
  line-height: 1.3;
}

.prose p,
.prose ul,
.prose ol,
.prose dl,
.prose table {
  margin-top: 0.75em;
  margin-bottom: 1em;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose a,
.footer-links a {
  overflow-wrap: anywhere;
}

.notice {
  margin: 0 0 30px;
  padding: 20px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--brand-soft);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.table-wrap {
  width: 100%;
  margin: 22px 0;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--brand-soft);
}

dt {
  margin-top: 1em;
  font-weight: 820;
}

dd {
  margin: 0.2em 0 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  margin: 28px 0;
  gap: 16px;
}

.contact-option {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.contact-option h3 {
  margin: 0 0 7px;
}

.contact-option p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 42px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  max-width: 36ch;
}

.footer-brand strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.footer-brand p {
  margin: 0;
}

.footer-links {
  display: flex;
  max-width: 560px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 680;
}

.footer-meta {
  display: flex;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-meta p {
  margin: 0;
}

@media (min-width: 720px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  }

  .featured-card {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  }

  .ping-card {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  }

  .ping-status {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 859px) {
  .hero-visual {
    min-height: 330px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-visual {
    min-height: 250px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    min-height: 74px;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin: -2px 0 10px;
    gap: 17px;
    overflow-x: auto;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 300px;
  }

  .preview-card {
    width: min(78%, 270px);
  }

  .preview-money {
    top: 28px;
    left: 20px;
  }

  .preview-network {
    right: 18px;
    bottom: 26px;
  }

  .closing-panel,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .hero-actions,
  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 280px;
  }

  .preview-card {
    padding: 16px;
  }

  .tool-card-head {
    align-items: flex-start;
  }

  .tool-logo,
  .tool-symbol {
    width: 52px;
    height: 52px;
  }

  .icon-cluster {
    grid-template-columns: repeat(2, 72px);
  }

  .icon-tile {
    width: 72px;
    height: 72px;
    border-radius: 19px;
  }

  .icon-tile img {
    width: 50px;
    height: 50px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .button,
  .app-link,
  .theme-toggle,
  .tool-card {
    transition:
      border-color 160ms ease,
      background-color 160ms ease,
      color 160ms ease,
      box-shadow 160ms ease,
      transform 160ms ease;
  }

  .button .arrow-icon {
    transition: transform 160ms ease;
  }

  .button:hover .arrow-icon {
    transform: translateX(3px);
  }
}

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

  .tool-card:hover,
  .button:hover .arrow-icon {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  .featured-card,
  .tool-card,
  .prose-card,
  .theme-toggle,
  .button-secondary {
    border-color: var(--line-strong);
  }
}

@media (forced-colors: active) {
  .brand-mark,
  .tool-symbol,
  .featured-visual,
  .ping-card {
    border: 1px solid CanvasText;
  }

  .status::before {
    border: 1px solid currentColor;
  }
}

@media print {
  body {
    color: #000000;
    background: #ffffff;
  }

  .site-nav,
  .theme-toggle,
  .hero-visual,
  .site-footer,
  .hero-actions,
  .card-actions {
    display: none !important;
  }

  .site-header {
    min-height: 58px;
  }

  .prose-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
