:root {
  --bg: #081018;
  --surface: rgba(15, 22, 31, 0.84);
  --surface-soft: rgba(22, 30, 41, 0.66);
  --surface-strong: rgba(10, 16, 24, 0.94);
  --line: rgba(226, 235, 246, 0.12);
  --line-strong: rgba(226, 235, 246, 0.2);
  --text: #eef4f6;
  --muted: rgba(190, 202, 211, 0.78);
  --dim: rgba(147, 162, 174, 0.74);
  --green: #a8c7ac;
  --sand: #d6bd8f;
  --blue: #9bb7d4;
  --danger: #ffb3a8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18rem),
    linear-gradient(180deg, #0b131d 0%, #081018 42%, #05090f 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.035) 8% calc(8% + 1px), transparent calc(8% + 1px) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 128px);
  opacity: 0.35;
}

a {
  color: inherit;
}

.flyer-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 70px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--green);
  font-family: "IBM Plex Mono", "SF Mono", Monaco, monospace;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero-copy h1 {
  max-width: 13ch;
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 3.65rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: var(--green);
}

.hero-sub {
  max-width: 42rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.pill {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.16s var(--ease),
    opacity 0.16s var(--ease),
    border-color 0.16s var(--ease),
    background 0.16s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #cfe2d0 0%, #a9c3ad 54%, #88a98f 100%);
  color: #071019;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn[aria-disabled="true"],
.btn:disabled {
  pointer-events: none;
  opacity: 0.68;
}

.distribution-note,
.placement-note,
.support-note,
.page-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.distribution-note {
  margin-top: 14px;
}

.support-note,
.placement-note {
  margin-top: 12px;
}

.device-panel {
  padding: 20px;
}

.device-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: #091019;
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.device-caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

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

.info-card {
  padding: 18px;
}

.info-card h2,
.steps h2,
.fallback h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.info-card p,
.info-card li,
.steps li,
.fallback p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-card ul,
.steps ol {
  margin: 12px 0 0;
  padding-left: 18px;
}

.steps,
.fallback {
  padding: 24px;
  margin-bottom: 20px;
}

.page-note strong {
  color: var(--text);
}

.fallback-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.fallback-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.82rem;
}

.status-ok {
  color: var(--green);
}

.status-warn {
  color: #ffd089;
}

.status-err {
  color: var(--danger);
}

.table-wrap {
  max-width: 100%;
  margin-bottom: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

th,
td {
  padding: 17px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(226, 235, 246, 0.09);
}

tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--green);
  background: rgba(255, 255, 255, 0.035);
  font-family: "IBM Plex Mono", "SF Mono", Monaco, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

td strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
}

footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(226, 235, 246, 0.08);
  color: var(--dim);
  font-family: "IBM Plex Mono", "SF Mono", Monaco, monospace;
  font-size: 0.72rem;
  text-align: center;
  text-transform: uppercase;
}

footer p {
  margin: 0;
  color: var(--dim);
  font-size: 0.72rem;
}

footer a {
  color: rgba(238, 244, 246, 0.66);
  text-decoration: none;
}

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

@media (max-width: 960px) {
  .hero,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .flyer-shell {
    width: calc(100% - 28px);
    padding: 16px 0 48px;
  }

  .hero-copy,
  .device-panel,
  .steps,
  .fallback,
  .info-card {
    padding: 20px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .cta-stack {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  table {
    min-width: 560px;
  }
}
