/* Contact page. Loaded after home.css. New rules use the ct- prefix. */

.nav-links a[aria-current="page"],
.footer-links a[aria-current="page"] {
  color: var(--text);
}

/* Hero. Stays dark via .theme-dark, like the pricing hero, without a card. */

.ct-hero {
  background: var(--bg);
}

.ct-hero .hero-inner {
  padding: 170px 24px 88px;
}

.ct-hero .hero-copy {
  flex: 1 1 100%;
  max-width: 820px;
}

.ct-hero .hero-lead {
  max-width: 40em;
}

.ct-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.ct-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--text);
  background: rgba(var(--fg-rgb), 0.04);
}

.ct-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  flex: none;
}

/* Inbox cards */

.ct-inboxes,
.ct-help,
.ct-company {
  padding: 96px 24px;
}

.ct-inboxes .h2,
.ct-help .h2 {
  max-width: 16em;
}

.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.ct-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  min-width: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.ct-card:hover {
  border-color: var(--jade);
  color: var(--text);
  transform: translateY(-2px);
}

.ct-card:focus-visible,
.ct-row:focus-visible,
.ct-warn a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.ct-icon {
  width: 24px;
  height: 24px;
  color: var(--icon);
  flex: none;
}

.ct-card-title {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
}

.ct-card-text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.ct-card-mail {
  margin-top: auto;
  padding-top: 16px;
  color: var(--jade);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* Two columns */

.ct-help-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
}

.ct-checks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ct-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.ct-checks strong {
  color: var(--text);
  font-weight: 600;
}

.ct-check {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--icon);
  flex: none;
}

.ct-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.ct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.ct-row:hover {
  border-color: var(--jade);
  color: var(--text);
}

.ct-arrow {
  width: 20px;
  height: 20px;
  color: var(--icon);
  flex: none;
}

/* Scam warning. Dark in both themes. */

.ct-warn {
  background: var(--security-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ct-warn-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.ct-warn-icon {
  width: 36px;
  height: 36px;
  margin-top: 2px;
  color: var(--icon);
  flex: none;
}

.ct-warn-copy {
  min-width: 0;
}

.ct-warn .h2 {
  max-width: none;
}

.ct-warn p {
  margin: 16px 0 0;
  max-width: 46em;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.ct-warn a {
  color: var(--jade);
  font-weight: 600;
}

/* Company details */

.ct-company-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.ct-kicker {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
}

.ct-company-name,
.ct-address,
.ct-hours {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.ct-company-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.ct-company-sub,
.ct-fine {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.ct-address {
  font-style: normal;
}

@media (min-width: 768px) {
  .ct-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 64px;
    align-items: start;
  }

  .ct-company-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding: 36px;
  }
}

@media (min-width: 1024px) {
  .ct-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .ct-hero .hero-inner {
    padding: 148px 16px 64px;
  }

  .ct-inboxes,
  .ct-help,
  .ct-company {
    padding: 64px 16px;
  }

  .ct-warn-inner {
    padding: 56px 16px;
  }

  .ct-company-card {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-card:hover {
    transform: none;
  }
}
