/* ==========================================================================
   HongtaoAds — design system (lavender white + mint)
   2026.10.30
   ========================================================================== */

:root {
  --bg: #F7F5FF;
  --bg-deep: #F0ECFF;
  --panel: #FFFFFF;
  --panel-soft: #FBFAFF;
  --ink: #16143A;
  --text: #1B1A3C;
  --muted: #5D5B7E;
  --dim: #8B89A8;
  --line: #E8E4F7;
  --line-strong: #D6D0F0;

  --lav: #6D5DF6;
  --lav-2: #8E7DFF;
  --lav-deep: #4B3AD6;
  --lav-soft: #EFEBFF;

  --mint: #12D6A4;
  --mint-2: #63F2C9;
  --mint-deep: #0AAE86;
  --mint-soft: #E2FBF3;

  --cyan: #5B4BE0;
  --green: #0AAE86;
  --amber: #C98A15;
  --red: #D6456B;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(52, 35, 120, .05), 0 6px 16px -8px rgba(52, 35, 120, .12);
  --shadow-md: 0 2px 4px rgba(52, 35, 120, .04), 0 18px 40px -20px rgba(52, 35, 120, .28);
  --shadow-lg: 0 30px 70px -32px rgba(58, 40, 140, .38);

  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --head-h: 72px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.page {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 800;
}

p { margin: 0; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--lav-deep); }

img, svg { max-width: 100%; }
img { height: auto; }

ul, ol { margin: 0; padding: 0; }

::selection { background: #D9D0FF; color: #16143A; }

:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 6px; }

