:root {
  --color-bg: #ffffff;
  --color-raise: #f4f5f6;
  --color-text: #17181c;
  --color-muted: #545c66;
  --color-accent: #1f5c8b;
  --color-accent-deep: #174767;
  --color-border: #dcdee1;
  --font-head: Georgia, "Times New Roman", Times, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mark: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1180px;
  --radius: 0px;
}

*, *::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: 17px;
  line-height: 1.7;
}

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

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

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

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

h1, h2, h3 { font-family: var(--font-head); margin: 0 0 16px; }

p { margin: 0 0 17px; }

ul, ol { margin: 0 0 19px; padding-left: 22px; }

li { margin-bottom: 10px; }

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

.tq-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #ffffff;
  padding: 10px 16px;
  z-index: 40;
}

.tq-skip:focus { left: 0; color: #ffffff; }

.tq-arrow { display: inline-block; font-weight: 600; text-decoration: none; }

.tq-arrow span { display: inline-block; transition: transform 140ms ease; }

.tq-arrow:hover { text-decoration: underline; }

.tq-arrow:hover span { transform: translateX(4px); }

.tq-table__scroll { overflow-x: auto; margin: 0 0 12px; }

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

caption {
  text-align: left;
  font-size: 0.94rem;
  color: var(--color-muted);
  padding-bottom: 13px;
}

th, td {
  text-align: left;
  padding: 13px 17px 13px 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

thead th {
  font-family: var(--font-mark);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
}

tbody th { font-weight: 600; padding-right: 20px; }

td.tq-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  padding-right: 17px;
}

.tq-source {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

.tq-mail__addr {
  font-family: var(--font-mark);
  font-size: clamp(1.05rem, 4.4vw, 1.6rem);
  display: inline-block;
  margin: 5px 0 14px;
  word-break: break-all;
}

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

.tq-prose { max-width: 70ch; }

.tq-prose h2 { margin-top: 40px; }

.tq-prose h3 { margin-top: 27px; }

.tq-updated {
  font-family: var(--font-mark);
  font-size: 0.83rem;
  color: var(--color-muted);
  margin-bottom: 29px;
}

.tq-app__meta { margin: 0 0 22px; }

.tq-app__meta dt {
  font-family: var(--font-mark);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.tq-app__meta dd { margin: 0; }

.tq-app__note { color: var(--color-muted); font-size: 0.92rem; margin: 15px 0 0; max-width: 64ch; }

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

.tq-app__head h3 { margin: 0; }

.tq-app__icon { display: block; flex: 0 0 auto; width: 56px; height: 56px; border-radius: var(--radius); }

.tq-shots { display: flex; gap: 12px; overflow-x: auto; margin: 0 0 10px; padding-bottom: 6px; }

.tq-shots img { display: block; flex: 0 0 186px; width: 186px; height: auto; border-radius: var(--radius); }

.tq-figure { margin: 22px 0 0; }

.tq-figure figcaption { font-size: 0.88rem; color: var(--color-muted); margin-top: 7px; }

.tq-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 15px 0;
}

.tq-bar__inner { display: flex; flex-direction: column; gap: 13px; }

.tq-bar p { margin: 0; font-size: 0.92rem; color: var(--color-muted); }

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

.tq-bar__btns .tq-btn { flex: 1 1 auto; padding: 12px 19px; }

.tq-404 { padding: 48px 0 90px; max-width: 58ch; }

.tq-foot__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.tq-foot h2 {
  font-family: var(--font-mark);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 11px;
}

.tq-foot ul { list-style: none; margin: 0; padding: 0; }

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

.tq-foot__legal { margin-top: 27px; font-size: 0.87rem; }

@media (min-width: 700px) {
  .tq-shots { overflow-x: visible; gap: 15px; }
  .tq-shots img { flex: 1 1 0; width: 100%; }
  .tq-bar__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .tq-bar__btns .tq-btn { flex: 0 0 auto; }
  .tq-foot__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
}

.tq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 26px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-accent);
  font: inherit;
  font-size: 0.86rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.tq-btn:hover { background: var(--color-accent); color: #ffffff; }

.tq-btn--solid { background: var(--color-accent); color: #ffffff; }

.tq-btn--solid:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); color: #ffffff; }

h1 { font-size: clamp(2rem, 5.6vw, 3rem); font-weight: 400; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); font-weight: 400; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 400; line-height: 1.3; }

.tq-head { border-bottom: 2px solid var(--color-text); padding: 24px 0 0; }

.tq-logo { display: inline-block; font-family: var(--font-head); font-size: 1.6rem; color: var(--color-text); text-decoration: none; }

.tq-logo:hover { color: var(--color-text); }

.tq-head__tag { font-family: var(--font-mark); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted); margin: 4px 0 0; }

