/* ============================================
   ResidenceSafe — Inner Pages Styles
   Consolidated from inline <style> blocks.
   All tokens migrated to DS --rs-* system.
   ============================================ */
.error-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--rs-space-20) 24px;
  background: var(--rs-bg-canvas);
  position: relative;
  overflow: hidden;
}

/* REMOVED: .error-section::before (decorative orb, P4c) */

/* REMOVED: .error-section::after (decorative orb, P4c) */

.error-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: var(--rs-content-narrow);
}

.error-code {
  font-size: clamp(100px, 20vw, 180px);
  font-weight: 700;
  color: var(--rs-ink-400);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.2;
  margin-bottom: -24px;
}

.error-emoji {
  font-size: var(--rs-text-3xl);
  margin-bottom: var(--rs-space-4);
  display: block;
}

.error-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--rs-fg-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--rs-space-4);
}

.error-message {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.error-actions {
  display: flex;
  gap: var(--rs-space-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--rs-space-12);
}

.error-links {
  display: flex;
  gap: var(--rs-space-6);
  justify-content: center;
  flex-wrap: wrap;
}

.error-links a {
  font-size: var(--rs-text-sm);
  font-weight: 400;
  color: var(--rs-fg-tertiary);
  padding: 8px 16px;
  border-radius: var(--rs-radius-pill);
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border-default);
  transition: all var(--rs-duration-base) var(--rs-ease-standard);
}

.error-links a:hover {
  color: var(--rs-action-primary);
  border-color: var(--rs-action-primary);
  background: var(--rs-ink-50);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-16);
  align-items: center;
  text-align: left;
}

.hero-split .section-title {
  margin-left: 0;
  margin-right: 0;
}

.hero-split .section-subtitle {
  margin-left: 0;
  margin-right: 0;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rs-radius-lg);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--rs-radius-lg);
  object-fit: cover;
  display: block;
  max-height: 480px;
}

.prose {
  max-width: var(--rs-content-reading);
  margin-left: auto;
  margin-right: auto;
  margin: 0 auto;
}

/* --- Prose split: text + stat aside (breaks prose walls on dense pages) --- */
.prose-split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--rs-space-16);
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
.prose-split .prose { margin: 0; max-width: none; }
.stat-aside {
  display: flex;
  flex-direction: column;
  gap: var(--rs-space-6);
  padding: var(--rs-space-8);
  background: var(--rs-neutral-50);
  border: 1px solid var(--rs-border-default);
  border-radius: var(--rs-radius-lg);
}
.stat-aside-num {
  font-family: var(--rs-font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--rs-ink-600);
  letter-spacing: -0.02em;
}
.stat-aside-num.green { color: var(--rs-success-600); }
.stat-aside-suffix { font-size: 26px; }
.stat-aside-label {
  font-size: var(--rs-text-sm);
  line-height: 1.5;
  color: var(--rs-fg-secondary);
  margin-top: var(--rs-space-2);
}
.prose-callout {
  max-width: 1040px;
  margin: var(--rs-space-10) auto 0;
  padding: var(--rs-space-6) var(--rs-space-8);
  background: var(--rs-ink-50);
  border-radius: var(--rs-radius-md);
  font-size: var(--rs-text-md);
  line-height: 1.6;
  color: var(--rs-midnight-800);
}
.prose p {
  font-size: var(--rs-text-md);
  line-height: 1.7;
  color: var(--rs-fg-secondary);
  margin-bottom: var(--rs-space-4);
}

.prose strong {
  color: var(--rs-fg-primary);
  font-weight: 700;
}

.mission-text {
  font-size: var(--rs-text-md);
  line-height: 1.8;
  color: var(--rs-white-60);
  max-width: var(--rs-content-reading);
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rs-space-8);
  margin-top: 56px;
}

.value-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 40px 32px;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.value-card:hover {
  background: var(--rs-neutral-100);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--rs-radius-md);
  background: var(--rs-ink-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-space-6);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 {
  font-size: var(--rs-text-lg);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-3);
}

.value-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.7;
  margin: 0;
}

.team-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-16);
  align-items: center;
  margin-top: var(--rs-space-12);
}

.team-text p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.7;
  margin-bottom: var(--rs-space-5);
}

.team-text p strong {
  color: var(--rs-fg-primary);
  font-weight: 600;
}

.team-badges {
  display: flex;
  gap: var(--rs-space-4);
  align-items: center;
  margin-top: var(--rs-space-8);
}

.team-badges img {
  height: 44px;
  width: auto;
  opacity: 0.6;
}

.team-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-visual img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: var(--rs-radius-lg);
}

.andorra-strip {
  padding: var(--rs-space-20) 0;
  background: var(--rs-bg-surface);
  text-align: center;
  border-top: 1px solid var(--rs-border-default);
}

.andorra-text {
  font-size: var(--rs-text-md);
  font-weight: 600;
  color: var(--rs-fg-primary);
}

.andorra-sub {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-disabled);
  margin-top: var(--rs-space-1);
}

.prose h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--rs-fg-primary);
  line-height: 1.15;
  margin-bottom: var(--rs-space-6);
  letter-spacing: -0.015em;
}

.prose h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-top: var(--rs-space-8);
  margin-bottom: var(--rs-space-3);
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tax-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-10);
  margin: 48px auto 0;
  max-width: var(--rs-content-reading);
  margin-left: auto;
  margin-right: auto;
}

.tax-block {
  text-align: center;
  padding: var(--rs-space-10);
  border-radius: var(--rs-radius-md);
  position: relative;
}

.tax-block--beckham {
  background: #EEF6FF;
  border: 2px solid var(--rs-action-primary);
}

.tax-block--standard {
  background: var(--rs-neutral-50);
  border: 2px solid var(--rs-border-default);
}

.tax-block-label {
  font-size: var(--rs-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--rs-space-2);
}

.tax-block--beckham .tax-block-label {
  color: var(--rs-action-primary);
}

.tax-block--standard .tax-block-label {
  color: var(--rs-fg-disabled);
}

.tax-rate {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.tax-block--beckham .tax-rate {
  color: var(--rs-action-primary);
}

.tax-block--standard .tax-rate {
  color: var(--rs-neutral-300);
  text-decoration: line-through;
  text-decoration-color: var(--rs-danger-500);
}

.tax-rate-suffix {
  font-size: 0.4em;
  font-weight: 600;
  vertical-align: top;
}

.tax-block-detail {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-tertiary);
  margin-top: var(--rs-space-2);
  line-height: 1.4;
}

.tax-block--beckham .tax-block-detail {
  color: var(--rs-fg-secondary);
}

.tax-block-badge {
  display: inline-block;
  background: var(--rs-action-primary);
  color: var(--rs-bg-surface);
  font-size: var(--rs-text-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--rs-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--rs-space-3);
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin: var(--rs-space-16) auto;
  max-width: var(--rs-content-reading);
  padding: 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: var(--rs-action-primary);
  border-radius: 2px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rs-bg-surface);
  border: 3px solid var(--rs-action-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--rs-text-sm);
  font-weight: 700;
  color: var(--rs-action-primary);
  margin-bottom: var(--rs-space-3);
}

.timeline-step:last-child .timeline-dot {
  background: var(--rs-action-primary);
  color: var(--rs-bg-surface);
}

.timeline-label {
  font-size: var(--rs-text-sm);
  font-weight: 600;
  color: var(--rs-fg-primary);
  text-align: center;
}

.timeline-sub {
  font-size: var(--rs-text-xs);
  color: var(--rs-fg-disabled);
  text-align: center;
  margin-top: 2px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-6);
  margin-bottom: var(--rs-space-16);
  text-align: center;
}

.stat-number {
  font-variant-numeric: tabular-nums;
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-number--red {
  color: var(--rs-danger-500);
}

/* Qualitative red stats: a short impact phrase replaces a single big number.
   Smaller size + balanced wrapping keeps it inside the stat/trap cell. */
.stat-number--phrase {
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.05;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

.trap-card .stat-number--phrase {
  font-size: clamp(28px, 3.6vw, 36px);
}

.stat-number--amber {
  color: var(--rs-warning-500);
}

.stat-number--blue {
  color: var(--rs-action-primary);
}

.stat-label {
  font-size: var(--rs-text-sm);
  color: var(--rs-white-70);
  margin-top: var(--rs-space-2);
  line-height: 1.4;
}

.risk-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-6);
  margin: var(--rs-space-10) 0;
}

.risk-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 28px;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.risk-card h3 {
  color: var(--rs-fg-primary);
  font-size: var(--rs-text-base);
  font-weight: 700;
  margin: 0 0 12px;
  margin-bottom: var(--rs-space-2);
}

.risk-card p {
  color: var(--rs-fg-secondary);
  font-size: var(--rs-text-base);
  line-height: 1.6;
  margin: 0;
}

.risk-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-space-3);
  background: var(--rs-danger-50);
}

.risk-card-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke-width: 2;
  stroke: var(--rs-danger-500);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.day-visual {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--rs-space-16);
  align-items: center;
  max-width: var(--rs-content-reading);
  margin: var(--rs-space-16) auto 0;
}

.day-ring {
  width: 160px;
  height: 160px;
  position: relative;
  margin: 0 auto 16px;
}

.day-ring svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.day-ring-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: var(--rs-text-base);
  font-weight: 700;
  color: var(--rs-fg-primary);
}

.day-ring-number {
  font-size: var(--rs-text-2xl);
  font-weight: 700;
  color: var(--rs-action-primary);
  line-height: 1;
}

.day-ring-number.day-ring-label {
  font-size: 22px;
  line-height: 1.3;
}

.day-ring-text {
  font-size: var(--rs-text-xs);
  color: var(--rs-fg-disabled);
  margin-top: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.day-detail h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
}

.day-detail p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.65;
  margin-bottom: var(--rs-space-3);
}

.day-detail a {
  color: var(--rs-action-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.solution-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-16);
  align-items: center;
  margin-top: var(--rs-space-16);
}