.shell {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

.small { font-size: 13px; }
.dim { color: var(--dim); }
.muted { color: var(--muted); }
.right { text-align: right; }
.ok { color: var(--mint-deep); }
.wait { color: var(--amber); }

.ic { width: 20px; height: 20px; flex: none; }
.ic--xs { width: 15px; height: 15px; }
.ic--sm { width: 17px; height: 17px; }
.ic--lg { width: 26px; height: 26px; }

.grad-text {
  background: linear-gradient(96deg, var(--lav) 6%, #7E6BFF 38%, var(--mint) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ------------------------------------------------------------------ type */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lav-deep);
  background: var(--lav-soft);
  border: 1px solid #E1DAFF;
  border-radius: 999px;
  padding: 6px 13px;
}

.eyebrow--violet { color: var(--lav-deep); }

.lead { font-size: 18px; color: var(--muted); line-height: 1.7; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 14px;
  color: var(--lav-deep);
}
.link-arrow .ic { transition: transform .2s ease; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* --------------------------------------------------------------- buttons */

.btn {
  --btn-bg: var(--panel);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn .ic { transition: transform .18s ease; }
.btn:hover .ic { transform: translateX(2px); }

.btn--primary {
  background: linear-gradient(100deg, var(--lav) 0%, #7A66FF 55%, #6FE9C6 140%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 26px -12px rgba(93, 72, 240, .75);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(93, 72, 240, .8);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  color: var(--ink);
  border-color: #C9BFFF;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(58, 40, 140, .4);
}

.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--lg { padding: 17px 30px; font-size: 15.5px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------- announce */

.announce {
  background: linear-gradient(90deg, #241F5C, #3B2E8F 45%, #12775F);
  color: #EDE9FF;
  font-size: 13px;
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  flex-wrap: wrap;
  text-align: center;
  padding: 8px 28px;
}
.announce a { color: #9FF6DC; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.announce a:hover { color: #fff; }
.announce__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(18, 214, 164, .22);
  flex: none;
}

/* ------------------------------------------------------------------ head */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(232, 228, 247, .9);
  transition: box-shadow .25s ease;
}
.site-head.is-stuck { box-shadow: 0 12px 30px -22px rgba(48, 32, 110, .5); }

.site-head__bar {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--head-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--lav) 0%, #8E7DFF 52%, var(--mint) 130%);
  box-shadow: 0 8px 18px -10px rgba(93, 72, 240, .8);
}
.brand__mark svg { width: 38px; height: 38px; display: block; }
.brand__word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.045em;
}
.brand__word b { color: var(--lav-deep); font-weight: 800; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}

.site-nav__item { position: relative; }

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s ease, background .15s ease;
}
.site-nav__link:hover { color: var(--ink); background: var(--lav-soft); }
.site-nav__link.is-active { color: var(--lav-deep); background: var(--lav-soft); font-weight: 700; }
.ic--chev { width: 13px; height: 13px; opacity: .6; }

.site-head__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-head__auth {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.site-head__auth:hover { color: var(--lav-deep); }

/* mega menu */
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  width: 620px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.site-nav__item.has-menu:hover .mega,
.site-nav__item.has-menu:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega--sm { width: 480px; }
.mega__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.mega__head a { font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.mega__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 4px;
}
.mega__grid--2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.mega__link {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px 10px;
  border-radius: 12px;
  color: var(--text);
}
.mega__link:hover { background: var(--panel-soft); color: var(--text); }
.mega__link strong { display: block; font-size: 13.5px; color: var(--ink); letter-spacing: -0.01em; }
.mega__link small { display: block; font-size: 12px; color: var(--dim); line-height: 1.45; margin-top: 2px; }
.mega__ic {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--lav-soft);
  color: var(--lav-deep);
}
.mega__ic .ic { width: 17px; height: 17px; }

.site-nav__mobile-cta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: 84px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(18, 214, 164, .16), transparent 62%),
    radial-gradient(760px 520px at 8% 4%, rgba(109, 93, 246, .16), transparent 60%),
    linear-gradient(180deg, #FBFAFF 0%, var(--bg) 68%, #F4F1FF 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(109, 93, 246, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(109, 93, 246, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 480px at 62% 34%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 480px at 62% 34%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 4.9vw, 64px);
  letter-spacing: -0.045em;
  margin-top: 20px;
  line-height: 1.03;
}
.hero__sub {
  margin-top: 22px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .ic { width: 15px; height: 15px; color: var(--mint-deep); stroke-width: 2.4; }

.hero__stage { position: relative; }
.hero__glow {
  position: absolute;
  inset: -8% -4% -14% 2%;
  background:
    radial-gradient(closest-side, rgba(109, 93, 246, .3), transparent 72%),
    radial-gradient(closest-side, rgba(18, 214, 164, .26), transparent 70%);
  filter: blur(46px);
  z-index: 0;
}
.hero__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid #EDE9FB;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transform-origin: 60% 50%;
}
.hero__frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #FCFBFF;
  font-size: 11.5px;
  color: var(--dim);
}
.hero__frame-bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #E4DFF6;
  display: block;
}
.hero__frame-bar i:first-child { background: #FFB4C6; }
.hero__frame-bar i:nth-child(2) { background: #FFDCA0; }
.hero__frame-bar i:nth-child(3) { background: #A9F0D8; }
.hero__frame-bar span { margin-left: 8px; font-weight: 600; letter-spacing: .01em; }
.hero__frame img { display: block; width: 100%; }

.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
}
.chip strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); letter-spacing: -0.02em; }
.chip small { display: block; font-size: 11px; color: var(--dim); }
.chip__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(18, 214, 164, .18);
  flex: none;
}
.chip--a { bottom: 34px; left: -30px; }
.chip--b { bottom: 68px; right: -18px; }
.chip--c { top: 46%; left: -40px; }

/* --------------------------------------------------------------- marquee */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 38px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item .ic { color: var(--lav); opacity: .65; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------- stats */

.stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.stats__item { text-align: center; }
.stats__value {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.045em;
  background: linear-gradient(100deg, var(--lav-deep), #7A66FF 55%, var(--mint-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.stats__label {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--dim);
}

/* --------------------------------------------------------------- section */

.section { padding: 84px 0; position: relative; }
.section--soft { background: linear-gradient(180deg, #F3F0FF 0%, #F7F5FF 100%); }
.section--tight { padding: 56px 0; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.section__head h2 {
  font-size: clamp(28px, 3.3vw, 42px);
  margin-top: 14px;
  max-width: 620px;
}
.section__head > p,
.section__head > div > p {
  font-size: 15px;
  color: var(--muted);
  max-width: 430px;
}
.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.section__head--center h2 { margin-top: 12px; }
.section__head--center p { max-width: 620px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ----------------------------------------------------------------- cards */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  color: var(--text);
}
.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.card--link:hover {
  transform: translateY(-4px);
  border-color: #D3C8FF;
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--lav-soft), #F4FBF8);
  border: 1px solid #E6DEFF;
  color: var(--lav-deep);
  flex: none;
}
.card__icon .ic { width: 22px; height: 22px; }
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dim);
  border-top: 1px solid var(--line);
}
.card--link .card__foot { margin-top: 18px; }

.format-card h3 { font-size: 17px; }
.vertical-card .vstat {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}
.vstat span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--lav-deep);
  background: var(--lav-soft);
  border-radius: 999px;
  padding: 4px 10px;
  letter-spacing: .01em;
}

