/* Investor relations page. Loaded after landing.css and leans on it for the
   canvas, buttons, inputs, stage-card paper scope, errors, and footer — this
   file only widens the column and adds the page's own sections. */

main {
  max-width: 42rem;
}

a.logo {
  text-decoration: none;
}

.hero-eyebrow {
  margin-bottom: 1.1rem;
}

.subtitle {
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

a.btn {
  text-decoration: none;
}

.hero-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.hero-link:hover,
.hero-link:focus-visible {
  color: var(--paper);
  border-bottom-color: currentColor;
}

/* ── Sections on the dark canvas ─────────────────────────────────────── */

.section {
  width: 100%;
  margin-top: 3.5rem;
  text-align: left;
}

.section-title,
.press h2 {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 1.1rem;
}

/* ── Why NoTip ───────────────────────────────────────────────────────── */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.4rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.why-card p + p {
  margin-top: 0.9rem;
}

.proof-line {
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-control);
  background: var(--accent-wash);
}

.why-card .proof-line {
  color: var(--accent-ink);
}

.proof-line a {
  color: inherit;
}

/* ── In the news ─────────────────────────────────────────────────────── */

.press {
  width: 100%;
  margin-top: 3.5rem;
  text-align: left;
}

/* Defensive: if the press list is ever emptied again (:empty ignores
   comments), the whole section drops out of the page instead of leaving a
   bare "In the news" heading. */
.press:has(.press-list:empty) {
  display: none;
}

.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.press-list li > a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  background: var(--card);
  text-decoration: none;
  transition:
    transform 150ms ease,
    border-color 150ms ease;
}

.press-list li > a:hover,
.press-list li > a:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line);
}

.press-list li > a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.press-list .press-outlet {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.press-list .press-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.4;
  margin: 0;
}

.press-list .press-date {
  font-size: 0.78rem;
  color: var(--faint);
  margin: 0;
}

.press-list .press-summary {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0.15rem 0 0;
}

/* ── Contact form ────────────────────────────────────────────────────── */

.optional-tag {
  font-weight: 400;
  color: var(--faint);
}

/* landing.css styles text and email inputs; the message box matches them. */
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-control);
  resize: vertical;
  min-height: 6.5rem;
}

textarea::placeholder {
  color: var(--ink-faint);
}

textarea:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--accent);
}

textarea[aria-invalid="true"] {
  border-color: var(--error-ink);
}

.contact-card .micro a {
  color: inherit;
}

.form-success[hidden] {
  display: none;
}

.form-success {
  margin: 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-control);
  background: var(--accent-wash);
  color: var(--accent-ink);
  font-weight: 600;
}

.form-success:focus,
.form-success:focus-visible {
  outline: none;
}

/* ── Responsive + motion ─────────────────────────────────────────────── */

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-list li > a {
    transition: none;
  }

  .press-list li > a:hover {
    transform: none;
  }
}
