:root {
  --page-background: #0c3931;
  --surface-background: #10483e;
  --primary-color: #25e500;
  --text-color: #f6fffa;
  --muted-color: #c0d4cf;
  --border-color: #226257;
  --container-width: 1140px;
  --content-width: 1080px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--page-background);
  color: var(--text-color);
  font:
    15px/1.55 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  background: #082c26;
  min-height: 57px;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 57px;
}
.container {
  width: min(calc(100% - 40px), var(--container-width));
  margin-inline: auto;
}
.logo img {
  display: block;
  max-width: 100%;
  height: auto;
}
.nav-links {
  font-size: 12px;
  color: #d5e6df;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.actions a {
  background: #195449;
  text-decoration: none;
  border-radius: 4px;
  padding: 8px 18px;
  font-size: 13px;
}
.actions a:last-child,
.offers small {
  background: var(--primary-color);
  color: #092b20;
}
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 22px 0 45px;
}
.offers a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 145px;
  padding: 19px 18px;
  border-radius: 7px;
  overflow: hidden;
  text-decoration: none;
  background: #102c28;
}

.offers a img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border-radius: 0;
  z-index: 0;
}
.offers a span,
.offers a small {
  position: relative;
  z-index: 2;
}

.offers span {
  font-size: 17px;
  font-weight: bold;
  max-width: 220px;
  line-height: 1.2;
}

.offers strong {
  display: block;
}

.offers small {
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  padding: 7px 16px;
  background: var(--primary-color);
  color: #092b20;
}
@media (max-width: 650px) {
  .offers a {
    min-height: 103px;
    padding: 10px;
  }

  .offers a:last-child {
    min-height: 76px;
  }

  .offers span {
    font-size: 12px;
  }

  .offers small {
    font-size: 10px;
    padding: 5px 8px;
  }
}