.solution-cards {
  display: flex;
  flex-direction: column;
  gap: var(--rs-space-6);
}

.trust-strip {
  margin-top: var(--rs-space-16);
  border-top: 1px solid var(--rs-neutral-100);
  padding: var(--rs-space-20) 0;
  background: var(--rs-bg-surface);
  border-bottom: 1px solid var(--rs-neutral-100);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--rs-space-6);
  flex-wrap: wrap;
  text-decoration: none;
}

.trust-label {
  font-size: var(--rs-text-sm);
  font-weight: 600;
  color: var(--rs-fg-disabled);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-inner img {
  height: 48px;
  width: auto;
  opacity: 0.55;
  transition: opacity var(--rs-duration-base) var(--rs-ease-standard);
}

.trust-inner img:hover {
  opacity: 1;
}

.faq-section {
  padding: var(--rs-space-20) 0;
  background: var(--rs-bg-canvas);
}

.faq-list {
  max-width: var(--rs-content-reading);
  margin: 40px auto 0;
}

.dark-bg .prose h3 {
  color: var(--rs-bg-surface);
}

.dark-bg .prose li {
  color: var(--rs-white-70);
}

.dark-bg .prose a {
  color: var(--rs-action-primary);
}

.dark-bg .prose strong {
  color: var(--rs-bg-surface);
}

/* ============================================ */
/* --- FAILURE SCENARIOS (compare) --- */
.scenarios-section {
  padding: var(--rs-space-20) 0;
}
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-6);
  margin-top: var(--rs-space-12);
}
.scenario-card {
  background: var(--rs-danger-50);
  border: 1px solid var(--rs-danger-a15);
  border-radius: var(--rs-radius-lg);
  padding: var(--rs-space-8);
}
.scenario-setup {
  font-size: var(--rs-text-md);
  font-weight: 600;
  color: var(--rs-fg-primary);
  margin: 0 0 var(--rs-space-3);
}
.scenario-fail {
  font-size: var(--rs-text-sm);
  line-height: 1.6;
  color: var(--rs-fg-secondary);
  margin: 0;
}
/* --- INLINE 4-DIMENSIONS REFERENCE (for-X pages) --- */
.dimensions-inline {
  list-style: none;
  margin: var(--rs-space-6) 0 var(--rs-space-4);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-3) var(--rs-space-8);
}
.dimensions-inline li {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-secondary);
  line-height: 1.5;
}
.dimensions-inline .dim-tag {
  display: inline-block;
  margin-right: var(--rs-space-2);
  padding: 2px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rs-ink-600);
  background: var(--rs-ink-50);
  border-radius: var(--rs-radius-sm, 6px);
}
.dimensions-inline-link { margin: 0; font-size: var(--rs-text-sm); }
/* --- 4 DIMENSIONS card section (shared component; mirrors homepage.css for non-home pages) --- */
.dimensions {
  padding: var(--rs-space-20) 0;
  background: var(--rs-bg-surface);
}
.dimensions-grid {
  margin-top: var(--rs-space-12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rs-space-6);
}
.dimension-card {
  position: relative;
  background: var(--rs-bg-base, #fff);
  border-radius: var(--rs-radius-lg);
  padding: var(--rs-space-8);
  border: 1px solid var(--rs-border-subtle, rgba(19,23,48,.06));
}
.dimension-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--rs-text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-ink-500);
  margin-bottom: var(--rs-space-5);
}
.dimension-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--rs-radius-md);
  background: var(--rs-ink-50);
  color: var(--rs-ink-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-space-4);
}
.dimension-icon svg { width: 26px; height: 26px; }
/* Green accent on the 4th dimension (Proof/validez) — breaks the all-blue monochrome on the proof signal */
.dimensions-grid .dimension-card:nth-child(4) .dimension-tag { color: var(--rs-success-600); }
.dimensions-grid .dimension-card:nth-child(4) .dimension-icon { background: var(--rs-success-50); color: var(--rs-success-600); }
.dimension-card h3 {
  font-size: var(--rs-text-lg);
  margin-bottom: var(--rs-space-2);
}
.dimension-card p {
  font-size: var(--rs-text-sm);
  line-height: 1.6;
  color: var(--rs-fg-secondary, var(--rs-midnight-600));
  margin: 0;
}
.categories-section {
  padding: var(--rs-space-20) 0;
  background: var(--rs-neutral-50);
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-8);
  margin-top: var(--rs-space-12);
}

.category-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 40px 32px;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.category-card:hover {
  background: var(--rs-neutral-100);
}

.category-card.highlighted {
  background: var(--rs-bg-surface);
  border: 2px solid var(--rs-action-primary);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--rs-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-space-5);
}

.category-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.category-icon.gray {
  background: var(--rs-neutral-100);
}

.category-icon.gray svg {
  stroke: var(--rs-fg-tertiary);
}

.category-icon.blue {
  background: var(--rs-ink-50);
}

.category-icon.blue svg {
  stroke: var(--rs-action-primary);
}

.category-card h3 {
  font-size: var(--rs-text-lg);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
}

.category-card .category-type {
  font-size: var(--rs-text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--rs-space-4);
}

.category-type.gray {
  color: var(--rs-fg-disabled);
}

.category-type.blue {
  color: var(--rs-action-primary);
}

.category-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.6;
}

.category-examples {
  margin-top: var(--rs-space-4);
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-disabled);
  font-weight: 400;
}

/* ============================================ */
.compare-section {
  padding: var(--rs-space-20) 0;
}

.compare-section.alt {
  background: var(--rs-neutral-50);
}

.compare-table-wrap {
  max-width: var(--rs-content-default);
  margin: 48px auto 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--rs-radius-md);
}

.compare-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  border-spacing: 0;
  max-width: var(--rs-content-default);
  margin: 48px auto 0;
}

.compare-table td {
  padding: 14px 20px;
  font-size: var(--rs-text-base);
  text-align: left;
  border-bottom: 1px solid var(--rs-neutral-100);
  color: var(--rs-fg-secondary);
  background: var(--rs-bg-surface);
}

.compare-table th {
  font-weight: 700;
  color: var(--rs-fg-primary);
  background: var(--rs-neutral-50);
  position: sticky;
  top: 0;
  z-index: 10;
}

.compare-table th:first-child {
  border-radius: var(--rs-radius-sm) 0 0 0;
}

.compare-table th:last-child {
  border-radius: 0 8px 0 0;
}

.compare-table th.rs {
  background: var(--rs-action-primary);
  color: var(--rs-bg-surface);
  text-align: center;
}

.compare-table th.alt {
  background: var(--rs-border-default);
  color: var(--rs-neutral-700);
  text-align: center;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--rs-neutral-700);
  min-width: 180px;
}

.compare-table td:nth-child(2) {
  text-align: center;
  color: var(--rs-fg-primary);
  font-weight: 400;
}

.compare-table td:nth-child(3) {
  text-align: center;
  color: var(--rs-fg-tertiary);
}

.compare-table tr:hover td {
  background: var(--rs-neutral-50);
}

.compare-table tbody tr:nth-child(even) td {
  background: var(--rs-neutral-50);
}

.compare-table tbody tr:nth-child(even):hover td {
  background: var(--rs-neutral-100);
}

.compare-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}

.compare-table tbody tr:last-child td:last-child {
  border-radius: 0 0 8px 0;
}

.icon-check {
  color: var(--rs-success-500);
  font-weight: 700;
  font-size: var(--rs-text-md);
}

.icon-cross {
  color: var(--rs-danger-500);
  font-weight: 700;
  font-size: var(--rs-text-md);
}

.icon-warn {
  color: var(--rs-warning-500);
  font-weight: 700;
  font-size: var(--rs-text-md);
}

.cell-highlight {
  color: var(--rs-action-primary);
  font-weight: 600;
}

.cell-muted {
  color: var(--rs-fg-disabled);
}

.compare-table.diy {
  min-width: 720px;
}

.compare-table.diy td:nth-child(2) {
  text-align: left;
  font-weight: 400;
  color: var(--rs-fg-secondary);
}

.compare-table.diy td:nth-child(3) {
  text-align: left;
  font-weight: 400;
  color: var(--rs-fg-tertiary);
}

.compare-table.diy td:nth-child(4) {
  text-align: center;
}

.compare-table.diy tr.rs-row td {
  background: var(--rs-ink-50);
  font-weight: 600;
  color: var(--rs-fg-primary);
}

.compare-table.diy tr.rs-row td:first-child {
  color: var(--rs-action-primary);
}

/* ============================================ */
.privacy-section {
  padding: var(--rs-space-20) 0;
  background: var(--rs-fg-primary);
  color: var(--rs-bg-surface);
}

.privacy-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-12);
  margin-top: var(--rs-space-12);
  align-items: stretch;
}

.privacy-card {
  border-radius: var(--rs-radius-md);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.privacy-card.surveillance {
  background: var(--rs-danger-50);
}

.privacy-card.private {
  background: var(--rs-success-50);
}

.privacy-card h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--rs-bg-surface);
}

.privacy-card.surveillance h3 {
  color: var(--rs-danger-500);
}

.privacy-card.private h3 {
  color: var(--rs-success-500);
}

.privacy-card .privacy-stat {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--rs-space-2);
  letter-spacing: -0.03em;
}

.privacy-card.surveillance .privacy-stat {
  color: var(--rs-danger-500);
}

.privacy-card.private .privacy-stat {
  color: var(--rs-success-500);
}

.privacy-card .privacy-unit {
  font-size: var(--rs-text-base);
  font-weight: 600;
  margin-bottom: var(--rs-space-4);
}

.privacy-card.surveillance .privacy-unit {
  color: color-mix(in srgb, var(--rs-danger-500) 70%, transparent);
}

.privacy-card.private .privacy-unit {
  color: color-mix(in srgb, var(--rs-success-500) 70%, transparent);
}

