/* ============================================================
   КУШ — Main Stylesheet
   Mobile-first, CSS custom properties, no external assets
   ============================================================ */

/* ------------------------------------------------------------
   1. CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  --base:    #0E3B36;
  --deep:    #082622;
  --accent:  #E9A93C;
  --accent2: #57C2A8;
  --surface: #F7F4EC;
  --ink:     #12211F;
  --muted:   #5E706C;

  --font-heading: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body:    system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1120px;
  --radius:    0px;
  --gap:       1.5rem;
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.2s;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--base);
  line-height: 1.25;
}

h1 { font-size: 2.0rem; margin-bottom: 1rem; }
h2 { font-size: 1.55rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.65rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

li { margin-bottom: 0.35rem; }

section {
  margin-bottom: 2.5rem;
}

/* ------------------------------------------------------------
   3. CONTAINER
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ------------------------------------------------------------
   4. UTILITY STRIP (age notice above header)
   ------------------------------------------------------------ */
.utility-strip {
  background: var(--deep);
  color: #a8c4c0;
  font-size: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
}

.age-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--deep);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   5. HEADER & NAV
   ------------------------------------------------------------ */
header {
  background: var(--base);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(8,38,34,0.35);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0;
}

/* LOGO WORDMARK */
.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  cursor: default;
  user-select: none;
}

.logo span {
  font-size: 0.6rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
}

/* NAV */
header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

header nav ul li a {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #c8dbd8;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

header nav ul li a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

header nav ul li a.active {
  color: var(--accent);
  background: rgba(233,169,60,0.12);
}

header nav ul li a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ------------------------------------------------------------
   6. BONUS BANNER (top — main)
   ------------------------------------------------------------ */
.bonus-banner {
  background: var(--base);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(87,194,168,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(233,169,60,0.10) 0%, transparent 60%);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
}

.bonus-banner .eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.6rem;
}

.bonus-banner .offer {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.bonus-banner .offer-sub {
  font-size: 0.95rem;
  color: #c8dbd8;
  margin-bottom: 1.25rem;
}

.bonus-banner .fine-print {
  font-size: 0.72rem;
  color: #7da8a2;
  margin-top: 0.75rem;
}

/* ------------------------------------------------------------
   7. BONUS BANNER MID (second banner inside main)
   ------------------------------------------------------------ */
.bonus-banner-mid {
  background: var(--deep);
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(87,194,168,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(233,169,60,0.08) 0%, transparent 60%);
  color: #fff;
  text-align: center;
  padding: 2.2rem 1rem;
  margin-bottom: 2.5rem;
}

.bonus-banner-mid .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.55rem;
}

.bonus-banner-mid .offer {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.bonus-banner-mid p:not(.fine-print):not(.eyebrow):not(.offer) {
  font-size: 0.9rem;
  color: #b0cecc;
  margin-bottom: 1.1rem;
}

.bonus-banner-mid .fine-print {
  font-size: 0.7rem;
  color: #6a9994;
  margin-top: 0.65rem;
}

/* ------------------------------------------------------------
   8. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(233,169,60,0.3);
  text-decoration: none;
}

.btn:hover {
  background: #f0bc55;
  box-shadow: 0 4px 18px rgba(233,169,60,0.45);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 6px rgba(233,169,60,0.3);
}

.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   9. MAIN CONTENT AREA
   ------------------------------------------------------------ */
main {
  padding: 2rem 0 3rem;
}

main .container > h1:first-child,
main .container > .section-intro:first-child {
  margin-bottom: 1.5rem;
}

.section-intro {
  margin-bottom: 1.5rem;
}

.section-intro h1 {
  margin-bottom: 0.75rem;
}

/* ------------------------------------------------------------
   10. RATING BLOCK
   ------------------------------------------------------------ */
.rating-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #ddd8cc;
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
}

.rating-stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.rating-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--base);
}

.rating-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ------------------------------------------------------------
   11. STEPS LIST & CHECK LIST
   ------------------------------------------------------------ */
.steps-list {
  padding-left: 1.6rem;
  margin-bottom: 1.25rem;
}

.steps-list li {
  margin-bottom: 0.55rem;
  padding-left: 0.25rem;
}

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

.check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.65rem;
  height: 0.35rem;
  border-left: 2px solid var(--accent2);
  border-bottom: 2px solid var(--accent2);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------
   12. TABLES
   ------------------------------------------------------------ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.25rem;
  border: 1px solid #ccc7bb;
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

table thead {
  background: var(--base);
  color: #fff;
}

table thead th {
  padding: 0.7rem 0.85rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.12);
}

table thead th:last-child {
  border-right: none;
}

table tbody tr {
  border-bottom: 1px solid #ddd8cc;
  transition: background 0.15s;
}

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

table tbody tr:nth-child(even) {
  background: rgba(14,59,54,0.04);
}

