:root {
  --blue: #176b57;
  --blue-dark: #0d4439;
  --accent: #d94f4f;
  --accent-dark: #a6323e;
  --red: #b73b4b;
  --gold: #d9a441;
  --ink: #26221d;
  --muted: #6f665d;
  --paper: #f3f3f3;
  --line: #e4ddd3;
  --cream: #fff8ee;
  --white: #ffffff;
  --shadow: 0 16px 42px rgba(35, 27, 19, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}

.site-header {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 15px 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-news {
  position: relative;
  height: 410px;
  overflow: hidden;
  background: var(--cream);
}
.hero-news > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.logo { width: 170px; }
.hero-overlay span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.content { padding: 22px; }
.featured-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.mini-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
}
.mini-card img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}
.mini-card span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 340px;
  gap: 30px;
}
.article { min-width: 0; }
.badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.market-badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 2px solid #198754;
  border-radius: 999px;
  color: #0f5132;
  background: #d1e7dd;
  font-size: 14px;
  font-weight: 900;
}
h1 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}
h2 {
  margin: 32px 0 12px;
  color: var(--red);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}
h3 { margin: 0 0 14px; color: var(--blue); }
.byline {
  margin-bottom: 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.notice {
  margin: 20px 0;
  padding: 15px;
  border-left: 4px solid #6c757d;
  background: #f8f9fa;
  color: #565656;
  font-size: 14px;
}
.notice.dark {
  border-left: 0;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
}
.article p {
  margin-bottom: 20px;
  font-size: 18px;
  text-align: left;
}
figure { margin: 24px 0; }
figure img {
  width: 100%;
  border: 3px solid #f1ece4;
  border-radius: 8px;
}
figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  text-align: center;
}
.compare-figure img {
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.highlight-box {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid #f1d6a7;
  border-radius: 8px;
  background: #fff4df;
}
.highlight-box strong,
.highlight-box span {
  display: block;
}
.highlight-box span { color: var(--muted); }

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.check-grid div,
.why-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}
.check-grid strong,
.check-grid span,
.why-grid strong,
.why-grid span {
  display: block;
}
.check-grid span,
.why-grid span { margin-top: 6px; color: var(--muted); line-height: 1.45; }

.offer-box {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  margin: 36px 0;
  padding: 24px;
  border: 5px solid var(--gold);
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), #8d3040);
  box-shadow: var(--shadow);
}
.offer-image img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.offer-copy h2 { margin-top: 0; color: var(--white); }
.offer-copy p { color: rgba(255,255,255,.9); }
.price-panel {
  margin: 14px 0 16px;
  padding: 14px 16px;
  border: 1px solid #edc878;
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 5px 18px rgba(38, 25, 17, .16);
}
.price-kicker {
  display: block;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}
.price-panel div { margin: 4px 0; color: var(--blue-dark); }
.price-panel small { font-size: 15px; }
.price-panel strong { color: var(--accent); font-size: 40px; line-height: 1; }
.price-note { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
.cta:hover { background: var(--accent-dark); }
.center { display: flex; width: fit-content; margin: 28px auto; }
.pulse { animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
.timer {
  margin-top: 18px;
  font-weight: 800;
}
.timer span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  margin: 0 4px;
  padding: 5px 7px;
  border-radius: 6px;
  color: var(--red);
  background: var(--white);
}

.sidebar { display: grid; gap: 20px; align-content: start; }
.side-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfb;
}
.side-box img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
blockquote {
  margin: 12px 0;
  padding: 14px;
  border-left: 4px solid var(--accent);
  background: var(--cream);
  color: var(--muted);
  font-style: italic;
}
.small-cta,
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.why,
.comments {
  margin-top: 38px;
  padding: 30px;
  border-radius: 8px;
  background: #f8fafb;
}
.why h2,
.comments h2 {
  margin-top: 0;
  color: var(--blue);
  text-align: center;
}
.comments-intro {
  max-width: 720px;
  margin: -8px auto 14px;
  color: var(--muted);
  text-align: center;
  font-size: 15px !important;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.comment {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  box-shadow: 0 0 0 1px #cbded8;
}
.comment p { margin: 5px 0; color: var(--muted); }
.comment span { color: #8b8b8b; font-size: 13px; }

.footer {
  padding: 28px;
  color: var(--white);
  background: var(--blue-dark);
  text-align: center;
}
.footer-cta {
  width: fit-content;
  margin: 20px auto 0;
  padding: 0 28px;
  background: var(--accent);
}
.mobile-buy { display: none; }

.purchase-toast {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  width: min(390px, calc(100vw - 28px));
  min-height: 84px;
  padding: 12px;
  border: 1px solid #dce7e3;
  border-left: 4px solid var(--gold);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(17, 57, 48, .22);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.purchase-toast.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.purchase-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.purchase-label { display: block; color: var(--blue); font-size: 12px; font-weight: 900; }
.purchase-message { display: block; margin: 2px 0; font-size: 14px; line-height: 1.3; }
.purchase-toast small { color: #888; font-size: 10px; }
.purchase-close {
  align-self: start;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  color: #777;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav { gap: 14px; overflow-x: auto; justify-content: flex-start; }
  .hero-news { height: 340px; }
  .featured-row,
  .article-layout,
  .check-grid,
  .why-grid { grid-template-columns: 1fr; }
  .offer-box { grid-template-columns: 1fr; }
  .offer-image img { height: 360px; }
}

@media (max-width: 560px) {
  body { padding-bottom: 72px; }
  .content { padding: 16px; }
  .hero-news { height: 270px; }
  .hero-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    align-items: flex-start;
    flex-direction: column;
  }
  .logo { width: 145px; }
  .mini-card { grid-template-columns: 84px 1fr; }
  .mini-card img { width: 84px; height: 68px; }
  h1 { font-size: 34px; }
  .article p { font-size: 17px; text-align: left; }
  .offer-box { padding: 18px; }
  .cta { width: 100%; }
  .center { width: 100%; }
  .comments, .why { padding: 20px 16px; }
  .purchase-toast { left: 14px; bottom: 82px; }
  .mobile-buy {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 8px;
    color: var(--white);
    background: var(--accent);
    box-shadow: 0 12px 30px rgba(0,0,0,.24);
    font-weight: 900;
  }
}