.case-card { padding: 0; overflow: hidden; }
.case-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lav-soft); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-card__media img { transform: scale(1.04); }
.case-card__tags {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  backdrop-filter: blur(6px);
  letter-spacing: .01em;
}
.case-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.case-card__body h3 { font-size: 17px; margin-bottom: 8px; }
.case-card__body p { font-size: 13.5px; color: var(--muted); }
.case-card__results {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.case-card__results div { display: flex; flex-direction: column; }
.case-card__results strong {
  font-family: var(--font-head);
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--mint-deep);
}
.case-card__results small { font-size: 10.5px; color: var(--dim); letter-spacing: .02em; }

.post-card { padding: 0; overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--lav-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--dim);
  margin-bottom: 10px;
}
.post-card__meta b { color: var(--lav-deep); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; font-size: 10.5px; }
.post-card__body h3 { font-size: 17px; margin-bottom: 8px; }
.post-card__body p { font-size: 13.5px; color: var(--muted); }
.post-card__body .link-arrow { margin-top: auto; padding-top: 18px; font-size: 13px; }

/* featured post (insights listing) */
.featured-post {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: 34px;
}
.featured-post img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.featured-post__body { padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.featured-post__body h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 12px; }
.featured-post__body p { color: var(--muted); font-size: 15px; }
.featured-post__body .link-arrow { margin-top: 20px; }

/* ----------------------------------------------------------------- plans */

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D9CFFF; }
.plan--popular {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(150deg, var(--lav), #8E7DFF 45%, var(--mint)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 24px 50px -30px rgba(93, 72, 240, .6);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 26px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(100deg, var(--lav), var(--mint));
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow: 0 8px 18px -10px rgba(93, 72, 240, .9);
}
.plan__name {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.plan__price {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.plan__price small { font-size: 12.5px; font-weight: 600; color: var(--dim); letter-spacing: 0; }
.plan__bonus {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mint-deep);
  background: var(--mint-soft);
  border-radius: 999px;
  padding: 5px 11px;
  align-self: flex-start;
}
.plan__bonus.dim { background: #F4F2FC; color: var(--dim); }
.plan__tagline {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  min-height: 42px;
}
.plan__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 18px 0 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.plan__features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text);
}
.plan__features .ic { width: 16px; height: 16px; color: var(--mint-deep); stroke-width: 2.6; margin-top: 2px; }
.plan .btn { margin-top: auto; }

/* -------------------------------------------------------------- page hero */

.page-hero {
  position: relative;
  padding: 52px 0 62px;
  overflow: hidden;
  background:
    radial-gradient(720px 360px at 88% -20%, rgba(18, 214, 164, .16), transparent 66%),
    radial-gradient(640px 340px at 6% 0%, rgba(109, 93, 246, .16), transparent 64%),
    linear-gradient(180deg, #FBFAFF, var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(109, 93, 246, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(109, 93, 246, .06) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(620px 360px at 78% 10%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(620px 360px at 78% 10%, #000, transparent 76%);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.045em;
  margin-top: 18px;
  line-height: 1.06;
}
.page-hero p {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--dim);
}
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--lav-deep); }
.breadcrumb .sep { opacity: .5; }

.legal-meta {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------------------------------------------------------------- pills */

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}
.pill strong { font-weight: 800; }

.notice {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--mint-soft);
  border: 1px solid #BFEFE0;
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: #0D5E4C;
  line-height: 1.6;
}
.notice strong { color: #084a3c; }

/* --------------------------------------------------------------- split */

.split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 56px;
  align-items: start;
}
.split--contact { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.split--faq { grid-template-columns: 250px minmax(0,1fr); gap: 44px; }

.feature-list { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
.feature-row {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r-md);
  transition: background .18s ease;
}
.feature-row:hover { background: rgba(255, 255, 255, .75); }
.feature-row__ic {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--lav-deep);
  box-shadow: var(--shadow-sm);
}
.feature-row strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); letter-spacing: -0.02em; }
.feature-row p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* ---------------------------------------------------------------- console */

