* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.4;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(2px);
  background-color: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 0;
  gap: 16px;
}

.header-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.header-tagline {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 600;
  line-height: 1.3;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1e293b, #2d3e5f);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: #1e293b;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #3b82f6;
}

.nav-links a[aria-current="page"] {
  color: #2563eb;
  font-weight: 600;
}

.nav-wrap {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

.site-disclaimer {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 0.7rem 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #78350f;
}

.site-disclaimer__inner p {
  margin: 0;
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
}

.site-disclaimer a {
  color: #92400e;
  text-decoration: underline;
}

.hero {
  padding: 48px 0 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.hero-content {
  flex: 1.2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(to right, #0f172a, #2c3e66);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.2rem;
  margin: 24px 0 16px;
  color: #334155;
  max-width: 600px;
  line-height: 1.65;
}

.hero-note {
  font-size: 0.95rem !important;
  color: #64748b !important;
  margin: 0 0 28px !important;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-secondary {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  background: #eef2ff;
  color: #2563eb;
  transition: 0.2s;
}

.btn-secondary:hover {
  background: #e0e7ff;
}

.hero-panel {
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  background: white;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid #e9eef3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.hero-panel h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #0f172a;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hero-stat {
  background: #f8fafc;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #e9eef3;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1.1;
}

.hero-stat span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
  margin-top: 4px;
  display: block;
}

.section-intro {
  max-width: 720px;
  margin: -16px auto 32px;
  text-align: center;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.home-step {
  background: white;
  border-radius: 24px;
  padding: 24px 20px;
  border: 1px solid #e9eef3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.home-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.home-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.home-step p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

.home-guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.home-guide {
  background: white;
  border-radius: 24px;
  padding: 26px 28px;
  border: 1px solid #e9eef3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.home-guide h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.home-guide p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 14px;
}

.home-guide a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.home-guide a:hover {
  text-decoration: underline;
}

.home-info-block {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  border-radius: 32px;
  padding: 40px 36px;
  margin: 48px 0;
}

.home-info-block h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.home-info-block p {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 900px;
}

.home-info-block p + p {
  margin-top: 12px;
}

.home-info-block ul {
  margin-top: 16px;
  padding-left: 1.25rem;
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 0.92rem;
}

.adv-item p {
  margin-top: 8px;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  font-weight: 400;
}

.responsible p + p {
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.92;
  line-height: 1.65;
}

.responsible a {
  color: #93c5fd;
  text-decoration: underline;
}

.btn-primary {
  background: #2563eb;
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.2s;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 56px 0 32px 0;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  background: white;
  border-radius: 28px;
  padding: 20px;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9eef3;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.card-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-bottom: 14px;
}

.card-logo {
  display: block;
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.card-desc {
  margin: 10px 0 0;
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.45;
  flex: 1;
}

.card-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.btn-site,
.btn-info {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 40px;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.2s;
}

.btn-site {
  background: #0f172a;
  color: white;
}

.btn-site:hover {
  background: #1e293b;
}

.btn-info {
  background: #eef2ff;
  color: #2563eb;
}

.btn-info:hover {
  background: #e0e7ff;
}

.advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 48px 0;
}

.adv-item {
  background: white;
  border-radius: 32px;
  padding: 24px;
  flex: 1 1 200px;
  text-align: center;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.03);
}

.compare-table {
  overflow-x: auto;
  background: white;
  border-radius: 28px;
  padding: 16px;
  margin: 32px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

th,
td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background: #f8fafc;
  font-weight: 600;
}

.reviews {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 40px 0;
}

.review-criteria {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}

.review-criteria span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}

.review-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475569;
}

.review-date {
  font-size: 0.7rem;
  color: #94a3b8;
}

.review-card {
  background: white;
  border-radius: 24px;
  padding: 20px;
  flex: 1 1 260px;
  border: 1px solid #eef2ff;
}

.avatar {
  width: 48px;
  height: 48px;
  background: #cbd5e1;
  border-radius: 50%;
  display: inline-block;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2394a3b8"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
  background-size: cover;
}

.faq-item {
  background: white;
  margin-bottom: 16px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eef2ff;
}

.faq-question {
  padding: 20px;
  font-weight: 700;
  cursor: pointer;
  background: white;
  display: flex;
  justify-content: space-between;
}

.faq-answer {
  padding: 0 20px 20px 20px;
  display: none;
  color: #334155;
  line-height: 1.5;
}

.faq-answer.open {
  display: block;
}

.reg-aid-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 0 0 40px;
}

.reg-aid-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.55rem 0.9rem;
  background: #1a1f2b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.reg-aid-tile:hover {
  background: #0f131c;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.reg-aid-tile img {
  display: block;
  width: auto;
  height: auto;
  max-height: 2.5rem;
  max-width: 7.5rem;
  object-fit: contain;
  opacity: 0.9;
}

.reg-aid-tile:hover img {
  opacity: 1;
}

.responsible {
  background: #1e293b;
  color: white;
  padding: 48px 24px;
  border-radius: 48px;
  text-align: center;
  margin: 48px 0;
}

.home-compliance {
  margin: 56px 0 40px;
  padding: 32px 28px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.compliance-card {
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.compliance-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.compliance-card p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
}

.compliance-card a {
  color: #2563eb;
}

.compliance-more {
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}

.compliance-more a {
  color: #2563eb;
  text-decoration: none;
}

.compliance-more a:hover {
  text-decoration: underline;
}

footer,
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 32px;
  margin-top: 48px;
}

