/* shared styles for the small inner pages (privacy, terms, thanks, signin) */

.page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 22px 24px;
}
.page-nav .brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.page-nav .logo-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: block;
}
.page-nav .nav-cta {
  background: var(--coral);
  color: var(--surface);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
}
.page-nav .nav-cta:hover { filter: brightness(1.06); }

.doc {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 90px;
}
.doc h1 {
  font-size: clamp(30px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.doc .doc-date {
  color: var(--ink-dim);
  font-size: 14px;
  margin-bottom: 40px;
}
.doc h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 34px 0 10px;
}
.doc p {
  color: var(--ink-mid);
  font-size: 15.5px;
  line-height: 1.65;
  text-wrap: pretty;
  margin-bottom: 12px;
}
.doc a { color: var(--coral); text-decoration: none; }
.doc a:hover { text-decoration: underline; }

.page-footer {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 22px 24px;
  box-shadow: inset 0 1px 0 var(--ring);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-dim);
  font-size: 13.5px;
}
.page-footer a { color: var(--ink-dim); text-decoration: none; }
.page-footer a:hover { color: var(--ink-soft); }

/* thanks page: one centered card */
.thanks-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.thanks-card {
  width: 100%;
  max-width: 440px;
  background: var(--panel);
  border-radius: 26px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px var(--ring);
  padding: 44px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.thanks-card .logo-img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}
.thanks-card h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.thanks-card p {
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.55;
}
.thanks-card .cta-back {
  margin-top: 14px;
  background: var(--coral);
  color: var(--surface);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
}
.thanks-card .cta-back:hover { filter: brightness(1.06); }
