@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Proton Login Guide — conventional WordPress-style presentation
   White surfaces, slate text, blue accent, simple cards and standard type.
   ========================================================================== */

:root {
  --font-sans: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ink: #1f2937;
  --ink-soft: #374151;
  --muted: #6b7280;
  --paper: #f8fafc;
  --paper-deep: #f1f5f9;
  --surface: #ffffff;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --brand: #1e5aa8;
  --brand-dark: #16427b;
  --brand-soft: #eef4fc;
  --brand-line: #cfe0f5;
  --amber: #e8a317;
  --dark: #111827;
  --radius: 6px;
  --radius-sm: 4px;
  --header-height: 76px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .08);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
label {
  font-family: var(--font-sans) !important;
}

body {
  margin: 0;
  padding: var(--header-height) 0 0;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.18;
}

h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.35;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

a:hover {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  color: #fff;
  background: var(--brand);
}

.container {
  max-width: 1180px;
}

.row.g-5 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 2rem;
}

.text-black {
  color: var(--ink) !important;
}

.pt-120 {
  padding-top: 76px;
}

.pb-120 {
  padding-bottom: 76px;
}

.pt-80 {
  padding-top: 56px;
}

.pb-80 {
  padding-bottom: 56px;
}

section[id],
[id="overview"] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* ---------- Skip link + back to top ---------- */

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10000;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.skip-link:focus {
  top: calc(var(--header-height) + 10px);
  color: #fff;
}

#progress {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

#progress:hover,
#progress:focus-visible {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

#progress:focus-visible {
  outline: 3px solid rgba(30, 90, 168, .25);
  outline-offset: 2px;
}

body.cookie-open #progress {
  display: none !important;
}

/* ---------- Header ---------- */

.header-section {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
}

.header-section.menu-fixed {
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, .07);
}

.header-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  padding: 0;
}

.logo-menu {
  max-width: none;
  height: auto;
}

.text-logo {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}

.text-logo:hover {
  color: var(--ink);
}

.text-logo span {
  color: var(--brand);
}

