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

body,
h1,
h2,
h3,
p,
ul,
ol,
figure,
table {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

:root {
  --gx-bg: #ffffff;
  --gx-panel: #eef4f3;
  --gx-text: #12211f;
  --gx-muted: #566866;
  --gx-accent: #0f766e;
  --gx-accent-dark: #0b5952;
  --gx-line: #d7e3e1;
  --gx-font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gx-wrap: 1120px;
  --gx-radius: 8px;
}

body {
  margin: 0;
  background: var(--gx-bg);
  color: var(--gx-text);
  font-family: var(--gx-font);
  font-size: 17px;
  line-height: 1.65;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
}

.gx-wrap {
  width: 100%;
  max-width: var(--gx-wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.gx-skip {
  position: absolute;
  left: -9999px;
}

.gx-skip:focus {
  left: 12px;
  top: 12px;
  z-index: 30;
  background: var(--gx-accent);
  color: #fff;
  padding: 10px 16px;
}

.gx-header {
  border-bottom: 1px solid var(--gx-line);
  background: var(--gx-bg);
}

.gx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.gx-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--gx-text);
  text-decoration: none;
}

.gx-logo__mark {
  width: 28px;
  height: 28px;
  background: var(--gx-accent);
  border-radius: 6px;
}

.gx-burger {
  font: inherit;
  font-size: 15px;
  background: var(--gx-bg);
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius);
  padding: 8px 14px;
  cursor: pointer;
  color: var(--gx-text);
}

.gx-nav {
  display: none;
  padding-bottom: 14px;
}

.gx-nav.is-open {
  display: block;
}

.gx-nav__list {
  display: flex;
  flex-direction: column;
}

.gx-nav__link {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--gx-line);
  color: var(--gx-text);
  text-decoration: none;
  font-size: 16px;
}

.gx-nav__link:hover {
  color: var(--gx-accent);
}

.gx-hero {
  background: var(--gx-panel);
  border-bottom: 1px solid var(--gx-line);
  padding: 36px 0;
}

.gx-hero h1 {
  font-size: 30px;
  margin-bottom: 14px;
}

.gx-hero__text {
  color: var(--gx-muted);
  max-width: 62ch;
  margin-bottom: 22px;
}

.gx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gx-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--gx-radius);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--gx-accent);
  background: var(--gx-accent);
  color: #fff;
}

.gx-btn:hover {
  background: var(--gx-accent-dark);
  border-color: var(--gx-accent-dark);
}

.gx-btn--ghost {
  background: transparent;
  color: var(--gx-accent);
}

.gx-btn--ghost:hover {
  background: var(--gx-panel);
  color: var(--gx-accent-dark);
}

.gx-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--gx-line);
}

.gx-section__title {
  font-size: 24px;
  margin-bottom: 10px;
}

.gx-section__lead {
  color: var(--gx-muted);
  max-width: 68ch;
  margin-bottom: 26px;
}

.gx-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius);
  margin-bottom: 20px;
}

.gx-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 16px;
}

.gx-table th,
.gx-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gx-line);
  vertical-align: top;
}

.gx-table th {
  background: var(--gx-panel);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gx-muted);
}

.gx-table tr:last-child td {
  border-bottom: 0;
}

.gx-steps {
  display: grid;
  gap: 18px;
}

.gx-step {
  border-left: 3px solid var(--gx-accent);
  padding-left: 16px;
}

.gx-step__num {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--gx-accent);
  font-weight: 700;
}

.gx-step h3 {
  font-size: 18px;
  margin: 4px 0 6px;
}

.gx-step p {
  color: var(--gx-muted);
  font-size: 16px;
}

.gx-note {
  background: var(--gx-panel);
  border-left: 3px solid var(--gx-accent);
  padding: 14px 18px;
  color: var(--gx-muted);
  margin: 22px 0;
}

.gx-faq {
  display: grid;
  gap: 10px;
}

.gx-faq details {
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius);
  background: var(--gx-bg);
}

.gx-faq summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  list-style: none;
}

.gx-faq summary::-webkit-details-marker {
  display: none;
}

.gx-faq summary::after {
  content: "+";
  float: right;
  color: var(--gx-accent);
}

.gx-faq details[open] summary::after {
  content: "–";
}

.gx-faq__body {
  padding: 0 18px 16px;
  color: var(--gx-muted);
}

.gx-store {
  display: grid;
  gap: 18px;
  align-items: center;
  background: var(--gx-panel);
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius);
  padding: 22px;
}

.gx-store h2 {
  font-size: 21px;
  margin-bottom: 8px;
}

.gx-store p {
  color: var(--gx-muted);
  font-size: 16px;
}

.gx-store__id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.gx-store__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--gx-radius);
  border: 1px solid var(--gx-line);
}

.gx-gallery {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.gx-gallery figure {
  margin: 0;
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius);
  overflow: hidden;
}

.gx-gallery figcaption {
  font-size: 14px;
  color: var(--gx-muted);
  padding: 9px 12px;
}

