:root {
  --color-bg: #fdfdfc;
  --color-raise: #f4f3f0;
  --color-text: #18181b;
  --color-muted: #62605c;
  --color-accent: #854d0e;
  --color-accent-deep: #653a0b;
  --color-border: #e5e3de;
  --font-head: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-body: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-mark: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1080px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-accent-deep); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; margin: 0 0 .55em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.1rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: .5em; }
li::marker { color: var(--color-accent); }

.tx-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.tx-slug { font-family: var(--font-mark); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 1em; }
.tx-skip { position: absolute; left: -9999px; }
.tx-skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 60; }

.tx-head { border-bottom: 3px double var(--color-border); padding: 22px 0 16px; }
.tx-head__logo { display: inline-block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--color-text); text-decoration: none; }
.tx-head__logo span { color: var(--color-accent); }
.tx-nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; }
.tx-nav a { font-family: var(--font-mark); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); text-decoration: none; }
.tx-nav a:hover { color: var(--color-accent); }

.tx-hero { padding: 52px 0 44px; border-bottom: 1px solid var(--color-border); }
.tx-hero__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.tx-hero h1 { margin-bottom: .35em; }
.tx-hero__lede { font-size: 1.12rem; max-width: 56ch; }
.tx-facts { margin: 0; border-top: 3px double var(--color-border); padding-top: 18px; }
.tx-facts dt { font-family: var(--font-mark); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.tx-facts dd { margin: .25em 0 1.1em; font-size: 1rem; }
.tx-facts dd:last-child { margin-bottom: 0; }

.tx-btn {
  display: inline-block; padding: 12px 24px; background: var(--color-accent);
  border: 1px solid var(--color-accent); border-radius: var(--radius); color: #fff;
  text-decoration: none; font-family: var(--font-mark); font-size: .88rem; cursor: pointer;
}
.tx-btn:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); color: #fff; }
.tx-btn--plain { background: transparent; color: var(--color-accent); }
.tx-btn--plain:hover { background: transparent; color: var(--color-accent-deep); }

.tx-section { padding: 48px 0; border-bottom: 1px solid var(--color-border); }
.tx-section__head { max-width: 62ch; margin-bottom: 26px; }
.tx-section__head p { margin: 0; color: var(--color-muted); font-size: .98rem; }

.tx-feed { list-style: none; margin: 0; padding: 0; }
.tx-feed > li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--color-border); }
.tx-feed > li:last-child { border-bottom: 1px solid var(--color-border); }
.tx-feed__no { font-family: var(--font-mark); font-size: .9rem; letter-spacing: .06em; color: var(--color-accent); padding-top: 4px; }
.tx-feed h3 { margin-bottom: .3em; }
.tx-feed p { margin: 0 0 .8em; font-size: .98rem; }
.tx-links { display: flex; gap: 6px 14px; flex-wrap: wrap; font-family: var(--font-mark); font-size: .84rem; }
.tx-links span { color: var(--color-border); }

.tx-note { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; background: var(--color-raise); border-radius: var(--radius); padding: 30px; }
.tx-note h3 { margin-bottom: .3em; }
.tx-note p { margin: 0; font-size: .97rem; }

.tx-tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--color-border); vertical-align: top; font-size: .94rem; }
th { font-family: var(--font-mark); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; }
td:first-child { font-weight: 700; }

.tx-faq__item { border-bottom: 1px solid var(--color-border); padding: 18px 0; }
.tx-faq__item:first-child { border-top: 1px solid var(--color-border); }
.tx-faq__item h3 { margin-bottom: .25em; }
.tx-faq__item p { margin: 0; color: var(--color-muted); font-size: .97rem; }

.tx-promo__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.tx-price { font-family: var(--font-head); font-size: 1.65rem; font-weight: 700; margin: 0 0 .3em; }
.tx-specs { margin: 0 0 1.1em; }
.tx-specs dt { font-family: var(--font-mark); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.tx-specs dd { margin: .2em 0 .9em; font-size: .96rem; }
.tx-fine { font-size: .88rem; color: var(--color-muted); }

.tx-form { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 26px; background: #fff; }
.tx-form label { display: block; font-family: var(--font-mark); font-size: .78rem; color: var(--color-muted); margin-bottom: 6px; }
.tx-form input, .tx-form textarea {
  width: 100%; padding: 12px 13px; margin-bottom: 16px; border: 1px solid var(--color-border);
  border-radius: var(--radius); font-family: var(--font-mark); font-size: .95rem; background: #fff; color: var(--color-text);
}
.tx-form textarea { min-height: 106px; resize: vertical; }
.tx-form__hp { position: absolute; left: -9999px; }
.tx-form__legal { font-size: .86rem; color: var(--color-muted); margin: 12px 0 0; }

.tx-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 0; }
.tx-contact dt { font-family: var(--font-mark); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.tx-contact dd { margin: .2em 0 1em; }

.tx-article { padding: 46px 0 24px; }
.tx-article__head { max-width: 64ch; margin-bottom: 28px; }
.tx-article__body { max-width: 66ch; }
.tx-article__body > p:first-of-type::first-letter {
  float: left; font-family: var(--font-head); font-size: 3.2rem; line-height: .82;
  padding: .08em .12em 0 0; color: var(--color-accent);
}
.tx-article__body h2 { margin-top: 1.75em; }
.tx-article__body img { border-radius: var(--radius); border: 1px solid var(--color-border); }
.tx-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }

.tx-legal { padding: 46px 0; max-width: 70ch; }
.tx-legal h2 { margin-top: 1.8em; font-size: 1.2rem; }

.tx-foot { border-top: 3px double var(--color-border); padding: 34px 0 42px; }
.tx-foot__mail { font-family: var(--font-head); font-size: clamp(1.2rem, 3.4vw, 1.9rem); margin: 0 0 28px; }
.tx-foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tx-foot h4 { font-family: var(--font-mark); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 12px; }
.tx-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.tx-foot li { margin: 0; }
.tx-foot__bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--color-border); font-family: var(--font-mark); font-size: .8rem; color: var(--color-muted); }

.tx-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--color-border); padding: 16px 0; }
.tx-cookie[hidden] { display: none; }
.tx-cookie__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.tx-cookie p { margin: 0; font-size: .9rem; max-width: 60ch; }
.tx-cookie__btns { display: flex; gap: 10px; }

.tx-404 { padding: 96px 0; }

@media (max-width: 900px) {
  .tx-hero__grid, .tx-note, .tx-promo__grid, .tx-contact { grid-template-columns: minmax(0, 1fr); }
  .tx-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .tx-nav { justify-content: flex-start; }
  .tx-foot__cols { grid-template-columns: minmax(0, 1fr); }
  .tx-duo { grid-template-columns: minmax(0, 1fr); }
  .tx-note, .tx-form { padding: 18px; }
}

.tx-register { margin: 0; }
.tx-register dt { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; padding-top: 20px; border-top: 3px double var(--color-border); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tx-register dt i { font-style: normal; font-family: var(--font-mark); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); }
.tx-register dd { margin: .4em 0 22px; font-size: .98rem; }
