:root {
  --color-bg: #fdfbff;
  --color-band: #f7f3fb;
  --color-surface: #ffffff;
  --color-border: #e8dff0;
  --color-text: #4b4055;
  --color-muted: #796a86;
  --color-heading: #291538;
  --color-accent: #7134a4;
  --color-accent-hover: #55247f;
  --color-on-accent: #ffffff;
  --color-accent-text: #7134a4;
  --color-accent-soft: rgba(113, 52, 164, 0.1);
  --header-bg: #340450;
  --header-text: #fafafa;
  --header-border: #340450;
  --footer-bg: #240735;
  --footer-text: #e0d2e9;
  --footer-border: #240735;
  --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-weight: 300;
  --h3-weight: 600;
  --strong-weight: 600;
  --heading-tracking: -0.02em;
  --heading-case: none;
  --h1-scale: 1;
  --h2-scale: 1;
  --title-align: left;
}


html:root {
  scroll-behavior: auto;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-case);
  color: var(--color-heading);
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: calc(clamp(2.4rem, 1.4rem + 3.8vw, 4.1rem) * var(--h1-scale));
  line-height: 1.08;
}

h2 {
  margin: 0;
  font-size: calc(clamp(1.9rem, 1.4rem + 2vw, 2.8rem) * var(--h2-scale));
  line-height: 1.08;
}

h3,
h4 {
  font-weight: var(--h3-weight);
}

h3 {
  margin: 1.75rem 0 0.6rem;
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem);
}

h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 1.1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

li > ul {
  margin: 0.4rem 0 0;
}

a {
  color: var(--color-accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-heading);
}

strong {
  font-weight: var(--strong-weight);
  color: var(--color-accent-text);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.page-section {
  padding: clamp(2.75rem, 2rem + 2.6vw, 4.5rem) 0;
  background: var(--color-bg);
}

.page-section.zone-alt {
  background: var(--color-band);
}

.page-section:not(.zone-alt) + .page-section:not(.zone-alt),
.page-section.zone-alt + .page-section.zone-alt {
  padding-top: 0;
}

.title-band {
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0;
  background: var(--color-band);
  border-bottom: 1px solid var(--color-border);
  text-align: var(--title-align);
}

.intro-text {
  margin-bottom: 0;
  font-size: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
}

.head-group {
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--color-border);
  text-align: var(--title-align);
}

.head-group::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--color-accent);
}

.content-col::after {
  content: "";
  display: block;
  clear: both;
}

.content-col > :last-child {
  margin-bottom: 0;
}

.sidebar-rail {
  padding-bottom: clamp(2.75rem, 2rem + 2.6vw, 4.5rem);
}


@media (min-width: 992px) {

    .page-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .page-main,
    .cute-sidebar-layout {
        grid-area: 1 / 1;
        min-width: 0;
    }

    .cute-sidebar-layout {
        display: flex;
        align-items: stretch;
        padding-top: clamp(2.75rem, 2rem + 2.6vw, 4.5rem);
        padding-bottom: clamp(2.75rem, 2rem + 2.6vw, 4.5rem);
        pointer-events: none;
        z-index: 2;
    }

    .cute-sidebar-layout > .row {
        flex: 1 1 auto;
    }

    .cute-search-widget {
        top: 96px;
        pointer-events: auto;
    }

}


@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.site-header-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 2rem;
  min-height: 72px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 38px;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.6rem;
}

.site-header .nav-link {
  padding: 0.35rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--header-text);
  transition: none;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--header-text);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}

.site-header .nav-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  box-shadow: none;
}

.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nav-toggle {
  display: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--header-text);
  border-radius: 2px;
}

.nav-toggle-input:focus-visible ~ .nav-toggle {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (min-width: 769px) and (max-width: 1099px) {
  .primary-nav {
    gap: 0.25rem 1.1rem;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  html:root {
    scroll-padding-top: 124px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border-radius: 10px;
  }

  .primary-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.75rem;
  }

  .nav-toggle-input:checked ~ .primary-nav {
    display: flex;
  }

  .site-header .primary-nav .nav-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.85rem;
    border-top: 1px solid var(--header-border);
  }
}

.content-table {
  clear: both;
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.content-table th,
.content-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.content-table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-heading);
}

.content-table tbody td:first-child {
  color: var(--color-heading);
}

.pros-cons-grid {
  clear: both;
  margin: 1.5rem 0;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.pros-cons-grid .row {
  row-gap: 1.25rem;
}

.pros-cons-grid h4 {
  margin: 0 0 0.75rem;
}

.pros-cons-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pros-cons-grid li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.6rem;
}

.pros-cons-grid li::before {
  content: "+";
  position: absolute;
  left: 0;
  width: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-accent-text);
}

.pros-cons-grid .col-md-6:last-child li::before {
  content: "\2212";
  color: var(--color-muted);
}

.numbered-steps {
  clear: both;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.numbered-steps li {
  position: relative;
  min-height: 2.25rem;
  margin-bottom: 0.9rem;
  padding: 0.25rem 0 0 3.1rem;
  counter-increment: step;
}

.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-on-accent);
  background: var(--color-accent);
  border-radius: 0;
}

