/* PhotoRizz web - shared styles.
 *
 * Single source of truth for every page under public/. Tokens mirror
 * lib/core/constants/app_colors.dart so the site and the app read as one
 * product. When a token changes in the app, change it here too.
 */

@font-face {
  font-family: 'Geist';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/Geist-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Geist';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/Geist-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Geist';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/Geist-SemiBold.ttf') format('truetype');
}

:root {
  --ink: #1A1A1F;
  --ink2: #2A2A30;
  --bone: #FBFAF6;
  --cream: #F7F5F0;
  --paper: #FFFFFF;
  --plum: #5A2A52;
  --plum-deep: #46203F;
  --smoke: #6E6E73;
  --smoke2: #A4A4A8;
  --hairline: rgba(26, 26, 31, 0.10);
}

* { box-sizing: border-box; }

/* A `display` rule on a class beats the `hidden` attribute's UA default, which
 * is how the invite page ended up rendering an empty pill before its code was
 * filled in. Keep this ahead of any component that sets `display`. */
[hidden] { display: none !important; }

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 20px 96px;
  background: var(--bone);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}

h1 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 36px 0 8px;
}

p { margin: 0 0 14px; }

.lede {
  font-size: 18px;
  color: var(--smoke);
  margin-bottom: 28px;
}

.date {
  color: var(--smoke2);
  font-size: 14px;
  margin-bottom: 32px;
}

ul, ol { padding-left: 22px; margin: 0 0 14px; }
li { margin: 6px 0; }

strong { font-weight: 600; }

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
  transition: color 120ms ease, border-color 120ms ease;
}
a:hover {
  color: var(--plum);
  border-bottom-color: rgba(90, 42, 82, 0.35);
}

/* Primary call to action - deep plum, matching the app's primary buttons. */
.cta {
  display: inline-block;
  background: var(--plum);
  color: var(--bone);
  border: none;
  border-bottom: none;
  border-radius: 14px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 120ms ease;
}
.cta:hover {
  background: var(--plum-deep);
  color: var(--bone);
  border-bottom-color: transparent;
}

/* Footer link list - no bullets, hairline separators. */
.links {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--hairline);
}
.links li {
  margin: 0;
  border-bottom: 1px solid var(--hairline);
}
.links a {
  display: block;
  padding: 14px 0;
  border-bottom: none;
  color: var(--smoke);
  font-size: 15px;
}
.links a:hover { color: var(--plum); }

/* Recessed panel, used for the invite code and any callout. */
.panel {
  background: var(--cream);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
}
