@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 {
  background: #15141c;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

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

body {
  margin: 0;
  background: #15141c;
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-x: clip;
}

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 {
  background: #15141c;
  border-bottom: 2px solid #e02424;
}

.header-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand call"
    "nav nav";
  align-items: center;
  gap: 0.35rem 1rem;
  padding-block: 0.85rem;
}

.header-bar .brand {
  grid-area: brand;
}

.header-bar .header-call {
  grid-area: call;
  justify-self: end;
}

.header-bar nav {
  grid-area: nav;
}

.header-call {
  min-height: 40px;
  padding: 0.35rem 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  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: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

nav a:hover,
nav a:focus,
nav a:focus-visible {
  color: #e02424;
  text-decoration-color: #e02424;
  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 {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -4rem -50vw;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 75% 35%, rgba(224, 36, 36, 0.14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 40px 40px;
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
  mask-image: linear-gradient(#000 60%, transparent);
}

.hero-mark {
  order: -1;
  width: min(8.75rem, 46%);
  height: auto;
  margin-bottom: 0.35rem;
}

.tagline {
  margin-top: 0.35rem;
  color: #e02424;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.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;
}

.hero h1 {
  max-width: none;
  font-size: clamp(1.7rem, 4.6vw, 2.85rem);
  line-height: 1.05;
}

.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);
}

.header-call,
.header-call:hover,
.header-call:focus-visible {
  background: #e02424;
  border-color: #e02424;
  color: #ffffff;
}

.header-call:hover {
  background: #c81e1e;
  border-color: #c81e1e;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  max-width: 44rem;
  margin-top: 1.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust span {
  white-space: nowrap;
}

.trust span + span::before {
  content: "·";
  display: inline-block;
  width: 1.25rem;
  margin-left: -1.25rem;
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 48px;
  color: var(--text);
  font-weight: 700;
  text-underline-offset: 0.16em;
}

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:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 46%),
    #1e1c27;
  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-layout {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-top: 0.35rem;
}

.portrait {
  display: grid;
  flex: 0 0 4.5rem;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #1e1c27;
  color: var(--red);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.about-copy {
  min-width: 0;
}

.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;
  }

  .actions .text-link {
    align-self: flex-start;
  }
}

@media (min-width: 48rem) {
  .header-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav call";
    column-gap: 1.25rem;
  }

  .header-bar nav {
    justify-self: end;
  }

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

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

@media (min-width: 60rem) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    column-gap: 2.5rem;
  }

  .hero-mark {
    order: 0;
    width: 100%;
    max-width: 26rem;
    justify-self: end;
    margin: 0;
  }

  .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;
  }
}
