:root {
  color-scheme: light;
  --page: #eef4ff;
  --surface: #ffffff;
  --text: #101828;
  --muted: #5b6472;
  --edge: #d8e2f2;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --success: #059669;
  --amber: #a16207;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .7) 0 24%, transparent 24%),
    repeating-linear-gradient(18deg, rgba(255, 255, 255, .55) 0 1px, transparent 1px 24px),
    var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button {
  font: inherit;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(760px, 100%);
  padding: 28px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 60px rgba(15, 23, 42, .12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--edge);
}

.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.brand strong,
.brand span {
  display: block;
}

.brand span,
.muted,
.summary span,
.method {
  color: var(--muted);
}

.content {
  padding-top: 26px;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.summary,
.plans,
.methods {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary div,
.plan {
  padding: 14px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: #fbfdff;
}

.summary span,
.summary strong {
  display: block;
}

.summary span {
  font-size: 12px;
  font-weight: 700;
}

.summary strong {
  margin-top: 5px;
  font-size: 18px;
}

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

.method {
  padding: 12px;
  border-radius: 8px;
  background: var(--brand-soft);
  border: 1px solid #bfdbfe;
  font-size: 13px;
  font-weight: 700;
}

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

.plan h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.price {
  font-size: 28px;
  font-weight: 800;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #bfdbfe;
}

.notice {
  margin-top: 18px;
  padding: 12px;
  border-radius: 8px;
  background: #fffbeb;
  color: var(--amber);
  border: 1px solid #fde68a;
  font-size: 13px;
  line-height: 1.45;
}

.error {
  color: #b42318;
}

.loading {
  color: var(--muted);
}

@media (max-width: 680px) {
  .shell {
    padding: 12px;
  }

  .panel {
    padding: 18px;
  }

  .summary,
  .plans,
  .methods {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 24px;
  }
}
