:root {
  color-scheme: light;
  --ink: #162126;
  --muted: #5f6d73;
  --line: #d8e0e2;
  --surface: #f5f8f7;
  --panel: #ffffff;
  --accent: #147d66;
  --accent-strong: #0d5f4d;
  --warm: #f3c557;
  --soft: #e7f0ed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, #f4f8f7 55%, #eef5f3 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

.shell {
  width: min(1040px, calc(100% - 32px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 40px 0;
}

.landing-shell {
  width: min(1120px, calc(100% - 32px));
}

.shell.narrow {
  width: min(760px, calc(100% - 32px));
}

.panel,
.diagnostics {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 70px rgba(23, 33, 38, 0.08);
}

.hero-panel {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 6vw, 72px);
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.compact {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: 4rem;
  line-height: 0.95;
}

h2 {
  font-size: 1.2rem;
}

p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
}

.lede {
  max-width: 54ch;
  font-size: 1.12rem;
}

.primary,
.inline-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.primary {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.deal-visual {
  display: grid;
  gap: 14px;
}

.ticket {
  min-height: 154px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px;
  border: 1px solid #cfe0dc;
  border-left: 8px solid var(--accent);
  border-radius: 8px;
  background:
    radial-gradient(circle at right 24px top 24px, rgba(243, 197, 87, 0.36), transparent 34px),
    #fbfdfc;
}

.ticket.secondary {
  border-left-color: var(--warm);
}

.ticket-label {
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ticket strong {
  font-size: 2rem;
  line-height: 1;
}

.ticket span:last-child {
  color: var(--muted);
}

.mini-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mini-row span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.support-strip {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 20px;
  align-items: start;
  padding: clamp(20px, 4vw, 30px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.diagnostics {
  padding: 18px;
}

.diagnostics summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.primary:focus-visible,
.inline-link:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(24, 119, 100, 0.32);
  outline-offset: 3px;
}

pre {
  overflow: auto;
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 6px;
  background: #0f181b;
  color: #dcecea;
  font-size: 0.86rem;
}

.site-footer {
  min-height: 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, 1040px);
    min-height: calc(100vh - 120px);
    align-content: start;
    padding: 16px 0 18px;
  }

  .hero-panel,
  .support-strip {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
    gap: 14px;
    padding: 18px 16px;
  }

  .hero-copy {
    gap: 12px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.05rem;
  }

  .lede {
    font-size: 0.97rem;
  }

  .deal-visual {
    gap: 10px;
  }

  .ticket {
    min-height: 114px;
    padding: 16px;
  }

  .ticket strong {
    font-size: 1.25rem;
  }

  .mini-row {
    grid-template-columns: 1fr;
  }

  .mini-row span {
    min-height: 36px;
    font-size: 0.8rem;
  }

  .support-strip {
    gap: 12px;
    padding: 16px 0 18px;
  }

  .diagnostics {
    padding: 14px;
  }

  .site-footer {
    min-height: auto;
    padding: 16px 12px 18px;
    gap: 10px 12px;
  }

  .site-footer a {
    font-size: 0.88rem;
  }
}
