:root {
  --bg: #0a0a0a;
  --panel: #151515;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f4f4;
  --muted: rgba(244, 244, 244, 0.68);
  --red: #e50539;
  --red-hot: #ff2d55;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 42rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(70% 50% at 50% -10%, rgba(229, 5, 57, 0.18), transparent 55%),
    linear-gradient(180deg, #101010 0%, var(--bg) 40%, #050505 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a {
  color: var(--red-hot);
}

a:hover {
  color: #fff;
}

.wrap {
  width: min(100% - 2rem, 52rem);
  margin-inline: auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-link img {
  width: min(42vw, 180px);
  height: auto;
}

.langs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.langs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 650;
  background: rgba(18, 18, 18, 0.65);
}

.langs a[aria-current="page"] {
  color: #fff;
  border-color: rgba(229, 5, 57, 0.55);
  background: rgba(229, 5, 57, 0.16);
}

.hero {
  padding: 1.5rem 0 1.25rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 4.2vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  min-width: min(100%, 14rem);
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ff2d55 0%, #e50539 100%);
  box-shadow: 0 12px 28px rgba(229, 5, 57, 0.35);
}

.cta:hover {
  filter: brightness(1.05);
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

main {
  padding-bottom: 3rem;
}

section {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(21, 21, 21, 0.72);
}

section h2 {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

section p,
section li {
  color: rgba(244, 244, 244, 0.86);
}

section p:last-child,
section ol:last-child,
section ul:last-child {
  margin-bottom: 0;
}

ol,
ul {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.2rem;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  text-align: left;
}

th {
  background: rgba(255, 255, 255, 0.04);
}

.calc {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.calc label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.calc input {
  width: min(100%, 12rem);
  min-height: 2.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0f0f0f;
  color: var(--text);
  font: inherit;
}

.calc-out {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.cta-mid {
  margin-top: 1rem;
}

.trust {
  font-size: 0.88rem;
}

.trust h2 {
  font-size: 1.05rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
