@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #15141c;
  --card: #1e1c27;
  --line: #322f3d;
  --red: #e02424;
  --red-dark: #c81e1e;
  --text: #ffffff;
  --muted: #9ca3af;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

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

:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  background: var(--red);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

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

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

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 2.9rem;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #6b7280;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

nav a:hover {
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}

main {
  padding-block: 2.5rem 4.25rem;
}

main:focus {
  outline: none;
}

section {
  scroll-margin-top: 1.25rem;
}

section + section {
  margin-top: 4rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.tagline,
.rate {
  font-family: var(--display);
  font-weight: 700;
}

.hero-mark {
  width: min(15rem, 72%);
  height: auto;
}

.tagline {
  margin-top: 1.15rem;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.rule {
  width: 3.5rem;
  height: 3px;
  margin-top: 0.9rem;
  background: var(--red);
}

h1 {
  max-width: 14em;
  margin-top: 0.9rem;
  font-size: clamp(2.05rem, 1.15rem + 4.4vw, 4.35rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.sub {
  max-width: 38rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0.7rem 1.05rem;
  border: 2px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

button.button {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
}

.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #ffffff;
}

.button-secondary {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.button-secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--bg);
}

.trust {
  max-width: 38rem;
  margin-top: 1.15rem;
  color: var(--muted);
}

h2 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

h2::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 3px;
  margin-bottom: 0.7rem;
  background: var(--red);
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.card {
  padding: 1.2rem 1.15rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}

.card h3 {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.rate {
  margin-top: 0.7rem;
  font-size: 2rem;
  line-height: 1;
}

.rate .unit,
.card .detail {
  color: var(--muted);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
}

.card .detail {
  margin-top: 0.75rem;
}

.card p:last-child {
  margin-top: 0.75rem;
  color: var(--muted);
}

.about p,
.contact > p {
  max-width: 40rem;
  margin-top: 0.9rem;
}

.about p {
  color: var(--text);
}

main a,
.cta a,
.support-line a,
.site-footer a,
.place a {
  color: var(--text);
  font-weight: 700;
  text-underline-offset: 0.16em;
}

.support-line {
  color: var(--muted);
}

.support-line a {
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem 2.25rem;
  color: var(--muted);
}

.site-footer p + p {
  margin-top: 0.4rem;
}

.site-footer a {
  overflow-wrap: anywhere;
}

::selection {
  background: var(--red);
  color: #ffffff;
}

@media (max-width: 36rem) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 48rem) {
  .wrap {
    width: min(100% - 4rem, 68rem);
  }

  .hero-mark {
    width: 17.5rem;
  }

  main {
    padding-block: 3.75rem 5rem;
  }
}

@media (min-width: 60rem) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.narrow {
  max-width: 40rem;
}

.more {
  margin-top: 1.15rem;
}

.doc {
  max-width: 42rem;
}

.doc h1 {
  max-width: none;
}

.doc h2 {
  margin-top: 2.25rem;
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 1.85rem);
}

.doc p,
.doc li {
  max-width: none;
}

.doc p {
  margin-top: 0.9rem;
}

.doc ul,
.doc ol {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.doc li + li {
  margin-top: 0.65rem;
}

.doc hr {
  margin: 2rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.doc blockquote {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--red);
  background: var(--card);
}

.doc blockquote p {
  margin-top: 0.75rem;
}

.doc blockquote p:first-child {
  margin-top: 0;
}

.doc .trademark {
  margin-top: 2.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

.doc a {
  overflow-wrap: anywhere;
}

.quote-form {
  margin-top: 1.35rem;
}

.field {
  margin-top: 1.15rem;
}

.field label,
.checks legend {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.req {
  font-weight: 600;
  color: var(--muted);
}

.hint {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.75rem;
  border: 1px solid #4b4760;
  border-radius: 4px;
  background: var(--card);
  color: var(--text);
  font: inherit;
}

.quote-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.quote-form input[aria-invalid="true"],
.quote-form select[aria-invalid="true"],
.quote-form textarea[aria-invalid="true"] {
  border-color: var(--red);
}

.field-error {
  margin-top: 0.4rem;
  color: #ffd5d5;
  font-size: 0.98rem;
}

.error-summary {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--red);
  border-radius: 4px;
}

.error-summary ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.error-summary a {
  color: #ffd5d5;
}

.checks {
  margin: 1.15rem 0 0;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.check-list {
  display: grid;
  gap: 0.15rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  font-weight: 600;
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  accent-color: var(--red);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot {
  margin-top: 1.15rem;
}

.quote-form .button {
  margin-top: 1.25rem;
}

@media (forced-colors: active) {
  .button,
  .card {
    border: 2px solid ButtonText;
  }

  .rule,
  h2::before {
    background: ButtonText;
  }
}
