/* Gospel Palette — gospelpalette.com
   Built from the approved home page mock-up v6 (25 Nov 2026).
   Colours are the Brand Guidelines v1.0 values. Highlighter colours appear only
   inside the mark pictures (the reader's voice on words), never as page colours.
   The marks are flat pictures painted once by the app's ink; no ink code is here. */

:root {
  --linen: #F5EEE6;          /* Fine Linen: the ground */
  --gospel-brown: #5D4937;   /* primary ink (7.6:1 on linen) */
  --covenant-blue: #3A4A74;  /* links on linen */
  --taupe: #CCB9AA;          /* Brush Taupe: hairlines */
  --wash: #1E2945;           /* Midnight Watch: the footer band */

  --slab: Rockwell, "Zilla Slab", serif;
  --body: "Kohinoor Bangla", "Mukta", sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36  0 0 0 0 .29  0 0 0 0 .22  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96  0 0 0 0 .93  0 0 0 0 .9  0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* What shows past the page's edges (rounded window corners, the bounce when
     scrolling): linen above, the footer's navy below, so no light line appears
     around the footer. */
  background: linear-gradient(to bottom, var(--linen) 0 50%, var(--wash) 50% 100%) fixed;
  background-color: var(--wash);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--linen);
  background-image: var(--grain);
  color: var(--gospel-brown);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--covenant-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ——— Home ——— */
main.home {
  flex: 1;
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  padding: clamp(0.75rem, 3vh, 2.5rem) 1.5rem clamp(3rem, 8vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.intro { text-align: center; display: flex; flex-direction: column; align-items: center; isolation: isolate; }

.logo { margin: 0; }
.logo img { display: block; width: clamp(15.5rem, 68vw, 23rem); height: auto; }

.tagline {
  margin: clamp(0.25rem, 1.5vw, 0.75rem) 0 0;
  font-family: var(--slab);
  font-weight: 400;
  font-size: clamp(1.75rem, 7.4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  max-width: 11.5em;
  text-wrap: balance;
}
.soon { margin: 1.5rem 0 0; font-size: 0.875rem; }

/* the marks: pictures behind their words */
.mk { position: relative; white-space: nowrap; }
.mk img, .about .ov { position: absolute; z-index: -1; max-width: none; pointer-events: none; -webkit-user-select: none; user-select: none; }
.mk-jesus img { left: -1.297em; top: -0.720em; width: calc(100% + 2.592em); height: 2.196em; }

/* the description's line breaks are fixed (two lines wide, three narrow)
   so the marks painted for each layout land on their words */
.about {
  position: relative;
  display: inline-block;
  margin: clamp(1.6rem, 4.5vw, 2rem) 0 0;
  white-space: nowrap;
  font-size: min(1.0625rem, 4.5vw);
}
.about .ov.d { left: -5.021%; top: -24.417%; width: 109.732%; height: 151.206%; }
.about .ov.m { left: -7.515%; top: -15.850%; width: 115.034%; height: 133.811%; }
.about br.d, .about .ov.d { display: none; }
@media (min-width: 40rem) {
  .about br.m, .about .ov.m { display: none; }
  .about br.d { display: inline; }
  .about .ov.d { display: block; }
}

/* ——— Inner pages (Privacy, Support, Code, Not found) ——— */
.top {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 0;
}
.top a { display: inline-block; }
.top img { display: block; width: 6.5rem; height: auto; }

main.page {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}
.page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--slab);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
}
.page h2 {
  margin: 2.25rem 0 0.5rem;
  font-family: var(--slab);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.25;
}
.page p, .page li { font-size: 1.0625rem; }
.page p { margin: 0 0 1rem; }
.page ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.page li { margin: 0 0 0.5rem; }
.page .lede { font-size: 1.1875rem; }
.page .updated { font-size: 0.875rem; margin-top: 2.5rem; }
.page hr { border: 0; border-top: 1px solid var(--taupe); width: 4rem; margin: 2.5rem 0; }

/* ——— Footer band ——— */
.band {
  background-color: var(--wash);
  background-image: var(--grain-light);
  color: var(--linen);
}
.band a { color: var(--linen); }
.band-inner { max-width: 70rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2rem) 1.5rem; }
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 2.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.foot p { margin: 0; }
.foot .group { display: flex; flex-wrap: wrap; gap: 0.35rem 2.25rem; }

@media (max-width: 47.99rem) {
  main.home { flex: none; justify-content: flex-start; padding-top: 0.5rem; padding-bottom: 2.75rem; }
  .logo img { width: min(74vw, 19rem); }
  body.home-page footer.band { flex: 1; }
  .foot, .foot .group { flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; }
  .foot { gap: 1rem; }
  .foot .group:last-child { flex-direction: row; justify-content: center; gap: 0.4rem 1.5rem; }
}