.console {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: #FCFBFF;
  font-size: 11.5px;
  color: var(--dim);
  font-weight: 600;
}
.console__bar i { width: 9px; height: 9px; border-radius: 50%; background: #E6E1F7; display: block; }
.console__bar i:first-child { background: #FFB4C6; }
.console__bar i:nth-child(2) { background: #FFDCA0; }
.console__bar i:nth-child(3) { background: #A9F0D8; }
.console__bar span { margin-left: 8px; }
.console__body { padding: 20px; }
.console__kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.kpi {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.kpi small { display: block; font-size: 10.5px; color: var(--dim); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.kpi strong { display: block; font-family: var(--font-head); font-size: 19px; color: var(--ink); letter-spacing: -0.03em; margin-top: 3px; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--mint-deep); }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 130px;
  margin: 20px 0 16px;
}
.bars span {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--lav-2), #C9BFFF);
  animation: barGrow .9s cubic-bezier(.2, .7, .3, 1) both;
  min-height: 6px;
}
.bars span:nth-child(3n) { background: linear-gradient(180deg, var(--mint), #A9F0D8); }
@keyframes barGrow { from { transform: scaleY(.02); transform-origin: bottom; } }
.console__rows { display: flex; flex-direction: column; gap: 2px; }
.console__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 12.5px;
  color: var(--muted);
}
.console__row:nth-child(odd) { background: var(--panel-soft); }
.console__row b { font-weight: 700; font-size: 12px; }

/* ----------------------------------------------------------------- steps */

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step {
  position: relative;
  padding: 24px 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--lav);
  margin-bottom: 12px;
}
.step h3 { font-size: 15px; margin-bottom: 7px; }
.step p { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- quotes */

.quote-band {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 56px;
  align-items: start;
}
.quote-band__aside { position: sticky; top: 104px; }
.quote-grid { display: grid; gap: 14px; }
.quote {
  position: relative;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: 14px; color: var(--text); line-height: 1.7; }
.quote__mark {
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: .7;
  color: #D9D0FF;
  margin-bottom: 8px;
}
.quote__who { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.quote__avatar {
  width: 36px; height: 36px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--lav-soft), var(--mint-soft));
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--lav-deep);
}
.quote__who strong { display: block; font-size: 12.5px; color: var(--ink); }
.quote__who small { display: block; font-size: 11.5px; color: var(--dim); }

/* ------------------------------------------------------------------- faq */

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 20px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq__item[open] { border-color: #D6CBFF; box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 0;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 18px;
  color: var(--lav);
  font-weight: 600;
  line-height: 1;
  flex: none;
}
.faq__item[open] summary::after { content: "–"; }
.faq__body {
  padding: 0 0 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 72ch;
}

/* ------------------------------------------------------------ data lists */

.data-list { display: flex; flex-direction: column; }
.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text);
}
.data-row:last-child { border-bottom: 0; }
.data-row small { color: var(--dim); font-size: 12px; }
.data-row b { font-weight: 700; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.st-confirm { background: #FFF4DC; color: #8A5C05; }
.st-progress { background: #EDE9FF; color: #4B3AD6; }
.st-done { background: var(--mint-soft); color: #07705A; }
.status.st-pending_payment { background: #FFF4DC; color: #8A5C05; }
.status.st-confirmed { background: #EDE9FF; color: #4B3AD6; }
.status.st-active { background: var(--mint-soft); color: #07705A; }
.status.st-completed { background: #E9F2FF; color: #1F5FBF; }
.status.st-cancelled { background: #FDECF1; color: #A32A4C; }

/* --------------------------------------------------------------- tables */

.compare, .spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}
.compare {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  min-width: 680px;
}
.compare th, .compare td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.compare thead th {
  background: var(--panel-soft);
  font-family: var(--font-head);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--dim);
  font-weight: 800;
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: #FBFAFF; }
.compare td:first-child { font-weight: 700; color: var(--ink); }
.compare a.link-arrow { font-size: 12.5px; }

.spec-table th, .spec-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th {
  width: 38%;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dim);
  padding-right: 18px;
}
.spec-table td { font-size: 13.5px; color: var(--text); }

/* --------------------------------------------------------------- cta band */

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 52px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(560px 300px at 88% 0%, rgba(18, 214, 164, .34), transparent 70%),
    radial-gradient(520px 300px at 4% 100%, rgba(142, 125, 255, .42), transparent 70%),
    linear-gradient(120deg, #221C57 0%, #2C2372 52%, #143F58 100%);
  color: #EDEAFB;
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(600px 300px at 80% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(600px 300px at 80% 30%, #000, transparent 80%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
  color: #B9F5E4;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); max-width: 620px; }
.cta-band p { color: #C9C4E6; font-size: 14.5px; margin-top: 12px; max-width: 560px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.cta-band .btn--primary { background: #fff; color: #221C57; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .6); }
.cta-band .btn--primary:hover { background: #F4F1FF; color: #221C57; }
.cta-band .btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
  color: #EDEAFB;
  box-shadow: none;
}
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------------------------------------------------------------- detail */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.detail-body h2 {
  font-size: 24px;
  margin: 38px 0 14px;
  letter-spacing: -0.03em;
}
.detail-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.detail-body .lead { color: var(--ink); font-weight: 600; font-size: 16.5px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.check-list .ic { width: 18px; height: 18px; color: var(--mint-deep); stroke-width: 2.6; margin-top: 2px; flex: none; }

.checker {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 10px 20px;
}
.checker li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--text); }
.checker .ic { width: 16px; height: 16px; color: var(--mint-deep); stroke-width: 2.6; margin-top: 2px; flex: none; }

.side-card {
  position: sticky;
  top: calc(var(--head-h) + 20px);
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.side-card h3 { font-size: 19px; margin-bottom: 10px; }
.side-card > p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.side-list { display: flex; flex-direction: column; gap: 0; margin: 20px 0 0; }
.side-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.side-list dt { color: var(--dim); font-weight: 500; }
.side-list dd { margin: 0; text-align: right; font-weight: 600; color: var(--text); }

.panel {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 19px; margin-bottom: 14px; }
.panel p { font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------------- forms */

.form-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--panel-soft);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B89A8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: #A9A6C0; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--lav);
  box-shadow: 0 0 0 4px rgba(109, 93, 246, .14);
}
.field input:disabled { color: var(--dim); background: #F4F2FC; }
.field__hint { font-size: 11.5px; color: var(--dim); }
.req { color: var(--lav); }
.form-note { margin-top: 14px; font-size: 12px; color: var(--dim); line-height: 1.6; }
.form-note a { color: var(--lav-deep); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}
.agree input { margin-top: 2px; accent-color: var(--lav); flex: none; }
.agree label { cursor: pointer; }
.agree a { color: var(--lav-deep); font-weight: 600; }

.radio-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.radio-card {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--panel-soft);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.radio-card:hover { border-color: #C9BFFF; }
.radio-card input { margin-top: 3px; accent-color: var(--lav); }
.radio-card:has(input:checked) {
  border-color: var(--lav);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 93, 246, .12);
}
.radio-card strong { display: block; font-size: 13.5px; color: var(--ink); }
.radio-card small { display: block; font-size: 11.5px; color: var(--dim); margin-top: 2px; }

/* --------------------------------------------------------------- flashes */

.flash-stack { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.flash {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid transparent;
}
.flash__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.flash--success { background: var(--mint-soft); color: #075F4C; border-color: #BFEFE0; }
.flash--error { background: #FDECF1; color: #9E2547; border-color: #F7C9D6; }
.flash--info { background: var(--lav-soft); color: #3D2FB5; border-color: #DCD3FF; }

/* ----------------------------------------------------------------- auth */

.auth-wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  min-height: calc(100vh - var(--head-h));
}
.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(28px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(560px 340px at 80% 0%, rgba(18, 214, 164, .3), transparent 70%),
    radial-gradient(520px 320px at 6% 100%, rgba(142, 125, 255, .5), transparent 70%),
    linear-gradient(150deg, #241F5C 0%, #332A80 55%, #15485C 100%);
  color: #DEDAFF;
}
.auth-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(520px 400px at 70% 20%, #000, transparent 82%);
  -webkit-mask-image: radial-gradient(520px 400px at 70% 20%, #000, transparent 82%);
  pointer-events: none;
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .brand__word { color: #fff; }
.auth-aside .eyebrow {
  margin-top: 34px;
  align-self: flex-start;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
  color: #B9F5E4;
}
.auth-aside h2 {
  color: #fff;
  font-size: clamp(26px, 2.8vw, 34px);
  margin-top: 18px;
  max-width: 460px;
}
.auth-aside > p { color: #C6C0E8; font-size: 14.5px; margin-top: 16px; max-width: 420px; }
.auth-aside__list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.auth-aside__list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #DDD8F7;
}
.auth-aside__list .ic { width: 16px; height: 16px; color: var(--mint-2); stroke-width: 2.6; margin-top: 3px; flex: none; }

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 28px;
  background: linear-gradient(180deg, #FBFAFF, var(--bg));
}
.auth-card { width: 100%; max-width: 470px; }
.auth-card h1 { font-size: 30px; letter-spacing: -0.04em; }
.auth-card > p { color: var(--muted); font-size: 14px; margin: 8px 0 24px; }
.auth-card form { display: flex; flex-direction: column; gap: 14px; }
.auth-card .btn { margin-top: 6px; }
.auth-alt { font-size: 13px; color: var(--muted); margin-top: 20px; text-align: center; }
.auth-alt a { font-weight: 700; }

/* -------------------------------------------------------------- dashboard */

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.dash-head h1 { font-size: clamp(26px, 3vw, 34px); }
.dash-head p { color: var(--muted); font-size: 13.5px; margin-top: 8px; }

.stat-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.stat-card {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.stat-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat-card small { display: block; font-size: 11.5px; color: var(--dim); margin-top: 4px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
  align-items: start;
}
.dash-grid .panel { margin-top: 0; }
.dash-grid .panel + .panel { margin-top: 18px; }

.empty {
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  background: var(--panel-soft);
}
.empty a { font-weight: 700; }

/* ----------------------------------------------------------------- order */

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.order-hero {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.order-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--lav-deep);
  background: var(--lav-soft);
  border-radius: 8px;
  padding: 5px 10px;
  letter-spacing: .02em;
}
.order-hero h1 { font-size: clamp(22px, 2.6vw, 30px); }
.kv {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.kv small { display: block; font-size: 11px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.kv p { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--ink); margin-top: 4px; letter-spacing: -0.02em; }

/* ---------------------------------------------------------------- legal */

.legal-wrap { max-width: 820px; }
.legal-body { font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.legal-body > p:first-child { font-size: 15.5px; color: var(--text); }
.legal-body h2 {
  font-size: 20px;
  margin: 38px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  letter-spacing: -0.025em;
}
.legal-body h3 { font-size: 14.5px; margin: 20px 0 6px; color: var(--ink); }
.legal-body p { margin-bottom: 12px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { margin-bottom: 7px; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--lav-deep); text-decoration: underline; text-decoration-color: #C9BFFF; text-underline-offset: 3px; }

/* ------------------------------------------------------------- notfound */

.notfound { text-align: center; padding: 60px 0 30px; }
.notfound .code {
  font-family: var(--font-head);
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  background: linear-gradient(110deg, var(--lav), #8E7DFF 50%, var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.notfound p { color: var(--muted); margin: 16px auto 26px; max-width: 460px; }

/* ------------------------------------------------------------ result rows */

.result { display: flex; flex-direction: column; gap: 12px; }
.result-row {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.result-row b { font-family: var(--font-head); font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.result-row span { font-size: 13.5px; color: var(--muted); }

.case-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 4px 0 30px;
  border-bottom: 1px solid var(--line);
}
.case-results .result { gap: 6px; }
.case-results .result strong {
  font-family: var(--font-head);
  font-size: 30px;
  letter-spacing: -0.035em;
  color: var(--mint-deep);
}
.case-results .result small { font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- footer */

.site-foot {
  position: relative;
  margin-top: 0;
  padding: 62px 0 30px;
  background: linear-gradient(180deg, #F3EFFF 0%, #EEE9FF 100%);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.site-foot::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -160px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 214, 164, .22), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}
.site-foot .shell { position: relative; z-index: 1; }
.site-foot__top {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,2fr);
  gap: 48px;
  padding-bottom: 42px;
}
.site-foot__brand .brand { margin-bottom: 16px; }
.site-foot__blurb { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.site-foot__mail {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--lav-deep);
}
.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 28px;
}
.site-foot__col h3 {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.site-foot__col a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0;
}
.site-foot__col a:hover { color: var(--lav-deep); }
.site-foot__addr { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.site-foot__hours {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--dim);
}
.site-foot__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid #DDD6F5;
  font-size: 12px;
  color: var(--dim);
}
.site-foot__legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot__legal-links a { color: var(--muted); }
.site-foot__legal-links a:hover { color: var(--lav-deep); }
.site-foot__note {
  margin-top: 18px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #8F8BAE;
  max-width: 900px;
}

/* ------------------------------------------------------------ code block */

.code-block {
  margin: 0;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: #1B1642;
  color: #D9D3FF;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.9;
  overflow-x: auto;
  box-shadow: var(--shadow-md);
  border: 1px solid #2C2566;
}
.code-block .k { color: #8EF0D0; }
.code-block .s { color: #FFD9A0; }
.code-block .c { color: #7E77AE; }

/* -------------------------------------------------------------- reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .6s cubic-bezier(.2, .7, .3, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .07s; }
.reveal-d2 { transition-delay: .14s; }
.reveal-d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .bars span { animation: none; }
}

/* ============================================================ responsive */

@media (max-width: 1120px) {
  .hero__grid { gap: 36px; }
  .chip--a { left: -8px; }
  .chip--c { left: -16px; }
  .plans { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quote-band { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .quote-band__aside { position: static; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .site-foot__top { grid-template-columns: minmax(0,1fr); gap: 34px; }
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: var(--head-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 20px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(48, 32, 110, .5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100vh - var(--head-h));
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav__link { padding: 13px 12px; font-size: 15px; border-radius: 10px; }
  .site-nav__item.has-menu .mega { display: none; }
  .site-nav__mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .site-head__auth { display: none; }
  .site-head__actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 56px 0 60px; }
  .hero__grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .hero__stage { order: -1; max-width: 620px; }
  .hero__frame { transform: none; }
  .chip--a { top: 12px; left: 8px; }
  .chip--b { bottom: 16px; right: 4px; }
  .chip--c { display: none; }
  .section { padding: 64px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section__head > p, .section__head > div > p { max-width: 620px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split, .split--contact, .split--faq { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .split--faq aside { position: static !important; }
  .detail-grid { grid-template-columns: minmax(0,1fr); }
  .side-card { position: static; }
  .dash-grid, .order-grid { grid-template-columns: minmax(0,1fr); }
  .kv { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 20px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 38px 32px; gap: 26px; }
  .auth-wrap { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .auth-aside { display: none; }
  .featured-post { grid-template-columns: minmax(0,1fr); }
  .featured-post img { min-height: 220px; max-height: 260px; }
  .site-foot__cols { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
  .checker { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 720px) {
  .shell { padding: 0 18px; }
  .announce__inner { padding: 8px 18px; font-size: 12px; }
  .hero h1 { font-size: clamp(32px, 8.6vw, 44px); }
  .hero__sub { font-size: 15.5px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0,1fr); }
  .plans { grid-template-columns: minmax(0,1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .form-grid, .radio-row { grid-template-columns: minmax(0,1fr); }
  .stat-cards { grid-template-columns: minmax(0,1fr); }
  .console__kpis { grid-template-columns: minmax(0,1fr); }
  .bars { height: 96px; }
  .section__head h2 { font-size: clamp(24px, 6.4vw, 32px); }
  .page-hero { padding: 36px 0 44px; }
  .page-hero p { font-size: 15px; }
  .section { padding: 52px 0; }
  .section--tight { padding: 40px 0; }
  .cta-band { padding: 30px 22px; border-radius: var(--r-lg); }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1; }
  .form-card, .panel, .side-card, .order-hero { padding: 22px 20px; }
  .footer-legal, .site-foot__legal { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-foot__cols { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .kv { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
  .chip { display: none; }
  .hero__frame { border-radius: var(--r-md); }
  .checker { grid-template-columns: minmax(0,1fr); }
  .legal-body h2 { font-size: 18px; margin-top: 30px; }
  .result-row { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .case-results { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .dash-head { align-items: flex-start; }
}

@media (max-width: 420px) {
  .btn--lg { padding: 15px 22px; font-size: 14.5px; }
  .hero__actions .btn { width: 100%; }
  .site-foot__cols { grid-template-columns: minmax(0,1fr); }
}