.text-logo small {
  margin-left: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.header-section .header-wrapper .main-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-wrapper .main-menu > li:not(:last-child) {
  margin-right: 26px;
}

.header-section .header-wrapper .main-menu > li > a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.header-section .header-wrapper .main-menu > li > a:hover,
.header-section .header-wrapper .main-menu > li.active > a {
  color: var(--brand);
}

.header-section .header-wrapper .desktop-cta {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
  transform: none;
}

.header-section .header-wrapper .desktop-cta span {
  transform: none;
}

.header-section .header-wrapper .desktop-cta:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.header-section .header-wrapper .main-menu .btn--items {
  display: none;
}

.header-bar {
  display: none;
  position: relative;
  width: 36px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.header-bar span {
  position: absolute;
  left: 0;
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease, width .2s ease;
}

.header-section .header-bar span,
.header-section .header-bar span:first-child,
.header-section .header-bar span:nth-child(2),
.header-section .header-bar span:last-child {
  background: var(--ink);
}

.header-bar span:first-child {
  top: 3px;
  width: 24px;
}

.header-bar span:nth-child(2) {
  top: 12px;
  width: 18px;
}

.header-bar span:last-child {
  top: 21px;
  width: 22px;
}

.header-bar.active span:first-child {
  top: 12px;
  width: 22px;
  transform: rotate(45deg);
}

.header-bar.active span:nth-child(2) {
  opacity: 0;
}

.header-bar.active span:last-child {
  top: 12px;
  width: 22px;
  transform: rotate(-45deg);
}

/* ---------- Buttons and labels ---------- */

.cmn--btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 20px;
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-transform: none;
  transform: none;
  box-shadow: none;
}

.cmn--btn span {
  display: inline-block;
  transform: none;
}

.cmn--btn:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.cmn--btn:focus-visible,
.outline-btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(30, 90, 168, .25);
  outline-offset: 3px;
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.outline-btn:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section__header {
  max-width: 700px;
  margin-bottom: 36px;
}

.section__header h2 {
  margin-bottom: 10px;
}

.section__header p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section--paper {
  background: var(--paper);
}

.section--white {
  background: var(--surface);
}

.content-section,
.split-section {
  background: var(--surface);
}

.split-section.section--paper {
  background: var(--paper);
}

/* ---------- Home hero ---------- */

.home-hero {
  padding: 52px 0 60px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  gap: 56px;
  align-items: start;
}

.hero-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(2.05rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.home-hero .btn__grp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
}

.hero-checks i {
  margin-right: 6px;
  color: var(--brand);
  font-size: 13px;
}

.hero-meta {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-meta i {
  margin-right: 5px;
  color: var(--muted);
}

.hero-meta span {
  margin: 0 4px;
}

/* Popular guides sidebar */

.hero-sidebar {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.hero-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.hero-sidebar__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.hero-sidebar__head span {
  color: var(--muted);
  font-size: 12px;
}

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

.hero-guide-list li {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.hero-guide-list li:last-child {
  border-bottom: 0;
}

.hero-guide-list a {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
}

.hero-guide-list a:hover {
  color: var(--brand);
}

.hero-guide-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.hero-sidebar__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: #f9fafb;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
}

.hero-sidebar__all:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.hero-sidebar__all i {
  font-size: 11px;
}

/* ---------- Home sections ---------- */

.feature-card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.feature-card:hover {
  border-color: var(--brand-line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 18px;
}

.feature-card h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.image-shell {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.image-shell img {
  display: block;
  width: 100%;
  max-height: 460px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.image-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
}

.split-section p,
.content-section p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.info-panel {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px 14px;
  padding: 28px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  background: var(--brand-soft);
}

.info-panel h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.info-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.55;
}

.panel-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* Comparison */

.comparison-section {
  background: var(--paper);
}

.comparison-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  vertical-align: top;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table thead th {
  padding: 12px 16px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.comparison-table thead th.featured {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  color: var(--ink);
  font-weight: 600;
  text-align: left;
}

.comparison-table .featured {
  background: #f5f9fe;
  color: var(--ink-soft);
}

.comparison-table i {
  margin-right: 4px;
  color: var(--brand);
  font-size: 12px;
}

.table-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

/* Testimonials */

.users__section {
  background: var(--surface);
}

.users__section::before {
  display: none !important;
  content: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.testimonial-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.testimonial-card>p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

.stars {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial-person img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.testimonial-person span {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.editorial-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.editorial-card h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.editorial-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-card li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.editorial-card li:last-child {
  border-bottom: 0;
}

.editorial-card li strong {
  color: var(--ink);
  font-weight: 600;
}

.editorial-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}

.editorial-card a i {
  font-size: 10px;
}

/* FAQ */

.faq__section {
  background: var(--surface);
}

.faq__section::before {
  display: none !important;
  content: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.faq-intro h2 {
  margin-bottom: 12px;
}

.faq-intro p {
  color: var(--muted);
  font-size: 15px;
}

.faq-intro__link {
  margin-top: 20px;
  font-size: 14px;
}

.faq-intro__link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
}

.faq-intro__link i {
  font-size: 10px;
}

.faq__section .accordion-item {
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.faq__section .accordion-item:last-child {
  margin-bottom: 0;
}

.faq__section .accordion-button {
  padding: 15px 18px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: none;
}

.faq__section .accordion-button:not(.collapsed) {
  background: var(--brand-soft);
  color: var(--brand-dark);
  box-shadow: none;
}

.faq__section .accordion-button:focus {
  z-index: 1;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 90, 168, .14);
}

.faq__section .accordion-button::after {
  width: 13px;
  height: 13px;
  background-size: 13px;
}

.faq__section .accordion-body {
  padding: 0 18px 16px;
  background: var(--surface);
}

.faq__section .accordion-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* CTA */

.cta-section {
  background: var(--brand);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cta-inner .eyebrow {
  margin-bottom: 8px;
  color: #dbeafe;
}

.cta-inner h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

.cta-section .cmn--btn {
  flex: none;
  border-color: #fff;
  background: #fff;
  color: var(--brand-dark);
}

.cta-section .cmn--btn:hover {
  border-color: #dbeafe;
  background: #dbeafe;
  color: var(--brand-dark);
}

/* ---------- Footer ---------- */

.footer-section {
  position: relative;
  overflow: hidden;
  padding-top: 60px;
  background: var(--dark);
  color: #cbd5e1;
}

.footer-section::before {
  display: none !important;
  content: none !important;
}

.footer-top {
  position: relative;
  padding-bottom: 44px;
}

.footer-top .widget-items {
  position: relative;
}

.footer-top .widget-items .footer-head {
  margin-bottom: 16px;
}

.footer-section .footer-text-logo {
  color: #fff;
  font-size: 23px;
}

.footer-section .footer-text-logo:hover {
  color: #fff;
}

.footer-section .footer-text-logo span {
  color: #7db1ea;
}

.footer-section .footer-text-logo small {
  color: #94a3b8;
}

.footer-section .footer-top .widget-items .footer-head .title {
  margin: 0;
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.footer-section .footer-top .widget-items .content-area p {
  margin: 0 0 14px;
  color: #b6c2d2;
  font-size: 14px;
  line-height: 1.65;
}

.footer-section .footer-top .widget-items .content-area p a {
  color: #dbeafe;
}

.footer-section .footer-top .widget-items .content-area p a:hover {
  color: #fff;
}

.footer-section .widget-items .content-area p i {
  width: 16px;
  margin-right: 5px;
  color: #8fa2b8;
  text-align: center;
}

.footer-section .footer-top .widget-items .content-area .quick-link {
  margin: 0;
  padding: 0;
}

.footer-section .footer-top .widget-items .content-area .quick-link li {
  display: block;
  margin: 0 0 8px !important;
  margin-left: 0 !important;
}

.footer-section .footer-top .widget-items .content-area .quick-link li a {
  display: inline-block;
  margin-left: 0 !important;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-section .footer-top .widget-items .content-area .quick-link li a i {
  display: none;
}

.footer-section .footer-top .widget-items .content-area .quick-link li a:hover {
  color: #fff;
}

.footer-section .footer-top .widget-items .content-area .social {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.footer-section .footer-top .widget-items .content-area .social li {
  margin: 0 !important;
}

.footer-section .footer-top .widget-items .content-area .social li .icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  background: #1e293b;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1;
}

.footer-section .footer-top .widget-items .content-area .social li .icon:hover {
  border-color: #475569;
  background: #334155;
  color: #fff;
}

.footer-section .footer-top .widget-items .content-area .social li .icon i {
  color: inherit;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid #1f2937;
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.5;
}

.footer-bottom .footer-bottom-link {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom .footer-bottom-link li a {
  color: #cbd5e1;
  font-size: 12.5px;
  line-height: 1.5;
}

.footer-bottom .footer-bottom-link li a:hover {
  color: #fff;
}

/* ---------- Cookie notice ---------- */

.cookie-banner {
  position: fixed;
  right: auto;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 440px;
  margin: 0;
  padding: 15px 17px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner strong {
  color: var(--ink);
  font-size: 13.5px;
}

.cookie-banner p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner .cmn--btn {
  flex: none;
  padding: 9px 14px;
  font-size: 12.5px;
}

/* ---------- Inner page hero ---------- */

.breadcumnd__banner {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  background-image: none;
  background-attachment: scroll;
}

.breadcumnd__banner::before {
  display: none !important;
  content: none !important;
}

.breadcumnd__banner .container {
  position: relative;
  z-index: 1;
}

.breadcumnd__banner .banner__content {
  max-width: 850px;
}

.breadcumnd__banner .banner__content h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.breadcumnd__banner .banner__content p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.page-breadcrumb {
  margin-bottom: 20px;
}

.page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-breadcrumb li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.page-breadcrumb li+li::before {
  margin-right: 8px;
  color: var(--line-strong);
  content: "/";
}

.page-breadcrumb a {
  color: var(--brand);
  font-weight: 400;
}

.page-breadcrumb a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* ---------- Legal + contact ---------- */

.legal-section {
  background: var(--surface);
}

.legal-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-card h2 {
  margin: 30px 0 8px;
  font-size: 25px;
  line-height: 1.3;
}

.legal-card h2:first-of-type {
  margin-top: 18px;
}

.legal-card p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.legal-card ul {
  margin: 10px 0 18px;
  padding-left: 20px;
}

.legal-card li {
  margin: 5px 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  list-style: disc;
}

.legal-card p a,
.legal-card li a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.updated {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand-dark) !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

.contact-section {
  background: var(--paper);
}

.contact-section .section__header {
  margin-bottom: 28px;
}

.contact-form-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.form-field {
  margin-bottom: 17px;
}

.form-field label {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9ca3af;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 90, 168, .12);
}

.contact-form-shell .cmn--btn {
  margin-top: 4px;
}

.form-message {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.form-message.success {
  color: var(--brand-dark);
}

.form-message.error {
  color: #b91c1c;
}

/* ---------- Guide hub ---------- */

.guide-hub-hero {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.guide-breadcrumb {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.guide-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-breadcrumb li {
  font-size: 13px;
  line-height: 1.5;
}

.guide-breadcrumb li+li::before {
  margin-right: 8px;
  color: var(--line-strong);
  content: "/";
}

.guide-breadcrumb a {
  color: var(--brand);
  font-weight: 400;
}

.guide-breadcrumb a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.guide-hub-intro {
  max-width: 760px;
}

.guide-hub-intro h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.guide-hub-intro p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.guide-hub-list {
  padding: 64px 0 76px;
  background: var(--surface);
}

.guide-hub-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}

.guide-hub-heading .eyebrow {
  margin-bottom: 8px;
}

.guide-hub-heading h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.guide-hub-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.guide-minimal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.guide-minimal-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
  transform: translateY(-2px);
}

.guide-minimal-card-wide {
  grid-column: auto;
}

.guide-minimal-image {
  display: block;
  height: 185px;
  overflow: hidden;
  background: var(--paper-deep);
}

.guide-minimal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.guide-minimal-card:hover .guide-minimal-image img {
  transform: scale(1.02);
}

.guide-minimal-content {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.guide-topic {
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.4;
  text-transform: uppercase;
}

.guide-minimal-content h2,
.guide-minimal-content h3 {
  margin: 8px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
}

.guide-minimal-content h2 a,
.guide-minimal-content h3 a {
  color: var(--ink);
}

.guide-minimal-content h2 a:hover,
.guide-minimal-content h3 a:hover {
  color: var(--brand);
}

.guide-minimal-content p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-minimal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
}

.guide-minimal-link i {
  font-size: 10px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .home-hero__grid {
    gap: 40px;
  }
}

@media (max-width: 991px) {
  :root {
    --header-height: 70px;
  }

  .pt-120 {
    padding-top: 56px;
  }

  .pb-120 {
    padding-bottom: 56px;
  }

  .pt-80 {
    padding-top: 44px;
  }

  .pb-80 {
    padding-bottom: 44px;
  }

  .header-bar {
    display: block;
  }

  .header-section .header-wrapper .desktop-cta {
    display: none;
  }

  .header-section .header-wrapper .main-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 94px);
    padding: 6px 0;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
  }

  .header-section .header-wrapper .main-menu.active {
    display: flex !important;
  }

  .header-section .header-wrapper .main-menu > li {
    width: 100%;
    margin: 0 !important;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
  }

  .header-section .header-wrapper .main-menu > li:last-child {
    border-bottom: 0;
  }

  .header-section .header-wrapper .main-menu > li > a {
    display: block;
    padding: 11px 16px;
    color: var(--ink) !important;
    font-size: 15px;
  }

  .header-section .header-wrapper .main-menu .btn--items {
    display: block;
    padding: 10px 12px;
    border-bottom: 0;
  }

  .header-section .header-wrapper .main-menu .btn--items .cmn--btn {
    display: inline-flex !important;
    width: auto;
    padding: 10px 16px;
    color: #fff !important;
    background: var(--brand);
    border-color: var(--brand);
  }

  .home-hero {
    padding: 36px 0 44px;
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .hero-sidebar {
    max-width: 640px;
  }

  .comparison-table {
    min-width: 700px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .guide-hub-hero,
  .breadcumnd__banner {
    padding: 28px 0 32px;
  }

  .guide-hub-list {
    padding: 48px 0 60px;
  }

  .guide-hub-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-top {
    padding-bottom: 32px;
  }
}

@media (max-width: 767px) {
  .home-hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .hero-copy {
    font-size: 16px;
  }

  .guide-minimal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-minimal-image {
    height: 200px;
  }

  .article-meta li:last-child {
    display: none;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  :root {
    --header-height: 66px;
  }

  .pt-120 {
    padding-top: 44px;
  }

  .pb-120 {
    padding-bottom: 44px;
  }

  .pt-80,
  .pb-80 {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .text-logo {
    font-size: 20px;
  }

  .text-logo small {
    display: none;
  }

  .home-hero {
    padding: 28px 0 38px;
  }

  .home-hero h1 {
    font-size: clamp(1.75rem, 8.4vw, 2.15rem);
  }

  .home-hero .btn__grp {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero .btn__grp a {
    width: 100%;
  }

  .hero-checks {
    flex-direction: column;
    gap: 7px;
  }

  .hero-sidebar__head,
  .hero-guide-list li,
  .hero-sidebar__all {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section__header {
    margin-bottom: 26px;
  }

  .feature-card,
  .testimonial-card,
  .editorial-card {
    padding: 20px;
  }

  .info-panel {
    grid-template-columns: 36px 1fr;
    gap: 16px 10px;
    padding: 20px;
  }

  .faq__section .accordion-button {
    padding: 13px 15px;
    font-size: 14.5px;
  }

  .faq__section .accordion-body {
    padding: 0 15px 14px;
  }

  .breadcumnd__banner .banner__content h1,
  .guide-hub-intro h1 {
    font-size: clamp(1.7rem, 7.6vw, 2.1rem);
  }

  .page-breadcrumb,
  .guide-breadcrumb {
    margin-bottom: 16px;
  }

  .legal-card h2 {
    font-size: 22px;
  }

  .contact-form-shell {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
