/* Shared marketing surface tokens and the home page component layer. */
:root {
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-strong: #7c2d12;
  --accent-soft: #fff7ed;
  --header-h: 64px;
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
}

html,
body {
  scroll-behavior: auto;
  font-family: var(--font-main) !important;
}

body {
  overscroll-behavior-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a.underline {
  text-decoration-skip-ink: none;
  -webkit-text-decoration-skip: none;
}

section[id],
#order {
  scroll-margin-top: var(--header-h);
}

main#main {
  scroll-margin-top: 0;
}

.reveal,
.reveal-in {
  opacity: 1;
  transform: none;
}

.site-header {
  backdrop-filter: saturate(160%) blur(8px);
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
  /* viewport-fit=cover: keep content clear of notches / home indicator */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-nav a:not(.brand-cta) {
  color: #334155;
}

.site-nav a:not(.brand-cta):hover,
.site-nav a:not(.brand-cta).active {
  color: var(--accent);
}

.site-nav a:focus {
  outline: none;
}

.site-nav a:not(.brand-cta):focus-visible {
  outline: none;
  border-radius: 0.5rem;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.22);
}

.hero-shell {
  display: block;
  min-height: auto;
}

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

.hero-copy {
  max-width: none;
}

.hero-title {
  max-width: none;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-title-sub,
.hero-lead {
  text-wrap: pretty;
}

.hero-title-sub {
  max-width: none;
  font-family: var(--font-main);
  letter-spacing: normal;
}

.hero-lead {
  max-width: 65ch;
}

.hero-note {
  text-wrap: pretty;
}

.hero-proof {
  display: flex;
  justify-content: center;
}

.hero-facts {
  display: flex;
  max-width: 48rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  border-block: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-facts__separator {
  color: #94a3b8;
  font-weight: 700;
}

.process-steps {
  position: relative;
  display: grid;
  gap: 1.75rem;
}

.process-steps::before {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 1px;
  background: #cbd5e1;
  content: "";
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
}

.process-step__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  background: #fff;
  color: #334155;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.process-step--final .process-step__number {
  border-color: #0f172a;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
}

.process-step__title {
  margin-top: 0.3rem;
  text-wrap: balance;
}

.process-step__body {
  min-width: 0;
}

.need-grid {
  display: grid;
  gap: 1rem;
}

.need-card {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
}

.need-card--prepare {
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.need-card--warning {
  border-color: #1e293b;
  background: #1e293b;
  color: #e2e8f0;
}

.need-card__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.need-card__icon {
  flex: 0 0 auto;
  color: #334155;
}

.need-list {
  display: grid;
  gap: 0;
  margin-top: 1.25rem;
}

.need-list li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-top: 1px solid #e2e8f0;
}

.need-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.need-list__icon {
  margin-top: 0.15rem;
  color: #334155;
}

.need-card--warning .need-card__title {
  color: #fff;
}

.need-card--warning .need-card__icon {
  color: #f59e0b;
}

.need-card--warning .need-list li {
  border-color: rgba(226, 232, 240, 0.16);
  color: #cbd5e1;
}

.need-card--warning .need-list__icon {
  color: #f59e0b;
}

.need-card--warning strong {
  color: #fff;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .process-steps::before {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    left: 1.5rem;
    bottom: auto;
    width: auto;
    height: 1px;
    background: #cbd5e1;
    content: "";
  }

  .process-step {
    display: block;
  }

  .process-step__body {
    padding-right: 0.5rem;
  }

  .need-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .process-step__title {
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .hero-shell,
  .hero-layout {
    min-height: calc(100svh - var(--header-h));
  }
}

.receipt-card {
  width: min(100%, 420px);
  max-width: 100%;
  border: 1px solid #e2e8f0;
  border-bottom: 0;
  border-radius: 1.5rem;
  background: #fff;
  filter: drop-shadow(0 24px 32px rgba(15, 23, 42, 0.12));
  font-family: var(--font-main);
}

/* --- Receipt specimen in the hero --- */
.receipt-card {
  position: relative;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.receipt-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 12px;
  background: conic-gradient(from -45deg at 50% 100%, #fff 90deg, rgba(255, 255, 255, 0) 0) 0 0 / 18px 12px repeat-x;
}

.receipt-specimen {
  padding: 1.35rem 1.4rem 1.5rem;
  background:
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.016) 0 1px, transparent 1px 5px),
    #fff;
}

