:root {
  --ink: #101828;
  --muted: #667085;
  --line: #d6dce5;
  --soft: #f4f6f8;
  --paper: #ffffff;
  --brand: #0f172a;
  --accent: #0f766e;
  --accent-soft: #d8f3ec;
  --blue: #2563eb;
  --amber: #b45309;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #eef2f6;
  font-family:
    Inter,
    "Segoe UI",
    "Hiragino Sans",
    "Yu Gothic UI",
    sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(16, 24, 40, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--brand);
  font-weight: 800;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-cta,
.primary-link,
.secondary-link,
.download-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.primary-link,
.download-box button {
  color: #ffffff;
  background: var(--brand);
}

.secondary-link {
  color: var(--ink);
  background: #e3e8ef;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.88), rgba(15, 118, 110, 0.72)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' viewBox='0 0 1600 1000'%3E%3Crect width='1600' height='1000' fill='%23101828'/%3E%3Cg opacity='.32' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M0 622 C178 566 298 689 460 636 C629 581 729 439 920 511 C1111 583 1258 694 1600 557'/%3E%3Cpath d='M0 744 C205 665 319 801 501 742 C683 682 821 582 1035 642 C1249 703 1394 784 1600 724'/%3E%3Cpath d='M0 408 C220 343 330 454 500 407 C675 358 773 236 978 301 C1185 366 1396 468 1600 397'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  color: #ffffff;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9af0df;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

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

.hero .secondary-link {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.product-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 520px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.panel-top,
.track-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.panel-top {
  grid-template-columns: 1fr auto;
  background: #111827;
  color: #ffffff;
}

.track-row span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8edf4;
  font-weight: 900;
}

.track-row small {
  display: block;
  color: var(--muted);
}

.track-row.is-active {
  outline: 2px solid var(--accent);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  padding: 18px;
  background: #ffffff;
  text-align: center;
  font-weight: 800;
}

.section {
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: #ffffff;
}

.section:nth-of-type(odd) {
  background: #f8fafc;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split p {
  color: var(--muted);
  font-size: 17px;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.price-card.is-featured {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.plan-label {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8edf4;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0;
  font-size: 40px;
  line-height: 1;
}

.price-card h3 small {
  color: var(--muted);
  font-size: 16px;
}

.price-card p {
  flex: 1;
  color: var(--muted);
}

.price-note {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--amber);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.download-box,
.email-card,
.checkout-console,
pre {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.download-box {
  display: grid;
  gap: 12px;
}

.download-box span,
.download-box small {
  color: var(--muted);
}

.dashboard {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.dashboard aside,
.dashboard-main {
  background: #ffffff;
}

.dashboard aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
}

.dashboard button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.dashboard button.is-selected {
  padding-left: 14px;
  background: var(--brand);
  color: #ffffff;
}

.dashboard-main {
  padding: 24px;
}

.license-status {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: #064e3b;
}

.license-status span,
.license-status small {
  font-weight: 700;
}

.license-actions {
  margin-top: 10px;
}

.license-actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.license-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.license-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.license-grid dd {
  margin: 6px 0 0;
  font-weight: 900;
}

.account-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.account-subgrid section {
  min-width: 0;
}

.account-subgrid h3 {
  margin: 0 0 8px;
}

.account-list {
  display: grid;
  gap: 8px;
}

.account-list span {
  color: var(--muted);
  font-weight: 800;
}

.account-list-item {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.account-list-item strong,
.account-list-item small,
.account-list-item code {
  overflow-wrap: anywhere;
}

.account-list-item small {
  color: var(--muted);
  font-weight: 800;
}

.account-list-item button {
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #e3e8ef;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

pre {
  margin: 0;
  overflow-x: auto;
  color: #d9e7ff;
  background: #111827;
}

code {
  font-family: "Cascadia Code", Consolas, monospace;
}

.email-preview {
  background: #eef2f6;
}

.email-card {
  max-width: 760px;
}

.email-card code {
  display: inline-flex;
  margin: 8px 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-weight: 900;
}

.checkout-console {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  margin-top: 24px;
}

.checkout-form {
  display: grid;
  align-content: start;
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-weight: 800;
}

.checkout-actions,
.webhook-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-actions button,
.webhook-actions button {
  border: 0;
}

.webhook-actions {
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.webhook-actions label {
  flex: 1 1 240px;
}

.checkout-result {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 240px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.checkout-result > strong {
  font-size: 18px;
}

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

.result-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.result-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.result-grid dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.email-body {
  max-height: 220px;
  padding: 14px;
  font-size: 12px;
  white-space: pre-wrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #ffffff;
  background: #111827;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .split,
  .pricing-grid,
  .trust-strip,
  .dashboard,
  .license-grid,
  .account-subgrid,
  .checkout-console,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .product-panel {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand {
    padding-inline: 12px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }
}