.tq-nav ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }

.tq-nav li { margin: 0; }

.tq-nav a { display: inline-block; min-height: 44px; padding: 11px 0; font-size: 0.95rem; text-decoration: none; color: var(--color-text); }

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

.tq-hero { padding: 40px 0 30px; }

.tq-hero h1 { max-width: 17ch; }

.tq-hero__lead { font-size: 1.12rem; max-width: 64ch; margin-bottom: 18px; }

.tq-byline { font-family: var(--font-mark); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 26px; }

.tq-sec { padding: 36px 0; }

.tq-sec--break { border-top: 2px solid var(--color-text); padding-top: 42px; }

.tq-sec__intro { max-width: 62ch; color: var(--color-muted); font-size: 1.01rem; }

.tq-col { max-width: 68ch; }

.tq-col > *:last-child { margin-bottom: 0; }

.tq-note { border-left: 3px solid var(--color-accent); padding-left: 16px; color: var(--color-muted); font-size: 0.98rem; max-width: 60ch; }

.tq-qa h3 { margin-top: 28px; }

.tq-cards { display: grid; grid-template-columns: 1fr; gap: 22px; }

.tq-card { border-top: 1px solid var(--color-border); padding-top: 18px; min-width: 0; }

.tq-card__tag { font-family: var(--font-mark); font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--color-muted); display: block; margin-bottom: 8px; }

.tq-card p { color: var(--color-muted); }

.tq-feed { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }

.tq-feed li { border-bottom: 1px solid var(--color-border); padding: 18px 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }

.tq-feed b { font-family: var(--font-head); font-size: 1.12rem; font-weight: 400; }

.tq-feed p { margin: 0; color: var(--color-muted); max-width: 62ch; }

.tq-where { font-family: var(--font-mark); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); white-space: nowrap; }

.tq-steps { counter-reset: st; list-style: none; padding: 0; margin: 0 0 20px; max-width: 68ch; }

.tq-steps li { counter-increment: st; position: relative; padding-left: 48px; margin-bottom: 20px; }

.tq-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 3px; font-family: var(--font-mark); font-size: 0.82rem; color: var(--color-accent); }

.tq-steps b { display: block; font-family: var(--font-head); font-size: 1.08rem; }

.tq-mail { background: var(--color-raise); padding: 30px 22px; }

.tq-app { border-top: 2px solid var(--color-text); padding-top: 24px; }

.tq-app__meta > div { border-bottom: 1px solid var(--color-border); padding: 13px 0; display: grid; grid-template-columns: 1fr; gap: 2px 24px; }

.tq-foot { border-top: 2px solid var(--color-text); margin-top: 46px; padding: 34px 0 46px; font-size: 0.95rem; color: var(--color-muted); }

@media (min-width: 680px) {
  .tq-feed li { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 24px; }
  .tq-feed li > div { min-width: 0; }
  .tq-app__meta > div { grid-template-columns: 200px minmax(0, 1fr); }
  .tq-mail { padding: 36px 34px; }
  .tq-cards { grid-template-columns: 1fr 1fr; gap: 30px; }
}
