/* Archivo (SIL OFL), self-hosted: no third-party request, keeps confidentialite.html true */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --navy: #1B2F7A;
  --ink: #101B45;
  --orange: #FF5A1F;
  --orange-dark: #E04A12;
  --paper: #F4F6FB;
  --line: #D9DFEE;
  --text: #16213F;
  --muted: #56607A;
  --white: #FFFFFF;

  --display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space: clamp(56px, 9vw, 112px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); margin: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.3rem;
  color: var(--navy);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--orange-dark); }
.btn:active { transform: translateY(1px); }
.btn-small { font-size: 0.9rem; padding: 8px 18px; }

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 72px; }
}
.tagline {
  font-family: var(--display);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 850;
  font-stretch: 118%;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.lede {
  font-size: 1.15rem;
  color: #D5DCF2;
  max-width: 34em;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}
.link-quiet {
  color: var(--white);
  font-weight: 600;
  text-underline-offset: 4px;
  text-decoration-color: rgb(255 255 255 / 0.4);
}
.link-quiet:hover { text-decoration-color: currentColor; }
.fineprint { margin: 22px 0 0; font-size: 0.9rem; color: #A9B4DA; }

/* Example Telegram post, the memorable element */
.post {
  position: relative;
  margin: 0;
  max-width: 440px;
  justify-self: center;
  width: 100%;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.post-head img { border-radius: 50%; }
.post-head span { display: block; color: #A9B4DA; font-size: 0.8rem; }
.bubble {
  position: relative;
  background: var(--white);
  color: var(--text);
  border-radius: 4px var(--radius) var(--radius) var(--radius);
  padding: 18px 20px 26px;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 24px 60px -20px rgb(4 10 40 / 0.6);
}
.bubble p:first-child { padding-right: 64px; }
.bubble p:last-of-type { margin-bottom: 0; }
.bubble code { font-size: 0.9em; background: var(--paper); padding: 1px 5px; border-radius: 4px; }
.tg-link { color: #2A7BD2; }
.bubble-time { position: absolute; right: 14px; bottom: 8px; font-size: 0.75rem; color: #8A93AB; }
.post figcaption { margin-top: 12px; font-size: 0.8rem; color: #A9B4DA; }

.stamp {
  position: absolute;
  top: 2px;
  right: -18px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 22px;
  font-family: var(--display);
  font-stretch: 110%;
  transform: rotate(-12deg);
  box-shadow: 0 0 0 5px var(--navy), 0 12px 30px -8px rgb(0 0 0 / 0.5);
  animation: stamp 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 0.35s both;
}
.stamp b { font-size: 3.4rem; font-weight: 900; line-height: 1; }
.stamp span { font-size: 1.05rem; font-weight: 700; }
@media (max-width: 480px) {
  .stamp { width: 84px; height: 84px; padding-top: 17px; right: -6px; top: 8px; }
  .bubble p:first-child { padding-right: 52px; }
  .stamp b { font-size: 2.7rem; }
}
@keyframes stamp {
  from { opacity: 0; transform: rotate(-30deg) scale(1.8); }
  to { opacity: 1; transform: rotate(-12deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .stamp { animation: none; }
  .btn { transition: none; }
}

/* Sections */
.section { padding: var(--space) 0; }
.section-tint { background: var(--paper); }
.section h2, .cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 48px;
  color: var(--navy);
}
h3 {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 10px;
}
.section p { color: var(--muted); margin: 0; max-width: 36em; }

/* Steps: a real sequence, so numbered, joined by a rule */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px;
  counter-reset: step;
}
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 120%;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .steps li { border-top: 2px solid var(--line); padding-top: 24px; }
  .steps li:last-child { border-top-color: var(--orange); }
}

.features { display: grid; gap: 36px; }
@media (min-width: 768px) {
  .features { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

/* Final CTA */
.cta { background: var(--ink); padding: clamp(56px, 8vw, 88px) 0; }
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta h2 { color: var(--white); margin: 0; max-width: 14em; }

/* Footer */
.site-footer {
  padding: 40px 0 48px;
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0 0 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 16px !important; }
.footer-links a { color: var(--text); font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Legal pages */
.legal { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.legal h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 28px;
}
.legal h2 { font-size: 1.35rem; font-weight: 750; color: var(--navy); margin: 36px 0 12px; }
.legal p, .legal ul { color: var(--muted); }
.legal li { margin-bottom: 8px; }

/* Deals and product pages */
.site-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.deals-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 16px;
}
.deals-tab {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font: 600 15px var(--body);
  padding: 8px 14px;
}
.deals-tab[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.deals-tab:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.deals-filters {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .deals-filters {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
.deals-filters label {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
.deals-filters select,
.deals-filters input {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 15px var(--body);
  background: var(--white);
  color: var(--text);
}
.deals-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.deals-count {
  color: var(--muted);
  font-size: 14px;
  margin: 16px 0 8px;
}
.deals-empty {
  padding: 24px;
  background: var(--paper);
  border-radius: var(--radius);
  color: var(--muted);
}
.deals-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .deals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.deal-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.deal-card[hidden] {
  display: none;
}
.deal-card.is-expired {
  opacity: 0.6;
}
.deal-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.deal-score {
  font: 800 20px var(--display);
  color: var(--orange);
}
.deal-score small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.deal-category {
  font-size: 13px;
  color: var(--muted);
  background: var(--paper);
  padding: 2px 10px;
  border-radius: 999px;
}
.deal-title {
  font: 700 18px/1.3 var(--display);
  color: var(--ink);
  margin: 0;
}
.deal-title a {
  color: inherit;
  text-decoration: none;
}
.deal-title a:hover {
  text-decoration: underline;
}
.deal-price {
  margin: 0;
  font-size: 16px;
}
.deal-price strong {
  font-size: 22px;
  color: var(--navy);
}
.deal-ref {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.deal-ref s {
  text-decoration: line-through;
}
.deal-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--text);
  display: grid;
  gap: 4px;
}
.deal-verdict {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.deal-card-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.deal-date {
  font-size: 13px;
  color: var(--muted);
}
.deal-expired {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.product h1 {
  margin-bottom: 8px;
}
.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.breadcrumb a {
  color: var(--muted);
}
.product-now {
  margin: 8px 0 24px;
}
.product-now p {
  margin: 0;
}
.product-price {
  font: 800 36px var(--display);
  color: var(--navy);
}
.product-deal {
  margin: 24px 0;
}
.product-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 24px 0;
}
.product-stats div {
  padding: 14px;
  background: var(--paper);
  border-radius: var(--radius);
}
.product-stats dt {
  font-size: 13px;
  color: var(--muted);
}
.product-stats dd {
  margin: 4px 0 0;
  font-weight: 700;
  color: var(--ink);
}
.product-offers {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.product-offers th {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.product-offers th,
.product-offers td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.product-offers td:last-child {
  text-align: right;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.price-chart {
  margin: 16px 0;
}
.price-chart-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.price-chart-grid {
  stroke: var(--line);
  stroke-width: 1;
}
.price-chart-label {
  fill: var(--muted);
  font: 12px var(--body);
}
.price-chart-median {
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}
.price-chart-area {
  fill: var(--navy);
  fill-opacity: 0.08;
}
.price-chart-line {
  stroke: var(--navy);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.price-chart-last {
  fill: var(--orange);
}
.product h2 { font-size: 22px; margin: 32px 0 12px; }
.product-now .product-price { color: var(--navy); }
.price-chart { max-width: 720px; }
.deals-check input { width: auto; margin: 0; }
.deals-check { align-self: end; padding-bottom: 10px; }
.deals-grid + .deals-empty, .deals-grid ~ .fineprint { margin-top: 16px; }
.price-chart { max-width: 600px; }
.price-chart-label { font-size: 13px; }
.deals-check { display: flex; gap: 8px; align-items: center; }
.deals-filters .deals-check { display: flex; gap: 8px; align-items: center; }