.privacy-card p {
  font-size: var(--rs-text-base);
  line-height: 1.6;
  color: var(--rs-white-60);
}

.privacy-card.surveillance p {
  color: var(--rs-fg-secondary);
}

.privacy-card.private p {
  color: var(--rs-fg-secondary);
}

.privacy-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: var(--rs-space-5);
  max-width: 280px;
}

.privacy-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.privacy-dots .dot.red {
  background: color-mix(in srgb, var(--rs-danger-500) 40%, transparent);
}

.privacy-dots .dot.green {
  background: color-mix(in srgb, var(--rs-success-500) 60%, transparent);
}

.privacy-bottom-line {
  text-align: center;
  margin-top: var(--rs-space-10);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--rs-fg-primary);
  line-height: 1.4;
}

/* ============================================ */
.diff-section {
  padding: var(--rs-space-20) 0;
  background: var(--rs-neutral-50);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rs-space-6);
  margin-top: var(--rs-space-12);
}

.diff-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.diff-card:hover {
  background: var(--rs-neutral-100);
}

.diff-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rs-ink-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.diff-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diff-card h3 {
  font-size: var(--rs-text-base);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
  line-height: 1.3;
}

.diff-card p {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-tertiary);
  line-height: 1.5;
}

/* ============================================ */
.contact-section {
  padding: var(--rs-space-20) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--rs-space-16);
  align-items: start;
}

/* ============================================ */
.contact-info {
  position: sticky;
  top: 104px;
}

.info-card {
  display: flex;
  gap: var(--rs-space-4);
  padding: 28px 24px;
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
  margin: 24px 0;
}

.info-card:hover {
  background: var(--rs-neutral-100);
}

.info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--rs-bg-surface);
  border-radius: var(--rs-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--rs-text-lg);
}
.info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  font-size: var(--rs-text-base);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
}

.info-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.6;
  margin-bottom: var(--rs-space-2);
  margin: 0;
}

.info-card a {
  font-weight: 600;
}

/* ============================================ */
.form-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-lg);
  padding: 44px;
}

.form-card h2 {
  font-size: var(--rs-text-lg);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.form-card > p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  margin-bottom: 36px;
  padding-bottom: var(--rs-space-5);
  border-bottom: 1px solid var(--rs-border-default);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-5);
}

.form-group {
  margin-bottom: var(--rs-space-5);
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: var(--rs-text-sm);
  font-weight: 600;
  color: var(--rs-neutral-700);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-label .required {
  color: var(--rs-danger-500);
  margin-left: 2px;
}

.form-input,
.form-select {
  width: 100%;
  font-family: var(--rs-font-sans);
  font-size: var(--rs-text-base);
  color: var(--rs-fg-primary);
  background: var(--rs-neutral-50);
  border: 1.5px solid var(--rs-border-default);
  border-radius: var(--rs-radius-md);
  padding: 13px 16px;
  transition: all var(--rs-duration-base) var(--rs-ease-standard);
  outline: none;
  line-height: 1.6;
}
.form-input:focus,
.form-select:focus {
  background: var(--rs-bg-surface);
  border-color: var(--rs-action-primary);
  box-shadow: 0 0 0 4px var(--rs-ink-a15);
}
.form-input::placeholder {
  color: var(--rs-fg-disabled);
}

.form-textarea {
  width: 100%;
  font-family: var(--rs-font-sans);
  font-size: var(--rs-text-base);
  color: var(--rs-fg-primary);
  background: var(--rs-neutral-50);
  border: 1.5px solid var(--rs-border-default);
  border-radius: var(--rs-radius-md);
  padding: 13px 16px;
  transition: all var(--rs-duration-base) var(--rs-ease-standard);
  outline: none;
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-textarea:focus {
  background: var(--rs-bg-surface);
  border-color: var(--rs-action-primary);
  box-shadow: 0 0 0 4px var(--rs-ink-a15);
}

.form-textarea::placeholder {
  color: var(--rs-fg-disabled);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--rs-space-2);
  font-family: var(--rs-font-sans);
  font-size: var(--rs-text-base);
  font-weight: 600;
  padding: 14px 36px;
  border-radius: var(--rs-radius-pill);
  border: 2px solid transparent;
  background: var(--rs-action-primary);
  color: var(--rs-bg-surface);
  cursor: pointer;
  transition: all var(--rs-duration-base) var(--rs-ease-standard);
  width: 100%;
  justify-content: center;
}

.form-submit:hover {
  background: var(--rs-action-primary-hover);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-submit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-note {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-disabled);
  margin-top: var(--rs-space-3);
  text-align: center;
}

.form-consent {
  margin-bottom: var(--rs-space-6);
}

.consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--rs-action-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.consent-check span {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-secondary);
  line-height: 1.5;
}

.consent-check a {
  font-weight: 600;
}

.consent-details {
  margin-top: 10px;
  margin-left: 28px;
}

.consent-toggle {
  font-size: var(--rs-text-xs);
  font-weight: 600;
  color: var(--rs-action-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--rs-font-sans);
  display: inline-flex;
  align-items: center;
  gap: var(--rs-space-1);
}

.consent-toggle:hover {
  color: var(--rs-action-primary-hover);
}

.consent-toggle svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform var(--rs-duration-base) var(--rs-ease-standard);
}

.consent-toggle.open svg {
  transform: rotate(180deg);
}

.consent-full {
  display: none;
  margin-top: 10px;
  padding: var(--rs-space-4);
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-sm);
  font-size: var(--rs-text-xs);
  color: var(--rs-fg-tertiary);
  line-height: 1.7;
}

.consent-full.show {
  display: block;
}

.consent-full strong {
  color: var(--rs-neutral-700);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}

.form-error {
  display: none;
  background: var(--rs-danger-50);
  border: 1px solid #FECACA;
  border-radius: var(--rs-radius-sm);
  padding: 12px 16px;
  margin-bottom: var(--rs-space-6);
  font-size: var(--rs-text-sm);
  color: #991B1B;
}

.form-error.show {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rs-success-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--rs-success-500);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  font-size: var(--rs-text-lg);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
}

.form-success p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  max-width: 400px;
  margin: 0 auto;
}

.narrow {
  max-width: var(--rs-content-reading);
  margin: 0 auto;
}

.nav-links a.active {
  color: var(--rs-action-primary);
  font-weight: 600;
}

.mobile-menu a {
  font-size: var(--rs-text-base);
  font-weight: 400;
  color: var(--rs-neutral-700);
  padding: 8px 0;
}

.legal-content {
  padding: var(--rs-space-20) 0;
}

.legal-inner {
  max-width: var(--rs-content-reading);
  margin: 0 auto;
}

.legal-meta {
  display: flex;
  gap: var(--rs-space-6);
  flex-wrap: wrap;
  margin-bottom: var(--rs-space-12);
  padding-bottom: var(--rs-space-8);
  border-bottom: 1px solid var(--rs-border-default);
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-disabled);
}

.legal-inner h2 {
  font-size: var(--rs-text-lg);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}

.legal-inner h3 {
  font-size: var(--rs-text-md);
  font-weight: 600;
  color: var(--rs-fg-primary);
  margin: 32px 0 12px;
}

.legal-inner p {
  margin-bottom: var(--rs-space-4);
}

.legal-inner ul, .legal-inner ol {
  margin: 0 0 16px 24px;
}

.legal-inner li {
  margin-bottom: var(--rs-space-2);
}

.legal-inner strong {
  color: var(--rs-neutral-700);
}

.legal-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: var(--rs-text-base);
}

.legal-inner table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--rs-neutral-50);
  font-weight: 600;
  color: var(--rs-fg-primary);
  border-bottom: 2px solid var(--rs-border-default);
}

.legal-inner table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rs-neutral-100);
  vertical-align: top;
}

.legal-toc {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 28px 32px;
  margin-bottom: var(--rs-space-12);
}

.legal-toc h3 {
  margin: 0 0 12px;
  font-size: var(--rs-text-base);
  color: var(--rs-fg-primary);
}

.legal-toc ol {
  margin: 0 0 0 20px;
}

.legal-toc li {
  margin-bottom: 6px;
  font-size: var(--rs-text-base);
}

.legal-toc a {
  color: var(--rs-fg-secondary);
}

.legal-toc a:hover {
  color: var(--rs-action-primary);
}

.manage-cookies-cta {
  background: var(--rs-ink-50);
  border: 1px solid var(--rs-ink-a20);
  border-radius: var(--rs-radius-md);
  padding: 24px 28px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rs-space-4);
  flex-wrap: wrap;
}

.manage-cookies-cta p {
  margin: 0;
  font-weight: 400;
  color: var(--rs-fg-primary);
}

.manage-cookies-cta .btn {
  padding: 10px 24px;
  font-size: var(--rs-text-sm);
  flex-shrink: 0;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-6);
  margin-top: var(--rs-space-12);
  justify-items: center;
}

.country-grid > :last-child:nth-child(3n+1) {
  grid-column: 2;
}

.country-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-xl);
  padding: 36px 28px;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
  width: 100%;
}

.country-card:hover {
  background: var(--rs-neutral-100);
}

.country-flag {
  font-size: var(--rs-text-2xl);
  line-height: 1;
  margin-bottom: var(--rs-space-4);
}

.country-card h3 {
  font-size: var(--rs-text-lg);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
}

.country-stat {
  display: inline-block;
  background: var(--rs-ink-50);
  color: var(--rs-action-primary);
  font-size: var(--rs-text-sm);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--rs-radius-pill);
  margin-bottom: var(--rs-space-4);
}

.country-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.6;
  margin-bottom: var(--rs-space-5);
}

.country-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--rs-text-base);
  font-weight: 600;
  color: var(--rs-action-primary);
  text-decoration: none;
  transition: gap var(--rs-duration-base) var(--rs-ease-standard);
}

.country-link:hover {
  gap: 10px;
}

.prose ul {
  padding-left: 0;
  margin-bottom: 1.4em;
  margin: 0 0 1.4em;
  list-style: none;
}

