:root {
  color-scheme: light;
  --bg: #fbfbff;
  --surface: #ffffff;
  --surface-soft: #f7f5ff;
  --text: #101729;
  --muted: #626a7b;
  --line: #e4e7f2;
  --accent: #6847f5;
  --accent-strong: #5734e8;
  --accent-soft: #efeaff;
  --teal: #0f766e;
  --shadow: 0 24px 70px rgb(54 61 95 / 0.12);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 22%, rgb(244 240 255 / 0.9), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 68%, #ffffff 100%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.site-header,
.hero,
.plans,
.checkout-section,
.service,
.policy-page,
.site-footer {
  width: min(1530px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(140px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 72px;
  margin-top: 18px;
  padding: 0 28px;
  background: rgb(255 255 255 / 0.92);
  border: 1px solid rgb(228 231 242 / 0.75);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgb(30 35 62 / 0.08);
  backdrop-filter: blur(14px);
}

.brand,
.top-nav,
.hero-actions,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 14px;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #7656ff, #5834dd);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgb(104 71 245 / 0.22);
}

.brand-mark::after {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 13px solid #ffffff;
  content: "";
  transform: translate(-50%, -50%);
}

.brand-name {
  font-size: 27px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.brand-company {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.top-nav {
  gap: 48px;
  justify-content: center;
  color: #1d2436;
  font-size: 16px;
  font-weight: 750;
}

.top-nav a {
  position: relative;
  padding: 24px 0;
}

.top-nav a[aria-current="page"],
.top-nav a:hover {
  color: var(--accent-strong);
}

.top-nav a[aria-current="page"]::after,
.top-nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  content: "";
}

.nav-button,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.nav-button {
  justify-self: end;
  color: #ffffff;
  background: linear-gradient(135deg, #7656ff, var(--accent-strong));
  box-shadow: 0 12px 24px rgb(104 71 245 / 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1fr);
  gap: 62px;
  align-items: center;
  min-height: 680px;
  padding: 66px 0 54px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin: 0 0 30px;
  padding: 0 17px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
}

.eyebrow.compact {
  margin-bottom: 14px;
  color: #4c3f87;
  background: #f1effb;
}

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

h1 {
  font-size: 70px;
  line-height: 1.08;
  font-weight: 950;
}

h1 span,
h2 span {
  color: var(--accent-strong);
}

.lead {
  max-width: 640px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  gap: 22px;
  margin-top: 34px;
}

.button.primary {
  min-width: 210px;
  color: #ffffff;
  background: linear-gradient(135deg, #7656ff, #5834dd);
  box-shadow: 0 14px 30px rgb(104 71 245 / 0.25);
}

.button.secondary {
  min-width: 190px;
  color: var(--accent-strong);
  background: #ffffff;
  border-color: #cfc6ff;
}

.button.full {
  width: 100%;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 48px 0 0;
}

.feature-row div {
  width: min(160px, 100%);
}

.feature-row dt {
  color: #121a2e;
  font-size: 15px;
  font-weight: 950;
}

.feature-row dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.hero-visual,
.image-panel,
.checkout-visual {
  margin: 0;
}

.hero-visual img,
.image-panel img,
.checkout-visual img {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.button:active,
.nav-button:active {
  transform: translateY(1px);
}

a:focus-visible {
  outline: 3px solid rgb(104 71 245 / 0.34);
  outline-offset: 3px;
}

.plans,
.checkout-section,
.service {
  padding: 62px 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

h2 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 950;
}

.section-heading p,
.checkout-copy p,
.service p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading > p:last-child {
  margin-top: 14px;
}

.plan-grid,
.checkout-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.55fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.price-panel,
.service-grid article {
  background: rgb(255 255 255 / 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgb(54 61 95 / 0.08);
}

.price-panel {
  padding: 28px;
}

.plan-name {
  color: #ffffff;
  margin: -28px -28px 28px;
  padding: 28px;
  background: linear-gradient(135deg, #7656ff, #5834dd);
  border-radius: 8px 8px 0 0;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.price {
  color: var(--accent-strong);
  font-size: 54px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.price span {
  font-size: 32px;
}

.price small {
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.price-panel ul {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.price-panel li {
  position: relative;
  padding-left: 30px;
  color: #252c3e;
  font-size: 15px;
  line-height: 1.55;
}

.price-panel li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 50%;
  content: "✓";
  font-size: 13px;
  font-weight: 950;
}

.refund-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.checkout-section {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
}

.checkout-copy {
  max-width: 560px;
}

.checkout-copy p:not(.eyebrow) {
  margin: 18px 0 28px;
}

.service {
  padding-bottom: 78px;
}

.service h2 {
  margin-bottom: 22px;
  text-align: center;
}

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

.service-grid article {
  padding: 24px;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 950;
}

.policy-page {
  max-width: 960px;
  padding: 70px 0 78px;
}

.policy-hero {
  padding: 32px 0 34px;
}

.policy-hero h1 {
  max-width: 760px;
  font-size: 48px;
}

.policy-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.policy-content {
  padding-top: 32px;
  border-top: 1px solid #dedcf4;
}

.policy-content h2 {
  margin: 42px 0 14px;
  font-size: 24px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: #30384c;
  font-size: 16px;
  line-height: 1.9;
}

.policy-content p + p {
  margin-top: 16px;
}

.policy-content ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.policy-content li::marker {
  color: var(--accent-strong);
}

.site-footer {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0 32px;
  color: var(--muted);
  border-top: 1px solid #dedcf4;
  font-size: 15px;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-end;
}

.site-footer a:hover {
  color: var(--accent-strong);
}

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

  .top-nav {
    display: none;
  }

  .hero,
  .plan-grid,
  .checkout-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    min-height: 0;
  }

  .hero-visual {
    order: -1;
  }

  .checkout-copy {
    max-width: none;
  }

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

@media (max-width: 760px) {
  .site-header,
  .hero,
  .plans,
  .checkout-section,
  .service,
  .policy-page,
  .site-footer {
    width: min(100% - 28px, 1530px);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 23px;
  }

  .brand-company {
    display: none;
  }

  .nav-button {
    width: 100%;
    justify-self: stretch;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 18px;
  }

  .policy-page {
    padding: 38px 0 56px;
  }

  .policy-hero h1 {
    font-size: 34px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .feature-row div {
    width: auto;
  }

  .price {
    font-size: 44px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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