/* Kalori legal pages — sits on top of Bootstrap 5.3.
   Everything here is either brand colour or prose readability; layout is
   Bootstrap's. */

:root {
  --kalori-accent: #16a34a;
  --kalori-accent-soft: rgba(22, 163, 74, 0.12);
  --kalori-prose: 68ch;
}

body {
  /* Long legal prose: a slightly taller line and a capped measure do more for
     readability here than any amount of styling. */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.prose {
  max-width: var(--kalori-prose);
}

.prose h2 {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
}

.prose p,
.prose ul,
.prose ol,
.prose table {
  margin-bottom: 1.15rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* Tables in these documents are all "thing → explanation" pairs. Wide ones
   scroll inside themselves rather than pushing the page sideways on a phone. */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kalori-accent);
  text-decoration: none;
}

.brand:hover {
  color: var(--kalori-accent);
  opacity: 0.85;
}

.callout {
  border-left: 3px solid var(--kalori-accent);
  background: var(--kalori-accent-soft);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin-bottom: 1.5rem;
}

.callout > :last-child {
  margin-bottom: 0;
}

.updated {
  font-size: 0.9rem;
  color: var(--bs-secondary-color);
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Deletion flow: only one step is ever visible. */
[data-step] {
  display: none;
}

[data-step].active {
  display: block;
}

/* ── Google Sign-In button ──────────────────────────────────────────────
   Follows Google's Identity branding guidelines: white surface, #747775
   border, #1F1F1F label, the official four-colour G at 18px, 40px minimum
   height, 12px padding with a 10px gap.

   The spec asks for Roboto Medium. We deliberately do not pull it from Google
   Fonts — this is the account deletion page, and firing an extra request at
   Google from the page someone opens to leave is the wrong trade for a font.
   The logo and the surface carry the recognition. */

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #747775;
  border-radius: 4px;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-google:hover:not(:disabled) {
  background: #f8f9fa;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
}

.btn-google:focus-visible {
  outline: 2px solid #0b57d0;
  outline-offset: 2px;
}

.btn-google:disabled {
  opacity: 0.6;
  cursor: default;
}

.btn-google svg {
  flex: 0 0 auto;
}