.card-list {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.card-list li {
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.card-list li > strong:first-child {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-heading);
}

.list-icon {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.list-icon li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 1.5rem;
}

.list-icon li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0.1rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-accent-text);
}

.content-col > .row {
  clear: both;
}

.col-item {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.col-item h3 {
  margin-top: 0;
}

.info-note {
  clear: both;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  font-size: 0.975rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.info-note::before {
  content: "Note";
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-text);
}

.spotlight {
  clear: both;
  margin: 1.75rem 0;
  padding: 1.35rem 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: var(--heading-weight);
  line-height: 1.45;
  color: var(--color-heading);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.process-steps {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 1.75rem 0;
}

.step-item {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.step-num {
  display: flex;
  flex: 0 0 2em;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  color: var(--color-on-accent);
  background: var(--color-accent);
  border-radius: 0;
}

.guide-label {
  font-size: 0.9em;
  color: var(--color-heading);
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-on-accent);
  background: var(--color-accent);
  border-radius: 6px;
  transition: background-color 0.2s;
}

.cta-btn:hover,
.cta-btn:focus {
  color: var(--color-on-accent);
  background: var(--color-accent-hover);
}

.faq-list {
  clear: both;
  margin: 0;
}

.faq-entry {
  border-bottom: 1px solid var(--color-border);
}

.faq-entry:first-child {
  border-top: 1px solid var(--color-heading);
}

.faq-entry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  list-style: none;
  cursor: pointer;
}

.faq-entry summary::-webkit-details-marker {
  display: none;
}

.faq-entry summary::marker {
  content: "";
}

.faq-entry summary::after {
  content: "+";
  display: flex;
  flex: 0 0 1.9rem;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-accent-text);
}

.faq-entry[open] summary::after {
  content: "\2212";
}

.faq-entry summary h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
}

.faq-text {
  padding: 0 3rem 1.35rem 0;
}

.pic-center {
  display: block;
  margin: 1.75rem auto 0;
  border-radius: 6px;
}

.pic-float {
  float: right;
  width: min(44%, 400px);
  margin: 0.3rem 0 1rem 1.75rem;
  border-radius: 6px;
}

.pic-float.pic-portrait {
  width: min(44%, 350px);
}

.sidebar-box {
  margin: 0;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.search-label {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.search-field {
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 3rem;
  padding: 0 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-heading);
  background: var(--color-surface);
  border: 1px solid var(--color-muted);
  border-radius: 6px;
  appearance: none;
}

.search-submit {
  flex: 0 0 auto;
  height: 3rem;
  padding: 0 1.1rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-on-accent);
  background: var(--color-accent);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-submit:hover {
  background: var(--color-accent-hover);
}

.search-results {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-results li {
  margin: 0;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.search-results li:first-child {
  border-top: 1px solid var(--color-heading);
}

.search-results h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: var(--h3-weight);
  line-height: 1.3;
  letter-spacing: 0;
}

.search-results p {
  margin: 0;
}

mark {
  padding: 0 0.15em;
  color: inherit;
  background: var(--color-accent-soft);
  border-radius: 2px;
}

.site-footer {
  font-size: 0.925rem;
  color: var(--footer-text);
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.site-footer a,
.site-footer a:hover {
  color: var(--footer-text);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .content-table,
  .content-table tbody,
  .content-table tr,
  .content-table td {
    display: block;
    width: 100%;
  }

  .content-table thead {
    display: none;
  }

  .content-table tr {
    margin-bottom: 0.9rem;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
  }

  .content-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.9rem;
    text-align: right;
    border-top: 1px solid var(--color-border);
    border-bottom: 0;
  }

  .content-table td:first-child {
    border-top: 0;
  }

  .content-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-align: left;
    color: var(--color-heading);
  }

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

  .pic-float,
  .pic-float.pic-portrait {
    float: none;
    display: block;
    width: auto;
    margin: 0 auto 1.1rem;
  }

  .faq-text {
    padding-right: 0;
  }

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

@media (max-width: 480px) {
  .process-steps {
    flex-direction: column;
  }
}

/* Sidebar layout */
.cute-sidebar-layout {
    position: relative;
    z-index: 1;
}

/* Search widget */
.cute-search-widget {
    display: block;
    width: 100%;
    padding: 24px;
    margin: 0;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Search label */
.cute-search-label {
    display: block;
    margin: 0 0 14px;
    color: #555555;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Input + button */
.cute-search-controls {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

/* Search input */
.cute-search-input {
    display: block;
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #888888;
    border-radius: 5px;
    background: #ffffff;
    color: #333333;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

.cute-search-input:focus {
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.12);
}

/* Search button */
.cute-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 48px;
    padding: 0 19px;
    border: 1px solid #198754;
    border-radius: 5px;
    background: #198754;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cute-search-button:hover {
    background: #146c43;
    border-color: #146c43;
}

.cute-search-button:focus-visible {
    outline: 2px solid #146c43;
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .cute-sidebar-layout {
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .cute-search-widget {
        padding: 18px;
    }

    .cute-search-button {
        padding: 0 14px;
    }
}


/* Responsive YouTube Sidebar */
.youtube {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.youtube iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Sidebar width fix */
.cute-sidebar-layout aside {
    min-width: 0;
}

/* Mobile */
@media (max-width: 991.98px) {
    .youtube {
        margin-top: 20px;
    }
}
