﻿:root {
  --paper: #ffffff;
  --ink: #1a1712;
  --shadow: rgba(26, 23, 18, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: var(--ink);
  background-color: #f4f1ec;
  position: relative;
}

.site-header,
.site-footer {
  padding: 1.25rem 6vw;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0.6rem 3vw;
  justify-content: flex-start;
  background-color: transparent;
}

.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  justify-content: center;
  padding: 0.75rem 4vw;
  background-color: transparent;
  border-top: none;
  box-shadow: none;
  animation: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.image-body {
  flex: 1;
  position: relative;
  background-image: url("https://m1.autoinsurance.now/cdn-cgi/image/format=auto/carnow1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-panel {
  position: absolute;
  top: 18%;
  left: 5vw;
  max-width: 480px;
  color: #ffffff;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  z-index: 1;
}

.hero-panel h1 {
  margin: 0;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.hero-panel .title-line {
  display: block;
}

.hero-panel p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 430px;
  font-weight: 500;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.waitlist-form {
  background: rgba(248, 248, 248, 0.96);
  color: #222222;
  padding: 1.1rem 1.3rem;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-family: inherit;
}

.form-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e1e1e;
}

.form-head p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a4a4a;
}

.waitlist-form .input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #eeeeee;
  border-radius: 999px;
  padding: 0.35rem 0.45rem;
}

.waitlist-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.45rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #2a2a2a;
  outline: none;
}

.waitlist-form button {
  border: none;
  background: #1b1e2a;
  color: #ffffff;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}

.waitlist-form button:active {
  transform: scale(0.98);
  filter: brightness(0.9);
}

.waitlist-form button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.waitlist-form button:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.form-note {
  font-size: 0.75rem;
  color: #4a4a4a;
}

.form-feedback {
  font-size: 0.78rem;
  color: #2a2a2a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.asset-buffer {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: #ffffff;
}

.footer-domain {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.footer-copy {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-disclaimer {
  max-width: 960px;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: none;
  color: inherit;
}

.footer-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.policy-page {
  background-color: #f6f4f0;
}

.policy-page .site-header {
  position: static;
  background-color: #ffffff;
  padding: 1rem 5vw;
  border-bottom: 1px solid rgba(26, 23, 18, 0.08);
}

.policy-page .logo-link {
  background-color: #0f1424;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.policy-page .site-footer {
  position: static;
  background-color: #ffffff;
  padding: 1rem 5vw;
  border-top: 1px solid rgba(26, 23, 18, 0.08);
  box-shadow: none;
}

.policy-page .footer-content,
.policy-page .footer-copy,
.policy-page .footer-link {
  color: #1a1712;
}

.policy-page .footer-copy {
  letter-spacing: 0.08em;
}

.policy-page .footer-links {
  display: block;
  margin-top: 0.35rem;
  white-space: nowrap;
}

.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 5vw 3rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #1a1712;
}

.policy-content h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

.policy-content h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
}

.policy-content p,
.policy-content li {
  font-size: 1rem;
  line-height: 1.6;
}

.policy-content ul {
  padding-left: 1.2rem;
  margin: 0.6rem 0 0;
}

@keyframes drop {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes rise {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 720px) {
  body:not(.policy-page) .site-footer {
    flex-direction: column;
    align-items: center;
    position: static;
    background-color: #000000;
    padding: 1rem 6vw 1.4rem;
  }

  body:not(.policy-page) .footer-links {
    display: block;
    margin-top: 0.45rem;
    white-space: nowrap;
  }

  body.policy-page .footer-copy {
    letter-spacing: 0.06em;
  }

  .brand-logo {
    height: 34px;
  }

  .site-header {
    padding: 0.5rem 4vw;
  }

  body:not(.policy-page) .footer-copy,
  body:not(.policy-page) .footer-disclaimer,
  body:not(.policy-page) .footer-link {
    color: #ffffff;
  }

  .image-body {
    background-image: url("https://m1.autoinsurance.now/cdn-cgi/image/format=auto/carnow2.png");
    background-size: cover;
    background-position: center;
  }

  .hero-panel {
    top: 9rem;
    left: 6vw;
    right: 6vw;
    max-width: none;
  }

  .waitlist-form {
    padding: 0.9rem 1rem;
  }

  .footer-content {
    align-items: center;
    text-align: center;
  }
}