.receipt-specimen__bank {
  margin: 0;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.receipt-specimen__rows {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.receipt-specimen__row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.45;
}

.receipt-specimen__row span {
  flex: 0 0 auto;
  color: #64748b;
}

.receipt-specimen__row::before {
  content: "";
  order: 2;
  flex: 1 1 auto;
  height: 0.72em;
  border-bottom: 2px dotted #cbd5e1;
}

.receipt-specimen__row strong {
  order: 3;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-weight: 650;
  text-align: right;
  white-space: nowrap;
}

.receipt-specimen__row--total strong {
  color: var(--accent);
  font-weight: 750;
}

.receipt-specimen__barcode {
  height: 34px;
  margin-top: 1.3rem;
  border-radius: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #0f172a 0 2px,
    transparent 2px 5px,
    #0f172a 5px 8px,
    transparent 8px 9px,
    #0f172a 9px 10px,
    transparent 10px 14px,
    #0f172a 14px 17px,
    transparent 17px 19px
  );
  opacity: 0.85;
}

.proof-grid {
  display: grid;
  gap: 1.25rem;
}

.proof-card {
  min-width: 0;
}

.proof-card__paper {
  display: flex;
  align-items: center;
  aspect-ratio: 900 / 860;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.22);
  transition: rotate 0.18s ease-out, box-shadow 0.18s ease-out;
}

.proof-card__paper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.proof-card:hover .proof-card__paper {
  box-shadow: 0 24px 52px -20px rgba(15, 23, 42, 0.28);
}

