*,
*::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 {
  --tq-bg: #fbfbf9;
  --tq-panel: #eceee7;
  --tq-text: #1b1e19;
  --tq-muted: #5c6357;
  --tq-accent: #3f6b2f;
  --tq-accent-dark: #2f5122;
  --tq-line: #dcded4;
  --tq-font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --tq-wrap: 1080px;
  --tq-radius: 2px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.tq-list {
  border-top: 1px solid var(--tq-line);
}

.tq-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--tq-line);
}

.tq-row__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--tq-radius);
  border: 1px solid var(--tq-line);
}

.tq-row__tag {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tq-accent);
  margin-bottom: 6px;
}

.tq-row h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.tq-row h3 a {
  color: var(--tq-text);
  text-decoration: none;
}

.tq-row h3 a:hover {
  color: var(--tq-accent);
}

.tq-row p {
  color: var(--tq-muted);
  font-size: 16px;
  margin-bottom: 8px;
}

.tq-row__meta {
  font-size: 14px;
  color: var(--tq-muted);
}

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

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

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

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

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

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

  .tq-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 22px;
  }

  .tq-row__thumb {
    width: 260px;
    flex: none;
  }
}

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

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

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

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

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

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

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

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