:root {
  --bg-a: #f7f5ef;
  --bg-b: #eef6fb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.72);
  --surface-border: rgba(20, 56, 88, 0.1);
  --header-bg: rgba(247, 245, 239, 0.86);
  --footer-bg: rgba(244, 241, 233, 0.96);
  --section-wash: rgba(232, 242, 248, 0.52);
  --text: #304357;
  --muted: #647789;
  --title: #102134;
  --accent: #2d8ac7;
  --accent-strong: #135b8f;
  --accent-rgb: 45, 138, 199;
  --danger: rgba(239, 68, 68, 0.14);
  --shadow: 0 22px 56px rgba(19, 40, 64, 0.08);
  --body-font: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  --display-font: "Fraunces", "Iowan Old Style", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(var(--accent-rgb), 0.08), transparent 34%),
    linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 18%, rgba(var(--accent-rgb), 0.06), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.34), transparent 20%);
  opacity: 0.8;
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

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

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

.container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-size: 1.55rem;
  font-weight: 800;
  font-family: var(--display-font);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-copy {
  color: var(--title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--title);
  font-weight: 600;
}

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.22);
}

.btn-primary::after {
  content: "↗";
  margin-left: 10px;
  font-size: 0.95rem;
  line-height: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(var(--accent-rgb), 0.26);
}

.btn-secondary {
  border: 1px solid var(--surface-border);
  background: var(--surface-soft);
  color: var(--title);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.45);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 126px 0 68px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(var(--accent-rgb), 0.03), transparent);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 108px 0 auto;
  height: 220px;
  background-image: linear-gradient(rgba(var(--accent-rgb), 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), 0.09) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent);
  opacity: 0.12;
}

.hero-orb {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.08);
  filter: blur(110px);
  z-index: -1;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-strong);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-pill::before {
  content: "✦";
  font-size: 0.78rem;
  line-height: 1;
  opacity: 0.85;
}

.hero-title {
  margin: 0 0 18px;
  color: var(--title);
  font-family: var(--display-font);
  font-size: clamp(2.9rem, 7vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 860px;
  margin: 0 auto 30px;
  color: var(--text);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  line-height: 1.74;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 44px;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
}

.stat-grid,
.card-grid,
.link-grid,
.footer-grid {
  display: grid;
  gap: 22px;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.card-grid,
.link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.card,
.step-card,
.visual-card,
.danger-card,
.footer-box,
.info-card,
.faq-item {
  border-radius: 22px;
  padding: 26px;
}

.stat-card strong,
.card h3,
.step-card h3,
.visual-card h3,
.footer-box h3,
.info-card h3 {
  color: var(--title);
}

.title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.14);
  color: var(--accent-strong);
  font-size: 0.98rem;
  line-height: 1;
  flex: 0 0 31px;
}

.stat-card .stat-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: var(--display-font);
  color: var(--title);
}

.stat-card,
.info-card {
  position: relative;
  overflow: hidden;
}

.stat-card::before,
.info-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 68%);
}

.section {
  padding: 70px 0;
  position: relative;
}

.section-dark {
  background: var(--section-wash);
}

.section-title {
  margin: 0 0 14px;
  color: var(--title);
  font-family: var(--display-font);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0 0 32px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.72;
  max-width: 760px;
}

.text-link {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-rgb), 0.35);
  text-underline-offset: 0.15em;
  font-weight: 600;
}

.text-link:hover {
  text-decoration-color: rgba(var(--accent-rgb), 0.72);
}

.content-wrap > .section-title + .card-grid,
.content-wrap > .section-title + .faq-list,
.content-wrap > .section-title + .stack,
.content-wrap > .section-title + .link-grid,
.content-wrap > .section-title + .glass.card,
.content-wrap > .section-title + .info-grid {
  margin-top: 6px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.step-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  flex: 0 0 auto;
  line-height: 1;
  font-family: var(--display-font);
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.step-card p,
.card p,
.stat-card p,
.footer-box p,
.section-lead,
.danger-card p,
.visual-note,
.faq-item p {
  color: var(--muted);
  margin: 0;
}

.card p,
.stat-card p,
.info-card p,
.faq-item p,
.visual-note,
.meta-note {
  line-height: 1.68;
}

.faq-item h3,
.card h3,
.visual-card h3,
.info-card h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.visual-frame {
  overflow: hidden;
  border-radius: 16px;
  margin-top: 16px;
  border: 1px solid var(--surface-border);
  background: linear-gradient(180deg, rgba(242, 249, 253, 0.96), rgba(255, 255, 255, 0.92));
}

.visual-note {
  margin-top: 16px;
}

.danger-card {
  background: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.26);
}

.danger-card h3 {
  margin: 0 0 10px;
  color: #fca5a5;
}

.jump-card {
  margin-top: 24px;
  text-align: center;
}

.jump-card h3 {
  justify-content: center;
  margin: 0 0 12px;
  font-size: 1.36rem;
}

.jump-card p {
  max-width: 720px;
  margin: 0 auto;
}

.jump-card .hero-actions {
  margin-top: 22px;
  margin-bottom: 0;
}

.link-card {
  display: block;
}

.link-card h3 {
  margin: 0 0 12px;
  color: var(--title);
  font-size: 1.28rem;
  line-height: 1.28;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.42);
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  text-align: center;
}

.cta-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 58px 34px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(122, 97, 255, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 77, 166, 0.16), transparent 34%),
    linear-gradient(135deg, #141026 0%, #101522 100%);
  box-shadow: 0 30px 80px rgba(16, 21, 34, 0.28);
}

.cta-panel .section-title,
.cta-panel .section-lead {
  margin-left: auto;
  margin-right: auto;
  color: #f6f2ff;
}

.cta-panel .section-title {
  max-width: 760px;
  margin-bottom: 14px;
}

.cta-panel .section-lead {
  max-width: 700px;
  margin-bottom: 28px;
  color: rgba(238, 231, 255, 0.82);
}

.cta-actions {
  justify-content: center;
  margin-bottom: 0;
}

.cta-panel .btn-secondary.cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f6f2ff;
}

.cta-panel .btn-secondary.cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

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

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  background: var(--footer-bg);
  padding: 24px 0 16px;
  border-top: 1px solid var(--surface-border);
}

.footer-box {
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.footer-box p + p {
  margin-top: 14px;
}

.copyright {
  color: var(--muted);
  margin-top: 14px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--surface-border);
  color: var(--text);
}

th {
  color: var(--accent-strong);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

ul.clean-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

ul.clean-list li + li {
  margin-top: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(var(--accent-rgb), 0.14);
  color: var(--accent-strong);
  font-size: 0.92rem;
}

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

.info-card h3,
.faq-item h3 {
  margin: 0 0 12px;
  color: var(--title);
  font-size: 1.08rem;
  line-height: 1.3;
}

.faq-item {
  background: rgba(255, 255, 255, 0.94);
}

.meta-note,
.footer-links a {
  color: var(--muted);
}

.meta-note {
  margin-top: 18px;
  font-size: 0.94rem;
  line-height: 1.68;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--title);
}

.faq-list {
  display: grid;
  gap: 16px;
}

@media (max-width: 980px) {
  .header-row {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-row > .btn {
    display: none;
  }

  .stat-grid,
  .card-grid,
  .link-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 118px 0 56px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .stat-card,
  .card,
  .step-card,
  .visual-card,
  .danger-card,
  .info-card,
  .faq-item {
    padding: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .section-lead {
    margin-bottom: 26px;
  }

  .cta-panel {
    padding: 42px 22px;
  }
}
