:root {
  --red: #b4012a;
  --charcoal: #1f2328;
  --bg: #0f1114;
  --text: #f2f4f7;
  --muted: #b7c0cc;
  --card: #14181d;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), #0b0c0e 70%);
}

a {
  color: inherit;
}
.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 20, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__name {
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand__tag {
  color: var(--muted);
  font-size: 13px;
}
.topbar__cta {
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}
.topbar__cta:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.hero {
  padding: 54px 0 28px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.eyebrow {
  display: inline-block;
  color: var(--muted);
  border-left: 3px solid var(--red);
  padding-left: 10px;
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.2px;
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.08;
}

h2 a,
u {
  text-decoration: none;
}

.subhead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}
.bullets li {
  margin: 8px 0;
  color: var(--muted);
}

.card {
  background: linear-gradient(180deg, var(--card), #0f1216);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.card h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.card__hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

label {
  display: block;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}
input {
  margin-top: 6px;
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}
input:focus {
  border-color: rgba(180, 1, 42, 0.75);
  box-shadow: 0 0 0 4px rgba(180, 1, 42, 0.18);
}

.contact-pref {
  margin: 14px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
}
.contact-pref legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 12px;
}
.radio {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  color: var(--text);
  font-size: 14px;
}
.radio input {
  width: auto;
  margin: 0;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
}
.checkbox input {
  width: auto;
  margin-top: 2px;
}

.btn {
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--red), #8f0122);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.btn:hover {
  filter: brightness(1.03);
}
.form-status {
  margin: 10px 0 0;
  color: var(--muted);
  min-height: 18px;
  font-size: 12.5px;
}

.trust {
  padding: 10px 0 44px;
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .trust__inner {
    grid-template-columns: 1fr;
  }
}
.trust__box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.trust__box h3 {
  margin: 0 0 6px;
  font-size: 14px;
}
.trust__box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  padding: 22px 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  align-items: center;
}
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  font-weight: 900;
}
.footer__small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  align-items: center;
}
.footer__links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer__links a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.32);
}

.footer__links .divider {
  opacity: 0.4;
  pointer-events: none;
}

/* Social icons */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s ease;
  border-bottom: none !important;
}
.social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--text);
}
.social-link:hover {
  background: var(--red);
  border-color: var(--red);
}

.kw-logo {
  width: min(320px, 100%);
  height: auto;
  display: block;
  margin-left: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Extra spacing between stacked fieldsets */
.contact-pref + .contact-pref {
  margin-top: 12px;
}

/* Header action buttons */
.topbar__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.topbar__btn {
  text-decoration: none;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.topbar__btn:hover {
  border-color: rgba(255, 255, 255, 0.28);
}
@media (max-width: 520px) {
  .topbar__actions {
    gap: 8px;
  }
  .topbar__btn {
    padding: 10px 10px;
  }
}

/* Responsive refinements */
@media (max-width: 1024px) {
  .hero {
    padding: 44px 0 22px;
  }
}

@media (max-width: 900px) {
  .topbar__inner {
    flex-wrap: wrap;
    gap: 10px;
  }
  .topbar__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .hero {
    padding: 38px 0 18px;
  }
  .card {
    padding: 16px;
  }
  .footer__right {
    display: flex;
    justify-content: flex-start;
  }
  .kw-logo {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(1120px, 94%);
  }
  .topbar__btn {
    padding: 10px 12px;
  }
  h1 {
    font-size: clamp(26px, 7vw, 36px);
  }
  .subhead {
    font-size: 15px;
  }
  .footer__links {
    gap: 10px 12px;
  }
  .trust {
    padding: 10px 0 34px;
  }
}

@media (max-width: 420px) {
  .topbar__btn {
    width: 100%;
    text-align: center;
  }
  .topbar__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .footer__grid {
    gap: 14px;
  }
  .kw-logo {
    width: 100%;
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 1000;
}

/* Brand phone text */
.brand__row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand__phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 600px) {
  .brand__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
