:root {
  color-scheme: light;
  --bg: #dff1eb;
  --bg-2: #eef8f5;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.11);
  --brand: #7c3aed;
  --brand-2: #c45cff;
  --green: #10b981;
  --success: #047857;
  --warning: #b45309;
  --danger: #b42318;
  --shadow: 0 26px 70px rgba(30, 64, 55, 0.13);
  --soft-shadow: 0 18px 45px rgba(30, 64, 55, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,0.58), transparent 32%),
    linear-gradient(135deg, var(--bg), #eaf7fb 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.48;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(1180px, calc(100% - 42px));
  min-height: 70px;
  margin: 18px auto 0;
  padding: 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 27px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
}

.brand::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--green));
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.topbar nav a {
  min-width: 72px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.topbar nav a:hover {
  border-color: rgba(124, 58, 237, 0.32);
  color: var(--brand);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 70px auto 48px;
}

.section-card,
.panel {
  margin-bottom: 64px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.section-card {
  padding: clamp(34px, 6vw, 66px);
}

.panel-body {
  padding: 28px;
}

.panel.compact .panel-body {
  padding: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: center;
  min-height: 430px;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 280px;
}

.visual-stack {
  position: relative;
  width: min(310px, 100%);
  aspect-ratio: 1.05;
}

.visual-card {
  position: absolute;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 52px rgba(30, 64, 55, 0.13);
}

.visual-card.main {
  inset: 48px 20px 30px 24px;
  display: grid;
  place-items: center;
  font-size: 76px;
}

.visual-card.top {
  top: 8px;
  left: 44px;
  width: 92px;
  height: 92px;
  background: #ecfeff;
}

.visual-card.right {
  right: 4px;
  top: 54px;
  width: 94px;
  height: 150px;
  background: #f3e8ff;
}

.visual-card.bottom {
  bottom: 12px;
  left: 0;
  width: 155px;
  height: 82px;
  background: #dcfce7;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.page-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 670px;
  margin-bottom: 18px;
  font-size: clamp(32px, 5.2vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  letter-spacing: 0;
}

.center {
  text-align: center;
}

.center p,
.center h2 {
  margin-left: auto;
  margin-right: auto;
}

.lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

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

.grid,
.card-grid,
.price-grid {
  display: grid;
  gap: 26px;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.price-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card,
.info-card,
.price-card,
.metric {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 45px rgba(30, 64, 55, 0.08);
}

.product-icon,
.info-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 13px;
  background: #f3e8ff;
  color: var(--brand);
  font-size: 23px;
}

.price {
  margin: 12px 0 4px;
  font-size: 42px;
  font-weight: 900;
}

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

.feature-list {
  margin: 20px 0 26px;
  padding-left: 18px;
  color: #475569;
  font-weight: 650;
}

.feature-list li {
  margin-bottom: 7px;
}

.metric {
  min-height: 104px;
}

.metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.2;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}

.toolbar form {
  flex: 1 1 360px;
}

form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 13px 25px rgba(124, 58, 237, 0.24);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover {
  filter: brightness(0.98);
}

.button.secondary,
button.secondary {
  background: var(--green);
  box-shadow: 0 13px 25px rgba(16, 185, 129, 0.20);
}

.button.ghost,
button.ghost {
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: none;
}

.button.danger,
button.danger {
  background: var(--danger);
  box-shadow: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 14px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.44);
}

.identity {
  display: grid;
  gap: 2px;
}

.identity strong {
  overflow-wrap: anywhere;
}

.identity span {
  color: var(--muted);
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.badge.success {
  background: #dcfce7;
  color: var(--success);
}

.badge.warning {
  background: #fef3c7;
  color: var(--warning);
}

.badge.neutral {
  background: #eef2f7;
  color: #475467;
}

.badge.danger {
  background: #fee4e2;
  color: var(--danger);
}

.notice,
.error {
  margin-bottom: 16px;
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 700;
}

.notice {
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #14532d;
}

.error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #7f1d1d;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.empty-state {
  padding: 26px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: min(1180px, calc(100% - 42px));
  margin: 18px auto 56px;
  padding: 24px 44px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--soft-shadow);
  color: #475569;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer a {
  color: #64748b;
  text-decoration: none;
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 24px, 1180px);
    padding: 18px;
  }

  .topbar nav {
    width: 100%;
  }

  .topbar nav a {
    flex: 1;
    min-width: 0;
  }

  .shell {
    width: min(100% - 24px, 1180px);
    margin-top: 28px;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .page-head,
  .toolbar,
  .site-footer {
    display: grid;
  }

  button,
  .button {
    width: 100%;
  }
}
