/* GracePoint Group, LLC - final expense landing page */

:root {
  --navy: #14284b;
  --navy-deep: #0d1b35;
  --navy-soft: #2c4470;
  --gold: #e3ad45;
  --gold-deep: #8a5d0f;
  --cream: #faf7f1;
  --sand: #f1eadc;
  --white: #ffffff;
  --ink: #1c2434;
  --muted: #4a5568;
  --line: #d9d0bf;
  --error: #a4231a;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5.2vw, 3.1rem);
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy-soft);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-deep);
}

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  z-index: 10;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* Header */

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.brand svg {
  width: 44px;
  height: 44px;
  flex: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  display: block;
}

.brand-tag {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.call {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.2;
}

.call-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.call-number {
  font-size: 1.35rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Hero */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 44px 0 56px;
}

.hero .wrap {
  display: grid;
  gap: 36px;
}

.hero h1 {
  color: var(--white);
}

.hero .lede {
  font-size: 1.25rem;
  color: #e4e9f3;
  max-width: 34em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.ticks li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  color: #eef1f7;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.38em;
  width: 9px;
  height: 16px;
  border: solid var(--gold);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Form card */

.card {
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 26px 22px 24px;
  box-shadow: 0 18px 40px rgba(5, 12, 28, 0.35);
  border-top: 6px solid var(--gold);
}

.card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.25em;
}

.card-sub {
  color: var(--muted);
  margin-bottom: 18px;
}

.field {
  margin-bottom: 16px;
}

.row {
  display: grid;
  gap: 0 14px;
}

label,
legend {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 1.05rem;
  padding: 0;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

input,
select {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1.125rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid #8b93a3;
  border-radius: var(--radius);
}

input:focus,
select:focus {
  border-color: var(--navy);
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--error);
  background: #fdf3f2;
}

.dob {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 10px;
}

.dob label {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.hint {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 6px 0 0;
}

.error {
  color: var(--error);
  font-size: 1rem;
  font-weight: 700;
  margin: 6px 0 0;
}

.error:empty {
  display: none;
}

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

.consent {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 4px 0 16px;
}

.btn {
  display: inline-block;
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: var(--navy-deep);
  background: var(--gold);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 3px 0 #b07f1f;
}

.btn:hover {
  background: #edbb5a;
  color: var(--navy-deep);
}

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.form-status {
  margin: 14px 0 0;
  font-weight: 700;
  color: var(--error);
}

.form-status:empty {
  display: none;
}

.secure {
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
  margin: 14px 0 0;
}

/* Sections */

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--sand);
}

.section-head {
  max-width: 44em;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
}

.split {
  display: grid;
  gap: 28px;
}

.note {
  background: var(--white);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 22px 8px;
}

.grid {
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 10px;
}

.tile svg {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}

.tile p {
  color: var(--muted);
}

.steps {
  counter-reset: step;
}

.steps .tile {
  counter-increment: step;
  position: relative;
  padding-top: 70px;
}

.steps .tile::before {
  content: counter(step);
  position: absolute;
  top: 20px;
  left: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 40px;
  text-align: center;
}

.states {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.states li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  color: var(--navy);
}

/* FAQ */

.faq {
  max-width: 50em;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  padding: 0 20px 6px;
  color: var(--muted);
}

/* Closing call to action */

.cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  color: #e4e9f3;
  max-width: 36em;
  margin: 0 auto 26px;
}

.cta-actions {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: #cfd6e4;
  padding: 44px 0 36px;
  font-size: 1rem;
}

.site-footer a {
  color: var(--white);
}

.footer-top {
  display: grid;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid #2b3b5c;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

.site-footer address {
  font-style: normal;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.disclosures {
  font-size: 0.9rem;
  line-height: 1.6;
  padding-top: 24px;
  color: #b9c2d4;
}

/* Text pages (privacy, terms, thank you) */

.page {
  padding: 48px 0 64px;
}

.page .wrap {
  max-width: 800px;
}

.page h2 {
  font-size: 1.45rem;
  margin-top: 1.6em;
}

.page li {
  margin-bottom: 0.4em;
}

.updated {
  color: var(--muted);
}

.thanks {
  text-align: center;
  padding: 72px 0 88px;
}

.thanks svg {
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
}

.thanks p {
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}

.thanks .btn {
  width: auto;
  min-width: 280px;
  margin-top: 12px;
}

/* Wider screens */

@media (min-width: 560px) {
  .row {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 32px 30px 28px;
  }

  .cta-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 64px 0 76px;
  }

  .hero .wrap {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 56px;
  }

  .hero-copy {
    padding-top: 22px;
  }

  .split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 48px;
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .section {
    padding: 76px 0;
  }
}

@media (max-width: 420px) {
  .brand-tag,
  .call-label {
    display: none;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .call-number {
    font-size: 1.1rem;
  }

  .brand svg {
    width: 36px;
    height: 36px;
  }
}

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