/* Public long-form SEO pages: FAQ and security. */

body.seo-content-body {
  --seo-paper: #fffdfb;
  --seo-surface: rgba(255, 255, 255, 0.9);
  --seo-surface-strong: #ffffff;
  --seo-surface-soft: #f7f3ef;
  --seo-text: #171517;
  --seo-muted: #66616a;
  --seo-line: rgba(112, 93, 91, 0.18);
  --seo-accent: #d20f1f;
  --seo-accent-dark: #a90714;
  --seo-accent-soft: rgba(210, 15, 31, 0.08);
  --seo-shadow: 0 18px 52px rgba(61, 42, 38, 0.08);
  min-height: 100dvh;
  background:
    radial-gradient(900px 480px at 92% 4%, rgba(210, 15, 31, 0.07), transparent 68%),
    radial-gradient(620px 380px at 4% 42%, rgba(210, 15, 31, 0.04), transparent 72%),
    var(--seo-paper);
  color: var(--seo-text);
}

html[data-theme="dark"] body.seo-content-body {
  --seo-paper: #090809;
  --seo-surface: rgba(23, 19, 21, 0.94);
  --seo-surface-strong: #181416;
  --seo-surface-soft: #110e10;
  --seo-text: #f7f3f1;
  --seo-muted: rgba(247, 243, 241, 0.66);
  --seo-line: rgba(255, 255, 255, 0.11);
  --seo-accent: #ff4c56;
  --seo-accent-dark: #ff6a72;
  --seo-accent-soft: rgba(255, 76, 86, 0.12);
  --seo-shadow: 0 22px 58px rgba(0, 0, 0, 0.32);
  background:
    radial-gradient(900px 520px at 92% 4%, rgba(210, 15, 31, 0.15), transparent 70%),
    radial-gradient(650px 400px at 5% 44%, rgba(210, 15, 31, 0.08), transparent 72%),
    var(--seo-paper);
}

body.seo-content-body .seo-content-page {
  width: min(1400px, calc(100vw - 112px));
  max-width: none;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 0 34px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.seo-content-body .seo-content-header {
  min-height: 88px;
  z-index: 20;
}

body.seo-content-body .seo-content-header .brand img {
  width: 44px;
  height: 44px;
}

body.seo-content-body .seo-content-header .brand span {
  color: var(--seo-text);
  font-size: 27px;
}

body.seo-content-body .seo-content-header .header-menu {
  gap: clamp(8px, 1vw, 16px);
}

html[data-theme] body.seo-content-body .seo-content-header .header-menu .ghost-btn {
  min-height: auto;
  padding: 10px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--seo-text);
  font-size: 16px;
  transform: none;
}

html[data-theme] body.seo-content-body .seo-content-header .header-menu .ghost-btn:hover,
html[data-theme] body.seo-content-body .seo-content-header .header-menu .ghost-btn:focus-visible {
  color: var(--seo-accent);
}

html[data-theme] body.seo-content-body .seo-content-header .header-menu .ghost-btn.is-active {
  color: var(--seo-accent);
  box-shadow: inset 0 -2px var(--seo-accent);
}

body.seo-content-body .seo-content-header .lang-switch-select,
body.seo-content-body .seo-content-header .theme-switch {
  height: 46px;
}

body.seo-content-body .seo-content-header .lang-switch-select {
  min-width: 88px;
  padding-right: 38px;
  padding-left: 18px;
  background-color: var(--seo-surface);
  color: var(--seo-text);
  border-color: var(--seo-line);
}

body.seo-content-body .seo-content-header .theme-switch {
  width: 58px;
  background: var(--seo-surface);
  border-color: var(--seo-line);
  color: var(--seo-text);
  box-shadow: none;
}

body.seo-content-body .seo-content-header .theme-switch-track {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

body.seo-content-body .seo-content-header .theme-switch-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  height: auto;
  color: currentColor;
  opacity: 0;
  transition: opacity 160ms ease, transform 180ms ease;
}

body.seo-content-body .seo-content-header .theme-switch-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.8;
}

body.seo-content-body .seo-content-header .theme-switch[data-theme-state="dark"] .theme-switch-icon-sun,
body.seo-content-body .seo-content-header .theme-switch[data-theme-state="light"] .theme-switch-icon-moon {
  color: currentColor;
  opacity: 1;
}