.proof-card__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.65rem 0.35rem 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.proof-card__amount {
  color: #047857;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.proof-card__date {
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

/* Carousel meta: shown only where the grid scrolls horizontally (mobile). */
.proof-carousel-meta {
  display: none;
}

@media (max-width: 1023px) {
  .proof-grid {
    grid-auto-flow: column;
    grid-auto-columns: min(88%, 390px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scroll-padding-inline: 0.25rem;
    scrollbar-width: none;
  }

  .proof-grid::-webkit-scrollbar {
    display: none;
  }

  .proof-card {
    scroll-snap-align: start;
  }

  .proof-carousel-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.85rem;
  }

  .proof-carousel-meta__swipe {
    color: #64748b;
  }

  .proof-carousel-meta__count {
    color: #475569;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
  }
}

@media (min-width: 1024px) {
  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .proof-card:nth-child(odd) .proof-card__paper {
    rotate: -1.1deg;
  }

  .proof-card:nth-child(even) .proof-card__paper {
    rotate: 1deg;
  }

  .proof-card:hover .proof-card__paper {
    rotate: 0deg;
  }
}

.proof-footer {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.proof-footer p {
  margin: 0;
  max-width: 56ch;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (min-width: 1024px) {
  .proof-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.brand-cta {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 10px 20px rgba(154, 52, 18, 0.18) !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.brand-cta:hover {
  background: var(--accent-hover) !important;
  filter: none !important;
}

.brand-cta:focus-visible,
.brand-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.25) !important;
}

.brand-btn-secondary {
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
  background: #fff !important;
  box-shadow: none !important;
}

.brand-btn-secondary:hover {
  border-color: #cbd5e1 !important;
  filter: none !important;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-inclusions {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-block: 0.9rem;
  border-block: 1px solid #dbe3ec;
}

.pricing-inclusions__label {
  flex: 0 0 auto;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-inclusions__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.5;
}

.pricing-inclusions__list li {
  position: relative;
  padding-left: 0.9rem;
}

.pricing-inclusions__list li::before {
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 9999px;
  background: #94a3b8;
  content: "";
}

.plan-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  background: #fff;
  color: #0f172a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

/* Keep the ink top bar on hover: border-color above would grey it out */
.plan-card--featured:hover {
  border-top-color: #0f172a;
}

.plan-card--featured {
  border-top: 2px solid #0f172a;
  padding-top: calc(1.5rem - 1px);
}

.plan-card__header {
  min-height: 4.5rem;
}

.plan-card__title {
  color: #0f172a;
}

.plan-card__summary {
  margin-top: 0.4rem;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* The deadline is the variable that matters — it gets the display numeral */
/* slot; the ruble total is demoted to a quiet, secondary row. */
.plan-card__deadline {
  display: grid;
  gap: 0.3rem;
  margin-top: 1.15rem;
}

.plan-card__deadline-label,
.plan-card__price-label {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.plan-card__deadline-value {
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.plan-card__timing {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0.55rem;
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.45;
}

.plan-card__timing-icon {
  flex: 0 0 auto;
  margin-top: 0.05rem;
  color: #64748b;
}

.plan-card__timing span {
  min-width: 0;
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e2e8f0;
}

.plan-card__price-value {
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.plan-card__price-suffix {
  color: #64748b;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

.plan-card__price-note {
  margin-top: 0.4rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.4;
}

.plan-cta {
  margin-top: 1.5rem !important;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-cta:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* The One Action Rule: the selected plan's CTA is the single orange action.
   The featured card does NOT keep its orange once another plan is chosen. */
.plan-card-selected .plan-cta {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(154, 52, 18, 0.18);
}

.plan-card-selected .plan-cta:hover {
  background: var(--accent-hover);
}

.plan-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.25);
}

.plan-cta[disabled] {
  cursor: default;
}

.plan-card-selected {
  position: relative;
  z-index: 1;
  border-color: var(--accent) !important;
  box-shadow: inset 0 0 0 1px var(--accent) !important;
}

@media (min-width: 768px) {
  .pricing-inclusions {
    gap: 2rem;
  }
}

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

  .pricing-inclusions {
    display: grid;
    gap: 0.65rem;
  }
}

/* --- Order form styled as a passport data page --- */
.pp-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 420px) !important;
    gap: 2.5rem !important;
  }

  .hero-proof {
    justify-content: flex-end;
  }

  .pp-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 1.25rem;
  }

  .pp-summary {
    position: sticky;
    top: 5.5rem;
  }
}

@media (min-width: 1280px) {
  .pp-grid {
    grid-template-columns: minmax(0, 1fr) 370px;
  }
}

.pp-paper {
  position: relative;
  border: 1px solid #e7ddc4;
  outline: 1px solid rgba(167, 128, 56, 0.32);
  outline-offset: -9px;
  border-radius: 1.15rem;
  background-color: #fcf8ee;
  background-image:
    radial-gradient(120% 90% at 100% 0%, rgba(194, 65, 12, 0.055), transparent 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(120, 96, 48, 0.05), transparent 55%),
    repeating-linear-gradient(0deg, rgba(120, 96, 48, 0.03) 0 1px, transparent 1px 9px);
  box-shadow: 0 22px 48px -20px rgba(15, 23, 42, 0.18);
}

.passport-page {
  min-width: 0;
}

.pp-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem clamp(1.1rem, 3.5vw, 1.6rem) 0.95rem;
  border-bottom: 1px solid rgba(167, 128, 56, 0.28);
}

.pp-emblem {
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  color: rgba(154, 52, 18, 0.85);
}

.pp-emblem-sm {
  width: 2.2rem;
  height: 2.2rem;
}

.pp-over {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7c611f;
}

.pp-title {
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #292524;
}

@media (min-width: 640px) {
  .pp-title {
    font-size: 1.5rem;
  }
}

.pp-note {
  margin-top: 0.3rem;
  max-width: 34rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #79716b;
}

.pp-stamp {
  display: inline-flex;
  rotate: -7deg;
  flex: 0 0 auto;
  align-self: center;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.42rem 0.72rem;
  border: 1.5px solid rgba(194, 65, 12, 0.5);
  border-radius: 0.8rem;
  background: rgba(255, 247, 237, 0.55);
  color: rgba(178, 60, 15, 0.85);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  user-select: none;
}

.pp-stamp small {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  opacity: 0.85;
}

.pp-head > div {
  flex: 1 1 auto;
}

@media (max-width: 639px) {
  .pp-head {
    align-items: flex-start;
    gap: 0.8rem;
  }

  .pp-emblem {
    width: 2.2rem;
    height: 2.2rem;
    margin-top: 0.2rem;
  }

  .pp-over {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .pp-title {
    font-size: 1.22rem;
  }

  .pp-note {
    font-size: 0.76rem;
  }
}

@media (max-width: 480px) {
  .pp-stamp {
    font-size: 0.68rem;
    padding: 0.36rem 0.6rem;
  }
}

.pp-body {
  padding: 1.15rem clamp(1.1rem, 3.5vw, 1.6rem) 1.35rem;
}

.pp-section {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.45rem 0 0.95rem;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7c611f;
}

.pp-body .pp-section:first-child,
.pp-body > p:first-child {
  margin-top: 0;
}

.pp-section::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  rotate: 45deg;
  border: 1.5px solid currentColor;
  opacity: 0.55;
}

.pp-section::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(167, 128, 56, 0.42), transparent);
}