.prose li {
  margin-bottom: var(--rs-space-2);
  line-height: 1.6;
  position: relative;
  padding-left: 28px;
  font-size: var(--rs-text-base);
  color: var(--rs-fg-secondary);
}

.table-wrapper {
  overflow-x: auto;
  margin: 32px auto 0;
  border-radius: var(--rs-radius-md);
  border: 1px solid var(--rs-border-default);
  max-width: var(--rs-content-default);
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--rs-text-base);
  min-width: 640px;
}

.vs-table thead {
  background: var(--rs-fg-primary);
  color: var(--rs-bg-surface);
}

.vs-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: var(--rs-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rs-neutral-100);
  color: var(--rs-fg-secondary);
  vertical-align: top;
}

.vs-table tbody tr:nth-child(even) {
  background: var(--rs-bg-canvas);
}

.vs-table tbody tr:hover {
  background: var(--rs-ink-50);
}

.vs-table td:first-child {
  font-weight: 600;
  color: var(--rs-fg-primary);
}

.check-icon {
  color: var(--rs-success-500);
  font-weight: 700;
}

.cross-icon {
  color: var(--rs-danger-500);
  font-weight: 700;
}

.penalty-list {
  list-style: none;
  padding: 0;
  margin: var(--rs-space-10) 0;
}

.penalty-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rs-neutral-100);
  font-size: var(--rs-text-base);
  color: var(--rs-fg-secondary);
  line-height: 1.65;
}

.penalty-list li:last-child {
  border-bottom: none;
}

.penalty-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FEE2E2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.penalty-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--rs-danger-500);
  fill: none;
  stroke-width: 2;
}

.dark-bg .prose ul {
  color: var(--rs-white-70);
}

.gap-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-16);
  align-items: center;
  max-width: var(--rs-content-default);
  margin: 0 auto var(--rs-space-10);
}

/* ============================================ */
.page-hero .section-title {
  margin-bottom: var(--rs-space-4);
}

.page-hero .section-subtitle {
  max-width: var(--rs-content-narrow);
}

/* ============================================ */
.faq-content {
  padding: var(--rs-space-20) 0;
}

.faq-container {
  max-width: var(--rs-content-reading);
  margin: 48px auto 0;
}

.faq-category {
  margin-bottom: 56px;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  font-size: var(--rs-text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rs-action-primary);
  margin-bottom: var(--rs-space-6);
  padding-bottom: var(--rs-space-3);
  border-bottom: 2px solid var(--rs-ink-50);
}

/* ============================================ */
.faq-cta {
  padding: var(--rs-space-20) 0;
  background: var(--rs-bg-canvas);
  text-align: center;
}

.faq-cta .section-title {
  margin-bottom: var(--rs-space-4);
}

.faq-cta .section-subtitle {
  max-width: var(--rs-content-narrow);
  margin: 0 auto 32px;
}

.faq-cta .btn-group {
  justify-content: center;
}

.faq-cta .store-badges {
  justify-content: center;
  margin-top: var(--rs-space-6);
}

.trap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-10);
}

.trap-card .stat-number {
  font-variant-numeric: tabular-nums;
  font-size: clamp(44px, 6vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--rs-space-4);
}

.stat-number--green {
  color: var(--rs-success-500);
}

.trap-card h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: 10px;
}

.trap-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.65;
  margin: 0;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.visa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--rs-text-base);
  min-width: 700px;
}

.visa-table thead {
  background: var(--rs-fg-primary);
  color: var(--rs-bg-surface);
}

.visa-table th {
  padding: 14px 20px;
  font-weight: 700;
  font-size: var(--rs-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
}

.visa-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rs-neutral-100);
  color: var(--rs-fg-secondary);
  vertical-align: top;
}

.visa-table tbody tr:nth-child(even) {
  background: var(--rs-neutral-50);
}

.visa-table tbody tr:hover {
  background: var(--rs-ink-50);
}

.visa-table .country-name {
  font-weight: 700;
  color: var(--rs-fg-primary);
}

.visa-table .country-name a {
  color: var(--rs-fg-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--rs-border-default);
  transition: all var(--rs-duration-base) var(--rs-ease-standard);
}

.visa-table .country-name a:hover {
  color: var(--rs-action-primary);
  border-bottom-color: var(--rs-action-primary);
}

.visa-table .tax-benefit {
  color: var(--rs-success-500);
  font-weight: 600;
}

.schengen-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-16);
  align-items: center;
  margin-top: var(--rs-space-16);
}

.schengen-layout img {
  width: 100%;
  height: auto;
  border-radius: var(--rs-radius-lg);
}

.consequence-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-6);
  margin: var(--rs-space-10) 0;
}

.consequence-card {
  background: var(--rs-white-04);
  border-radius: var(--rs-radius-md);
  padding: 28px 24px;
}

.consequence-card h3 {
  color: var(--rs-bg-surface);
  font-size: var(--rs-text-md);
  font-weight: 700;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.consequence-card p {
  color: var(--rs-white-65);
  font-size: var(--rs-text-base);
  line-height: 1.65;
  margin: 0;
}

.consequence-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--rs-space-4);
}

.consequence-card-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke-width: 2;
}

.debunk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rs-space-6);
  margin: 32px auto;
  max-width: var(--rs-content-reading);
}

.debunk-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 28px;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.debunk-card:hover {
  background: var(--rs-neutral-100);
}

.debunk-title {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.debunk-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FEE2E2;
  color: var(--rs-danger-500);
  font-size: var(--rs-text-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.debunk-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.6;
  margin: 0;
}

.solution-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-10);
  margin: var(--rs-space-16) 0;
}

.solution-step-img {
  margin-bottom: var(--rs-space-6);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.solution-step-img img {
  width: 100%;
  height: auto;
  display: block;
}

.solution-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rs-action-primary);
  color: var(--rs-bg-surface);
  font-size: var(--rs-text-base);
  font-weight: 700;
  margin-bottom: var(--rs-space-2);
}

.solution-step h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
}

.solution-step p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rs-action-primary);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-6);
  margin: var(--rs-space-10) 0;
}

.criteria-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 28px;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.criteria-card:hover {
  background: var(--rs-neutral-100);
}

.criteria-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-space-4);
}

.criteria-card-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.criteria-card h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
}

.criteria-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.6;
  margin: 0;
}

.family-section {
  padding: var(--rs-space-20) 0;
  background: var(--rs-midnight-800);
  color: var(--rs-bg-surface);
  position: relative;
  overflow: hidden;
}

/* REMOVED: .family-section::before (decorative orb, P4c) */

.family-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-16);
  align-items: center;
}

.family-section .section-title {
  color: var(--rs-bg-surface);
  margin-left: 0;
  margin-right: 0;
}

.family-section .section-label {
  color: var(--rs-white-70);
  background: var(--rs-ink-a10);
}

.family-section p {
  color: var(--rs-white-70);
  font-size: var(--rs-text-base);
  line-height: 1.7;
  margin-bottom: var(--rs-space-4);
}

.family-image img {
  width: 100%;
  height: auto;
  border-radius: var(--rs-radius-lg);
}

.family-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rs-space-5);
  margin-top: var(--rs-space-10);
  max-width: var(--rs-content-reading);
}

.family-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.family-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--rs-ink-a15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.family-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.family-feature span {
  color: var(--rs-white-85);
  font-size: var(--rs-text-base);
  font-weight: 400;
  line-height: 1.5;
  padding-top: var(--rs-space-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-6);
  margin-top: var(--rs-space-16);
}

.feature-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 36px 28px;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.feature-card:hover {
  background: var(--rs-neutral-100);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--rs-radius-md);
  background: var(--rs-ink-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-space-5);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.7;
  margin: 0;
}

.use-case-list {
  max-width: var(--rs-content-reading);
  margin: var(--rs-space-16) auto 0;
}

.use-case-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 28px 32px;
  margin-bottom: var(--rs-space-4);
  display: flex;
  align-items: flex-start;
  gap: var(--rs-space-5);
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.use-case-card:hover {
  background: var(--rs-neutral-100);
}

.use-case-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--rs-radius-sm);
  background: var(--rs-ink-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.use-case-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.use-case-card h3 {
  font-size: var(--rs-text-base);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: 6px;
}

.use-case-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.6;
  margin: 0;
}

.license-card {
  max-width: var(--rs-content-reading);
  margin: 0 auto;
  background: var(--rs-neutral-50);
  border: 2px solid var(--rs-action-primary);
  border-radius: var(--rs-radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

/* REMOVED: .license-card::before (decorative orb, P4c) */

.license-card h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
}

.license-badge {
  display: inline-block;
  font-size: var(--rs-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rs-action-primary);
  background: var(--rs-bg-surface);
  padding: 4px 14px;
  border-radius: var(--rs-radius-pill);
  margin-bottom: var(--rs-space-5);
  border: 1px solid var(--rs-ink-a20);
}

.license-features {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
}

.license-features li {
  display: flex;
  align-items: center;
  gap: var(--rs-space-3);
  padding: 10px 0;
  font-size: var(--rs-text-base);
  color: var(--rs-neutral-700);
  font-weight: 400;
}

.license-features li svg {
  width: 20px;
  height: 20px;
  stroke: var(--rs-success-500);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rs-space-8);
  margin-top: var(--rs-space-16);
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--rs-radius-md);
  background: var(--rs-white-04);
}

.stat-card .stat-number {
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--rs-ink-400);
}

html {
  scroll-behavior: smooth;
}

.alpha-nav {
  background: var(--rs-bg-surface);
  border-bottom: 1px solid var(--rs-border-default);
  padding: 14px 0;
  position: sticky;
  top: 72px;
  z-index: var(--rs-z-sticky);
}

.alpha-nav-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: var(--rs-content-wide);
  margin: 0 auto;
  padding: 0 var(--rs-space-6);
}

