:root {
  --red: #e4344f;
  --red-strong: #c31f3c;
  --red-tint: #fdeef0;
  --ink: #17181c;
  --ink-soft: #3d3f46;
  --muted: #6b7280;
  --faint: #9aa0aa;
  --line: #e8e9ee;
  --line-strong: #dcdee5;
  --bg: #fbfbfc;
  --panel: #ffffff;
  --shadow-sm: 0 1px 2px rgba(20, 23, 33, 0.06);
  --shadow: 0 10px 30px rgba(20, 23, 33, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
}
.nav {
  width: min(var(--maxw), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  background: #fff url("https://cdn.acedata.cloud/ohknky.jpg") center / cover no-repeat;
  box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink); background: #f2f3f5; }

.button {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--panel);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.05s;
}
.button:hover { background: #f7f8fa; border-color: var(--line-strong); }
.button:active { transform: translateY(1px); }
.button.primary {
  border-color: transparent;
  color: #fff;
  background: var(--red);
  box-shadow: 0 1px 2px rgba(196, 31, 60, 0.24);
}
.button.primary:hover { background: var(--red-strong); }

/* ---------- Headings ---------- */
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--red-strong);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lede { margin: 16px 0 0; color: var(--muted); font-size: 1.06rem; max-width: 620px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 400px at 78% -10%, var(--red-tint), transparent 60%),
    var(--panel);
}
.hero-inner {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 56px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.accent { color: var(--red-strong); }

.showcase {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.dots { display: flex; gap: 6px; }
.dots span { width: 9px; height: 9px; border-radius: 999px; background: var(--line-strong); }
.dots span:nth-child(1) { background: #ef6a6a; }
.dots span:nth-child(2) { background: #f0b64a; }
.dots span:nth-child(3) { background: #57b98a; }
.showcase-body { padding: 20px; display: grid; gap: 12px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fcfcfd;
}
.metric span { display: block; color: var(--faint); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.metric strong { display: block; margin-top: 8px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.steps { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: #fcfcfd;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.step + .step { border-top: 1px solid var(--line); }
.step b {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 7px;
  background: var(--red-tint);
  color: var(--red-strong);
  font-size: 0.74rem;
  font-weight: 700;
}

/* ---------- Sections ---------- */
.section { width: min(var(--maxw), calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { max-width: 640px; margin-bottom: 36px; }
.section-heading p { margin: 12px 0 0; color: var(--muted); font-size: 1.02rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.1s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); transform: translateY(-2px); }
.card-pad { padding: 24px; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.card h3 { margin-bottom: 8px; }

.icon-tile {
  width: 40px; height: 40px;
  margin-bottom: 16px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--red-strong);
  background: var(--red-tint);
}
.icon-tile svg { width: 20px; height: 20px; }

/* ---------- Pricing ---------- */
.plan { display: flex; flex-direction: column; }
.plan-name { color: var(--muted); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.price { margin: 10px 0 4px; font-size: 2.1rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.price small { color: var(--faint); font-size: 0.88rem; font-weight: 500; letter-spacing: 0; }
.plan-note { margin: 0 0 18px; color: var(--muted); font-size: 0.92rem; min-height: 40px; }
.check-list { margin: 18px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 0.92rem; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 999px;
  background: var(--red-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23c31f3c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}
.plan .button { margin-top: 4px; width: 100%; }
.pricing { align-items: stretch; }
.pricing .plan { position: relative; }
.plan.featured { border-color: var(--red); box-shadow: 0 12px 34px rgba(228, 52, 79, 0.14); }
.plan-badge { position: absolute; top: -11px; left: 24px; padding: 4px 11px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; }

/* ---------- Checkout ---------- */
.checkout-page { background: var(--bg); }
.checkout-panel { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 64px; }
.checkout-intro { max-width: 680px; margin: 0 0 28px; }
.checkout-intro h1 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); }
.checkout-intro p { margin: 10px 0 0; color: var(--muted); font-size: 0.98rem; }
.checkout-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr); gap: 20px; align-items: start; }
.checkout-shell .card-pad { padding: 24px; }
.checkout-shell h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }

.plan-list { display: grid; gap: 10px; }
.plan-option {
  width: 100%;
  padding: 15px 16px;
  text-align: left;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  cursor: pointer;
  font-family: inherit;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.plan-option:hover { border-color: var(--faint); background: #fcfcfd; }
.plan-option.active { border-color: var(--red); box-shadow: 0 0 0 3px rgba(228, 52, 79, 0.14); }
.plan-option strong { display: block; font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.plan-option span { display: block; margin-top: 4px; font-size: 0.85rem; line-height: 1.5; color: var(--muted); }

.checkout-shell .pay-summary { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; background: #f7f8fa; border: 1px solid var(--line); line-height: 1.55; }
.pay-summary strong { color: var(--ink); font-weight: 600; }
.pay-buttons { display: grid; gap: 12px; margin-top: 4px; }
.pay-button {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  cursor: pointer;
  transition: filter 0.15s, transform 0.05s, box-shadow 0.15s;
}
.pay-button:hover { filter: brightness(0.97); }
.pay-button:active { transform: translateY(1px); }
.pay-button:disabled { opacity: 0.6; cursor: default; }
.pay-button.stripe { background: #635bff; color: #fff; box-shadow: 0 1px 2px rgba(99, 91, 255, 0.3); }
.pay-button.paypal { background: #ffffff; color: #2c2e33; border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.pay-with { font-size: 0.92rem; font-weight: 500; opacity: 0.9; }
.brand-stripe { width: auto; height: 19px; display: block; }
.brand-paypal { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-style: italic; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; }
.brand-paypal .pp-a { color: #253b80; }
.brand-paypal .pp-b { color: #179bd7; }
.status-box { margin-top: 16px; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }

.notice {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f8fa;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}
.notice.warn { border-color: #f4dcc0; background: #fdf6ec; color: #8a5a1a; }

/* ---------- Content pages ---------- */
.page-hero { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 8px; }
.page-hero .eyebrow { text-align: left; }
.page-hero h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.page-hero p { margin: 12px 0 0; color: var(--muted); font-size: 1rem; }
.content-page { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 72px; }
.content-card { padding: 8px 0; }
.content-card h2 { margin-top: 32px; margin-bottom: 8px; font-size: 1.2rem; font-weight: 700; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: var(--ink-soft); font-size: 0.96rem; }
.content-card ul { padding-left: 20px; }
.content-card li { margin: 6px 0; }
.content-card a { color: var(--red-strong); font-weight: 600; text-underline-offset: 2px; }
.data-table { width: 100%; margin: 14px 0 22px; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.94rem; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th { width: 190px; background: #f7f8fa; color: var(--ink); font-weight: 600; }
.data-table td { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); }
.footer-inner {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { margin: 0 0 6px; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.footer-brand a { color: var(--ink-soft); }
.footer-col h4 { margin: 0 0 12px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.footer-col a { display: block; padding: 5px 0; color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 60px 0 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; gap: 10px 16px; min-height: 60px; }
  .brand { flex: 1 1 auto; }
  .nav > .button { order: 2; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  .checkout-shell { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; }
  .section { padding: 52px 0; }
}
