/* Policy pages shared styles — mirrors Foodiisoft site design tokens */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: oklch(0.58 0.13 158);
  --primary-soft: oklch(0.955 0.03 158);
  --primary-deep: oklch(0.36 0.07 162);
  --sun: oklch(0.83 0.16 88);
  --ink: oklch(0.22 0.03 168);
  --ink-fg: oklch(0.96 0.01 150);
  --bg: oklch(0.993 0.003 150);
  --fg: oklch(0.2 0.025 165);
  --muted: oklch(0.5 0.02 165);
  --border: oklch(0.92 0.01 155);
  --card: oklch(1 0 0);
  --shadow-soft: 0 1px 2px oklch(0.2 0.03 160 / 0.04), 0 8px 24px -8px oklch(0.2 0.03 160 / 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Container ── */
.container-x {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .container-x {
    padding-inline: 2rem;
  }
}

.fs24{
  font-size: 24px !important;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background-color: oklch(0.993 0.003 150 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}
.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) {
  .header-inner {
    height: 5rem;
  }
}

.header-logo img {
  height: 2.25rem;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .header-logo img {
    height: 2.75rem;
  }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition:
    background-color 0.15s,
    color 0.15s;
}
.header-nav a:hover {
  background-color: var(--primary-soft);
  color: var(--primary-deep);
}

.header-cta {
  display: none;
  border-radius: 9999px;
  background-color: var(--primary);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: oklch(0.99 0.005 150);
  box-shadow: var(--shadow-soft);
  transition:
    background-color 0.15s,
    transform 0.15s;
}
.header-cta:hover {
  background-color: var(--primary-deep);
  transform: translateY(-1px);
}
@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
    align-items: center;
  }
}

/* ── Hamburger button ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--fg);
  transition: background-color 0.15s;
}
.menu-toggle:hover { background-color: var(--primary-soft); }
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* ── Mobile drawer (grid-rows animation matching React impl) ── */
.mobile-drawer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
}
.mobile-drawer.open {
  grid-template-rows: 1fr;
}
@media (min-width: 1024px) {
  .mobile-drawer { display: none; }
}
.mobile-drawer-inner {
  min-height: 0;
  overflow: hidden;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1.25rem;
}
.mobile-nav a {
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-weight: 500;
  color: var(--fg);
  transition: background-color 0.15s;
}
.mobile-nav a:hover { background-color: var(--primary-soft); }
.mobile-nav .mobile-cta {
  margin-top: 0.5rem;
  border-radius: 9999px;
  background-color: var(--primary);
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-weight: 600;
  color: oklch(0.99 0.005 150);
}

/* ── Main content ── */
main {
  min-height: 60vh;
}

.policy-hero {
  background-color: var(--primary-soft);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.policy-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-deep);
}
.policy-hero p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.policy-body {
  padding: 3rem 0 5rem;
}

.policy-content {
  max-width: 100%;
}

.policy-content p {
  margin-top: 1rem;
  color: var(--fg);
  line-height: 1.75;
}

.policy-content h2 {
  margin-top: 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-deep);
  padding-bottom: 0.375rem;
  border-bottom: 2px solid var(--primary-soft);
}

.policy-content h3 {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.policy-content ul,
.policy-content ol {
  margin-top: 0.75rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.policy-content li {
  line-height: 1.7;
}

.policy-content address {
  font-style: normal;
  margin-top: 0.75rem;
  line-height: 1.8;
  color: var(--fg);
}

/* ── Footer ── */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  color: var(--ink-fg);
}
.footer-bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    radial-gradient(circle at 20% 50%, oklch(0.7 0.15 88) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, oklch(0.58 0.13 158) 0%, transparent 40%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-grid h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-grid p,
.footer-grid ul {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: oklch(0.96 0.01 150 / 0.7);
  line-height: 1.7;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-grid li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.footer-grid a {
  transition: color 0.15s;
}
.footer-grid a:hover {
  color: var(--sun);
}

.footer-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--sun);
}

.footer-bottom {
  position: relative;
  border-top: 1px solid oklch(0.96 0.01 150 / 0.1);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: oklch(0.96 0.01 150 / 0.6);
}
@media (min-width: 1024px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
}
.footer-legal a:hover {
  color: var(--sun);
}