.alpha-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--rs-radius-pill);
  font-size: var(--rs-text-sm);
  font-weight: 600;
  color: var(--rs-fg-primary);
  text-decoration: none;
  transition: all var(--rs-duration-base) var(--rs-ease-standard);
}

.alpha-nav a:hover {
  background: var(--rs-ink-50);
  color: var(--rs-action-primary);
}

.alpha-nav a.active {
  background: var(--rs-action-primary);
  color: var(--rs-bg-surface);
}

.alpha-nav a.disabled {
  color: var(--rs-neutral-300);
  pointer-events: none;
}

.letter-heading {
  font-size: var(--rs-text-3xl);
  font-weight: 700;
  color: var(--rs-action-primary);
  margin-top: var(--rs-space-12);
  margin-bottom: var(--rs-space-6);
  padding-bottom: var(--rs-space-3);
  border-bottom: 2px solid var(--rs-ink-50);
  scroll-margin-top: 150px;
}

.letter-heading:first-child {
  margin-top: 0;
}

.glossary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-6);
  margin-bottom: var(--rs-space-4);
}

.glossary-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: var(--rs-space-8);
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.glossary-card:hover {
  background: var(--rs-neutral-100);
}

.glossary-card h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
  line-height: 1.3;
  scroll-margin-top: 150px;
}

.glossary-card p {
  font-size: var(--rs-text-base);
  line-height: 1.7;
  color: var(--rs-fg-secondary);
  margin: 0;
}

.glossary-card p a {
  font-weight: 600;
}

.glossary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: var(--rs-text-sm);
  font-weight: 600;
  color: var(--rs-action-primary);
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid var(--rs-ink-50);
  border-radius: var(--rs-radius-pill);
  transition: all var(--rs-duration-base) var(--rs-ease-standard);
}

.glossary-link:hover {
  background: var(--rs-ink-50);
  border-color: var(--rs-action-primary);
  gap: 10px;
}

/* ============================================ */
.steps-section {
  padding: var(--rs-space-20) 0;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-16);
  align-items: center;
  padding: var(--rs-space-10) 0;
  border-bottom: 1px solid var(--rs-neutral-100);
}

.step:last-child {
  border-bottom: none;
}

.step:nth-child(even) .step-content {
  order: 2;
}

.step:nth-child(even) .step-visual {
  order: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rs-action-primary);
  color: var(--rs-bg-surface);
  font-size: var(--rs-text-md);
  font-weight: var(--rs-weight-semibold);
  margin-bottom: var(--rs-space-5);
}

.step-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: var(--rs-weight-semibold);
  color: var(--rs-fg-primary);
  line-height: 1.2;
  margin-bottom: var(--rs-space-4);
  letter-spacing: -0.02em;
}

.step-text {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.7;
  margin-bottom: var(--rs-space-4);
}

.step-highlight {
  font-size: var(--rs-text-base);
  font-weight: 600;
  color: var(--rs-action-primary);
  display: flex;
  align-items: center;
  gap: var(--rs-space-2);
}

.step-highlight svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-visual img {
  max-height: 440px;
  border-radius: var(--rs-radius-md);
  filter: drop-shadow(0 8px 30px var(--rs-dark-a10));
}

.step-visual .step-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
}

.step-visual .step-mockup img {
  max-height: 420px;
  width: auto;
  filter: none;
}

/* ============================================ */
.tech-section {
  padding: var(--rs-space-20) 0;
  background: var(--rs-neutral-50);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rs-space-8);
  margin-top: 56px;
}

.tech-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: var(--rs-space-10);
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.tech-card:hover {
  background: var(--rs-neutral-100);
}

.tech-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--rs-radius-md);
  background: var(--rs-ink-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-space-5);
}

.tech-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-card h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-3);
}

.tech-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.6;
}

/* ============================================ */
/* ============================================ */
.overview-section {
  padding: var(--rs-space-20) 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-8);
  margin-top: 56px;
  position: relative;
}

.overview-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.overview-card:hover {
  background: var(--rs-neutral-100);
}

.overview-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--rs-ink-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.overview-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.overview-card h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: 10px;
}

.overview-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.6;
}

.shield-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--rs-space-10);
  gap: var(--rs-space-3);
  color: var(--rs-fg-disabled);
  font-size: var(--rs-text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shield-connector svg {
  width: 24px;
  height: 24px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
}

/* ============================================ */
.layer-section {
  padding: var(--rs-space-20) 0;
}

.layer-section:nth-child(even) {
  background: var(--rs-neutral-50);
}

.layer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-16);
  align-items: start;
}

.layer-reverse .layer-content {
  order: 2;
}

.layer-reverse .layer-visual {
  order: 1;
}

.layer-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--rs-text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rs-action-primary);
  margin-bottom: var(--rs-space-4);
}

.layer-number span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rs-action-primary);
  color: var(--rs-bg-surface);
  font-size: var(--rs-text-base);
  font-weight: 700;
  letter-spacing: 0;
}

.layer-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: var(--rs-weight-semibold);
  color: var(--rs-fg-primary);
  line-height: 1.2;
  margin-bottom: var(--rs-space-4);
  letter-spacing: -0.02em;
}

.layer-text {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  line-height: 1.7;
  margin-bottom: var(--rs-space-4);
}

.layer-highlight {
  font-size: var(--rs-text-base);
  font-weight: 600;
  color: var(--rs-action-primary);
  display: flex;
  align-items: center;
  gap: var(--rs-space-2);
  margin-bottom: var(--rs-space-6);
}

.layer-highlight svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.layer-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
}

.layer-mockup img {
  max-height: 420px;
  width: auto;
}

/* ============================================ */
.tech-details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--rs-text-sm);
  font-weight: 400;
  color: var(--rs-fg-disabled);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  font-family: var(--rs-font-sans);
  transition: color var(--rs-duration-base) var(--rs-ease-standard);
}

.tech-details-toggle:hover {
  color: var(--rs-neutral-700);
}

.tech-details-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--rs-duration-base) var(--rs-ease-standard);
}

.tech-details-toggle.open svg {
  transform: rotate(45deg);
}

.tech-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--rs-duration-slower) cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: var(--rs-space-1);
}

.tech-details.open {
  max-height: 600px;
}

.tech-details-inner {
  padding: 20px 24px;
  background: var(--rs-neutral-50);
  border: 1px solid var(--rs-border-default);
  border-radius: var(--rs-radius-md);
}

.tech-details-inner ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-details-inner li {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-secondary);
  line-height: 1.6;
  padding-left: var(--rs-space-6);
  position: relative;
}

.tech-details-inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rs-ink-50);
  border: 2px solid var(--rs-action-primary);
}

.tech-details-inner strong {
  color: var(--rs-fg-primary);
  font-weight: 600;
}

/* ============================================ */
.privacy-section .section-label {
  background: var(--rs-white-08);
  color: var(--rs-white-70);
}

.privacy-section .section-title {
  color: var(--rs-bg-surface);
  max-width: var(--rs-content-reading);
  margin: 0 auto 24px;
}

.privacy-section .section-subtitle {
  color: var(--rs-white-60);
  margin: 0 auto 56px;
}

/* Accordion dark-bg overrides */
.privacy-section .info-accordion-item {
  border-bottom-color: var(--rs-white-15);
}
.privacy-section .info-accordion-item:first-child {
  border-top-color: var(--rs-white-15);
}
.privacy-section .info-accordion-trigger {
  color: var(--rs-bg-surface);
}
.privacy-section .info-accordion-trigger:hover {
  color: var(--rs-ink-400);
}
.privacy-section .info-accordion-trigger .acc-chevron {
  stroke: var(--rs-white-60);
}
.privacy-section .info-accordion-body-inner {
  color: var(--rs-white-70);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-8);
}

.privacy-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rs-ink-a15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.privacy-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================ */
.compliance-section {
  padding: var(--rs-space-20) 0;
  background: var(--rs-neutral-50);
}

.tech-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--rs-radius-sm);
}

/* ============================================ */
/* ============================================ */
.info-card p:last-child {
  margin-bottom: 0;
}

/* ============================================ */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--rs-space-3);
}

.toggle-label {
  font-size: var(--rs-text-base);
  font-weight: 400;
  color: var(--rs-fg-tertiary);
  cursor: pointer;
  transition: color var(--rs-duration-base) var(--rs-ease-standard);
}

.toggle-label.active {
  color: var(--rs-fg-primary);
  font-weight: 600;
}

.toggle-track {
  width: 48px;
  height: 26px;
  background: var(--rs-neutral-300);
  border-radius: var(--rs-radius-md);
  position: relative;
  cursor: pointer;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.toggle-track.annual {
  background: var(--rs-action-primary);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--rs-bg-surface);
  border-radius: 50%;
  transition: transform var(--rs-duration-base) var(--rs-ease-standard);
  box-shadow: 0 1px 3px var(--rs-dark-a15);
}

.toggle-track.annual .toggle-thumb {
  transform: translateX(22px);
}

.save-badge {
  font-size: var(--rs-text-xs);
  font-weight: var(--rs-weight-semibold);
  color: var(--rs-success-700);
  background: var(--rs-success-50);
  padding: 3px 10px;
  border-radius: var(--rs-radius-lg);
}

/* ============================================ */
.pricing-section {
  padding: var(--rs-space-20) 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-6);
  margin-top: var(--rs-space-12);
  max-width: var(--rs-content-wide);
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}
/* push the CTA + meta to the base so all cards align regardless of feature count */
.pricing-features { flex-grow: 1; }

.pricing-card:hover {
  background: var(--rs-neutral-100);
}

.pricing-card.featured {
  background: var(--rs-bg-surface);
  border: 2px solid var(--rs-action-primary);
  z-index: 2;
}

.pricing-card.featured:hover {
  background: var(--rs-neutral-50);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rs-action-primary);
  color: var(--rs-bg-surface);
  font-size: var(--rs-text-sm);
  font-weight: var(--rs-weight-semibold);
  padding: 4px 20px;
  border-radius: var(--rs-radius-lg);
  white-space: nowrap;
}