table tbody tr:hover {
  background: rgba(87,194,168,0.08);
}

table tbody td {
  padding: 0.65rem 0.85rem;
  border-right: 1px solid #ddd8cc;
  color: var(--ink);
  vertical-align: top;
}

table tbody td:last-child {
  border-right: none;
}

/* ------------------------------------------------------------
   13. CARDS GRID
   ------------------------------------------------------------ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-bottom: 1.5rem;
}

.card {
  background: #fff;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: 0 2px 10px rgba(14,59,54,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,59,54,0.13);
}

.card-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.65rem;
  line-height: 1;
}

.card h3 {
  color: var(--base);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   14. FAQ ACCORDION (CSS-only, hidden checkbox technique)
   ------------------------------------------------------------ */
.faq {
  margin-bottom: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid #ddd8cc;
}

.faq-item:first-child {
  border-top: 1px solid #ddd8cc;
}

/* Hide the checkbox */
.faq-item input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Label acts as the question / toggle */
.faq-item label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.25rem;
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--base);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1.35;
}

.faq-item label:hover {
  color: var(--accent);
}

.faq-item input[type="checkbox"]:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Plus / minus indicator drawn in CSS */
.faq-item label::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background:
    /* horizontal bar */
    linear-gradient(var(--accent), var(--accent)) center / 0.55rem 2px no-repeat,
    /* vertical bar */
    linear-gradient(var(--accent), var(--accent)) center / 2px 0.55rem no-repeat;
}

/* When checked: hide vertical bar (minus state) */
.faq-item input[type="checkbox"]:checked + label::after {
  background:
    linear-gradient(var(--accent), var(--accent)) center / 0.55rem 2px no-repeat;
}

.faq-item input[type="checkbox"]:checked + label {
  color: var(--accent);
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  padding: 0 0.25rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 600px;
  padding-bottom: 1rem;
}

/* ------------------------------------------------------------
   15. HIGHLIGHT BOX
   ------------------------------------------------------------ */
.highlight-box {
  background: rgba(87,194,168,0.1);
  border-left: 4px solid var(--accent2);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--ink);
}

.highlight-box strong {
  color: var(--base);
}

/* ------------------------------------------------------------
   16. RESPONSIBILITY WARNING
   ------------------------------------------------------------ */
.resp-warning {
  background: rgba(233,169,60,0.1);
  border: 1px solid rgba(233,169,60,0.35);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 2rem;
}

/* ------------------------------------------------------------
   17. FOOTER
   ------------------------------------------------------------ */
footer {
  background: var(--deep);
  color: #a8c4c0;
  padding: 2.5rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: #7da8a2;
  line-height: 1.55;
  margin: 0;
}

.footer-nav .footer-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.75rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 0.4rem;
}

.footer-nav ul li a {
  font-size: 0.85rem;
  color: #8ab4b0;
  transition: color 0.2s;
}

.footer-nav ul li a:hover {
  color: var(--accent);
}

.footer-nav ul li a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1rem 0;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #5a8a85;
  margin: 0;
  text-align: center;
}

/* ============================================================
   18. MEDIA QUERIES — 640px
   ============================================================ */
@media (min-width: 640px) {

  .container {
    padding-inline: 1.5rem;
  }

  .bonus-banner {
    padding: 3rem 1.5rem;
  }

  .bonus-banner .offer {
    font-size: 2rem;
  }

  .bonus-banner-mid {
    padding: 2.5rem 1.5rem;
  }

  .bonus-banner-mid .offer {
    font-size: 1.75rem;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.7rem; }
}

/* ============================================================
   19. MEDIA QUERIES — 1024px
   ============================================================ */
@media (min-width: 1024px) {

  .container {
    padding-inline: 2rem;
  }

  /* Header */
  .header-inner {
    flex-wrap: nowrap;
    padding: 1rem 0;
  }

  header nav ul li a {
    font-size: 0.875rem;
    padding: 0.45rem 0.75rem;
  }

  /* Banners */
  .bonus-banner {
    padding: 3.5rem 2rem;
  }

  .bonus-banner .offer {
    font-size: 2.3rem;
    max-width: 780px;
    margin-inline: auto;
  }

  .bonus-banner-mid {
    padding: 3rem 2rem;
  }

  .bonus-banner-mid .offer {
    font-size: 2rem;
    max-width: 700px;
    margin-inline: auto;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* When there are only 2 cards */
  .cards-grid:has(.card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  /* Main headings */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.85rem; }

  /* Rating block */
  .rating-block {
    gap: 0.75rem;
  }

  /* Sections */
  section {
    margin-bottom: 3rem;
  }
}

/* ============================================================
   20. UTILITIES
   ============================================================ */

/* Visually hidden (accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Inline section btn spacing */
section > .btn {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}