.pp-fields {
  display: grid;
  gap: 1.1rem 1.6rem;
}

@media (min-width: 640px) {
  .pp-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pp-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.pp-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #57534e;
}

.pp-label-en {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a743f;
  white-space: nowrap;
}

.pp-input {
  margin-top: 0.4rem;
  width: 100%;
  height: 2.85rem;
  padding: 0 0.1rem;
  border: 0;
  border-bottom: 1.5px solid #cdbf9d;
  border-radius: 0;
  background: transparent;
  color: #1c1917;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pp-input::placeholder {
  color: #cdc1a4;
  letter-spacing: 0.04em;
  text-transform: none;
}

.pp-input:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
}

.pp-input[aria-invalid="true"] {
  border-bottom-color: #dc2626;
  box-shadow: 0 1px 0 0 #dc2626;
}

.pp-input-lower,
.pp-input-lower::placeholder {
  text-transform: none;
}

.pp-input-date::-webkit-calendar-picker-indicator {
  opacity: 0.55;
  cursor: pointer;
}

.pp-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding-top: 0.15rem;
  cursor: pointer;
  font-size: 0.83rem;
  line-height: 1.5;
  color: #57534e;
}

.pp-agree a {
  color: #292524;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(194, 65, 12, 0.55);
  text-underline-offset: 3px;
}

.pp-agree a:hover {
  color: var(--accent);
}

.pp-mrz {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.5rem;
  padding: 0.7rem 0.85rem;
  overflow-x: auto;
  border: 1px dashed rgba(120, 96, 48, 0.38);
  border-radius: 0.55rem;
  background: rgba(28, 25, 23, 0.045);
}

.pp-mrz-line {
  display: block;
  overflow: hidden;
  white-space: pre;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.56rem, 2.4vw, 0.74rem);
  letter-spacing: 0.14em;
  line-height: 1.35;
  color: #292524;
}

.pp-summary {
  min-width: 0;
  padding: 1.15rem 1.2rem 1.3rem;
  border: 1px solid #e7ddc4;
  border-radius: 1.15rem;
  background: #fffdf7;
  box-shadow: 0 16px 36px -22px rgba(15, 23, 42, 0.2);
}

.pp-sum-cap {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c611f;
}

.pp-sum-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #79716b;
}

