/* TorrServer-доступ: shared stylesheet.
   Mobile-first, high-contrast, large base type for phones and TV browsers.
   No JavaScript anywhere on the site; every interactive element must work
   with keyboard/remote focus, not only with a mouse hover. */

:root {
  --bg: #0b0f14;
  --bg-raised: #131a22;
  --fg: #f2f5f7;
  --fg-muted: #b9c4cd;
  --accent: #f5a524;
  --accent-fg: #1a1305;
  --border: #26313c;
  --max-width: 46rem;
}

* {
  box-sizing: border-box;
}

html {
  /* 18px base, scales a little on wider viewports below. */
  font-size: 18px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2 {
  line-height: 1.25;
  color: var(--fg);
}

h1 {
  font-size: 1.9rem;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.4rem;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
}

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

a:focus,
button:focus {
  outline: 3px solid var(--fg);
  outline-offset: 3px;
}

/* --- header / footer -------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 3rem;
  margin-top: 2rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer a {
  color: var(--fg-muted);
  text-decoration: underline;
}

/* --- layout ------------------------------------------------------------ */

.hero {
  padding: 2.5rem 0 2rem;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 34rem;
}

.section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.result-page {
  padding: 3rem 0;
}

/* --- buttons ------------------------------------------------------------ */

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.5rem;
  border-radius: 0.6rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}

.btn-primary:active {
  background: #d98f0f;
}

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn-secondary:active {
  border-color: var(--fg);
}

/* --- steps / arguments -------------------------------------------------- */

.steps,
.arguments {
  margin: 0;
  padding-left: 1.4rem;
}

.steps li,
.arguments li {
  margin-bottom: 0.9rem;
}

/* --- pricing card -------------------------------------------------------- */

.price-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 1.5rem;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.params {
  color: var(--fg-muted);
  margin: 0 0 0.5rem;
}

.caption {
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin: 0 0 1.25rem;
}

/* --- FAQ / legal definition lists ---------------------------------------- */

dl dt {
  font-weight: 700;
  margin: 1.25rem 0 0.4rem;
}

dl dt:first-child {
  margin-top: 0;
}

dl dd {
  margin: 0 0 0.25rem;
  color: var(--fg-muted);
}

.legal h2 {
  margin-top: 2rem;
}

.legal h2:first-of-type {
  margin-top: 1.5rem;
}

.updated {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.contacts dt {
  font-weight: 700;
  margin-top: 1rem;
}

.contacts dt:first-child {
  margin-top: 0;
}

/* --- wider viewports (tablet, desktop, TV browsers) ---------------------- */

@media (min-width: 640px) {
  html {
    font-size: 20px;
  }

  h1 {
    font-size: 2.4rem;
  }

  .cta-group {
    flex-direction: row;
  }
}
