/* Host: near-black, gold, warm ivory. The same colours and faces as the app. */
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/CormorantGaramond_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/Jost_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/Jost_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }

:root {
  --background: #0A0A0C;
  --card: #151517;
  --text: #F2EDE3;
  --secondary: #A8A5A0;
  --gold: #C9A24B;
  --gold-light: #E6CF91;
  --edge: #514426;
  --hairline: #222020;
}

* { box-sizing: border-box; }
html { background: var(--background); color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}
/* The soft gold light behind the top of the page. */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto auto;
  width: min(80vw, 520px);
  height: min(80vw, 520px);
  background: radial-gradient(closest-side, rgba(201, 162, 75, 0.14), rgba(201, 162, 75, 0));
  opacity: 0.28;
  transform: translate(22%, -24%);
  pointer-events: none;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--gold-light); }
main { position: relative; flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 56px 24px 40px; }
h1, h2 { font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-weight: 500; line-height: 1.15; margin: 0; }
.label { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.secondary { color: var(--secondary); }

/* Home */
.home { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; padding-top: 12vh; }
.logo { width: min(66vw, 340px); height: auto; }
.home h1 { font-size: clamp(34px, 7vw, 48px); }
.home p { margin: 0; max-width: 30em; }
.contact { display: inline-block; margin-top: 4px; padding: 14px 26px; border: 1px solid var(--edge); border-radius: 16px; background: var(--card); text-decoration: none; letter-spacing: 0.02em; }

/* Privacy */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-bottom: 40px; }
.brand img { width: 30px; height: auto; }
.brand span { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; letter-spacing: 0.42em; color: var(--gold); }
.page h1 { font-size: clamp(34px, 7vw, 44px); margin-bottom: 8px; }
.page h2 { font-size: 26px; margin: 36px 0 8px; }
.page p, .page li { color: var(--text); }
.card { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--edge); border-radius: 20px; background: var(--card); }
.card p { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }

footer { position: relative; width: 100%; max-width: 680px; margin: 0 auto; padding: 22px 24px 34px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--secondary); display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; }

/* The privacy policy */
.policy .updated { color: var(--secondary); margin: 0 0 8px; }
.policy p { margin: 0 0 14px; }
.policy ul { margin: 0 0 14px; padding-left: 22px; }
.policy li { margin-bottom: 10px; }
.policy li::marker { color: var(--gold); }
.policy strong { font-weight: 500; color: var(--gold-light); }
.table-wrap { margin: 6px 0 18px; border: 1px solid var(--edge); border-radius: 16px; background: var(--card); overflow-x: auto; }
.policy table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--hairline); }
.policy thead th { border-top: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.policy tbody th { font-weight: 500; color: var(--text); width: 26%; }
.policy td { color: var(--text); }
@media (max-width: 480px) {
  .policy table { font-size: 14px; }
  .policy th, .policy td { padding: 10px 10px; }
}
