:root {
  --bg: #f4efe3;
  --ink: #1f1f1b;
  --muted: #6e6458;
  --card: #fffdf8;
  --line: #dbcfbc;
  --brand: #0a7d6e;
  --brand-2: #114f4a;
  --ghost: #ebe4d7;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Space Grotesk", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, #fff7da 0%, transparent 34%),
    radial-gradient(circle at 88% 12%, #dbece8 0%, transparent 33%),
    linear-gradient(155deg, #f0e7d8 0%, #f8f5ed 60%, #f7efe0 100%);
}

body.private-pending main {
  visibility: hidden;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 3.2rem;
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(27, 27, 21, 0.08);
}

.hero {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(10, 125, 110, 0.2) 0%, rgba(10, 125, 110, 0) 70%);
}

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--brand-2);
}

h1 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.06;
}

h2 {
  margin: 0;
  font-size: 1.1rem;
}

.subtitle,
.muted {
  color: var(--muted);
}

.subtitle {
  margin: 0.8rem 0 0;
  max-width: 64ch;
}

.grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel {
  padding: 1.1rem;
}

.panel .muted {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.actions {
  margin-top: 1.1rem;
}

button,
.button-link {
  border: 0;
  border-radius: 12px;
  padding: 0.58rem 0.95rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, filter 120ms ease;
}

button:hover,
.button-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

button:active,
.button-link:active {
  transform: translateY(0);
}

button:not(.secondary):not(.ghost),
.button-link:not(.ghost) {
  background: var(--brand);
  color: #fff;
}

button.secondary,
.button-link.secondary {
  background: var(--brand-2);
  color: #fff;
}

button.ghost,
.button-link.ghost {
  background: var(--ghost);
  color: #2a2824;
}

pre {
  margin: 0.85rem 0 0;
  min-height: 96px;
  padding: 0.9rem;
  border-radius: 12px;
  background: #141412;
  color: #d8f9ef;
  overflow: auto;
  font-family: var(--mono);
  font-size: 0.83rem;
  line-height: 1.4;
}

.marketing-grid {
  margin-top: 1rem;
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketing-grid p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.form-stack {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.form-stack label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: #3d382f;
}

.form-stack input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: #fff;
  font-family: var(--sans);
}

.form-stack select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: #fff;
  font-family: var(--sans);
}

.table-shell {
  margin-top: 0.8rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

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

th,
td {
  text-align: left;
  padding: 0.6rem 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

th {
  background: #f2ece0;
  font-weight: 700;
}

tbody tr:nth-child(even) td {
  background: #fbf8f1;
}

.callback-shell {
  max-width: 760px;
}

.callback-card {
  padding: 1.3rem;
}

@media (max-width: 900px) {
  .marketing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.3rem;
  }
}