.tier-name {
  font-size: var(--rs-text-lg);
  font-weight: var(--rs-weight-semibold);
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-1);
}

.tier-desc {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-secondary);
  margin-bottom: var(--rs-space-6);
  min-height: 20px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: var(--rs-space-1);
}

.price-currency {
  font-size: var(--rs-text-lg);
  font-weight: var(--rs-weight-semibold);
  color: var(--rs-fg-primary);
}

.price-amount {
  font-size: var(--rs-text-4xl);
  font-weight: var(--rs-weight-semibold);
  color: var(--rs-fg-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  margin-left: var(--rs-space-1);
}

.price-annual {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-disabled);
  margin-bottom: 28px;
  min-height: 20px;
}

.price-annual .strikethrough {
  text-decoration: line-through;
  color: var(--rs-neutral-300);
  margin-right: var(--rs-space-1);
}
.price-annual .price-save {
  font-size: var(--rs-text-sm);
  font-weight: var(--rs-weight-semibold);
  color: var(--rs-success-600);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-secondary);
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--rs-neutral-100);
}

.check-amount {
  font-weight: 600;
  color: var(--rs-fg-primary);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--rs-success-500);
  margin-top: 2px;
}

.check svg {
  width: 18px;
  height: 18px;
}

.dash {
  flex-shrink: 0;
  width: 20px;
  font-size: var(--rs-text-sm);
  color: var(--rs-neutral-300);
  text-align: center;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-extras {
  text-align: center;
  margin-top: var(--rs-space-8);
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
}

/* ============================================ */
.cost-section {
  padding: var(--rs-space-20) 0;
  background: var(--rs-neutral-50);
}

.cost-compare {
  max-width: var(--rs-content-reading);
  margin: 48px auto 0;
  background: var(--rs-bg-surface);
  border: 2px solid var(--rs-ink-50);
  border-radius: var(--rs-radius-md);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rs-space-8);
}

.cost-compare-item {
  text-align: center;
}

.cost-compare-label {
  font-size: var(--rs-text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rs-fg-disabled);
  margin-bottom: var(--rs-space-1);
}

.cost-compare-amount {
  font-size: var(--rs-text-2xl);
  font-weight: 700;
  color: var(--rs-fg-primary);
  letter-spacing: -0.02em;
}

.cost-compare-detail {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-tertiary);
}

.cost-compare-vs {
  font-size: var(--rs-text-base);
  font-weight: 700;
  color: var(--rs-neutral-300);
}

.cost-compare-amount.danger {
  color: var(--rs-danger-500);
}

.cost-compare-amount--text {
  font-size: var(--rs-text-lg);
  font-weight: var(--rs-weight-semibold);
  color: var(--rs-fg-secondary);
  letter-spacing: normal;
}

/* ============================================ */
.compare-table th, .compare-table td {
  padding: 14px 20px;
  font-size: var(--rs-text-base);
  text-align: left;
  border-bottom: 1px solid var(--rs-neutral-100);
}

.compare-table th.rs em.blue {
  color: var(--rs-bg-surface);
}

.compare-table tr:hover {
  background: var(--rs-neutral-50);
}

/* ============================================ */
.pricing-faq {
  padding: var(--rs-space-20) 0;
  background: var(--rs-neutral-50);
}

.highlight-amount {
  color: var(--rs-action-primary);
}

/* ============================================ */
.resource-card {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.resource-card .card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.resource-card .card p {
  flex: 1;
}

.resource-card:hover {
  color: inherit;
}

.resource-card .card h3 {
  transition: color var(--rs-duration-base) var(--rs-ease-standard);
}

.resource-card:hover .card h3 {
  color: var(--rs-action-primary);
}

.resource-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--rs-text-base);
  font-weight: 600;
  color: var(--rs-action-primary);
  margin-top: var(--rs-space-3);
  transition: gap var(--rs-duration-base) var(--rs-ease-standard);
}

.resource-card:hover .card-arrow {
  gap: 10px;
}

.section-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--rs-text-base);
  font-weight: 600;
  color: var(--rs-action-primary);
  margin-top: var(--rs-space-10);
  transition: gap var(--rs-duration-base) var(--rs-ease-standard);
}

.section-see-all:hover {
  gap: 10px;
  color: var(--rs-action-primary-hover);
}

.coming-soon-badge {
  display: inline-block;
  font-size: var(--rs-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rs-fg-disabled);
  background: var(--rs-neutral-100);
  padding: 4px 14px;
  border-radius: var(--rs-radius-pill);
  margin-top: var(--rs-space-2);
}

.resource-flag {
  font-size: var(--rs-text-xl);
  line-height: 1;
  margin-bottom: var(--rs-space-3);
}

.blog-placeholder {
  text-align: center;
  padding: var(--rs-space-10) 0;
}

.blog-placeholder p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-tertiary);
  margin-top: var(--rs-space-2);
}

/* ============================================ */
.support-section {
  padding: var(--rs-space-20) 0;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--rs-space-16);
  align-items: start;
}

/* ============================================ */
.support-info {
  position: sticky;
  top: 104px;
}

.priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--rs-text-xs);
  font-weight: 600;
  color: var(--rs-action-primary);
  background: var(--rs-ink-50);
  padding: 4px 10px;
  border-radius: var(--rs-radius-lg);
  margin-top: var(--rs-space-2);
}

/* ============================================ */
.hero-ring-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  width: 280px;
  height: 280px;
  position: relative;
}

.hero-ring svg {
  transform: rotate(-90deg);
}

.hero-ring-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-ring-number {
  font-size: var(--rs-text-4xl);
  font-weight: 700;
  color: var(--rs-action-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-ring-text {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-disabled);
  margin-top: var(--rs-space-1);
}

.hero-ring-sub {
  font-size: var(--rs-text-xs);
  font-weight: 600;
  color: var(--rs-action-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--rs-space-2);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--rs-text-base);
  min-width: 700px;
}

.comparison-table thead {
  background: var(--rs-fg-primary);
  color: var(--rs-bg-surface);
  position: sticky;
  top: 0;
}

.comparison-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: var(--rs-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rs-neutral-100);
  color: var(--rs-fg-secondary);
  vertical-align: top;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--rs-neutral-50);
}

.comparison-table tbody tr:hover {
  background: var(--rs-ink-50);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--rs-fg-primary);
  white-space: nowrap;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-space-6);
  max-width: var(--rs-content-reading);
  margin: 0 auto;
}

.related-card {
  display: block;
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 32px 28px;
  text-decoration: none;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.related-card:hover {
  background: var(--rs-neutral-100);
}

.related-card .section-label {
  font-size: var(--rs-text-xs);
  padding: 4px 12px;
  margin-bottom: var(--rs-space-3);
}

.related-card h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin: 12px 0 8px;
}

.related-card p {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-tertiary);
  line-height: 1.5;
  margin: 0;
}

/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================ */
.contacto-section {
  padding: var(--rs-space-20) 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--rs-space-16);
  align-items: start;
}

/* ============================================ */
.contacto-info {
  position: sticky;
  top: 104px;
}

/* ============================================ */
.timeline-step:first-child .timeline-dot, .timeline-step:last-child .timeline-dot {
  background: var(--rs-action-primary);
  color: var(--rs-bg-surface);
}

.dark-bg .prose h2, .dark-bg .prose h3 {
  color: var(--rs-bg-surface);
}

.dark-bg .prose p, .dark-bg .prose li {
  color: var(--rs-white-70);
}

/* ============================================ */
/* ============================================ */
/* ============================================ */
.prose ul, .prose ol {
  margin-bottom: var(--rs-space-4);
  padding-left: var(--rs-space-6);
}

.location-map {
  max-width: 520px;
  margin: 48px auto 0;
}

.location-map svg {
  width: 100%;
  height: auto;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-6);
  margin-top: var(--rs-space-10);
}

.highlight-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 28px;
  text-align: center;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.highlight-card:hover {
  background: var(--rs-neutral-100);
}

.highlight-stat {
  font-size: var(--rs-text-2xl);
  font-weight: 700;
  color: var(--rs-action-primary);
  line-height: 1.1;
  margin-bottom: var(--rs-space-2);
}

.highlight-label {
  font-size: var(--rs-text-sm);
  font-weight: 600;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-1);
}

.highlight-desc {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-tertiary);
  line-height: 1.5;
}

.permit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rs-space-6);
  margin-top: var(--rs-space-10);
}

.permit-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: var(--rs-space-8);
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.permit-card:hover {
  background: var(--rs-neutral-100);
}

.permit-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rs-ink-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-space-4);
}

.permit-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.permit-card h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-3);
}

.permit-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.permit-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.permit-card li {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--rs-neutral-100);
  display: flex;
  align-items: flex-start;
  gap: var(--rs-space-2);
  line-height: 1.5;
}

.permit-card li:last-child {
  border-bottom: none;
}

.permit-card li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rs-action-primary);
  margin-top: var(--rs-space-2);
  flex-shrink: 0;
}

.tax-table-wrap {
  max-width: var(--rs-content-reading);
  margin: 32px auto 0;
  overflow-x: auto;
}

.tax-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--rs-text-base);
}

.tax-table thead th {
  background: var(--rs-fg-primary);
  color: var(--rs-bg-surface);
  font-weight: 700;
  font-size: var(--rs-text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
}

.tax-table thead th:first-child {
  border-radius: var(--rs-radius-sm) 0 0 0;
}

.tax-table thead th:last-child {
  border-radius: 0 var(--rs-radius-sm) 0 0;
}

.tax-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rs-border-default);
  color: var(--rs-neutral-700);
}

.tax-table tbody tr:nth-child(even) {
  background: var(--rs-neutral-50);
}

.tax-table tbody tr:last-child td {
  border-bottom: none;
}

.tax-table .rate-highlight {
  font-weight: 700;
  color: var(--rs-action-primary);
}

