:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d6b82;
  --line: #dfe6ef;
  --brand: #8b4df6;
  --brand-dark: #6535c8;
  --accent: #0f766e;
  --soft: #f3efff;
  --soft-strong: #e7dcff;
  --shadow: 0 14px 36px rgba(28, 33, 54, 0.07);
  --max: 1000px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -10%, rgba(139, 77, 246, 0.16), transparent 34rem),
    linear-gradient(180deg, #ffffff 0, var(--bg) 36rem);
  font: 14px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--brand-dark);
  text-underline-offset: 0.18em;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--brand-dark);
}

.hero {
  padding: 44px 0 36px;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  line-height: 1.1;
}

.lead {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 22px;
  align-items: end;
}

.hero-note {
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-note strong {
  display: block;
  margin-bottom: 6px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  color: var(--brand-dark);
  background: #ffffff;
}

main {
  padding: 26px 0 46px;
}

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

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

.card,
.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(28, 33, 54, 0.04);
}

.card {
  padding: 16px;
}

.section {
  padding: 20px;
  margin-bottom: 14px;
}

.install-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 20px;
  align-items: center;
  padding: 18px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f3ff 100%);
  border: 1px solid var(--soft-strong);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(48, 39, 90, 0.06);
}

.install-banner h2 {
  margin-bottom: 6px;
}

.install-banner p {
  margin-bottom: 0;
}

.install-copy {
  min-width: 0;
}

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

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 184px;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(28, 33, 54, 0.05);
}

.store-link:hover {
  border-color: var(--brand);
}

.store-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.store-link small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.store-link strong {
  display: block;
  margin-top: 1px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.install-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(139, 77, 246, 0.2);
  border-radius: 8px;
  background: #130f24;
  box-shadow: 0 16px 34px rgba(28, 33, 54, 0.12);
}

.install-media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-heading {
  padding: 24px 0 14px;
}

.page-heading .section {
  margin-bottom: 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.22;
}

h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

p,
ul {
  margin-top: 0;
}

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

.small {
  font-size: 0.86rem;
}

.price {
  margin: 6px 0;
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: 0;
}

.billing-cycle {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.plan-card {
  min-height: 100%;
  position: relative;
}

.plan-card.featured {
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgba(139, 77, 246, 0.08);
}

.plan-card .tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 3px 8px;
  color: var(--brand-dark);
  background: var(--soft);
  border: 1px solid var(--soft-strong);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.feature-list {
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.notice-line {
  padding: 11px 13px;
  color: #463b16;
  background: #fff7db;
  border: 1px solid #f0d889;
  border-radius: 8px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1f5fb;
}

.site-footer {
  padding: 22px 0;
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

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

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

  .install-banner {
    grid-template-columns: 1fr;
  }

  .store-actions {
    justify-content: stretch;
  }

  .store-link {
    flex: 1 1 100%;
  }
}
