/* WorshipBeam website. One stylesheet, no scripts, no external requests.
   The colours and the Inter font are the ones the app uses; light and dark follow the visitor's system. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #eceef2;
  --panel: #ffffff;
  --border: #d3d7de;
  --text: #1b1f26;
  --dim: #5b6572;
  --accent: #2f6fdc;
  --accent-text: #ffffff;
  --link: #2f6fdc;
  /* A soft wallpaper behind the screenshots, in the spirit of the macOS desktop pictures (pure CSS, no image). */
  --wash:
    radial-gradient(55% 75% at 12% 12%, #ffcfa0 0%, rgba(255, 207, 160, 0) 62%),
    radial-gradient(60% 80% at 92% 8%, #7fc4ff 0%, rgba(127, 196, 255, 0) 62%),
    radial-gradient(70% 85% at 88% 96%, #b79bff 0%, rgba(183, 155, 255, 0) 62%),
    radial-gradient(60% 80% at 8% 92%, #ff9cc4 0%, rgba(255, 156, 196, 0) 58%),
    linear-gradient(135deg, #78aefb, #a98cf7);
  --shadow: 0 14px 40px rgba(14, 34, 72, 0.22);
  --warn-bg: #fff6df;
  --warn-border: #efd88e;
  --c-blue: #2f6fdc; --c-orange: #d9730d; --c-green: #1b9a63; --c-pink: #d6407f; --c-purple: #7a52e0; --c-teal: #0c8f9c;
  --radius: 10px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #121314;
    --panel: #191a1b;
    --border: #2b2c2d;
    --text: #c6c8ca;
    --dim: #868a8e;
    --accent: #0e639c;
    --accent-text: #ffffff;
    --link: #3794d6;
    --wash:
      radial-gradient(55% 75% at 12% 12%, #5a2f8f 0%, rgba(90, 47, 143, 0) 62%),
      radial-gradient(60% 80% at 92% 8%, #0f5a9c 0%, rgba(15, 90, 156, 0) 62%),
      radial-gradient(70% 85% at 88% 96%, #3a2a8f 0%, rgba(58, 42, 143, 0) 62%),
      radial-gradient(60% 80% at 8% 92%, #8a2c6f 0%, rgba(138, 44, 111, 0) 58%),
      linear-gradient(135deg, #0d1a3d, #1a1240);
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    --c-blue: #5ea2f5; --c-orange: #f0a24a; --c-green: #4fd09a; --c-pink: #f06aa4; --c-purple: #a98cf7; --c-teal: #46c8d6;
    --warn-bg: #272212;
    --warn-border: #574a1c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 22px; }
strong { font-weight: 500; }

/* Colour in the text: a few words in the app's palette */
.hl-blue { color: var(--c-blue); } .hl-orange { color: var(--c-orange); } .hl-green { color: var(--c-green); }
.hl-pink { color: var(--c-pink); } .hl-purple { color: var(--c-purple); } .hl-teal { color: var(--c-teal); }
.grad { color: var(--c-purple); background: linear-gradient(90deg, var(--c-blue), var(--c-purple) 55%, var(--c-pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow { color: var(--c-blue); }

/* Header */
header.site { background: transparent; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
nav.site { display: flex; align-items: center; gap: 24px; }
nav.site a { color: var(--dim); text-decoration: none; font-size: 15px; font-weight: 500; }
nav.site a:hover { color: var(--text); }
nav.site a.button { color: var(--accent-text); }

/* Platform logos (Apple and Windows), drawn in the text colour */
.os-icon { width: 1.15em; height: 1.15em; flex: none; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 8px; }
.eyebrow .os-icon { width: 15px; height: 15px; }
.card h2 { display: flex; align-items: center; gap: 10px; }
.card h2 .os-icon { width: 22px; height: 22px; }

/* Buttons */
.button {
  display: inline-block; padding: 10px 20px; border-radius: 8px; font-weight: 500; font-size: 15px;
  background: var(--accent); color: var(--accent-text); text-decoration: none; border: 1px solid var(--accent);
}
.button:hover { filter: brightness(1.1); }
.button.plain { background: transparent; color: var(--text); border-color: var(--border); }
.button.plain:hover { background: var(--panel); filter: none; }
.button.small { padding: 6px 15px; font-size: 14px; }

/* Hero */
.hero { padding: 76px 0 8px; text-align: center; }
.eyebrow { margin: 0 0 16px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
h1 { margin: 0 auto 18px; max-width: 780px; font-size: clamp(34px, 5.4vw, 54px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.lead { margin: 0 auto 28px; max-width: 640px; font-size: 18px; color: var(--dim); }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--dim); }

/* Screenshots: a window on a soft wallpaper-like panel */
.stage { background: var(--wash); border-radius: 18px; padding: clamp(12px, 3.6vw, 40px); margin: 40px 0 0; }
.shot { margin: 0; }
.shot img { border-radius: 0.75% / 1.3%; box-shadow: var(--shadow); }

/* Sections */
section { padding: 72px 0 0; }
h2 { margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 700; }
.section-lead { margin: 0 0 32px; color: var(--dim); max-width: 640px; }
.center { text-align: center; }
.section-lead.center { margin-left: auto; margin-right: auto; }
.three { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); }
.three h3, .grid h3 { margin: 0 0 4px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.three p, .grid p { margin: 0; color: var(--dim); }
.grid h3::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; background: var(--dot, var(--c-blue)); }
.grid > div:nth-child(8n+1) { --dot: var(--c-blue); } .grid > div:nth-child(8n+2) { --dot: var(--c-orange); }
.grid > div:nth-child(8n+3) { --dot: var(--c-green); } .grid > div:nth-child(8n+4) { --dot: var(--c-pink); }
.grid > div:nth-child(8n+5) { --dot: var(--c-purple); } .grid > div:nth-child(8n+6) { --dot: var(--c-teal); }
.grid > div:nth-child(8n+7) { --dot: var(--c-orange); } .grid > div:nth-child(8n+8) { --dot: var(--c-blue); }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--border); margin-bottom: 14px; color: var(--link); }
.three > div:nth-child(1) .icon { color: var(--c-blue); background: color-mix(in srgb, var(--c-blue) 12%, var(--panel)); }
.three > div:nth-child(2) .icon { color: var(--c-orange); background: color-mix(in srgb, var(--c-orange) 12%, var(--panel)); }
.three > div:nth-child(3) .icon { color: var(--c-green); background: color-mix(in srgb, var(--c-green) 12%, var(--panel)); }
.icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grid { display: grid; gap: 28px 40px; grid-template-columns: repeat(2, 1fr); }
.feature .stage { margin-top: 26px; }

/* Closing call to action */
.closing { text-align: center; }
.closing .section-lead { margin-left: auto; margin-right: auto; }

/* Download page */
.page { padding-top: 60px; } /* only the top: .wrap provides the side padding */
.page h1 { text-align: left; margin: 0 0 8px; font-size: 40px; }
.page .lead { margin: 0 0 8px; text-align: left; font-size: 17px; }
.os { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
.card { border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius); padding: 22px; }
.card h2 { font-size: 20px; margin: 0 0 4px; }
.card p { margin: 0 0 16px; color: var(--dim); font-size: 15px; }
.card .row { display: flex; flex-wrap: wrap; gap: 10px; }
.reqs { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
.reqs .card h3 { margin: 0 0 12px; font-size: 17px; font-weight: 500; }
dl.spec { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 10px 18px; font-size: 15px; }
dl.spec dt { color: var(--dim); }
dl.spec dd { margin: 0; }
dl.spec.common { margin-top: 24px; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.notice { margin: 22px 0 0; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); color: var(--dim); font-size: 15px; }
.warning { margin-top: 44px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--warn-border); background: var(--warn-bg); }
.warning h2 { font-size: 19px; display: flex; align-items: center; gap: 8px; }
.warning p { margin: 0 0 12px; }
.warning h3 { margin: 18px 0 4px; font-size: 15px; font-weight: 500; }
.warning ol { margin: 0; padding-left: 22px; }
.warning li { margin: 4px 0; }
.page section { padding-top: 48px; }

/* Footer */
footer.site { margin-top: 90px; border-top: 1px solid var(--border); padding: 28px 0 44px; color: var(--dim); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--dim); }

@media (max-width: 760px) {
  .three, .grid, .os, .reqs { grid-template-columns: 1fr; }
  dl.spec { grid-template-columns: 1fr; gap: 2px; }
  dl.spec dd { margin-bottom: 10px; }
  .hero { padding-top: 48px; }
  section { padding-top: 56px; }
  nav.site { gap: 14px; }
  nav.site a:not(.button) { display: none; }
}
