/* PrayZone — minimal static site */
:root {
  color-scheme: light dark;
  --bg: #f6f6f9;
  --bg-elevated: #ffffff;
  --text: #14141a;
  --text-muted: #5a5a66;
  --border: #e0e0e8;
  --accent: #4a2c7a;
  --accent-hover: #3d2466;
  --accent-soft: rgba(74, 44, 122, 0.09);
  --accent-glow: rgba(74, 44, 122, 0.18);
  --focus: #2563eb;
  --play: #01875f;
  --play-hover: #016b4c;
  --gradient: radial-gradient(120% 80% at 50% -10%, var(--accent-glow) 0%, transparent 55%),
    linear-gradient(165deg, #f3f0fa 0%, var(--bg) 42%, #eceef4 100%);
  --shadow: 0 1px 2px rgba(20, 20, 26, 0.05);
  --shadow-md: 0 4px 14px rgba(20, 20, 26, 0.07);
  --shadow-device: 0 12px 40px rgba(20, 20, 26, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --max: 42rem;
  --max-wide: 58rem;
  --header-h: 3.25rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f0f14;
    --bg-elevated: #18181f;
    --text: #ececf1;
    --text-muted: #9a9aa8;
    --border: #2c2c38;
    --accent: #a78bdb;
    --accent-hover: #c4b0e8;
    --accent-soft: rgba(167, 139, 219, 0.12);
    --accent-glow: rgba(167, 139, 219, 0.2);
    --gradient: radial-gradient(120% 80% at 50% -10%, var(--accent-glow) 0%, transparent 50%),
      linear-gradient(165deg, #1a1528 0%, var(--bg) 45%, #12121a 100%);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35);
    --shadow-device: 0 16px 48px rgba(0, 0, 0, 0.45);
    --play: #3ddc84;
    --play-hover: #6be8a8;
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0f14;
  --bg-elevated: #18181f;
  --text: #ececf1;
  --text-muted: #9a9aa8;
  --border: #2c2c38;
  --accent: #a78bdb;
  --accent-hover: #c4b0e8;
  --accent-soft: rgba(167, 139, 219, 0.12);
  --accent-glow: rgba(167, 139, 219, 0.2);
  --gradient: radial-gradient(120% 80% at 50% -10%, var(--accent-glow) 0%, transparent 50%),
    linear-gradient(165deg, #1a1528 0%, var(--bg) 45%, #12121a 100%);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-device: 0 16px 48px rgba(0, 0, 0, 0.45);
  --play: #3ddc84;
  --play-hover: #6be8a8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--gradient);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 1.5rem, var(--max-wide));
  margin-inline: auto;
}

.wrap--narrow {
  max-width: var(--max);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 247, 249, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@supports (background: color-mix(in srgb, white 50%, black)) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 88%, transparent);
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header {
    background: rgba(15, 15, 20, 0.9);
  }
}

[data-theme="dark"] .site-header {
  background: rgba(15, 15, 20, 0.9);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.brand--with-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand__mark {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  line-height: 1.2;
}

.brand:hover {
  color: var(--accent);
}

.brand:hover .brand__mark {
  opacity: 0.92;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font: inherit;
  cursor: pointer;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.theme-toggle:hover {
  border-color: var(--border);
  box-shadow: var(--shadow), 0 0 0 1px var(--accent-soft);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.theme-toggle__icon {
  display: none;
  line-height: 0;
}

.theme-toggle__icon--moon {
  display: block;
}

.theme-toggle__icon svg {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__icon--moon {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-toggle__icon--sun {
    display: block;
  }
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

[data-theme="light"] .theme-toggle__icon--moon {
  display: block;
}

[data-theme="light"] .theme-toggle__icon--sun {
  display: none;
}

/* Hero */
.hero {
  padding: 2.75rem 0 1rem;
  text-align: center;
}

.hero--image {
  position: relative;
  isolation: isolate;
  min-height: min(72vh, 640px);
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero--image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4.5rem;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(18, 32, 52, 0.45) 0%,
    rgba(22, 28, 48, 0.72) 42%,
    rgba(15, 20, 35, 0.88) 100%
  );
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.35);
}

.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(74, 44, 122, 0.35) 0%, transparent 58%);
  pointer-events: none;
}

.hero__shell {
  position: relative;
  z-index: 2;
  padding: 2.75rem 0 3rem;
  width: 100%;
}

.hero--image .hero__inner {
  max-width: 28rem;
  margin-inline: auto;
  padding: 2rem 1.25rem 2.25rem;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero__logo {
  display: block;
  width: min(100px, 28vw);
  height: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.hero--image .hero__eyebrow {
  color: #7dd3fc;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero--image h1 {
  color: #f8fafc;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero .tagline {
  margin: 0 auto 1.75rem;
  max-width: 26rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.55;
}

.hero--image .tagline {
  color: rgba(248, 250, 252, 0.88);
}

.hero--image .btn-note {
  color: rgba(248, 250, 252, 0.72);
}

.hero--image .btn-note code {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
}

@media (prefers-reduced-transparency: reduce) {
  .hero--image .hero__inner {
    background: rgba(22, 28, 48, 0.94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.7rem 1.35rem 0.7rem 1rem;
  border-radius: 999px;
  background: var(--play);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 8px rgba(1, 135, 95, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-play:hover {
  background: var(--play-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(1, 135, 95, 0.4);
}

.btn-play:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.btn-play__glyph {
  display: flex;
  opacity: 0.95;
}

.btn-play__glyph svg {
  display: block;
}

.btn-note {
  margin: 0.35rem 0 0;
  max-width: 22rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section-head {
  margin-bottom: 1.35rem;
}

.section-title {
  margin: 0 0 0.35rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
}

.section-sub {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 36rem;
}

section:not(.hero) h2.section-title {
  position: relative;
  padding-bottom: 0.5rem;
}

section:not(.hero) .section-head .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.shot-section .section-head .section-title::after,
.faq .section-head .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.shot-section .section-head,
.faq .section-head {
  text-align: center;
}

.shot-section .section-sub,
.faq .section-sub {
  margin-inline: auto;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

/* Feature grid */
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  margin: 0;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
}

.feature-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.feature-card__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Screenshots */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1.25rem;
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
}

.shot__device {
  padding: 0.5rem;
  border-radius: 1.35rem;
  background: linear-gradient(145deg, color-mix(in srgb, var(--text) 8%, var(--bg-elevated)), var(--bg-elevated));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-device);
}

.shot__frame {
  aspect-ratio: 9 / 19;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: linear-gradient(160deg, var(--accent-soft), color-mix(in srgb, var(--accent) 6%, var(--bg-elevated)));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.5rem;
}

.shot__caption {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.35;
}

/* FAQ */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq details[open] {
  box-shadow: var(--shadow), inset 0 0 0 1px var(--accent-soft);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  list-style: none;
  padding: 1rem 2.75rem 1rem 1.1rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.22rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.1rem;
}

.faq summary:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--focus);
}

.faq details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq p {
  margin: 0;
  padding: 0.85rem 1.1rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Contact */
.contact-card {
  max-width: 24rem;
  margin-inline: auto;
  text-align: center;
  padding: 1.75rem 1.5rem;
}

.contact-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.card.contact-card p {
  margin-bottom: 0;
}

.card.contact-card p.contact-card__label {
  margin-bottom: 0.35rem;
}

.contact-card__email {
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  word-break: break-all;
}

.contact-card__email:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Legal pages */
.prose {
  padding: 2rem 0 3rem;
}

.prose h1 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.prose .effective {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.prose h2 {
  font-size: 1.0625rem;
  margin: 1.75rem 0 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.prose p,
.prose ul {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose strong {
  color: var(--text);
}

.prose code,
.card code,
.btn-note code {
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 5px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

@supports (background: color-mix(in srgb, white 50%, black)) {
  .site-footer {
    background: color-mix(in srgb, var(--bg-elevated) 92%, var(--bg));
  }
}

.footer-prominent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.35rem;
}

.footer-prominent a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-prominent a:hover {
  border-color: var(--accent);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.1rem;
  margin-bottom: 1.15rem;
  font-size: 0.90625rem;
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  line-height: 1.55;
  max-width: 28rem;
  margin-inline: auto;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Steps list (delete account) */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.steps li {
  position: relative;
  padding-left: 2.35rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.muted-lead {
  margin-top: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.card p:last-child {
  margin-bottom: 0;
}

.card p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.card p:first-child {
  margin-top: 0;
}

@media (min-width: 640px) {
  .hero:not(.hero--image) {
    padding: 3.25rem 0 1.25rem;
  }

  .hero--image {
    min-height: min(78vh, 720px);
  }

  .hero--image .hero__shell {
    padding: 3.5rem 0 3.5rem;
  }

  .hero--image .hero__inner {
    padding: 2.5rem 2rem 2.75rem;
    max-width: 32rem;
  }

  .hero--image .hero__logo {
    width: 112px;
  }

  .section {
    padding: 2.75rem 0;
  }

  .shot-grid {
    gap: 1.5rem;
  }
}
