:root {
  --bg-color: #ffffff;
  --bg-top: #fafafa;
  --text: #1a1a1a;
  --muted: #666666;
  --primary: #5f6368;
  --accent: #3f4347;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 24px 60px rgba(26, 26, 26, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.025), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-color) 100%);
}

.page {
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
  padding: 20px 0 56px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  margin-bottom: 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.back-link:hover {
  color: var(--accent);
}

.content-box {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.logo {
  width: auto;
  height: clamp(40px, 4.4vw, 50px);
  margin-bottom: 28px;
}

h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 600;
  color: #2f3438;
}

h2 {
  max-width: 760px;
  margin: 42px 0 18px;
  font-size: 0.82rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--primary);
}

h3 {
  max-width: 760px;
  margin: 24px 0 8px;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--accent);
}

p,
li {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.9;
  color: #5f6368;
}

p {
  margin: 0 0 16px;
}

@media (max-width: 768px) {
  body {
    line-height: 1.65;
  }

  .page {
    width: min(calc(100% - 20px), 1120px);
    padding: 14px 0 40px;
  }

  .back-link {
    margin-bottom: 10px;
    font-size: 0.9rem;
  }

  .content-box {
    padding: 22px 18px 24px;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(26, 26, 26, 0.055);
  }

  .logo {
    height: 42px;
    margin-bottom: 24px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  h2 {
    margin: 34px 0 14px;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  p,
  li {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.78;
  }

  ul {
    max-width: 100%;
    padding-left: 18px;
  }

  li {
    margin-bottom: 9px;
  }

  .cta-link {
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    padding: 13px 18px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .page {
    width: min(calc(100% - 16px), 1120px);
    padding-top: 10px;
  }

  .content-box {
    padding: 20px 16px 22px;
    border-radius: 22px;
  }

  h1 {
    font-size: 26px;
  }

  p,
  li {
    font-size: 0.96rem;
  }
}

li {
  margin-bottom: 10px;
}

li::marker {
  color: var(--primary);
}

a {
  color: #4f5459;
  text-underline-offset: 2px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #5f6368;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.cta-link:hover {
  background: #3f4347;
}

.service-db-options {
  display: grid;
  max-width: 760px;
  margin: 6px 0 24px;
  padding-left: 0;
  list-style: none;
  gap: 10px;
}

.service-db-options li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  align-items: baseline;
  margin-bottom: 0;
  padding: 2px 0;
  color: #5f6368;
}

.service-db-option-name {
  min-width: 0;
  font-weight: 400;
  color: #5f6368;
}

.service-db-option-details {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: #4f5459;
  font-weight: 600;
  white-space: nowrap;
}

.service-db-option-meta {
  color: #7a7f84;
  font-weight: 400;
  text-align: right;
}

.service-db-option-dot {
  color: #7a7f84;
  font-weight: 400;
}

.service-db-option-price {
  color: #4f5459;
  font-weight: 600;
  text-align: right;
}

.service-db-course-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: #8a8f94;
  font-size: 0.9em;
  font-weight: 400;
  white-space: nowrap;
}