.footer-compliance {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-badge-18 {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.footer-compliance__text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #94a3b8;
}

.footer-compliance__text p + p {
  margin-top: 8px;
}

.footer-compliance__text a {
  color: #93c5fd;
}

.footer-warning {
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-warning a {
  color: #94a3b8;
}

.footer-copy {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: #64748b;
}

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 14px 20px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.82rem;
  line-height: 1.5;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cookie-bar a {
  color: #93c5fd;
}

.cookie-bar__btn {
  padding: 8px 20px;
  border: none;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

.cookie-bar__btn:hover {
  background: #1d4ed8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 24px 0;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup-card {
  background: white;
  max-width: 420px;
  width: 90%;
  padding: 32px 24px;
  border-radius: 48px;
  text-align: center;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.3);
}

.popup-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 32px;
}

.btn-yes,
.btn-no {
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: bold;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.btn-yes {
  background: #10b981;
  color: white;
}

.btn-no {
  background: #ef4444;
  color: white;
}

.detail-breadcrumb {
  font-size: 0.85rem;
  color: #64748b;
  margin: 28px 0 0;
}

.detail-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.detail-breadcrumb a:hover {
  text-decoration: underline;
}

.detail-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0 48px;
}

.detail-hero__brand {
  flex: 0 0 auto;
  background: white;
  border-radius: 28px;
  padding: 28px 32px;
  border: 1px solid #e9eef3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  text-align: center;
  min-width: 200px;
}

.detail-hero__brand img {
  max-width: 140px;
  max-height: 56px;
  object-fit: contain;
}

.detail-hero__brand .detail-badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2563eb;
  background: #eef2ff;
  padding: 4px 12px;
  border-radius: 20px;
}

.detail-hero__content {
  flex: 1;
  min-width: 280px;
}

.detail-hero__content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(to right, #0f172a, #2c3e66);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.detail-hero__lead {
  margin-top: 16px;
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.65;
  max-width: 680px;
}

.detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-hero__actions .btn-back {
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: #eef2ff;
  color: #2563eb;
  transition: 0.2s;
}

.detail-hero__actions .btn-back:hover {
  background: #e0e7ff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  padding-bottom: 56px;
  align-items: start;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-block {
  background: white;
  border-radius: 28px;
  padding: 28px 32px;
  border: 1px solid #e9eef3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.detail-block h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #0f172a;
}

.detail-block p {
  color: #334155;
  line-height: 1.7;
  font-size: 0.95rem;
}

.detail-block p + p {
  margin-top: 12px;
}

.detail-block ul {
  margin-top: 12px;
  padding-left: 1.25rem;
  color: #334155;
  line-height: 1.75;
  font-size: 0.95rem;
}

.detail-block li + li {
  margin-top: 6px;
}

.detail-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.detail-feature {
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid #e9eef3;
}

.detail-feature strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: #0f172a;
}

.detail-feature span {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.detail-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-side-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #e9eef3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.detail-side-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.detail-side-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
}

.detail-side-row:last-child {
  border-bottom: none;
}

.detail-side-row dt {
  color: #64748b;
  font-weight: 500;
}

.detail-side-row dd {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

.detail-verdict {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  border: none;
}

.detail-verdict h2 {
  color: white;
}

.detail-verdict p {
  color: #e2e8f0;
}

.detail-related {
  margin: 0 0 48px;
}

.detail-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.detail-related__link {
  display: block;
  background: white;
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #e9eef3;
  transition: 0.2s;
}

.detail-related__link:hover {
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
}

.legal-hero {
  padding: 28px 0 36px;
  max-width: 820px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(to right, #0f172a, #2c3e66);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.legal-hero__lead {
  margin-top: 16px;
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.7;
}

.legal-hero__meta {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #64748b;
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  padding-bottom: 56px;
  align-items: start;
}

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

.detail-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 20px 0 10px;
  color: #0f172a;
}

.detail-block h3:first-of-type {
  margin-top: 4px;
}

.detail-block ol {
  margin-top: 12px;
  padding-left: 1.35rem;
  color: #334155;
  line-height: 1.75;
  font-size: 0.95rem;
}

.detail-block ol li + li,
.detail-block ul li + li {
  margin-top: 6px;
}

.legal-aside {
  position: sticky;
  top: 88px;
}

.legal-aside__card {
  background: white;
  border-radius: 24px;
  padding: 22px;
  border: 1px solid #e9eef3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.legal-aside__card h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #0f172a;
}

.legal-aside__link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}

.legal-aside__link:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.legal-aside__link.is-current {
  background: #eef2ff;
  color: #2563eb;
  font-weight: 600;
}

.legal-aside__link + .legal-aside__link {
  margin-top: 4px;
}

.legal-callout {
  background: #eef2ff;
  border-left: 4px solid #2563eb;
  border-radius: 0 16px 16px 0;
  padding: 16px 20px;
  margin-top: 16px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .detail-sidebar {
    position: static;
  }

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

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

@media (max-width: 900px) {
  .header {
    z-index: 200;
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 12px;
    position: relative;
    z-index: 220;
  }

  .nav-toggle {
    position: relative;
    z-index: 221;
  }

  .header-brand {
    flex: 1;
    min-width: 0;
  }

  .header-tagline {
    font-size: 0.55rem;
  }

  .nav-wrap {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    padding: 88px 24px 32px;
    background: #fff;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    z-index: 210;
    align-items: stretch;
  }

  .nav-wrap.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 205;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .container {
    padding: 0 20px;
  }

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

  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-guides {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 100%;
  }

  .detail-features {
    grid-template-columns: 1fr;
  }

  .detail-block {
    padding: 22px 20px;
  }

  .detail-related__grid {
    grid-template-columns: 1fr;
  }
}
