:root {
  --www-bg: #f3f6f9;
  --www-bg-soft: #ffffff;
  --www-surface: rgba(255, 255, 255, 0.92);
  --www-border: #d8e2ec;
  --www-text: #173042;
  --www-text-muted: #4e6678;
  --www-brand: #0e8a8a;
  --www-brand-deep: #0c6d7f;
  --www-brand-soft: #e5f6f6;
  --www-shadow: 0 20px 50px rgba(12, 35, 53, 0.12);
}

* {
  box-sizing: border-box;
}

body.www-layout {
  margin: 0;
  color: var(--www-text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  background: #f2f8f6;
}

.www-shell {
  max-width: 960px;
  padding: 1.25rem 0.95rem 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  letter-spacing: -0.01em;
  color: #10283a;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
}

p,
li {
  color: var(--www-text-muted);
}

a {
  color: var(--www-brand-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0b5d6d;
}

.www-landing,
.www-content-page {
  display: grid;
  gap: 1.1rem;
}

.hero-card,
.content-card {
  background: var(--www-surface);
  border: 1px solid var(--www-border);
  border-radius: 22px;
  box-shadow: var(--www-shadow);
  padding: clamp(1.2rem, 2.6vw, 2.1rem);
  backdrop-filter: blur(4px);
}

.hero-card {
  position: relative;
}

.lead {
  font-size: clamp(1.03rem, 2.5vw, 1.2rem);
  color: #294359;
  margin: 0;
  max-width: 62ch;
}

.section-header {
  margin-top: 0;
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--www-border);
}

.feature-list,
.resource-list {
  margin: 0;
  padding-left: 1.15rem;
}

.feature-list li,
.resource-list li {
  margin-bottom: 0.6rem;
}

.resource-list a {
  font-weight: 600;
}

.highlight-section {
  border-color: #cde8e8;
  background: #f4fbf9;
}

.exam-prep-cta {
  position: relative;
  overflow: hidden;
  border-color: #bfe4ea;
  background: linear-gradient(135deg, #f8feff 0%, #eef9f8 100%);
}

.exam-prep-cta::after {
  content: '';
  position: absolute;
  top: -90px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 138, 138, 0.14) 0%, rgba(14, 138, 138, 0) 70%);
  pointer-events: none;
}

.exam-prep-cta .section-header {
  border-bottom: 0;
  margin-bottom: 0.5rem;
  max-width: none;
  line-height: 1.25;
}

.exam-prep-cta__content {
  position: relative;
  z-index: 1;
  max-width: 78ch;
  margin: 0;
}

.exam-prep-cta__lead {
  margin: 0;
  color: #1f3e53;
  font-size: clamp(1rem, 2.1vw, 1.16rem);
  font-weight: 500;
  line-height: 1.55;
}

.exam-prep-cta__highlights {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.3rem 1.2rem;
}

.exam-prep-cta__highlights li {
  color: #27465d;
  font-weight: 600;
}

.exam-prep-cta__offer-wrap {
  text-align: left;
}

.exam-prep-cta__offer {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #abd8df;
  background: #ffffff;
  color: #2f5067;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(20, 68, 84, 0.08);
}

.exam-prep-cta__offer strong {
  color: #0b5f6f;
}

.exam-prep-cta__actions {
  position: relative;
  z-index: 1;
  margin-bottom: 0 !important;
}

.exam-prep-cta__actions .btn {
  width: min(100%, 760px);
}

.exam-prep-cta__note {
  margin: 0.65rem 0 0;
  color: #577287;
  font-size: 0.93rem;
}

.testimonial-grid {
  display: grid;
  gap: 0.9rem;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--www-border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-accordion .accordion-item + .accordion-item {
  margin-top: 0.7rem;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: #173042;
  background: #f7fbfe;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #eef7fb;
  color: #123247;
  box-shadow: inset 0 -1px 0 #d8e2ec;
}

.faq-accordion .accordion-body {
  color: #4e6678;
  background: #ffffff;
}

.testimonial {
  margin: 0;
  background: var(--www-bg-soft);
  border: 1px solid var(--www-border);
  border-left: 4px solid var(--www-brand);
  border-radius: 14px;
  padding: 1rem 1rem 0.8rem;
}

.testimonial blockquote,
.testimonial p {
  margin: 0;
}

.testimonial-author {
  margin-top: 0.7rem;
  text-align: right;
  font-style: normal;
  color: #1f4157;
  font-weight: 700;
}

.breadcrumb {
  margin-bottom: 1.1rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--www-border);
  background: #f7fbfe;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: #5a7183;
  font-size: 0.92rem;
}

.breadcrumb-item.active {
  color: #27465d;
}

.guide-page section > section,
.legal-page section {
  margin-top: 1.3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--www-border);
  box-shadow: 0 14px 30px rgba(17, 37, 52, 0.08);
}

caption {
  caption-side: top;
  text-align: left;
  margin-bottom: 0.45rem;
  color: #476177;
  font-weight: 600;
}

th,
td {
  padding: 0.68rem 0.8rem;
  border-bottom: 1px solid #e9eff4;
  text-align: left;
}

thead th {
  background: #10374c;
  color: #ffffff;
  font-weight: 700;
}

tbody tr:nth-child(even) {
  background: #f6fafc;
}

tbody tr:hover {
  background: #eaf7fb;
}

.doc-date {
  margin-top: 1.2rem;
  font-size: 0.9rem;
}

.www-footer {
  margin-top: 1.2rem;
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--www-border);
  background: rgba(255, 255, 255, 0.84);
  text-align: center;
}

.www-footer-copy,
.www-footer-links {
  margin: 0;
  color: #385569;
}

.www-footer-copy {
  font-weight: 600;
}

.www-footer-links {
  margin-top: 0.35rem;
  font-size: 0.96rem;
}

.www-footer a {
  color: var(--www-brand-deep);
  font-weight: 700;
}

.www-footer a:hover {
  color: #0b5d6d;
}

.www-layout .btn-primary {
  border: 0;
  border-radius: 12px;
  background: var(--www-brand);
  box-shadow: 0 6px 14px rgba(12, 109, 127, 0.16);
}

.www-layout .btn-primary:hover,
.www-layout .btn-primary:focus-visible {
  background: var(--www-brand-deep);
}

.cookie-settings-button {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 1060;
  border: 1px solid var(--www-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--www-text);
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.2;
}

.cookie-consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 56px;
  z-index: 1061;
  background: #ffffff;
  border: 1px solid var(--www-border);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.2);
  padding: 14px;
}

.cookie-consent-banner-title {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

.cookie-consent-banner-text {
  margin-bottom: 10px;
  font-size: 14px;
}

.cookie-consent-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .www-shell {
    padding-top: 1.8rem;
    padding-bottom: 3rem;
  }

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

  .cookie-consent-banner {
    left: auto;
    max-width: 540px;
  }
}

@media (max-width: 767px) {
  .www-shell {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .hero-card,
  .content-card {
    border-radius: 16px;
    padding: 1rem;
  }

  table,
  .alphabet-table,
  .q-code-table,
  .scale-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: normal;
  }

  .q-code-table td,
  .q-code-table th,
  .scale-table td,
  .scale-table th,
  .alphabet-table td,
  .alphabet-table th {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .breadcrumb {
    border-radius: 14px;
  }

  .exam-prep-cta__offer {
    border-radius: 14px;
    line-height: 1.4;
  }

  .exam-prep-cta__highlights {
    gap: 0.45rem;
  }
}
