/*
 * Ask About Medicare coming soon page. Colors and font follow design
 * Option B "Calm Assurance" (same tokens as packages/ui/src/theme.css in the
 * main project). Contrast, measured: Teal Dark on white 11.6:1, Deep Teal on
 * white 7.5:1, secondary text on white 8.9:1 and on ivory 7.8:1, ink on sand 9.3:1.
 */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("fonts/figtree-latin.woff2") format("woff2");
}

:root {
  --teal-dark: #0a3f44;
  --teal: #0e5e63;
  --sand: #f0c38e;
  --ink: #16292c;
  --slate: #3b4d50;
  --hairline: #dce3e2;
  --ivory: #f4f0e8;
  --white: #ffffff;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.page {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 16px 32px;
}

/* "Leaf" corners (top-left and bottom-right rounded), as on the main site. */
.card {
  width: 100%;
  max-width: 40rem;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 32px 6px 32px 6px;
  box-shadow: 0 12px 32px rgba(10, 63, 68, 0.08);
}

.logo {
  display: block;
  width: auto;
  height: 64px;
}

.badge {
  display: inline-block;
  margin: 40px 0 0;
  padding: 6px 16px;
  background: var(--sand);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}

h1 {
  margin: 16px 0 0;
  color: var(--teal-dark);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h1-spaced {
  margin-top: 40px;
}

.lead {
  margin: 16px 0 0;
  color: var(--slate);
  font-size: 1.25rem;
  text-wrap: pretty;
}

.company-info {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.company-info h2 {
  margin: 0;
  color: var(--slate);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

address {
  margin-top: 12px;
  font-style: normal;
}

address p {
  margin: 0;
}

.company-name {
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 700;
}

.contact {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.contact li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 12px;
}

.contact .label {
  min-width: 3.5rem;
  color: var(--slate);
}

a {
  color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-dark);
}

a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 44px tap targets for the phone and email links. */
.contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}

.footer {
  padding: 0 16px 40px;
  color: var(--slate);
  font-size: 1rem;
  text-align: center;
}

.footer p {
  max-width: 40rem;
  margin: 4px auto 0;
  text-wrap: pretty;
}

@media (min-width: 40em) {
  .card {
    padding: 56px;
  }

  .logo {
    height: 48px;
  }
}
