/* Long-form pages (AIT Mobile home and privacy) on the www site; builds on /styles.css.
   The front page loads it too, for its row of buttons and its footer link. */
.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 940px) {
  .home-links {
    justify-content: center;
  }
}

.doc-shell {
  max-width: 860px;
}

.doc-header {
  margin-bottom: 36px;
}

.doc-home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.doc-home img {
  border-radius: 10px;
}

.doc-hero h1 {
  margin-top: 18px;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doc-card {
  position: relative;
  margin: 28px 0 0;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(140deg, rgba(14, 40, 68, 0.36), rgba(5, 16, 30, 0.84)),
    var(--panel);
  box-shadow: var(--shadow);
  color: #d8e6f2;
  line-height: 1.7;
}

.doc-card h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.doc-card h3 {
  margin: 26px 0 8px;
  font-size: 1.08rem;
  color: var(--text);
}

.doc-card p,
.doc-list {
  margin: 0 0 14px;
}

.doc-list {
  padding-left: 1.2em;
}

.doc-list li {
  margin-bottom: 10px;
}

.doc-hero a,
.doc-card a,
footer a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.doc-card code {
  overflow-wrap: anywhere;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(1, 8, 17, 0.6);
  color: #cfe3f5;
  font-size: 0.86em;
}

.doc-quote {
  margin: 0 0 14px;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(1, 8, 17, 0.45);
  color: var(--text);
  font-weight: 600;
}

.doc-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