.gx-footer {
  background: var(--gx-bg);
  padding: 34px 0 44px;
}

.gx-footer__grid {
  display: grid;
  gap: 24px;
}

.gx-footer h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gx-muted);
  margin-bottom: 12px;
}

.gx-footer__links li {
  margin-bottom: 8px;
}

.gx-footer__links a {
  color: var(--gx-text);
  text-decoration: none;
  font-size: 16px;
}

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

.gx-footer__about {
  color: var(--gx-muted);
  font-size: 16px;
}

.gx-footer__legal {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--gx-line);
  color: var(--gx-muted);
  font-size: 14px;
}

.gx-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  background: var(--gx-bg);
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .14);
  padding: 18px;
}

.gx-cookie.is-visible {
  display: block;
}

.gx-cookie p {
  font-size: 15px;
  color: var(--gx-muted);
  margin-bottom: 14px;
}

.gx-cookie__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gx-cookie__btn {
  font: inherit;
  font-size: 15px;
  padding: 9px 16px;
  border-radius: var(--gx-radius);
  border: 1px solid var(--gx-line);
  background: var(--gx-bg);
  color: var(--gx-text);
  cursor: pointer;
  text-decoration: none;
}

.gx-cookie__btn--yes {
  background: var(--gx-accent);
  border-color: var(--gx-accent);
  color: #fff;
}

.gx-crumbs {
  font-size: 14px;
  color: var(--gx-muted);
  padding: 18px 0 0;
}

.gx-crumbs a {
  color: var(--gx-muted);
}

.gx-article {
  padding: 10px 0 46px;
  max-width: 76ch;
}

.gx-article__head {
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--gx-line);
  margin-bottom: 24px;
}

.gx-article__head h1 {
  font-size: 27px;
  margin-bottom: 12px;
}

.gx-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--gx-muted);
}

.gx-article h2 {
  font-size: 22px;
  margin: 30px 0 12px;
}

.gx-article h3 {
  font-size: 18px;
  margin: 22px 0 8px;
}

.gx-article p {
  margin-bottom: 15px;
}

.gx-article ul,
.gx-article ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.gx-article ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.gx-article ol li {
  list-style: decimal;
  margin-bottom: 8px;
}

.gx-article figure {
  margin: 24px 0;
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius);
  overflow: hidden;
}

.gx-article figcaption {
  font-size: 14px;
  color: var(--gx-muted);
  padding: 9px 12px;
}

.gx-related {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--gx-line);
}

.gx-related h2 {
  font-size: 19px;
  margin-bottom: 12px;
}

.gx-related li {
  margin-bottom: 9px;
}

.gx-legal {
  padding: 12px 0 48px;
  max-width: 74ch;
}

.gx-legal h1 {
  font-size: 27px;
  margin-bottom: 8px;
}

.gx-legal__date {
  color: var(--gx-muted);
  font-size: 14px;
  margin-bottom: 26px;
}

.gx-legal h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.gx-legal p {
  margin-bottom: 14px;
}

.gx-legal ul,
.gx-legal ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.gx-legal ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.gx-legal ol li {
  list-style: decimal;
  margin-bottom: 8px;
}

.gx-404 {
  padding: 60px 0 80px;
  max-width: 60ch;
}

.gx-404 h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.gx-404 p {
  color: var(--gx-muted);
  margin-bottom: 22px;
}

.gx-404__list {
  margin-top: 26px;
  border-top: 1px solid var(--gx-line);
}

.gx-404__list li {
  border-bottom: 1px solid var(--gx-line);
  padding: 11px 0;
}

.gx-grid {
  display: grid;
  gap: 22px;
}

.gx-card {
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius);
  overflow: hidden;
  background: var(--gx-bg);
  display: flex;
  flex-direction: column;
}

.gx-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gx-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gx-card__tag {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gx-accent);
  margin-bottom: 8px;
}

.gx-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.gx-card h3 a {
  color: var(--gx-text);
  text-decoration: none;
}

.gx-card h3 a:hover {
  color: var(--gx-accent);
}

.gx-card p {
  color: var(--gx-muted);
  font-size: 16px;
  margin-bottom: 14px;
}

.gx-card__meta {
  margin-top: auto;
  font-size: 14px;
  color: var(--gx-muted);
  border-top: 1px solid var(--gx-line);
  padding-top: 12px;
}

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

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

  .gx-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gx-store {
    grid-template-columns: 1.6fr 1fr;
  }

  .gx-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .gx-cookie {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 430px;
  }

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

@media (min-width: 960px) {
  .gx-burger {
    display: none;
  }

  .gx-nav {
    display: block;
    padding: 0;
  }

  .gx-nav__list {
    flex-direction: row;
    gap: 26px;
  }

  .gx-nav__link {
    border-top: 0;
    padding: 0;
  }

  .gx-hero {
    padding: 56px 0;
  }

  .gx-hero h1 {
    font-size: 42px;
  }

  .gx-section {
    padding: 56px 0;
  }

  .gx-article,
  .gx-legal {
    margin: 0 auto;
  }

  .gx-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