.tax-table .rate-zero {
  font-weight: 700;
  color: var(--rs-success-500);
}

.tax-compare-title {
  font-size: var(--rs-text-base);
  font-weight: 700;
  color: var(--rs-fg-primary);
  text-align: center;
  margin-bottom: var(--rs-space-6);
}

.tax-compare-row {
  display: flex;
  align-items: center;
  gap: var(--rs-space-4);
  margin-bottom: 14px;
}

.tax-compare-label {
  width: 100px;
  font-size: var(--rs-text-sm);
  font-weight: 600;
  color: var(--rs-fg-primary);
  text-align: right;
  flex-shrink: 0;
}

.tax-compare-bar-wrap {
  flex: 1;
  height: 40px;
  position: relative;
}

.tax-compare-bar {
  height: 100%;
  border-radius: var(--rs-radius-pill);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  min-width: 60px;
}

.tax-compare-bar span {
  font-size: var(--rs-text-sm);
  font-weight: 700;
  color: var(--rs-bg-surface);
}

.tax-compare-bar.bar-andorra {
  background: var(--rs-action-primary);
}

.tax-compare-bar.bar-other {
  background: var(--rs-fg-disabled);
}

.tax-compare-note {
  text-align: center;
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-tertiary);
  margin-top: var(--rs-space-4);
}

.day-tracker {
  display: flex;
  gap: var(--rs-space-12);
  justify-content: center;
  align-items: flex-start;
  margin: 48px auto 32px;
  max-width: var(--rs-content-narrow);
  flex-wrap: wrap;
}

.day-ring-wrap {
  text-align: center;
  flex: 0 0 auto;
}

.day-ring-bg {
  fill: none;
  stroke: var(--rs-border-default);
  stroke-width: 10;
}

.day-ring-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset var(--rs-duration-hero) ease-out;
}

.day-ring-fill.ring-blue {
  stroke: var(--rs-action-primary);
}

.day-ring-fill.ring-amber {
  stroke: var(--rs-warning-500);
}

.day-ring-number.num-blue {
  color: var(--rs-action-primary);
}

.day-ring-number.num-amber {
  color: var(--rs-warning-500);
}

.day-ring-unit {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-tertiary);
  margin-top: 2px;
  display: block;
}

.day-ring-desc {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-tertiary);
  margin-top: var(--rs-space-1);
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rs-space-5);
  margin-top: var(--rs-space-10);
}

.risk-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  justify-self: center;
}

.risk-card:hover {
  background: var(--rs-neutral-100);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rs-space-6);
  margin-top: var(--rs-space-10);
}

.help-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  justify-self: center;
}

.help-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: 28px;
  display: flex;
  gap: var(--rs-space-4);
  align-items: flex-start;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}

.help-card:hover {
  background: var(--rs-neutral-100);
}

.help-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rs-ink-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.help-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.help-card h3 {
  font-size: var(--rs-text-base);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: 6px;
}

.help-card p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-secondary);
  line-height: 1.5;
  margin: 0;
}

.tax-compare-bar.bar-croatia {
  background: var(--rs-action-primary);
}

.tax-compare-bar.bar-nomad {
  background: var(--rs-success-500);
}

.day-ring-fill.ring-red {
  stroke: var(--rs-danger-500);
}

.day-ring-number.num-red {
  color: var(--rs-danger-500);
}

.region-table-wrap {
  max-width: var(--rs-content-reading);
  margin: 32px auto 0;
  overflow-x: auto;
}

.tax-compare-bar.bar-spain {
  background: var(--rs-action-primary);
}

.tax-compare-bar.bar-beckham {
  background: var(--rs-success-500);
}

.tax-compare-bar.bar-estonia {
  background: var(--rs-action-primary);
}

.tax-compare-bar.bar-retained {
  background: var(--rs-success-500);
}

.tax-compare-bar.bar-france {
  background: var(--rs-action-primary);
}

.tax-compare-bar.bar-impatriate {
  background: var(--rs-success-500);
}

.day-ring-fill.ring-purple {
  stroke: var(--rs-ink-400);
}

.day-ring-number.num-purple {
  color: var(--rs-ink-400);
}

/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================ */
.tax-compare-bar.bar-greece {
  background: var(--rs-action-primary);
}

.tax-compare-bar.bar-special {
  background: var(--rs-success-500);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-space-6);
  margin-top: var(--rs-space-10);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rs-ink-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-space-4);
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tax-table .highlight-row {
  background: var(--rs-success-50);
}

.tax-table .highlight-row td {
  color: var(--rs-fg-primary);
  font-weight: 600;
}

.tax-compare-bar.bar-highlight {
  background: var(--rs-action-primary);
}

/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================ */
/* ============================================
   PHASE 3: LAYOUT VARIETY — Anti-vibe-coding
   Replaces uniform card grids with purpose-fit
   layouts on core pages.
   ============================================ */

/* --- LAYER STACK (vertical numbered blocks) --- */
.layer-stack {
  display: flex;
  flex-direction: column;
  gap: var(--rs-space-8);
  margin-top: 56px;
}
.layer-stack-item {
  display: flex;
  gap: var(--rs-space-8);
  align-items: flex-start;
  padding: var(--rs-space-8);
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  position: relative;
}
.layer-stack-item::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 100%;
  width: 2px;
  height: var(--rs-space-8);
  background: var(--rs-ink-200);
}
.layer-stack-item:last-child::before { display: none; }
.layer-stack-num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rs-ink-50);
  color: var(--rs-action-primary);
  font-size: var(--rs-text-xl);
  font-weight: var(--rs-weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.03em;
}
.layer-stack-body h3 {
  font-size: var(--rs-text-md);
  font-weight: var(--rs-weight-semibold);
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
}
.layer-dim {
  display: inline-block;
  margin-left: var(--rs-space-2);
  padding: 2px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rs-ink-600);
  background: var(--rs-ink-50);
  border-radius: var(--rs-radius-sm, 6px);
  vertical-align: middle;
}
.layer-stack-body p {
  font-size: var(--rs-text-base);
  color: var(--rs-fg-secondary);
  line-height: 1.6;
}

/* --- LOGO PROMINENCE (2×2 with large logos) --- */
.logo-prominence {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rs-space-6);
  margin-top: 56px;
}
.logo-prominence-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: var(--rs-space-8) var(--rs-space-6);
  text-align: center;
  transition: background var(--rs-duration-base) var(--rs-ease-standard);
}
.logo-prominence-card:hover { background: var(--rs-neutral-100); }
.logo-prominence-card .logo-mark {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-space-5);
}
.logo-prominence-card .logo-mark img {
  max-height: 56px;
  width: auto;
}
.logo-prominence-card h3 {
  font-size: var(--rs-text-md);
  font-weight: 700;
  color: var(--rs-fg-primary);
  margin-bottom: var(--rs-space-2);
}
.logo-prominence-card p {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-secondary);
  line-height: 1.6;
}

/* --- INFO ACCORDION (reusable, distinct from FAQ) --- */
.info-accordion {
  margin-top: var(--rs-space-12);
  max-width: var(--rs-content-reading);
  margin-left: auto;
  margin-right: auto;
}
.info-accordion-item {
  border-bottom: 1px solid var(--rs-neutral-200);
}
.info-accordion-item:first-child {
  border-top: 1px solid var(--rs-neutral-200);
}
.info-accordion-trigger {
  display: flex;
  align-items: center;
  gap: var(--rs-space-4);
  width: 100%;
  padding: var(--rs-space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--rs-fg-primary);
  font-size: var(--rs-text-md);
  font-weight: 600;
  line-height: 1.3;
  transition: color var(--rs-duration-base) var(--rs-ease-standard);
}
.info-accordion-trigger:hover { color: var(--rs-action-primary); }
.info-accordion-trigger .acc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rs-ink-a15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--rs-duration-base) var(--rs-ease-standard);
}
.info-accordion-trigger .acc-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--rs-action-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-accordion-trigger .acc-chevron {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--rs-fg-tertiary);
  fill: none;
  stroke-width: 2;
  transition: transform var(--rs-duration-base) var(--rs-ease-standard);
}
.info-accordion-item.open .acc-chevron { transform: rotate(45deg); }
.info-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--rs-duration-slower) cubic-bezier(0.4, 0, 0.2, 1);
}
.info-accordion-item.open .info-accordion-body { max-height: 300px; }
.info-accordion-body-inner {
  padding: 0 0 var(--rs-space-6) 60px;
  font-size: var(--rs-text-base);
  color: var(--rs-fg-secondary);
  line-height: 1.7;
}

/* --- STAT STRIP (horizontal risk callouts) --- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rs-space-5);
  margin-top: var(--rs-space-12);
}
.stat-strip-card {
  background: var(--rs-neutral-50);
  border-radius: var(--rs-radius-md);
  padding: var(--rs-space-6) var(--rs-space-5);
  text-align: center;
}
.stat-strip-card .ss-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--rs-space-3);
  color: var(--rs-danger-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-strip-card .ss-icon svg { width: 24px; height: 24px; }
.stat-strip-card .ss-value {
  font-size: clamp(var(--rs-text-lg), 3vw, var(--rs-text-xl));
  font-weight: 700;
  color: var(--rs-fg-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--rs-space-2);
}
.stat-strip-card .ss-label {
  font-size: var(--rs-text-sm);
  color: var(--rs-fg-secondary);
  line-height: 1.5;
}

/* --- PHASE 3: Responsive overrides --- */
/* ============================================
   P4e: Extracted inline styles → proper classes
   ============================================ */

