/* Shared styles for Favor legal / policy / safety pages.
   Referenced by privacy-policy, terms, community-guidelines, subscription-terms,
   refund-policy, cookie-policy, underage-user-policy, content-moderation, safety-center. */

:root {
  /* Sage botanical palette — site-wide brand tokens */
  --cream: #D5D2BB;
  --cream-deep: #BFBCA1;
  --paper: #E3E0CC;
  --paper-deep: #CFCCB4;
  --rose: #7A2E3B;
  --rose-deep: #531E28;
  --rose-soft: #E8D4C8;
  --ink: #1F2218;
  --ink-soft: #4A4C3E;
  --ink-mute: #7A7C6E;
  --gold: #B89060;
  --line: rgba(31, 34, 24, 0.10);
  --line-soft: rgba(31, 34, 24, 0.05);

  --display: "Fraunces", "Instrument Serif", "Times New Roman", serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a.link { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
a.link:hover { color: var(--rose-deep); }
::selection { background: var(--rose); color: var(--paper); }

.shell { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .shell { padding: 0 20px; } }

/* nav — centered logo, no back link */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: color-mix(in oklab, var(--cream) 80%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: center; height: 88px; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .nav-inner { padding: 0 20px; height: 76px; } }
.logo { display: inline-flex; align-items: center; line-height: 1; }
.logo-img { height: 48px; width: auto; display: block; transition: transform .25s ease; }
.logo:hover .logo-img { transform: scale(1.04); }
@media (max-width: 720px) { .logo-img { height: 40px; } }

/* breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  letter-spacing: 0.01em;
}
.breadcrumb a { color: var(--ink-soft); transition: color .15s ease; }
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb .sep { color: color-mix(in oklab, var(--ink-mute) 50%, transparent); user-select: none; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* hero */
.pp-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line-soft); }
.pp-eyebrow {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rose); font-weight: 700; margin-bottom: 22px;
}
.pp-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: -0.015em; line-height: 1.0; margin: 0;
}
.pp-dates { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: var(--ink-mute); }
.pp-dates strong { color: var(--ink-soft); font-weight: 600; }
.pp-intro { margin-top: 32px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 64ch; }
.pp-intro p { margin: 0 0 16px; }
.pp-intro p:last-child { margin: 0; }

/* layout */
.pp-body { padding: 64px 0 96px; display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
@media (max-width: 880px) { .pp-body { grid-template-columns: 1fr; gap: 40px; } }

/* TOC */
.toc { position: sticky; top: 96px; }
.toc-title {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700; margin: 0 0 16px;
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc-num; display: flex; flex-direction: column; gap: 6px; }
.toc li { counter-increment: toc-num; }
.toc li a {
  display: flex; gap: 12px; padding: 6px 0;
  font-size: 14px; line-height: 1.4; color: var(--ink-soft);
  transition: color .2s ease;
}
.toc li a::before {
  content: counter(toc-num, decimal-leading-zero);
  color: var(--rose); font-weight: 700; font-size: 12px; flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.toc li a:hover { color: var(--rose); }
.toc li a.active { color: var(--rose); font-weight: 600; }
.toc li a.active::before { color: var(--rose); }
@media (max-width: 880px) {
  .toc { position: static; padding: 24px; background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line-soft); }
}

/* sections */
.pp-content section { padding-top: 8px; padding-bottom: 56px; border-bottom: 1px solid var(--line-soft); }
.pp-content section:last-child { border-bottom: none; }
.pp-content .section-num {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rose); font-weight: 700; margin-bottom: 16px;
}
.pp-content h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(32px, 3.6vw, 44px);
  letter-spacing: -0.015em; line-height: 1.1; margin: 0 0 28px;
}
.pp-content h3 {
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  margin: 32px 0 12px;
  color: var(--ink);
}
.pp-content p { margin: 0 0 16px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.pp-content p:last-child { margin-bottom: 0; }
.pp-content ul { list-style: none; padding: 0; margin: 0 0 20px; }
.pp-content li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
  font-size: 16px; line-height: 1.65; color: var(--ink-soft);
}
.pp-content li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--rose);
}
.pp-content strong { color: var(--ink); font-weight: 700; }

/* soft callout */
.callout {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 28px 32px; margin: 24px 0 8px;
}
.callout-eyebrow {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rose); font-weight: 700; margin-bottom: 10px;
}
.callout p { margin: 0; }

