.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  min-height: 55vh;
}

.breadcrumb-nav {
  width: min(100% - 2rem, var(--wrap));
  margin: 1rem auto 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #496781;
  font-size: 0.9rem;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: #8ca4bb;
}

.breadcrumb-list a {
  color: #2c587e;
  text-decoration: none;
}

.breadcrumb-list a:hover,
.breadcrumb-list a:focus-visible {
  text-decoration: underline;
}

.pagination-nav {
  width: min(100% - 2rem, var(--wrap));
  margin: 1rem auto 0;
}

.pagination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  border: 1px solid #c7d8e8;
  border-radius: 4px;
  background: #ffffff;
  color: #204b70;
  text-decoration: none;
  font-weight: 700;
}

.pagination-link.is-current {
  background: #163f66;
  border-color: #163f66;
  color: #ffffff;
}

.flash-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.flash {
  border-radius: var(--radius-box);
  border: 1px solid #cfe0f0;
  background: #f7fbff;
  color: #1a4367;
  padding: 0.62rem 0.75rem;
}

.flash-error {
  border-color: #efc4bf;
  background: #fff2f1;
  color: #8b2419;
}

.flash-success {
  border-color: #bcdfca;
  background: #ebfbf1;
  color: #0c5f35;
}

.content-page-block {
  width: min(100% - 2rem, var(--wrap));
  margin: 1.1rem auto;
  border: 1px solid #d7e3ef;
  border-radius: var(--radius-box);
  background: #f8fbff;
  padding: 1rem;
}

.panel h1 {
  margin: 0 0 0.55rem;
  color: var(--blue-700);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.panel p {
  margin: 0;
  color: #2a4b66;
}

.cta-row {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.auth-form {
  display: grid;
  gap: 0.4rem;
}

.auth-form label {
  font-size: 0.9rem;
  color: #23486d;
  font-weight: 600;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  border: 1px solid #c6d6e7;
  border-radius: var(--radius-box);
  padding: 0.54rem 0.62rem;
  font: inherit;
  color: #1a1a1a;
  background: #fff;
}

.legal-content {
  margin-top: 0.9rem;
  line-height: 1.6;
  color: #1a1a1a;
}

.cookie-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #ffffff;
  border: 1px solid #d7e3ef;
  border-radius: 4px;
  overflow: hidden;
}

.cookie-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 0.7rem;
  color: #244767;
  font-weight: 700;
}

.cookie-table th,
.cookie-table td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid #e2ebf4;
  text-align: left;
  vertical-align: top;
}

.cookie-table thead th {
  background: #eef5fb;
  color: #173d63;
  font-size: 0.88rem;
}

.cookie-table tbody tr:nth-child(even) {
  background: #f9fbfe;
}

.content-page-image {
  width: 100%;
  border-radius: var(--radius-box);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  object-fit: cover;
  max-height: 420px;
}

.category-chip-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 62, 102, 0.28);
}

.category-chip-link:hover,
.category-chip-link:focus-visible {
  color: #0d5fa8;
  border-bottom-color: currentColor;
}

.category-hero h1 {
  margin: 0 0 0.5rem;
  color: var(--blue-700);
}

.category-lead {
  margin: 0;
  max-width: 54rem;
  color: #35516d;
}

.rich-content {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  color: #17324d;
  line-height: 1.75;
}

.rich-content > :first-child {
  margin-top: 0;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin: 0;
  color: #153d66;
}

.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content blockquote,
.rich-content pre {
  margin: 0;
}

.rich-content ul,
.rich-content ol {
  padding-left: 1.35rem;
}

.rich-content a {
  color: #0d5fa8;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.rich-content blockquote {
  padding: 0.9rem 1rem;
  border-left: 4px solid #a6c5e2;
  border-radius: 0 4px 4px 0;
  background: #f3f8fd;
  color: #23486d;
}

.rich-content pre,
.rich-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.rich-content pre {
  overflow-x: auto;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-box);
  background: #0f2233;
  color: #f5f8fb;
}

/* Public form refresh */
.panel {
  border: 1px solid #d7e3ef;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 18px 40px rgba(18, 48, 79, 0.06);
}

.content-page-block {
  border-radius: 4px;
}

.auth-form {
  gap: 0.75rem;
}

.auth-form label {
  display: grid;
  gap: 0.38rem;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  min-height: 2.9rem;
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 1px 2px rgba(18, 48, 79, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.auth-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.auth-form input:focus,
.auth-form input:focus-visible,
.auth-form select:focus,
.auth-form select:focus-visible,
.auth-form textarea:focus,
.auth-form textarea:focus-visible {
  outline: none;
  border-color: #1b66ad;
  box-shadow: 0 0 0 4px rgba(27, 102, 173, 0.15);
}

.auth-form.compact {
  max-width: 26rem;
}

.cta-row .btn {
  min-height: 2.75rem;
}

.builder-section {
  padding: 0.5rem 0 1.2rem;
}

.builder-grid {
  width: min(100% - 2rem, var(--wrap));
  margin: 0 auto 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.builder-card {
  border: 1px solid #d7e2ef;
  border-radius: var(--radius-box);
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.builder-card h2,
.builder-card h3 {
  margin: 0;
  color: #173e66;
}

.builder-card p {
  margin: 0;
  color: #335874;
}

.builder-cards {
  display: grid;
  gap: 0.7rem;
}

.builder-card-item {
  border-top: 1px solid #e5eef6;
  padding-top: 0.7rem;
}

.faq-intro-copy {
  margin-bottom: 1rem;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-copy {
  max-width: 42rem;
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.pricing-card {
  border: 1px solid #d7e2ef;
  border-radius: var(--radius-box);
  padding: 0.85rem;
  background: #fff;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #173e66;
}

.pricing-billing {
  margin: 0.3rem 0;
  color: #4d6780;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-price {
  margin: 0 0 0.45rem;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 1.35rem;
}

.btn {
  font-size: 0.86rem;
}

.btn-primary,
.btn-secondary,
.btn-light,
.btn-small {
  min-height: 36px;
}

.auth-panel {
  max-width: 560px;
  margin: 1.2rem auto;
}

.panel > p + .auth-form {
  margin-top: 1rem;
}

.auth-actions {
  align-items: stretch;
}

.auth-actions .btn {
  flex: 1 1 12rem;
  justify-content: center;
}

.auth-form > label > span {
  display: block;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .auth-actions .btn {
    flex-basis: 100%;
  }
}