body.seo-content-body .seo-content-header .theme-switch-thumb {
  display: none;
}

.seo-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--seo-muted);
  font-size: 14px;
  font-weight: 700;
}

.seo-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.seo-breadcrumbs a:hover,
.seo-breadcrumbs a:focus-visible {
  color: var(--seo-accent);
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  padding: clamp(58px, 7vw, 104px) 0 clamp(48px, 6vw, 84px);
}

.seo-hero-copy {
  max-width: 900px;
}

.seo-kicker {
  margin: 0 0 12px;
  color: var(--seo-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 950px;
  margin: 0;
  color: var(--seo-text);
  font-size: clamp(50px, 5.2vw, 78px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.seo-lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--seo-muted);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

body.seo-content-body .btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 13px;
  font-size: 16px;
}

body.seo-content-body .btn-primary {
  border-color: var(--seo-accent);
  background: linear-gradient(180deg, var(--seo-accent), var(--seo-accent-dark));
  box-shadow: 0 12px 26px rgba(210, 15, 31, 0.2);
}

body.seo-content-body .btn-outline {
  border-color: rgba(210, 15, 31, 0.32);
  background: var(--seo-surface);
  color: var(--seo-text);
}

.seo-hero-note,
.security-boundary {
  padding: 25px;
  border: 1px solid rgba(210, 15, 31, 0.2);
  border-radius: 20px;
  background: var(--seo-surface);
  box-shadow: var(--seo-shadow);
}

.seo-hero-note strong,
.security-boundary strong {
  display: block;
  color: var(--seo-text);
  font-size: 19px;
}

.seo-hero-note p,
.security-boundary p {
  margin: 10px 0 0;
  color: var(--seo-muted);
  font-size: 15px;
  line-height: 1.55;
}

.seo-hero-note a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--seo-accent);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.faq-category-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--seo-line);
  border-radius: 18px;
  background: var(--seo-surface-soft);
}

.faq-category-nav a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--seo-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.faq-category-nav a:hover,
.faq-category-nav a:focus-visible {
  background: var(--seo-accent-soft);
  color: var(--seo-accent);
}

