/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0f172a;
  color: #c8d3e0;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
/* Global link style */
a { color: #34d399; }
a:hover { opacity: .85; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.wr {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== HEADER ===== */
.hd {
  background: #1a2236;
  border-bottom: 1px solid #2d3a4f;
  position: sticky;
  top: 0;
  z-index: 100;
}
.hd .wr {
  display: flex;
  align-items: center;
  height: 60px;
}
.hd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.hd-logo img { height: 34px; }
.hd-logo em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  border: 1px solid #3b4a63;
  padding: 2px 8px;
  border-radius: 4px;
}
.hd-mb {
  display: none;
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 26px;
  cursor: pointer;
}
.hd-nav { display: flex; gap: 4px; }
.hd-nav a {
  color: #8896ab;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .15s;
}
.hd-nav a:hover {
  color: #e2e8f0;
  background: rgba(255,255,255,.06);
}
.hd-nav a.act {
  color: #34d399;
  background: rgba(52,211,153,.1);
}
@media (max-width: 768px) {
  .wr { padding: 0 16px; }
  .hd-mb { display: block; }
  .hd-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #1a2236;
    flex-direction: column;
    padding: 8px 16px 16px;
    border-bottom: 1px solid #2d3a4f;
  }
  .hd-nav.open { display: flex; }
  .hd-nav a { padding: 12px 8px; font-size: 16px; }
}

/* ===== HERO ===== */
.hero {
  padding: 60px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}
.hero > p {
  font-size: 18px;
  color: #8896ab;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

/* ===== BUTTONS ===== */
.bx { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

a.b, button.b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.3;
}
a.b:hover { opacity: 1; }

a.b-g, button.b-g {
  background: #22c55e;
  color: #052e16 !important;
  border-color: #22c55e;
}
a.b-g:hover {
  background: #16a34a;
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,197,94,.25);
}
a.b-w {
  background: transparent;
  color: #e2e8f0 !important;
  border-color: #3b4a63;
}
a.b-w:hover {
  border-color: #34d399;
  color: #34d399 !important;
}
/* ===== CONTENT ===== */
.ct h2 {
  font-size: 28px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 56px 0 18px;
  line-height: 1.25;
}
.ct h3 {
  font-size: 19px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 32px 0 12px;
}
.ct p { margin-bottom: 16px; }
.ct ul, .ct ol { margin: 0 0 16px 22px; }
.ct li { margin-bottom: 8px; }
.ct li strong { color: #e2e8f0; }

/* ===== SIDE BLOCK (text + phone) ===== */
.sb {
  display: flex;
  gap: 44px;
  align-items: flex-start;
  margin: 40px 0;
  padding: 36px;
  background: #1a2236;
  border-radius: 18px;
  border: 1px solid #2d3a4f;
}
.sb-t { flex: 1 1 0%; min-width: 0; }
.sb-p { flex: 0 0 220px; display: flex; align-items: flex-start; }
.sb-p img { width: 100%; border-radius: 14px; }
.sb.rv { flex-direction: row-reverse; }
.sb-t h2:first-child { margin-top: 0; }
.sb-t h3:first-child { margin-top: 0; }

@media (max-width: 768px) {
  .sb, .sb.rv { flex-direction: column; gap: 24px; padding: 24px; }
  .sb-p { flex: 0 0 auto; width: 200px; order: -1; align-self: center; }
}

/* ===== CARDS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
}
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.cd {
  background: #1a2236;
  border: 1px solid #2d3a4f;
  border-radius: 16px;
  padding: 28px;
}
.cd h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: #f1f5f9;
}
.cd p { font-size: 14px; color: #8896ab; margin: 0; }

/* ===== TABLE ===== */
.tb {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 14px;
  border: 1px solid #2d3a4f;
  background: #1a2236;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  background: #242f44;
  color: #e2e8f0;
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
td {
  padding: 14px 20px;
  border-top: 1px solid #1f2a3d;
}
tr:hover td { background: rgba(255,255,255,.02); }
td strong { color: #e2e8f0; }

/* ===== PROS/CONS ===== */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
@media (max-width: 580px) { .pc { grid-template-columns: 1fr; } }
.pr, .cn {
  background: #1a2236;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #2d3a4f;
}
.pr { border-top: 3px solid #22c55e; }
.cn { border-top: 3px solid #ef4444; }
.pr h3, .cn h3 { margin: 0 0 14px; font-size: 16px; color: #f1f5f9; }
.pr ul, .cn ul { list-style: none; margin: 0; padding: 0; }
.pr li::before { content: "\2713\00a0"; color: #22c55e; font-weight: 700; }
.cn li::before { content: "\2717\00a0"; color: #ef4444; font-weight: 700; }
.pr li, .cn li { margin-bottom: 6px; font-size: 14px; }

/* ===== FAQ ===== */
.fq { margin: 32px 0; }
.fq details {
  background: #1a2236;
  border-radius: 14px;
  margin-bottom: 10px;
  border: 1px solid #2d3a4f;
}
.fq summary {
  padding: 18px 24px;
  font-weight: 700;
  color: #f1f5f9;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}
.fq summary::after { content: "+"; font-size: 22px; color: #34d399; transition: .2s; }
.fq details[open] summary::after { transform: rotate(45deg); }
.fq summary::-webkit-details-marker { display: none; }
.fq-a { padding: 0 24px 18px; color: #8896ab; font-size: 14px; line-height: 1.7; }
.fq-a a { color: #34d399; }

/* ===== INFO BOX ===== */
.inf {
  background: #1a2236;
  border-radius: 14px;
  padding: 24px 28px;
  margin: 28px 0;
  border-left: 4px solid #22c55e;
}
.inf p { margin: 0; font-size: 15px; }
.inf strong { color: #f1f5f9; }

/* ===== STEPS ===== */
.stp { counter-reset: s; list-style: none; margin: 20px 0; padding: 0; }
.stp li {
  counter-increment: s;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.stp li::before {
  content: counter(s);
  background: #22c55e;
  color: #052e16;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.ft {
  background: #1a2236;
  border-top: 1px solid #2d3a4f;
  padding: 28px 0;
  margin-top: 56px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}
.ft nav { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.ft nav a { color: #64748b; font-size: 13px; text-decoration: none; }
.ft nav a:hover { color: #34d399; }
.ft .ds { max-width: 560px; margin: 12px auto 0; line-height: 1.5; opacity: .5; }

@media (max-width: 600px) {
  .hero h1 { font-size: 28px; }
  .hero > p { font-size: 15px; }
}

/* ===== AUTHOR BLOCK ===== */
.auth {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 48px 0 0;
  padding: 28px;
  background: #1a2236;
  border-radius: 16px;
  border: 1px solid #2d3a4f;
}
.auth-img {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #334155;
}
.auth-img img { width: 100%; height: 100%; object-fit: cover; }
.auth-info { flex: 1; min-width: 0; }
.auth-info .auth-label { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.auth-info .auth-name { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.auth-info .auth-name a { color: #f1f5f9; text-decoration: none; }
.auth-info .auth-name a:hover { color: #34d399; }
.auth-info .auth-role { font-size: 13px; color: #8896ab; line-height: 1.5; }
@media (max-width: 600px) {
  .auth { flex-direction: column; text-align: center; gap: 16px; }
  .auth-img { flex: none; }
}

/* ===== AUTHOR PAGE ===== */
.auth-hero {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin: 40px 0;
  padding: 36px;
  background: #1a2236;
  border-radius: 18px;
  border: 1px solid #2d3a4f;
}
.auth-hero-img {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #334155;
}
.auth-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.auth-hero-text { flex: 1; }
.auth-hero-text h1 { font-size: 30px; font-weight: 800; color: #f1f5f9; margin-bottom: 6px; }
.auth-hero-text .auth-title { font-size: 15px; color: #34d399; margin-bottom: 16px; font-weight: 600; }
.auth-hero-text p { font-size: 15px; color: #94a3b8; line-height: 1.7; margin-bottom: 12px; }
.auth-stats {
  display: flex;
  gap: 32px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #2d3a4f;
}
.auth-stat { text-align: center; }
.auth-stat-num { font-size: 22px; font-weight: 800; color: #34d399; display: block; }
.auth-stat-label { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 600px) {
  .auth-hero { flex-direction: column; align-items: center; text-align: center; }
  .auth-hero-img { flex: none; }
  .auth-stats { justify-content: center; }
}

/* ===== LEGAL PAGES ===== */
.legal { padding: 48px 0; }
.legal h1 { font-size: 30px; font-weight: 800; color: #f1f5f9; margin-bottom: 28px; }
.legal h2 { font-size: 22px; font-weight: 700; color: #f1f5f9; margin: 36px 0 14px; }
.legal p { margin-bottom: 14px; color: #94a3b8; font-size: 15px; line-height: 1.7; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; color: #94a3b8; font-size: 15px; }
.legal strong { color: #e2e8f0; }
