:root {
  color-scheme: light;
  --ink: #101115;
  --muted: #60646f;
  --soft: #f3f5f8;
  --paper: #ffffff;
  --line: #dde1e7;
  --blue: #1677f2;
  --green: #32c85d;
  --gold: #c69a45;
  --deep: #202636;
  --shadow: 0 24px 70px rgba(20, 24, 32, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}

nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.9;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0d1016;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 11, 16, 0.86) 0%, rgba(9, 11, 16, 0.62) 42%, rgba(9, 11, 16, 0.2) 100%),
    linear-gradient(180deg, rgba(9, 11, 16, 0.1), rgba(9, 11, 16, 0.7)),
    url("images/openbible.png") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(68px, 13vw, 156px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  font-size: clamp(21px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(0, 0, 0, 0.86);
  transform: translateY(-1px);
}

.store-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.store-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.store-small,
.store-large {
  display: block;
}

.store-small {
  font-size: 12px;
  line-height: 1.1;
}

.store-large {
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.video-section {
  padding: 82px clamp(20px, 5vw, 64px) 72px;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.video-inner {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 740px);
  gap: clamp(28px, 6vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.video-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.video-copy h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
}

.video-frame {
  overflow: hidden;
  border: 1px solid rgba(16, 17, 21, 0.08);
  border-radius: var(--radius);
  background: #0d1016;
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.device-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 390px) minmax(0, 330px);
  justify-content: center;
  align-items: end;
  gap: clamp(18px, 5vw, 80px);
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 64px) 72px;
  background: var(--soft);
}

.phone {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 46px;
  background: #eceef4;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone-main {
  transform: rotate(-2deg);
}

.phone-secondary {
  transform: translateY(48px) rotate(3deg);
}

.intro-section,
.feature-band,
.pro-section,
.languages,
.support-section {
  padding: 88px clamp(20px, 5vw, 64px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 6vw, 90px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.section-grid p:last-child,
.pro-copy p,
.support-copy p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.section-heading {
  max-width: 940px;
  margin: 0 auto 52px;
}

.feature-band {
  color: #fff;
  background: var(--deep);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(280px, 500px) minmax(0, 620px);
  gap: clamp(28px, 6vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.feature-list article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.feature-list span {
  color: var(--green);
  font-weight: 900;
}

.feature-list h3,
.feature-list p {
  grid-column: 2;
}

.feature-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.wide-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wide-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.pro-section {
  background: #fff;
}

.pro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  color: #2d3139;
  background: var(--soft);
  font-weight: 700;
}

.screen-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 310px));
  justify-content: center;
  gap: clamp(22px, 5vw, 64px);
  padding: 84px clamp(20px, 5vw, 64px);
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.small-phone:first-child {
  transform: rotate(2deg);
}

.small-phone:last-child {
  transform: translateY(34px) rotate(-2deg);
}

.languages {
  background: #e9edf4;
}

.languages h2 {
  max-width: 1180px;
  margin: 0 auto;
  font-size: clamp(30px, 5vw, 56px);
}

.languages .eyebrow {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(280px, 560px);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  max-width: 1308px;
  margin: 0 auto;
}

.support-copy a {
  color: var(--blue);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: #101115;
}

footer p {
  margin: 0;
}

footer a {
  color: #fff;
  text-decoration: none;
}

.policy-page {
  background: #fff;
}

.policy-header {
  position: static;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.policy-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 86px clamp(20px, 5vw, 64px) 48px;
}

.policy-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.95;
}

.policy-hero p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.policy-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px) 96px;
}

.policy-content section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.policy-content ul {
  margin: 0 0 22px;
  padding-left: 24px;
}

.policy-content a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-inner {
    width: calc(100% - 40px);
    padding-top: 122px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 72px);
  }

  .hero-copy {
    max-width: 340px;
    font-size: 21px;
    line-height: 1.14;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(9, 11, 16, 0.68), rgba(9, 11, 16, 0.92)),
      url("images/openbible.png") center / cover no-repeat;
  }

  .device-showcase,
  .video-inner,
  .section-grid,
  .feature-layout,
  .pro-grid,
  .screen-strip,
  .support-section {
    grid-template-columns: 1fr;
  }

  .device-showcase {
    margin-top: 0;
    width: min(100%, 330px);
    max-width: 330px;
    padding-left: 0;
    padding-right: 0;
  }

  .phone-secondary,
  .small-phone:last-child {
    transform: none;
  }

  .phone-main,
  .small-phone:first-child {
    transform: none;
  }

  .phone {
    border-radius: 34px;
  }

  .screen-strip {
    max-width: 400px;
    margin: 0 auto;
  }

  .intro-section,
  .video-section,
  .feature-band,
  .pro-section,
  .languages,
  .support-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .policy-header {
    position: static;
  }

  .wide-visual img {
    height: 320px;
  }

  .languages h2 {
    font-size: 29px;
    line-height: 1.08;
  }

  footer {
    flex-direction: column;
  }
}
