.guide-page {
  --guide-ink: #122033;
  --guide-muted: #5a6678;
  --guide-line: #d9e2ec;
  --guide-soft: #f5f8fb;
  --guide-teal: #0f766e;
  --guide-blue: #0b4f71;
  --guide-green: #2f855a;
  --guide-gold: #b7791f;
  --guide-red: #b91c1c;
  color: var(--guide-ink);
  background: #f8fafc;
}

.guide-page a {
  color: #0b5f86;
}

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

.guide-hero {
  background:
    linear-gradient(135deg, rgba(7, 26, 46, 0.96), rgba(15, 118, 110, 0.93)),
    url("../images/registar-product-look1.png");
  background-size: cover;
  background-position: center right;
  color: #fff;
  padding: 64px 0 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.guide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #d9f99d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.guide-hero p {
  max-width: 760px;
  margin: 0;
  color: #e2e8f0;
  font-size: 1.08rem;
  line-height: 1.75;
}

.guide-hero-actions,
.guide-cta-actions,
.guide-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.guide-hero-actions {
  margin-top: 28px;
}

.guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.guide-btn:hover {
  text-decoration: none;
}

.guide-btn-primary {
  background: #a7f3d0;
  color: #052e2b;
  border-color: #a7f3d0;
}

.guide-btn-secondary {
  background: #fff;
  color: #0b3558;
  border-color: #b8c7d9;
}

.guide-section {
  padding: 46px 0;
}

.guide-section-tight {
  padding: 28px 0;
}

.guide-section h2 {
  margin: 0 0 14px;
  color: #0b3558;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.2;
  text-align: left;
}

.guide-card h2,
.guide-state-card h2 {
  font-size: 1.18rem;
  line-height: 1.3;
}

.guide-section h3 {
  margin: 0 0 10px;
  color: #17324d;
  font-size: 1.18rem;
  line-height: 1.3;
}

.guide-section p {
  color: var(--guide-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.guide-lede {
  max-width: 840px;
}

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

.guide-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: start;
}

.guide-card,
.guide-callout,
.guide-state-card {
  background: #fff;
  border: 1px solid var(--guide-line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.guide-card {
  padding: 22px;
}

.guide-card p,
.guide-state-card p {
  margin-bottom: 0;
}

.guide-metric {
  display: block;
  margin-bottom: 6px;
  color: var(--guide-teal);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.guide-callout {
  padding: 24px;
  border-left: 5px solid var(--guide-green);
}

.guide-muted {
  color: var(--guide-muted);
}

.guide-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--guide-line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.guide-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.guide-table th,
.guide-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #edf2f7;
  vertical-align: top;
}

.guide-table th {
  position: sticky;
  top: 0;
  background: #0b3558;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-table tr:hover td {
  background: #f8fbfd;
}

.guide-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.guide-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.guide-chip-red {
  background: #fee2e2;
  color: #7f1d1d;
}

.guide-chip-yellow {
  background: #fef3c7;
  color: #78350f;
}

.guide-chip-green {
  background: #dcfce7;
  color: #14532d;
}

.guide-state-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-state-card {
  padding: 20px;
}

.guide-state-card h3 a {
  color: #0b3558;
  text-decoration: none;
}

.guide-state-card h3 a:hover {
  text-decoration: underline;
}

.guide-state-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.guide-meta-box {
  border: 1px solid #e6edf3;
  border-radius: 8px;
  padding: 10px;
  background: var(--guide-soft);
}

.guide-meta-label {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-meta-value {
  display: block;
  margin-top: 4px;
  color: var(--guide-ink);
  font-weight: 700;
}

.guide-list {
  padding-left: 20px;
  color: var(--guide-muted);
  line-height: 1.7;
}

.guide-list li + li {
  margin-top: 6px;
}

.guide-cta {
  margin: 34px 0 4px;
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0b3558, #0f766e);
  color: #fff;
}

.guide-cta h2,
.guide-cta h3,
.guide-cta p {
  color: #fff;
}

.guide-hero .guide-btn-secondary,
.guide-cta .guide-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.guide-cta p {
  max-width: 720px;
  margin-bottom: 20px;
}

.guide-faq {
  display: grid;
  gap: 14px;
}

.guide-faq details {
  background: #fff;
  border: 1px solid var(--guide-line);
  border-radius: 8px;
  padding: 16px 18px;
}

.guide-faq summary {
  cursor: pointer;
  color: #0b3558;
  font-weight: 800;
}

.guide-faq p {
  margin: 12px 0 0;
}

.guide-breadcrumb {
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.guide-breadcrumb a {
  color: #e0f2fe;
}

.guide-state-hero {
  padding: 48px 0 42px;
}

.guide-source-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-source-list li + li {
  margin-top: 8px;
}

.guide-copy-block + .guide-copy-block {
  margin-top: 28px;
}

.guide-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.guide-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guide-form label,
.guide-form-field {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #17324d;
  font-weight: 800;
}

.guide-form label span,
.guide-form-field > span {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--guide-ink);
  font: inherit;
  font-weight: 500;
}

textarea.guide-input {
  min-height: 112px;
}

.guide-check-grid {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 12px;
  background: var(--guide-soft);
}

.guide-check-grid > div,
.guide-check-grid ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.guide-check-grid label {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--guide-ink);
}

.guide-form-errors,
.guide-form .errorlist {
  margin: 0;
  padding: 0;
  color: #991b1b;
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

@media (max-width: 900px) {
  .guide-grid,
  .guide-grid-two,
  .guide-state-list {
    grid-template-columns: 1fr;
  }

  .guide-state-meta {
    grid-template-columns: 1fr;
  }

  .guide-form-grid,
  .guide-check-grid > div,
  .guide-check-grid ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .guide-wrap {
    width: min(100% - 24px, 1180px);
  }

  .guide-hero {
    padding: 42px 0 38px;
  }

  .guide-hero-actions,
  .guide-cta-actions,
  .guide-nav-row {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-btn {
    width: 100%;
  }
}