.offers span {
  font-size: 17px;
  font-weight: bold;
  max-width: 220px;
  line-height: 1.2;
}
.offers strong {
  display: block;
}
.offers small {
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  padding: 7px 16px;
}
article {
  max-width: var(--content-width);
}
article section {
  margin: 0 0 29px;
}
h1 {
  font-size: 27px;
  line-height: 1.2;
  margin: 0 0 18px;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 26px 0 12px;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 22px 0 10px;
}
p {
  margin: 0 0 13px;
}
article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto 20px;
  border-radius: 7px;
}
article img[src*="/homesnip/"] {
  max-width: 255px;
}
article img[src*="/home/"] {
  width: 100%;
  max-width: 1080px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0 20px;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 3px solid #0c3931;
  background: #124b40;
}
tr:nth-child(even) td {
  background: #0a3029;
}
th {
  font-weight: 700;
  background: #155447;
}
ul,
ol {
  padding-left: 24px;
  margin: 10px 0 18px;
}
li {
  margin: 4px 0;
}
.promo {
  min-height: 210px;
  background: linear-gradient(105deg, #427ea1, #0e564a);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 25px;
  padding: 30px;
  margin: 20px 0;
}
.promo p {
  font-size: 26px;
  font-weight: 700;
  max-width: 400px;
  line-height: 1.2;
}
.promo strong {
  color: #ffe641;
}
.promo a {
  background: var(--primary-color);
  color: #063329;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
.faq details {
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
}
footer {
  background: #082f28;
  padding: 35px 0 60px;
  margin-top: 40px;
}
footer nav {
  display: flex;
  gap: 24px;
  margin: 20px 0;
}
footer a {
  text-decoration: none;
  font-size: 13px;
}
footer p {
  color: var(--muted-color);
  font-size: 12px;
}
@media (max-width: 650px) {
  body {
    font-size: 13px;
    line-height: 1.5;
  }
  .container {
    width: calc(100% - 24px);
  }
  header nav {
    min-height: 52px;
    gap: 8px;
  }
  .logo img {
    width: 88px;
  }
  .nav-links {
    display: none;
  }

  .actions {
    gap: 5px;
  }
  .actions a {
    font-size: 11px;
    padding: 7px 9px;
  }
  .offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 12px 0 26px;
  }
  .offers a {
    min-height: 103px;
    padding: 10px;
  }
  .offers a:last-child {
    grid-column: 1/-1;
    min-height: 76px;
  }
  .offers span {
    font-size: 12px;
  }
  .offers small {
    font-size: 10px;
    padding: 5px 8px;
  }
  h1 {
    font-size: 23px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 16px;
  }
  article img[src*="/homesnip/"] {
    max-width: 180px;
  }
  th,
  td {
    padding: 7px 6px;
    font-size: 11px;
  }
  .promo {
    min-height: 170px;
    display: block;
    padding: 18px;
  }
  .promo p {
    font-size: 20px;
  }
  .promo a {
    display: inline-block;
    font-size: 12px;
    padding: 10px;
  }
  .faq details {
    padding: 11px 0;
  }
}
/* FAQ: two-column accordion matching the reference */
.faq {
  width: 100%;
  max-width: none;
  margin: 56px 0 40px;
}
.faq h2 {
  margin: 0 auto 34px;
  text-align: center;
}
.faq h2 img {
  display: block;
  width: min(375px, 100%);
  max-width: 375px;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.faq details {
  background: #0b2e28;
  border: 0;
  border-radius: 11px;
  padding: 0;
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 14px 16px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 3px solid #91a5ac;
  border-bottom: 3px solid #91a5ac;
  transform: rotate(45deg);
  margin-right: 15px;
  margin-top: -5px;
  flex: none;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 5px;
}
.faq details p {
  padding: 0 18px 18px;
  color: #c0d4cf;
  margin: 0;
  font-size: 15px;
}
/* Reference footer */
footer {
  background: #0b2c26;
  margin-top: 20px;
  padding: 30px 0 45px;
}
footer .container {
  width: min(calc(100% - 80px), 1600px);
}
.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 0 34px;
  border-bottom: 1px solid #275348;
}
.footer-logo img {
  width: 140px;
  max-height: 65px;
  object-fit: contain;
  object-position: left center;
}
.footer-top nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0;
}
.footer-top nav a {
  font-size: 19px;
  color: #fff;
  white-space: nowrap;
}
.footer-apps {
  display: flex;
  gap: 12px;
}
.footer-apps a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 207px;
  min-height: 64px;
  border-radius: 10px;
  background: #194f45;
  padding: 10px 14px;
  color: white;
}
.footer-apps span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.footer-apps small {
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.footer-apps strong {
  font-size: 21px;
}
.footer-payments {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 30px 20px 32px;
}
.footer-payments img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.footer-payments img:first-child {
  width: 77px;
}
.footer-payments img:nth-child(2) {
  width: 77px;
}
.footer-trust {
  display: flex;
  align-items: center;
  gap: 27px;
  flex-wrap: wrap;
  padding: 10px 0 50px;
}
.footer-trust img {
  max-width: 190px;
  height: 33px;
  object-fit: contain;
  object-position: left;
}
.footer-bottom {
  border-top: 1px solid #10372f;
  padding-top: 42px;
}
.footer-bottom nav {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin: 0;
}
.footer-bottom nav a {
  font-size: 17px;
  color: #9cb9c5;
}
.footer-bottom p {
  text-align: center;
  font-size: 17px;
  color: #9cb9c5;
  margin: 18px 0 0;
}
@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer-top nav {
    flex-wrap: wrap;
  }
  .footer-apps {
    justify-content: center;
  }
  .footer-payments {
    justify-content: center;
  }
  .footer-logo img {
    object-position: center;
  }
}
@media (max-width: 650px) {
  .faq {
    margin: 36px 0;
  }
  .faq h2 img {
    width: min(255px, 100%);
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .faq summary {
    min-height: 58px;
    font-size: 14px;
    padding: 12px 14px;
  }
  .faq details p {
    font-size: 13px;
  }
  .faq summary::after {
    margin-right: 4px;
  }
  footer .container {
    width: calc(100% - 28px);
  }
  .footer-top {
    gap: 18px;
    padding-bottom: 22px;
  }
  .footer-top nav {
    gap: 14px;
  }
  .footer-top nav a {
    font-size: 13px;
  }
  .footer-apps {
    gap: 8px;
    width: 100%;
  }
  .footer-apps a {
    min-width: 0;
    flex: 1;
    padding: 8px 6px;
    min-height: 55px;
  }
  .footer-apps small {
    font-size: 8px;
  }
  .footer-apps strong {
    font-size: 15px;
  }
  .footer-apps img {
    max-width: 19px;
  }
  .footer-payments {
    gap: 12px;
    padding: 24px 0;
  }
  .footer-payments img,
  .footer-payments img:first-child,
  .footer-payments img:nth-child(2) {
    width: 40px;
    height: 38px;
  }
  .footer-trust {
    gap: 12px;
    padding-bottom: 25px;
  }
  .footer-trust img {
    max-width: 110px;
    height: 25px;
  }
  .footer-bottom {
    padding-top: 24px;
  }
  .footer-bottom nav {
    justify-content: center;
    gap: 12px 20px;
  }
  .footer-bottom nav a,
  .footer-bottom p {
    font-size: 12px;
  }
  .footer-bottom p {
    line-height: 1.5;
  }
}
@media (min-width: 1001px) {
  article .faq {
    width: min(calc(100vw - 56px), 1600px);
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}
