/* =========================================================
   Info / Company pages — shared styles
   Used by:
     - careers.html
     - contact.html
     - privacy.html
     - terms.html
     - medical-disclaimer.html
   Depends on styles.css being loaded first.
   These pages all use body class .page-faq so they inherit the
   existing dark-brown-on-cream header rules from faq.css; no
   header overrides are duplicated here.
   ========================================================= */


/* ---------- Page intro (cream banner) ---------- */
.info-intro {
  padding-top: clamp(120px, 16vw, 200px);  /* clears the fixed header */
  padding-bottom: clamp(40px, 5vw, 56px);
  background: var(--color-cream);
  color: var(--color-navy);
  text-align: center;
}
.info-intro__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
  color: rgba(29, 40, 54, 0.65);
  margin-bottom: 18px;
}
.info-intro__heading {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.15;
  margin-bottom: 18px;
}
.info-intro__lede {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(29, 40, 54, 0.78);
}
.info-intro__meta {
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-green);
}


/* ---------- Main content body (legal & long-text pages) ---------- */
.info-body {
  background: var(--color-cream);
  padding-block: clamp(40px, 6vw, 80px);
}
.info-body__inner {
  /* Widened from 760px so these pages match the visual scale
     of the rest of the site sections on desktop. Mobile is
     handled by the parent .container's responsive padding
     (clamp 20-64px), so this px max-width never overflows. */
  max-width: 1040px;
  margin: 0 auto;
}

/* Long-text content variant (legal pages). Keeps the visual
   frame wide (matching .info-body__inner) but caps each
   paragraph and list at a comfortable ~72ch measure so body
   text stays readable. Section headings and quote blocks span
   the full frame to set the wider feel. */
.info-body--legal .info-section > p,
.info-body--legal .info-section > ul,
.info-body--legal .info-section > h3 + p,
.info-body--legal .info-quote,
.info-body--legal .info-draft-note {
  max-width: 72ch;
}

/* Section headings inside body */
.info-section + .info-section {
  margin-top: clamp(36px, 4vw, 52px);
}
.info-section__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--color-navy);
  margin: 0 0 14px;
}
.info-section__subheading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-green);
  margin: 22px 0 8px;
}
.info-section p,
.info-section li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: rgba(29, 40, 54, 0.85);
}
.info-section p + p {
  margin-top: 1em;
}
.info-section ul {
  margin: 0.6em 0 0;
  padding-left: 0;
}
.info-section li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.55em;
}
/* Hairline bullet — quieter than a filled disc */
.info-section li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: rgba(29, 40, 54, 0.45);
}
.info-section a {
  color: var(--color-navy);
  border-bottom: 1px solid rgba(29, 40, 54, 0.35);
  transition: border-color 0.2s ease;
}
.info-section a:hover {
  border-color: var(--color-navy);
}
.info-section strong {
  font-weight: 600;
  color: var(--color-navy);
}

/* Quoted regulatory / disclaimer block */
.info-quote {
  margin: 1.1em 0 0;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.55);
  border-left: 2px solid var(--color-green);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(29, 40, 54, 0.85);
}

/* Draft note — appears at bottom of legal pages */
.info-draft-note {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: clamp(28px, 3.5vw, 36px);
  border-top: 1px solid rgba(29, 40, 54, 0.14);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(29, 40, 54, 0.6);
  font-style: italic;
  text-align: center;
}


/* ---------- Contact info card (careers, contact pages) ---------- */
.contact-block {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(29, 40, 54, 0.14);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
}
.contact-block + .contact-block {
  margin-top: 20px;
}
.contact-block__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-green);
  margin: 0 0 14px;
}
.contact-block__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-block__list li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-navy);
}
.contact-block__list .label {
  display: inline-block;
  min-width: 110px;
  font-weight: 500;
  color: rgba(29, 40, 54, 0.62);
}
.contact-block__list a {
  color: var(--color-navy);
  border-bottom: 1px solid rgba(29, 40, 54, 0.3);
  transition: border-color 0.2s ease;
}
.contact-block__list a:hover {
  border-color: var(--color-navy);
}


/* ---------- Inquiry form ---------- */
.info-form {
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(29, 40, 54, 0.14);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
}
.info-form__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--color-navy);
  margin: 0 0 4px;
}
.info-form__lede {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(29, 40, 54, 0.78);
  margin: 0 0 8px;
}
.info-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Field — light-on-cream variant; the consultation page's .field
   has a glass surface tuned for an amber backdrop, so we re-define
   ours instead of inheriting. */
.info-form .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.info-form .field label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(29, 40, 54, 0.72);
}
.info-form .field input,
.info-form .field select,
.info-form .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 40, 54, 0.18);
  border-radius: 10px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.info-form .field input::placeholder,
.info-form .field textarea::placeholder {
  color: rgba(29, 40, 54, 0.45);
}
.info-form .field input:focus,
.info-form .field select:focus,
.info-form .field textarea:focus {
  border-color: rgba(29, 40, 54, 0.55);
  background: rgba(255, 255, 255, 0.92);
}
.info-form .field textarea {
  resize: vertical;
  min-height: 96px;
}

.info-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}
.info-form__actions .btn--primary {
  padding: 12px 22px;
}
.info-form__mailto {
  font-size: 13px;
  color: rgba(29, 40, 54, 0.65);
}
.info-form__mailto a {
  color: var(--color-navy);
  border-bottom: 1px solid rgba(29, 40, 54, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}
.info-form__mailto a:hover {
  border-color: var(--color-navy);
}
.info-form__reassure {
  font-size: 12px;
  color: rgba(29, 40, 54, 0.55);
  margin: 0;
}


/* ---------- Two-column layout (contact page) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}


/* ---------- BUTTON SAFETY OVERRIDES ----------
   The .info-section a / .contact-block__list a / .info-grid a
   selectors above style anchors as text links (navy color +
   hairline underline). That correctly handles inline links
   inside body copy, but it also wins against the global
   .btn--primary { color: white } rule via higher specificity
   when a button is rendered as an <a> inside one of those
   containers. The result was the Careers CTA reading as a
   dark-navy text link on the green button background — hard
   to read. These rules restore the intended button styling. */
a.btn,
.info-section a.btn,
.info-grid a.btn,
.contact-block a.btn {
  border-bottom: 0;
}
a.btn--primary,
.info-section a.btn--primary,
.info-grid a.btn--primary,
.contact-block a.btn--primary {
  color: var(--color-white);
}
a.btn--primary:hover,
.info-section a.btn--primary:hover,
.info-grid a.btn--primary:hover,
.contact-block a.btn--primary:hover {
  color: var(--color-white);
  border-bottom: 0;
}


/* ---------- Form submit button (now a real <button>) ----------
   Earlier versions of these pages used <a href="mailto:...">
   for the submit. We now use a <button type="submit"> handled
   by info-form.js (opens a pre-filled mailto). Match the .btn
   spacing so it visually matches what was there. */
.info-form button.btn--primary {
  padding: 12px 22px;
  cursor: pointer;
  border: 0;
  font-family: var(--font-body);
  font-size: inherit;
}


/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .info-form__row {
    grid-template-columns: 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .contact-block__list .label {
    display: block;
    min-width: 0;
    margin-bottom: 2px;
  }
}
