:root {
  --brand: #533afd;
  --brand-deep: #4230d1;
  --navy: #1c1e54;
  --ink: #0d253d;
  --muted: #64748d;
  --line: #e7e5f3;
  --pale: #efedff;
  --soft: #f8f9fd;
  --font: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; font: 400 15px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); font-weight: 500; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7c68ff; outline-offset: 4px; }
::selection { background: #ddd7ff; color: var(--navy); }
.shell { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--navy); }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 5; border-bottom: 1px solid #e7e5f37a; background: #fffffff2; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 127px; height: 44px; }
.header-label { color: var(--navy); font-size: 14px; }

.hero { overflow: hidden; background: radial-gradient(circle at 84% 22%, #f8eaff 0, transparent 32%), radial-gradient(circle at 15% 5%, #fff6ea 0, transparent 26%), linear-gradient(150deg, #fff 26%, #f8f8ff 100%); border-bottom: 1px solid var(--line); }
.hero-inner { min-height: 335px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; gap: 7%; }
.hero-copy { padding-block: 64px 74px; }
.section-mark { color: var(--brand); font-size: 12px; font-weight: 400; letter-spacing: .17em; line-height: 1.5; }
h1 { margin-top: 14px; font-size: clamp(42px, 4.7vw, 58px); line-height: 1.2; letter-spacing: -.04em; }
.hero-lead { max-width: 670px; margin-top: 24px; color: #526078; font-size: clamp(16px, 1.8vw, 20px); font-weight: 300; line-height: 1.85; }
.hero-figure { position: relative; width: 310px; height: 244px; justify-self: end; }
.figure-core { position: absolute; top: 68px; left: 99px; z-index: 2; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 24px; background: var(--navy); color: #fff; font-size: 36px; letter-spacing: -.05em; box-shadow: 0 20px 42px #24265e29; }
.figure-node { position: absolute; z-index: 3; min-width: 94px; padding: 8px 13px; border: 1px solid #dcd7fa; border-radius: 99px; color: var(--navy); background: #fff; box-shadow: 0 8px 20px #3d33810c; font-size: 12px; text-align: center; }
.figure-node-one { top: 5px; left: 4px; }
.figure-node-two { top: 9px; right: 0; }
.figure-node-three { bottom: 4px; left: 102px; }
.figure-path { position: absolute; z-index: 1; border: 1px solid #b6a7ff; border-radius: 50%; }
.figure-path-one { inset: 21px 22px 36px; transform: rotate(26deg); }
.figure-path-two { inset: 40px 4px 18px; transform: rotate(-23deg); border-color: #e4b5ee; }

.catalog { padding-block: 76px 106px; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.catalog-head h2 { margin-top: 8px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.035em; }
.catalog-head > p { color: var(--muted); font-size: 13px; white-space: nowrap; }
.report-list { border-top: 1px solid var(--line); }
.report-card { display: grid; grid-template-columns: minmax(0, 1fr) 165px; gap: 34px; min-height: 192px; padding: 31px 9px 32px 1px; border-bottom: 1px solid var(--line); transition: background .2s ease, padding .2s ease; }
.report-card:hover { padding-inline: 18px 20px; background: #faf9ff; }
.report-topic { margin-bottom: 11px; color: var(--brand); font-size: 11px; letter-spacing: .13em; }
.report-card h3 { font-size: clamp(19px, 2.2vw, 25px); letter-spacing: -.025em; line-height: 1.38; }
.report-description { max-width: 770px; margin-top: 11px; color: #607087; font-size: 14px; line-height: 1.65; }
.report-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 18px; padding-block: 23px 6px; }
.price { color: var(--navy); font-size: 23px; letter-spacing: -.025em; white-space: nowrap; }
.report-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; width: 132px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--brand); background: transparent; color: var(--brand); font-size: 14px; font-weight: 400; text-align: left; }
.report-action span { font-size: 18px; transition: transform .2s; }
.report-action:hover span { transform: translate(2px, -2px); }
.site-footer { border-top: 1px solid var(--line); background: var(--soft); }
.footer-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; }
.footer-inner a { color: var(--brand); }

.payment-dialog { width: min(460px, calc(100% - 28px)); max-height: min(94vh, 820px); padding: 0; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 28px 100px #16164042; overflow-y: auto; color: var(--ink); }
.payment-dialog::backdrop { background: #16193a99; backdrop-filter: blur(5px); }
.dialog-shell { position: relative; padding: 34px; }
.dialog-close { position: absolute; top: 19px; right: 21px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f4f3fb; color: #66718a; font-size: 25px; line-height: 1; }
.dialog-close:hover { background: var(--pale); color: var(--brand); }
.dialog-step h2 { margin-top: 9px; padding-right: 26px; font-size: 29px; line-height: 1.35; letter-spacing: -.03em; }
.selected-report { margin-top: 16px; color: #566278; font-size: 14px; line-height: 1.55; }
.payment-amount { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 20px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.payment-amount strong { color: var(--navy); font-size: 24px; font-weight: 500; }
.qr-panel { display: flex; justify-content: center; margin-top: 17px; }
.qr-panel img { width: min(258px, 100%); aspect-ratio: 1; object-fit: contain; }
.qr-caption { margin-top: 3px; color: #59677f; font-size: 13px; text-align: center; }
.primary-button { width: 100%; min-height: 48px; margin-top: 23px; padding: 10px 18px; border: 0; border-radius: 99px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 400; transition: background .2s, transform .2s; }
.primary-button:hover { background: var(--brand-deep); transform: translateY(-1px); }
#email-form { display: grid; gap: 9px; margin-top: 28px; }
#email-form label { color: var(--navy); font-size: 14px; }
#delivery-email { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cdd3e1; border-radius: 10px; outline: 0; color: var(--ink); background: #fff; }
#delivery-email:focus { border-color: var(--brand); box-shadow: 0 0 0 3px #533afd1a; }
#delivery-email[aria-invalid="true"] { border-color: #c84343; }
.field-error { color: #b33838; font-size: 12px; }
#email-form .primary-button { margin-top: 15px; }
.back-button { display: block; margin: 17px auto 0; padding: 6px; border: 0; background: transparent; color: var(--brand); font-size: 13px; }
.complete-mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--pale); color: var(--brand); font-size: 29px; }
.complete-mark svg { width: 26px; height: 26px; }
#complete-step > p:not(.complete-email) { margin-top: 20px; color: #566278; line-height: 1.85; }
.complete-email { margin-top: 13px; padding: 12px 14px; border-radius: 10px; background: var(--soft); color: var(--navy); font-size: 14px; overflow-wrap: anywhere; }
.noscript-note { padding: 24px; text-align: center; }

@media (max-width: 760px) {
  .shell { width: min(100% - 40px, 560px); }
  .header-inner { min-height: 66px; }
  .brand img { width: 105px; height: auto; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding-block: 57px 63px; }
  .hero-figure { display: none; }
  .catalog { padding-block: 57px 77px; }
  .report-card { grid-template-columns: 1fr; gap: 10px; min-height: 0; padding-block: 26px; }
  .report-card:hover { padding-inline: 1px 9px; }
  .report-side { flex-direction: row; align-items: center; padding: 3px 0 0; }
  .price { font-size: 20px; }
  .report-action { width: auto; min-width: 106px; }
  .footer-inner { min-height: 94px; flex-wrap: wrap; padding-block: 22px; }
}

@media (max-width: 390px) {
  .shell { width: calc(100% - 32px); }
  .hero-copy { padding-block: 48px 54px; }
  .hero-lead { margin-top: 18px; font-size: 15px; }
  .catalog-head { align-items: start; }
  .catalog-head > p { padding-top: 8px; font-size: 11px; }
  .report-card h3 { font-size: 19px; }
  .report-description { font-size: 13px; }
  .dialog-shell { padding: 28px 22px; }
  .dialog-step h2 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