.pp-sum-plan {
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #1c1917;
  font-variant-numeric: tabular-nums;
}

/* Review modal on the same passport paper */
.pp-modal {
  border-color: #e7ddc4;
}

.pp-close {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #a8a29e;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pp-close:hover {
  background: rgba(28, 25, 23, 0.06);
  color: #44403c;
}

.pp-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.25);
}

.pp-review-list {
  display: grid;
  margin-top: 0.25rem;
}

.pp-review-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  column-gap: 0.55rem;
  padding: 0.5rem 0;
}

.pp-review-row + .pp-review-row {
  border-top: 1px solid rgba(167, 128, 56, 0.16);
}

.pp-review-term {
  display: grid;
  gap: 0.05rem;
}

.pp-review-ru {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #57534e;
}

.pp-review-en {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a743f;
}

.pp-review-leader {
  align-self: end;
  height: 0.85em;
  margin-bottom: 0.3em;
  border-bottom: 1px dotted rgba(120, 96, 48, 0.5);
}

.pp-review-value {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-align: right;
  color: #1c1917;
}

@media (max-width: 480px) {
  .pp-review-value {
    font-size: 0.85rem;
  }
}

.pp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--accent);
  border-radius: 0.9rem;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(154, 52, 18, 0.55);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pp-btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.pp-btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.28);
}

.pp-btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
}

.pp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border: 1.5px solid #d6cebc;
  border-radius: 0.9rem;
  background: transparent;
  color: #57534e;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.pp-btn-secondary:hover {
  border-color: #a89968;
  background: rgba(120, 96, 48, 0.05);
  color: #292524;
}

.pp-btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(120, 96, 48, 0.22);
}


.site-footer {
  margin-top: 0 !important;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-footer__bottom {
  padding-bottom: env(safe-area-inset-bottom);
}

.site-footer .brand-wordmark {
  color: #f8fafc !important;
}

.site-footer .brand-mark {
  color: var(--accent) !important;
}

/* --- FAQ reference list --- */
.faq-list {
  border-top: 1px solid #e2e8f0;
}

.faq-row {
  border-bottom: 1px solid #e2e8f0;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-inline: -1rem;
  padding: 1.15rem 1rem;
  border-radius: 0.75rem;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

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

.faq-question:hover {
  background: #f8fafc;
}

.faq-question:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.25);
}

.faq-no {
  flex: 0 0 2.25rem;
  color: #94a3b8;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.faq-text {
  flex: 1 1 auto;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-wrap: pretty;
}

.faq-chevron {
  flex: 0 0 auto;
  color: #94a3b8;
  transition: transform 0.15s ease, color 0.15s ease;
}

.faq-question:hover .faq-chevron {
  color: #64748b;
}

details[open] .faq-chevron {
  color: #334155;
  transform: rotate(180deg);
}

.faq-answer {
  max-width: 62ch;
  padding: 0.35rem 0 1.4rem 3.5rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  text-wrap: pretty;
}

@media (max-width: 639px) {
  .hero-title {
    max-width: 100%;
  }

  .hero-facts {
    display: grid;
    gap: 0.4rem;
    padding-block: 0.75rem;
  }

  .hero-facts__separator {
    display: none;
  }
}