/* warning callout — rose-tinted, for hard prohibitions or critical notices */
.callout.warn {
  background: linear-gradient(180deg, color-mix(in oklab, var(--rose) 8%, var(--paper)) 0%, var(--paper) 100%);
  border-color: color-mix(in oklab, var(--rose) 30%, var(--line));
  border-left: 4px solid var(--rose);
}
.callout.warn .callout-eyebrow { color: var(--rose-deep); }
.callout.warn p { color: var(--ink); font-weight: 500; }

/* retention / data table */
.retention {
  margin: 24px 0 8px;
  width: 100%; border-collapse: collapse;
  font-size: 15px;
}
.retention th, .retention td {
  text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line-soft);
  vertical-align: top; color: var(--ink-soft); line-height: 1.55;
}
.retention th {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.retention td:first-child { color: var(--ink); font-weight: 600; width: 38%; }
@media (max-width: 720px) {
  .retention, .retention thead, .retention tbody, .retention tr, .retention th, .retention td { display: block; padding: 0; border: 0; }
  .retention thead { display: none; }
  .retention tr { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .retention td:first-child { margin-bottom: 4px; }
}

/* pricing-table modifier — narrower plan/price columns, no wrap on price */
.retention.pricing-table td:first-child,
.retention.pricing-table th:first-child { width: 22%; }
.retention.pricing-table td:nth-child(2),
.retention.pricing-table th:nth-child(2) { width: 26%; white-space: nowrap; }

/* contact grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0 8px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 28px;
}
.contact-card h4 {
  margin: 0 0 8px;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700;
}
.contact-card a {
  display: inline-block; font-size: 17px; font-weight: 600;
  color: var(--rose); margin-bottom: 12px;
}
.contact-card a:hover { color: var(--rose-deep); }
.contact-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- contact page ---------- */
.contact-body { padding: 56px 0 96px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-content { display: flex; flex-direction: column; gap: 40px; }
.contact-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}
.contact-pair:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-pair.single { grid-template-columns: 1fr; }
@media (max-width: 540px) { .contact-pair { grid-template-columns: 1fr; gap: 32px; } }

.contact-section h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--rose);
  margin: 0 0 14px;
}
.contact-section p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; }
.contact-section .contact-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.contact-section .contact-link:hover { color: var(--rose); border-color: var(--rose); }

.contact-meta { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; font-size: 15.5px; }
.contact-meta .meta-row { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.contact-meta a { color: var(--ink); transition: color .15s ease; }
.contact-meta a:hover { color: var(--rose); }
.country-code {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  background: var(--rose-soft); color: var(--rose);
  padding: 2px 7px; border-radius: 5px; line-height: 1.4;
}

.contact-image {
  position: sticky; top: 112px;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--rose-soft), var(--cream-deep) 60%, var(--rose-soft));
  box-shadow: 0 20px 60px -20px rgba(31,34,24,0.22);
  isolation: isolate;
}
.contact-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* Warm duotone — pulls the photo into Favor's cream + rose palette */
  filter: sepia(0.45) saturate(1.15) hue-rotate(-15deg) brightness(0.96) contrast(1.05);
}
/* Brand tint + bottom shade so the caption reads */
.contact-image::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(155deg, color-mix(in oklab, var(--rose) 24%, transparent), transparent 45%),
    linear-gradient(0deg, color-mix(in oklab, var(--ink) 55%, transparent), transparent 55%);
  pointer-events: none;
  z-index: 1;
}
/* Editorial caption — makes the image feel curated for this page */
.contact-image::after {
  content: "Drop us a line.";
  position: absolute;
  left: 28px; bottom: 24px;
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.005em;
  z-index: 2;
  text-shadow: 0 2px 18px rgba(31,34,24,0.45);
}
/* Top-right corner label */
.contact-image-label {
  position: absolute;
  top: 22px; right: 22px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  z-index: 2;
  padding: 7px 12px;
  background: color-mix(in oklab, var(--ink) 50%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
}
@media (max-width: 880px) {
  .contact-image { position: static; aspect-ratio: 16 / 10; }
}

/* ---------- footer (constant across all pages) ---------- */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
  padding: 72px 0 32px;
}
.footer .shell { max-width: 1280px; }

.footer-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .footer-row { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (max-width: 540px) { .footer-row { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand .footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-brand .footer-logo img { height: 44px; width: auto; display: block; transition: transform .25s ease; }
.footer-brand .footer-logo:hover img { transform: scale(1.03); }
.footer-brand .footer-tagline-text {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
}
.footer-copyright {
  margin: 20px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-mute);
  max-width: 30ch;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 14.5px; color: var(--ink-soft); transition: color .15s ease; }
.footer-col li a:hover { color: var(--rose); }

