/* ==========================================================================
   Стилі для внутрішніх сторінок: thank-you.html, politics.html, oferta.html,
   usersagitment.html, conditions.html. Незалежні від головної (styles на index).
   ========================================================================== */

:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f2f5f9;
  --line: #dfe6ee;

  --ink: #10182a;
  --ink-soft: #4a5568;
  --ink-mute: #8894a6;

  --blue: #f2a71b;
  --blue-2: #c9820f;
  --blue-tint: rgba(242, 167, 27, .12);

  --sage: #2c6ecb;
  --sage-tint: rgba(44, 110, 203, .12);

  --danger: #e8465b;
  --danger-tint: rgba(232, 70, 91, .12);

  --amber: #f2a71b;

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 26px;
  --radius-pill: 999px;

  --shadow-s: 0 4px 14px rgba(16, 24, 42, .07);
  --shadow-m: 0 18px 40px -18px rgba(16, 24, 42, .28);

  --container-narrow: 680px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; }
body::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 700; }

.main_wrapper { position: relative; overflow: hidden; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.container--narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 18px; }

h1, h2, h3 {
  font-family: 'Oswald', 'Manrope', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-tint);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

section { padding: 52px 0; position: relative; }
.text-center { text-align: center; }

/* ---- buttons ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 22px;
  background: var(--blue);
  color: #10182a;
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'Oswald', inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 14px 28px -10px rgba(242, 167, 27, .55);
  transition: transform .15s var(--ease), background .15s, box-shadow .15s;
}
.button:hover { background: var(--blue-2); transform: translateY(-1px); box-shadow: 0 18px 34px -10px rgba(242, 167, 27, .65); }
.button:active { transform: translateY(0); }

/* ---- footer ---- */
.footer_section { padding: 30px 0 60px; text-align: center; }
.footer_con { font-size: 12px; color: var(--ink-mute); }
.footer_con a { text-decoration: underline; }

/* ==========================================================================
   Static pages: politics.html / oferta.html / usersagitment.html / conditions.html
   ========================================================================== */
.page-hero { padding: 44px 0 18px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 22px; margin-top: 6px; }
.static-copy { padding: 26px 0 10px; color: var(--ink-soft); font-size: 14px; font-family: 'Manrope', sans-serif; }
.static-copy h3 { font-size: 15px; margin: 22px 0 8px; color: var(--ink); font-weight: 800; text-transform: none; font-family: 'Manrope', sans-serif; }
.static-copy p { margin: 0 0 12px; }
.static-copy ul { margin: 0 0 12px; padding-left: 20px; }
.static-copy li { margin: 0 0 6px; }
.static-copy a { color: var(--blue-2); text-decoration: underline; }

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.ty { max-width: 560px; margin: 0 auto; padding: 0 20px 60px; }
.ty__hero { position: relative; text-align: center; padding: 50px 0 26px; overflow: hidden; }
.ty__hero .blob { position: absolute; border-radius: 50%; background: var(--blue-tint); filter: blur(34px); z-index: 0; }
.ty__badge-icon {
  position: relative; z-index: 1;
  width: 66px; height: 66px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sage-tint);
  border: 2px solid var(--sage);
  display: flex; align-items: center; justify-content: center;
}
.ty__badge-icon svg { width: 30px; height: 30px; }
.ty__title { position: relative; z-index: 1; font-size: 24px; margin-bottom: 10px; }
.ty__subtitle { position: relative; z-index: 1; font-size: 14px; color: var(--ink-soft); margin: 0; font-family: 'Manrope', sans-serif; text-transform: none; }

.ty__card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 20px; margin: 8px 0 30px;
  box-shadow: var(--shadow-m);
  font-family: 'Manrope', sans-serif;
}
.ty__ribbon {
  display: inline-block; margin-bottom: 14px;
  background: var(--sage-tint); color: var(--sage);
  font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  padding: 5px 10px; border-radius: var(--radius-pill);
}
.ty__ribbon.is-warn { background: var(--danger-tint); color: var(--danger); }
.ty__row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.ty__row:last-child { border-bottom: none; }
.ty__label { color: var(--ink-mute); min-width: 70px; }
.ty__value { font-weight: 800; }
.ty__price { color: var(--blue-2); font-size: 16px; }
.ty__check { margin-left: auto; font-size: 11.5px; font-weight: 700; }
.ty__check--ok { color: var(--sage); }
.ty__check--warn { color: var(--danger); }

.ty__back { max-width: 320px; margin: 0 auto; }

.ty__next { margin-top: 40px; }
.ty__next-title { text-align: center; font-size: 18px; margin-bottom: 18px; }
.ty__next-list { display: grid; gap: 10px; }
.how-order-img {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 13px 15px;
  box-shadow: var(--shadow-s);
  font-family: 'Manrope', sans-serif;
}
.how-order-img .title { font-size: 13.5px; font-weight: 800; text-transform: none; margin-bottom: 3px; }
.how-order-img .description { font-size: 12.5px; color: var(--ink-mute); }
.ty__footer-space { height: 20px; }

@media (min-width: 640px) {
  .page-hero h1 { font-size: 26px; }
}
