:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #1f2937;
  --heading: #111827;
  --muted: #6b7280;
  --border: #d9e0ea;
  --accent: #2f7fbf;
  --accent-dark: #1f5f91;
  --accent-soft: #eef6fc;
  --badge: #64748b;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header-inner {
  max-width: var(--width);
  min-height: 82px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: block; width: 180px; line-height: 0; }
.logo img { display: block; }
.header-link { font-size: 14px; font-weight: 600; white-space: nowrap; }

.page { max-width: var(--width); margin: 0 auto; padding: 36px 20px 56px; }
.content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.breadcrumbs { margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--muted); }

h1, h2, h3 { line-height: 1.25; margin-top: 0; color: var(--heading); }
h1 { margin-bottom: 18px; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
h2 {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 22px;
  font-weight: 600;
}
h3 { margin-bottom: 12px; font-size: 18px; font-weight: 600; }
section { margin-bottom: 42px; }
section:last-child { margin-bottom: 0; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 18px; padding-left: 23px; }
li { margin-bottom: 6px; }
li:last-child { margin-bottom: 0; }

.lead { max-width: 900px; margin: 0 0 20px; color: #374151; font-size: 19px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--badge);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.badge.accent { background: var(--accent-dark); }

.summary-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.software-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 22px 0; }
.card, .software-link {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.055);
}
.card-body { padding: 21px; }
.card p { color: #4b5563; }
.card-accent { background: var(--accent-soft); box-shadow: none; }
.software-link {
  display: block;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.software-link:hover, .software-link:focus {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: #a9c4da;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.09);
}
.software-link[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); }

.data-list, .organization-info {
  display: grid;
  grid-template-columns: minmax(200px, 34%) 1fr;
  column-gap: 24px;
  row-gap: 12px;
  margin: 0;
}
.data-list dt, .organization-info dt { color: var(--muted); font-weight: 400; }
.data-list dd, .organization-info dd { margin: 0; }
.data-list dd, .organization-info dd.strong { font-weight: 600; }

.activity-code { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.activity-code:last-child { margin-bottom: 0; }
.code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  margin-top: 3px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--badge);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  flex-shrink: 0;
}

.muted { color: var(--muted); }
.small { font-size: 14px; }
.mb-0 { margin-bottom: 0; }
.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
}
.notice p { margin: 0; }
.price-box {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) 1.3fr;
  gap: 18px;
  align-items: stretch;
}
.price-value {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 155px;
  padding: 24px;
  border-radius: 12px;
  color: #fff;
  background: var(--accent-dark);
}
.price-value strong { display: block; font-size: 30px; line-height: 1.1; }
.price-value span { margin-top: 8px; font-size: 14px; opacity: 0.9; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--accent-dark);
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
}
.button:hover, .button:focus { text-decoration: none; background: #f1f7fb; }
.button-primary { color: #fff; background: var(--accent-dark); }
.button-primary:hover, .button-primary:focus { color: #fff; background: var(--accent); }

.footer { max-width: var(--width); margin: 0 auto; padding: 0 20px 34px; color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .content { padding: 28px; }
  .summary-grid, .feature-grid, .software-grid, .price-box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header-inner { min-height: 70px; padding: 9px 14px; }
  .logo { width: 140px; }
  .header-link { font-size: 13px; }
  .page { padding: 20px 12px 36px; }
  .content { padding: 22px 18px; border-radius: 10px; }
  h1 { font-size: 27px; }
  h2 { font-size: 20px; }
  .data-list, .organization-info { grid-template-columns: 1fr; row-gap: 4px; }
  .data-list dd, .organization-info dd { margin-bottom: 10px; }
  .activity-code { gap: 10px; }
}
