/* Shared styles for offshift.ai subpages (privacy policy, account deletion) */

:root {
  --offshift-blue: #3B72E8;
  --offshift-blue-deep: #2E5FD0;
  --p61-red: #DE2E2E;
  --p61-red-deep: #C51F1F;
  --ink: #1A1616;
  --ink-soft: #514A4A;
  --ink-faint: #9B9494;
  --surface: #FDFCFB;
  --line: #ECE7E5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, #F3F7FF 0%, #FDFCFB 30%, #FDFCFB 70%, #FFF4F2 100%),
    var(--surface);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.brand-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--offshift-blue) 0%, #7B58C9 50%, var(--p61-red) 100%);
  z-index: 10;
}

.site-header {
  width: min(100% - 48px, 760px);
  margin: 0 auto;
  padding: 36px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header .home-logo img { height: 30px; width: auto; display: block; }
.back-link {
  color: var(--ink-faint);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.back-link:hover { color: var(--p61-red); }

main.page {
  flex: 1;
  width: min(100% - 48px, 760px);
  margin: 0 auto;
  padding: 24px 0 64px;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 16px;
}

.updated {
  margin-top: 10px;
  font-size: .9rem;
  color: var(--ink-faint);
}

.toc {
  margin: 28px 0 8px;
  padding: 18px 22px;
  background: #FFFFFFAA;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: .95rem;
}
.toc strong { display: block; margin-bottom: 8px; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }

h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 32px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 32px;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 26px;
}

main.page p, main.page ul, main.page ol {
  margin-top: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-size: .97rem;
}
main.page ul, main.page ol { padding-left: 24px; }
main.page li { margin: 8px 0; }
main.page li::marker { color: var(--p61-red); }

main.page a { color: var(--offshift-blue-deep); text-decoration: underline; text-underline-offset: 3px; }
main.page a:hover { color: var(--p61-red); }

main.page strong { color: var(--ink); }

.note {
  margin-top: 20px;
  padding: 16px 20px;
  background: #FFF6F5;
  border: 1px solid #F7D6D6;
  border-radius: 12px;
  font-size: .95rem;
}

/* Centered layout (account deletion) */
main.page.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
main.page.center p { max-width: 54ch; }

.steps {
  margin-top: 28px;
  text-align: left;
  background: #FFFFFFC0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 30px;
  max-width: 560px;
  width: 100%;
}
.steps ol { margin-top: 0; padding-left: 22px; }
.steps li { margin: 12px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  background: linear-gradient(135deg, var(--p61-red) 0%, var(--p61-red-deep) 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 32px;
  border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(222, 46, 46, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(222, 46, 46, .55); }
.btn:focus-visible { outline: 3px solid var(--offshift-blue); outline-offset: 3px; }

footer {
  padding: 28px 24px 32px;
  text-align: center;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--ink-faint);
}
footer a { color: var(--ink-faint); }
footer a:hover { color: var(--p61-red); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