.faq-sections,
.security-sections {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.faq-category {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid var(--seo-line);
  border-radius: 24px;
  background: var(--seo-surface);
  box-shadow: var(--seo-shadow);
  scroll-margin-top: 24px;
}

.faq-category-heading h2,
.security-overview h2,
.seo-crosslink h2 {
  margin: 0;
  color: var(--seo-text);
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.faq-category-heading > p:last-child,
.security-overview > p:last-child,
.seo-crosslink p {
  margin: 14px 0 0;
  color: var(--seo-muted);
  font-size: 16px;
  line-height: 1.6;
}

.faq-list {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.faq-item {
  overflow: clip;
  border: 1px solid var(--seo-line);
  border-radius: 15px;
  background: var(--seo-surface-strong);
}

.faq-item summary {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  color: var(--seo-text);
  font-size: 17px;
  font-weight: 820;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq-item[open] summary {
  color: var(--seo-accent);
}

.faq-marker {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-marker::before,
.faq-marker::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 160ms ease;
}

.faq-marker::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-marker::after {
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--seo-muted);
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.faq-answer-links,
.security-section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
}

.faq-answer-links a,
.security-section-links a {
  color: var(--seo-accent);
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
}

.faq-answer-links a:hover,
.faq-answer-links a:focus-visible,
.security-section-links a:hover,
.security-section-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.security-boundary {
  border-color: rgba(210, 15, 31, 0.3);
  background:
    linear-gradient(135deg, var(--seo-accent-soft), transparent 72%),
    var(--seo-surface);
}

.security-overview {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(34px, 4vw, 56px) 0;
  text-align: center;
}

.security-overview > p:last-child {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
  font-size: 18px;
}

.security-section {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 38px);
  padding: clamp(26px, 3.2vw, 44px);
  border: 1px solid var(--seo-line);
  border-radius: 24px;
  background: var(--seo-surface);
  box-shadow: var(--seo-shadow);
}

.security-section-index {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 15, 31, 0.22);
  border-radius: 17px;
  background: var(--seo-accent-soft);
  color: var(--seo-accent);
  font-size: 16px;
  font-weight: 900;
}

.security-section h2 {
  margin: 0;
  color: var(--seo-text);
  font-size: clamp(26px, 2.5vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.security-section p,
.security-section li {
  color: var(--seo-muted);
  font-size: 16px;
  line-height: 1.65;
}

.security-section p {
  margin: 14px 0 0;
}

.security-section ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.seo-crosslink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid rgba(210, 15, 31, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(105deg, var(--seo-accent-soft), transparent 68%),
    var(--seo-surface);
  box-shadow: var(--seo-shadow);
}

.seo-crosslink > div {
  max-width: 820px;
}

.seo-crosslink .btn {
  flex: 0 0 auto;
}

.seo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 24px 4px 0;
  border-top: 1px solid var(--seo-line);
  color: var(--seo-muted);
}

.seo-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.seo-footer a {
  color: inherit;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.seo-footer a:hover,
.seo-footer a:focus-visible {
  color: var(--seo-accent);
}

body.seo-content-body :focus-visible {
  outline: 3px solid rgba(210, 15, 31, 0.32);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  body.seo-content-body .seo-content-page {
    width: min(1080px, calc(100vw - 64px));
  }

  body.seo-content-body .seo-content-header .header-menu {
    gap: 8px;
  }

  html[data-theme] body.seo-content-body .seo-content-header .header-menu .ghost-btn {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  body.seo-content-body .seo-content-page {
    width: calc(100vw - 52px);
  }

  body.seo-content-body .seo-content-header {
    min-height: 82px;
  }

  body.seo-content-body .seo-content-header .site-header-controls {
    margin-left: auto;
  }

  body.seo-content-body .seo-content-header .desktop-locale-switch {
    display: inline-flex;
  }

  body.seo-content-body .seo-content-header > .mobile-nav-toggle {
    display: inline-flex;
  }

  html[data-theme] body.seo-content-body .seo-content-header .header-menu .ghost-btn {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 9px;
    font-size: 16px;
  }

  html[data-theme] body.seo-content-body .seo-content-header .header-menu .ghost-btn.is-active {
    box-shadow: none;
  }

  .seo-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 44px 0 46px;
  }

  .seo-hero-note,
  .security-boundary {
    max-width: 640px;
  }

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

  .faq-category {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.seo-content-body .seo-content-page {
    width: calc(100vw - 44px);
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  body.seo-content-body .seo-content-header {
    min-height: 84px;
  }

  body.seo-content-body .seo-content-header .brand img {
    width: 42px;
    height: 42px;
  }

  body.seo-content-body .seo-content-header .brand span {
    font-size: 24px;
  }

  body.seo-content-body .seo-content-header .site-header-controls {
    gap: 8px;
  }

  body.seo-content-body .seo-content-header .site-header-controls > .theme-switch {
    display: none;
  }

  body.seo-content-body .seo-content-header .lang-switch-select {
    min-width: 74px;
    height: 46px;
    padding-right: 32px;
    padding-left: 14px;
  }

  .seo-breadcrumbs {
    margin-top: 8px;
    font-size: 13px;
  }

  .seo-hero {
    padding-top: 34px;
  }

  .seo-hero h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .seo-lead {
    margin-top: 18px;
    font-size: 17px;
  }

  .seo-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  body.seo-content-body .seo-actions .btn {
    width: 100%;
  }

  .seo-hero-note,
  .security-boundary,
  .faq-category,
  .security-section,
  .seo-crosslink {
    border-radius: 19px;
  }

  .faq-category-nav {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .faq-category-nav::-webkit-scrollbar {
    display: none;
  }

  .faq-category-nav a {
    min-width: min(230px, 72vw);
    scroll-snap-align: start;
  }

  .faq-category,
  .security-section {
    padding: 22px 18px;
  }

  .faq-item summary {
    min-height: 58px;
    padding: 14px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 14px 16px;
  }

  .faq-answer p,
  .security-section p,
  .security-section li {
    font-size: 15px;
  }

  .security-overview {
    padding: 36px 0;
    text-align: left;
  }

  .security-section {
    grid-template-columns: 1fr;
  }

  .security-section-index {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .seo-crosslink {
    display: grid;
    padding: 24px 20px;
  }

  .seo-crosslink .btn {
    width: 100%;
  }

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

@media (max-width: 390px) {
  body.seo-content-body .seo-content-page {
    width: calc(100vw - 32px);
  }

  body.seo-content-body .seo-content-header .brand span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-marker::before,
  .faq-marker::after {
    transition: none;
  }
}