/* --- Sticky conversion rail (mobile) --- */
.sticky-order-bar {
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

.sticky-order-bar--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-order-bar__inner {
  display: flex;
  max-width: 36rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-order-bar__label {
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sticky-order-bar__cta {
  min-height: 2.75rem !important;
  padding: 0.55rem 0.9rem !important;
  font-size: 0.88rem !important;
}

@media (max-width: 379.98px) {
  .sticky-order-bar__inner {
    flex-wrap: wrap;
  }

  .sticky-order-bar__cta {
    width: 100%;
  }
}

/* --- Legal pages (offer / privacy) --- */
html:has(.legal-body) {
  scroll-behavior: smooth;
}

.legal-card {
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(2, 6, 23, 0.06);
}

@media (min-width: 768px) {
  .legal-card {
    padding: 2.5rem;
  }
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.legal-updated {
  margin-top: 0.5rem;
  color: #64748b;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.legal-body {
  max-width: 72ch;
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-body p {
  margin-top: 0.9rem;
}

.legal-body > p:first-child {
  margin-top: 0;
}

.legal-h2 {
  margin-top: 2.25rem;
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-wrap: balance;
}

.legal-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding-left: 1.35rem;
}

ul.legal-list {
  list-style: disc;
}

ol.legal-list {
  list-style: decimal;
}

.legal-list li::marker {
  color: var(--accent);
  font-weight: 700;
}

.legal-body a:not(.brand-cta):not(.brand-btn-secondary) {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(194, 65, 12, 0.45);
  text-decoration-skip-ink: none;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.legal-body a:not(.brand-cta):not(.brand-btn-secondary):hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.legal-body a:not(.brand-cta):not(.brand-btn-secondary):focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.22);
}

.legal-note {
  margin-top: 1rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid rgba(194, 65, 12, 0.28);
  border-radius: 0.9rem;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-toc {
  margin-top: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: #f8fafc;
}

.legal-toc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  list-style: none;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 650;
}

.legal-toc > summary::-webkit-details-marker {
  display: none;
}

.legal-toc > summary:focus-visible {
  outline: 3px solid rgba(194, 65, 12, 0.25);
  outline-offset: 2px;
  border-radius: 0.9rem;
}

.legal-toc > summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  rotate: 45deg;
  transition: rotate 0.15s ease;
}

.legal-toc[open] > summary::after {
  rotate: 225deg;
}

.legal-toc ol {
  display: grid;
  margin: 0;
  padding: 0.25rem 1rem 0.8rem;
  list-style: none;
}

.legal-toc li + li {
  border-top: 1px dashed #e2e8f0;
}

.legal-toc a {
  display: block;
  padding: 0.8rem 0;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.4;
}

.legal-toc a:hover {
  color: var(--accent);
}

.legal-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.legal-toc-desktop {
  padding-left: 1rem;
  border-left: 1px solid #e2e8f0;
}

.legal-toc-desktop__cap {
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc-desktop ol {
  display: grid;
  gap: 2px;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.legal-toc-desktop a {
  position: relative;
  display: block;
  padding: 0.32rem 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.legal-toc-desktop a::before {
  content: "";
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: calc(-1rem - 1px);
  width: 2px;
  border-radius: 9999px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.legal-toc-desktop a:hover {
  color: var(--accent);
}

.legal-toc-desktop a.is-active {
  color: var(--accent);
}

.legal-toc-desktop a.is-active::before {
  opacity: 1;
}

.legal-toc-desktop a:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.22);
}

.legal-cta {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 55%, var(--accent-soft));
  box-shadow: 0 6px 22px rgba(2, 6, 23, 0.05);
}

@media (min-width: 640px) {
  .legal-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
  }
}

.legal-cta__title {
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 700;
  text-wrap: balance;
}

.legal-cta__text {
  margin-top: 0.25rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
}

.legal-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legal-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 1.5rem);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.legal-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.legal-top:hover {
  border-color: rgba(194, 65, 12, 0.35);
  color: var(--accent);
}

.legal-top:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.25);
}

@media (min-width: 1024px) {
  .legal-top {
    display: none !important;
  }
}

@media print {
  header,
  footer,
  .legal-toc,
  .legal-toc-desktop,
  .legal-cta,
  .legal-top {
    display: none !important;
  }

  html:has(.legal-body) {
    scroll-behavior: auto;
  }

  .legal-page {
    padding: 0;
  }

  .legal-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .legal-body {
    max-width: none;
    font-size: 11pt;
    line-height: 1.5;
  }

  .legal-h2 {
    break-after: avoid;
  }

  .legal-body p,
  .legal-list li {
    orphans: 2;
    widows: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
