/* The gallery: freedomlv.church's own look. */
:root {
  --bg-0: #140f0b;
  --bg-1: #1c150d;
  --bg-2: #241a10;
  --line: rgba(247, 239, 226, .10);
  --line-2: rgba(247, 239, 226, .18);
  --cream: #f7efe2;
  --cream-dim: #d9cdb8;
  --muted: #a99b86;
  --orange: #ff8a1f;
  --orange-2: #ffb861;
  --green: #22c39a;
  --cyan: #37d6df;
  --belong: linear-gradient(90deg, #ff8a1f 0%, #ffb861 30%, #22c39a 66%, #37d6df 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(90% 60% at 0% 0%, #2c1d10 0%, rgba(20, 15, 11, 0) 60%), radial-gradient(70% 50% at 100% 30%, rgba(34, 195, 154, .07) 0%, rgba(20, 15, 11, 0) 60%), var(--bg-0);
  color: var(--cream);
  font: 400 16px/1.6 'Poppins', 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font: 500 .85em/1.4 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; color: var(--cyan); background: rgba(55, 214, 223, .08); padding: 1px 6px; border-radius: 5px; word-break: break-all; }
.muted { color: var(--muted); font-size: 14px; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(20, 15, 11, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; white-space: nowrap; }
.brand b { font-weight: 700; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--cream-dim); font-size: 14px; font-weight: 500; }
.top nav a:hover { color: var(--cream); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bg-0);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.btn:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover { background: rgba(247, 239, 226, .06); }
.btn.small { padding: 9px 16px; font-size: 14px; }

main { padding: 0 clamp(16px, 4vw, 48px); max-width: 1440px; margin: 0 auto; }

/* ---------------------------------------------------------------- hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 72px);
}
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-2); }
.hero h1 { margin: 0; font: 800 clamp(40px, 5.4vw, 76px)/1.02 'Poppins', sans-serif; letter-spacing: -.035em; }
.hero h1 em {
  display: block;
  font-style: normal;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: .005em;
  font-size: 1.22em;
  line-height: 1;
  margin-top: .08em;
  background: var(--belong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
}
.lede { margin: 22px 0 28px; font-size: clamp(16px, 1.3vw, 18px); color: var(--cream-dim); max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--cream-dim); }
.facts b { color: var(--cream); font-weight: 700; display: inline-block; min-width: 1.8em; }

.monitor { margin: 0; min-width: 0; }
.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000 url(/img/backdrop-16x9.jpg) center / cover;
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, .5);
}
.screen[data-shape="9x16"] { aspect-ratio: 9 / 16; background-image: url(/img/backdrop-9x16.jpg); max-height: 76vh; margin: 0 auto; }
.screen > div { position: absolute; left: 0; top: 0; }
.monitor figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.now { font-size: 14px; color: var(--cream-dim); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-ctl { display: flex; align-items: center; gap: 6px; }
.icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(247, 239, 226, .06);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 16px;
  line-height: 1;
}
.icon:hover { background: rgba(247, 239, 226, .12); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(247, 239, 226, .05); box-shadow: inset 0 0 0 1px var(--line); margin-left: 6px; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--cream-dim); }
.seg button[aria-pressed="true"] { background: var(--cream); color: var(--bg-0); }

/* ---------------------------------------------------------------- the rise */

.rise { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.rise blockquote { margin: 0 0 clamp(28px, 4vw, 48px); text-align: center; }
.rise blockquote p { margin: 0 auto; max-width: 22em; font: italic 500 clamp(26px, 3.4vw, 44px)/1.2 'Newsreader', Georgia, serif; color: var(--cream); }
.rise blockquote cite { display: block; margin-top: 14px; font: 600 13px/1 'Poppins', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-2); font-style: normal; }
.rise-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.rise h2, .pack h2, .setup h2 { margin: 0 0 10px; font: 400 clamp(36px, 4vw, 52px)/1 'Anton', sans-serif; letter-spacing: .01em; text-transform: uppercase; }
.rise-copy > p { color: var(--cream-dim); margin: 0 0 18px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--cream-dim); }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -2px;
  font: 400 30px/1 'Anton', sans-serif;
  background: linear-gradient(180deg, #ffe7bd 0%, #ffb45e 58%, #d9701f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.steps b { color: var(--cream); }
.never { margin-top: 22px !important; font: italic 500 20px/1.4 'Newsreader', Georgia, serif; color: var(--cream) !important; }
.scrub { margin: 0; min-width: 0; }
.range { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.range output { font-variant-numeric: tabular-nums; color: var(--cream); font-weight: 600; min-width: 4.5em; text-align: right; }
.range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--belong); outline: none; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px rgba(20, 15, 11, .9), 0 2px 10px rgba(0, 0, 0, .5); cursor: grab; }
.range input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px rgba(20, 15, 11, .9); cursor: grab; }

/* ---------------------------------------------------------------- pack */

.pack { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.pack-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.pack-head p { margin: 0; color: var(--cream-dim); }
.bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 36px; }
.bundle {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(36, 26, 16, .7);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bundle:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 184, 97, .5); }
.bundle b { font-weight: 700; }
.bundle span { font-size: 13px; color: var(--muted); }
.bundle[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.group h3 { margin: 30px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-2); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.cards-grid[data-shape="9x16"] { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card { margin: 0; min-width: 0; border-radius: 14px; background: rgba(28, 21, 13, .6); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.card .screen { border-radius: 0; box-shadow: none; cursor: pointer; }
.card .screen[data-shape="9x16"] { max-height: none; }
.card figcaption { padding: 12px 14px 14px; display: grid; gap: 8px; }
.card .name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl { display: flex; flex-wrap: wrap; gap: 6px; }
.dl a {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(247, 239, 226, .06);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--cream-dim);
}
.dl a:hover { color: var(--cream); background: rgba(247, 239, 226, .12); }

/* ---------------------------------------------------------------- setup */

.setup { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.setup .intro { max-width: 46em; color: var(--cream-dim); margin: 0 0 26px; }
.setup .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.setup article { padding: 20px 22px; border-radius: 16px; background: rgba(28, 21, 13, .6); box-shadow: inset 0 0 0 1px var(--line); }
.setup h3 { margin: 0 0 10px; font-size: 18px; }
.setup ol { margin: 0 0 10px; padding-left: 20px; color: var(--cream-dim); font-size: 15px; display: grid; gap: 6px; }

.foot { padding: 36px clamp(16px, 4vw, 48px) 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; max-width: 1440px; margin: 0 auto; }
.foot p { margin: 0 0 8px; max-width: 70em; }

@media (max-width: 960px) {
  .hero, .rise-grid { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 520px) {
  .top { gap: 10px; }
  .brand span { display: none; }
  .cta .btn { flex: 1; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid[data-shape="9x16"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range { grid-template-columns: 1fr auto; }
  .range span { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