/* Pricing: enterprise CTA block */
.enterprise-cta {
  max-width: var(--rs-content-reading);
  margin: 48px auto 0;
  background: var(--rs-neutral-50);
  border: 1.5px solid var(--rs-neutral-200);
  border-radius: var(--rs-radius-md);
  padding: 36px 40px;
  text-align: center;
}
.enterprise-cta h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--rs-midnight-800);
  margin-bottom: 8px;
}
.enterprise-cta p {
  font-size: 16px;
  color: var(--rs-neutral-500);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Pricing: notes under pricing cards */
.pricing-notes {
  text-align: center;
  font-size: 15px;
  color: var(--rs-neutral-600);
  line-height: 1.8;
}
.pricing-notes-sm {
  color: var(--rs-neutral-500);
  font-size: 14px;
}

/* Pricing: toggle wrap override */
.toggle-wrap--flush {
  margin-top: 0;
  margin-bottom: 48px;
}

/* About: mission heading width */
.mission-heading {
  max-width: var(--rs-content-reading);
  margin-left: auto;
  margin-right: auto;
}

/* Compare: inline link accent */
.link-accent {
  color: var(--rs-ink-400);
  font-size: 16px;
  font-weight: 400;
}

/* Criteria icon color variants */
.criteria-card-icon--warm { background: #FEF3C7; }
.criteria-card-icon--danger { background: #FEE2E2; }

/* ============================================
   INLINE STYLE EXTRACTION — 2026-05-07
   ============================================ */

/* EU Entry/Exit comparison image */
.ees-comparison-img { border-radius: var(--rs-radius-lg); width: 100%; height: auto; }

/* EU Entry/Exit flex column stack */
.ees-card-stack { display: flex; flex-direction: column; gap: var(--rs-space-6); }

/* Card icon centered with semantic bg */
.card-icon--centered { margin: 0 auto var(--rs-space-4); }
.card-icon--danger-bg { background: rgba(239,68,68,0.15); }
.card-icon--info-bg { background: rgba(74,144,255,0.15); }
.card-icon--muted-bg { background: var(--rs-neutral-100); }

/* Prose centered with bottom spacing */
.prose--centered-spaced { text-align: center; margin-bottom: var(--rs-space-10); }

/* Narrow centered paragraph */
.p--narrow-centered { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Resources page narrow container */
.resources-narrow { max-width: 700px; margin: 0 auto; }

/* Resources coming-soon card */
.card--coming-soon { display: flex; flex-direction: column; align-items: flex-start; opacity: 0.6; height: 100%; }
.card--coming-soon h3 { color: var(--rs-neutral-400); }

/* Blog section title size */
.section-title--sm { font-size: clamp(24px, 3vw, 32px); }

/* Tax advisor enterprise paragraph */
.enterprise-desc { font-size: 17px; color: var(--rs-neutral-600); line-height: 1.7; margin-top: 12px; }

/* Tax benefit link (inherits color) */
.tax-benefit a { color: inherit; }

/* 183-day rule centered disclaimer */
.disclaimer--centered { text-align: center; margin-top: var(--rs-space-4); }

/* Danger callout in country pages */
.danger-callout { color: var(--rs-danger-500); }

/* Day ring number size variants */
.day-ring-number--xl { font-size: 22px; line-height: 1.3; }
.day-ring-number--lg { font-size: 20px; line-height: 1.2; }
.day-ring-number--md { font-size: 18px; line-height: 1.2; }
.day-ring-number--sm { font-size: 14px; line-height: 1.2; }

/* Inline icon badge (cookie settings explanation) */
.icon-badge-inline { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: #1A1A2E; border-radius: 50%; vertical-align: middle; }

/* ============================================================
   Responsive overrides — consolidated at end of file so they
   always beat base rules; sorted widest -> narrowest.
   ============================================================ */

@media (max-width: 1023px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-split .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    margin-top: var(--rs-space-6);
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-image img {
    max-width: 400px;
    margin: 0 auto;
    max-height: 360px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-badges {
    justify-content: center;
  }

  .tax-compare {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .timeline {
    flex-wrap: wrap;
    gap: var(--rs-space-6);
    justify-content: center;
  }

  .timeline::before {
    display: none;
  }

  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .risk-cards {
    grid-template-columns: 1fr;
  }

  .day-visual {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .solution-layout {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--rs-space-8);
  }

  /* Sticky info columns only make sense beside a form; once the grid
     collapses to one column they pin over the form content. */
  .contact-info,
  .contacto-info,
  .support-info {
    position: static;
  }

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

  .country-grid > :last-child:nth-child(3n+1) {
    grid-column: auto;
  }

  .gap-visual {
    grid-template-columns: 1fr;
  }

  .schengen-layout {
    grid-template-columns: 1fr;
  }

  .schengen-layout img {
    max-width: 500px;
    margin: 0 auto;
  }

  .consequence-cards {
    grid-template-columns: 1fr;
  }

  .debunk-grid {
    grid-template-columns: 1fr;
  }

  .solution-steps {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

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

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .family-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .family-layout .section-title {
    margin-left: auto;
    margin-right: auto;
  }

  .family-image {
    margin-top: var(--rs-space-6);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .family-features {
    grid-template-columns: 1fr;
  }

  .hero-split .btn-group {
    justify-content: center;
  }

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

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

  .license-card {
    padding: 40px 28px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: var(--rs-space-8);
    text-align: center;
  }

  .step:nth-child(even) .step-content {
    order: 0;
  }

  .step:nth-child(even) .step-visual {
    order: 0;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .layer {
    grid-template-columns: 1fr;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: none;
  }


  .grid--4.resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: var(--rs-space-8);
  }

  .hero-ring-wrap {
    margin-top: var(--rs-space-6);
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
  }

  .permit-grid {
    grid-template-columns: 1fr;
  }

  .risk-grid {
    grid-template-columns: 1fr;
  }

  .risk-grid > :last-child:nth-child(odd) {
    max-width: 100%;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .help-grid > :last-child:nth-child(odd) {
    max-width: 100%;
  }

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

  .day-tracker {
    gap: var(--rs-space-8);
  }

  .day-ring {
    width: 130px;
    height: 130px;
  }

  .day-ring-number {
    font-size: var(--rs-text-xl);
  }

  .day-ring-number.day-ring-label {
    font-size: 18px;
  }

  .tax-compare-label {
    width: 80px;
  }

  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cost-compare {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: var(--rs-space-4);
  }

  .cost-compare-item {
    text-align: left;
  }

  .cost-compare-vs {
    text-align: center;
  }

}

@media (max-width: 1023px) {
  .dimensions-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 860px) {
  .prose-split { grid-template-columns: 1fr; gap: var(--rs-space-8); }
  .stat-aside { flex-direction: row; flex-wrap: wrap; }
  .stat-aside-item { flex: 1; min-width: 160px; }
}

@media (max-width: 768px) {
  .layer-stack-item { flex-direction: column; gap: var(--rs-space-4); }
  .layer-stack-item::before { display: none; }
  .logo-prominence { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  /* Give the label its own line so the four badges wrap as one group
     instead of eIDAS riding next to the label and the rest dropping. */
  .trust-label {
    flex-basis: 100%;
    text-align: center;
  }

  /* The preceding section's own bottom padding already provides the
     separation; stacking this margin on top read as a ~250px hole. */
  .trust-strip {
    margin-top: 0;
    padding: var(--rs-space-12) 0;
  }

  .error-section {
    padding: 100px 24px 64px;
  }

  .error-code {
    margin-bottom: -16px;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: var(--rs-space-4);
  }

  .privacy-visual {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .compare-table th:first-child,
      .compare-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
  }

  .compare-table th:first-child {
    background: var(--rs-neutral-50);
  }

  .compare-table td:first-child {
    background: var(--rs-bg-surface);
    min-width: 140px;
  }

  .compare-table tbody tr:nth-child(even) td:first-child {
    background: var(--rs-neutral-50);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 28px 20px;
  }

  .consent-details {
    margin-left: 0;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .category-card {
    padding: 24px 20px;
  }

  .glossary-card {
    padding: var(--rs-space-5);
  }

  .trust-pillar {
    padding: var(--rs-space-6);
  }

  .enterprise-cta {
    padding: 28px 20px;
  }

  .license-card {
    padding: 28px 20px;
  }

  .use-case-card {
    padding: 20px;
  }

  .permit-card {
    padding: var(--rs-space-5);
  }

  .highlight-card {
    padding: 20px;
  }

  .help-card {
    padding: var(--rs-space-5);
  }

  .solution-step {
    text-align: left;
  }

  .page-hero {
    padding: 110px 0 48px;
  }

  .legal-content {
    padding: 40px 0 64px;
  }

  .legal-inner h2 {
    font-size: var(--rs-text-md);
    margin-top: 36px;
  }

  .legal-meta {
    flex-direction: column;
    gap: var(--rs-space-2);
  }

  .legal-inner table {
    font-size: var(--rs-text-sm);
  }

  .legal-inner table th, .legal-inner table td {
    padding: 8px 10px;
  }

  .manage-cookies-cta {
    flex-direction: column;
    text-align: center;
  }

  .country-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .trap-grid {
    grid-template-columns: 1fr;
    gap: var(--rs-space-16);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .glossary-grid {
    grid-template-columns: 1fr;
  }

  .alpha-nav a {
    width: 32px;
    height: 32px;
    font-size: var(--rs-text-xs);
  }

  .alpha-nav-inner {
    gap: var(--rs-space-1);
  }

  .grid--4.resource-grid {
    grid-template-columns: 1fr;
  }

  .hero-ring {
    width: 220px;
    height: 220px;
  }

  .hero-ring-number {
    font-size: var(--rs-text-4xl);
  }

  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 640px) {
  .dimensions-inline { grid-template-columns: 1fr; }
}

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

  .day-tracker {
    flex-direction: column;
    align-items: center;
    gap: var(--rs-space-6);
  }

  .tax-compare-label {
    width: 80px;
    font-size: var(--rs-text-sm);
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

}

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

@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .info-accordion-body-inner { padding-left: 0; }
  .tax-compare-row { flex-direction: column; align-items: flex-start; gap: var(--rs-space-2); }
  .tax-compare-label { width: 100%; text-align: left; }
  .pricing-cards { max-width: 100%; }
}
