:root {
  --ink: #070d37;
  --ink-soft: #263052;
  --paper: #fffaf7;
  --surface: #ffffff;
  --line: rgba(7, 13, 55, 0.12);
  --coral: #ff5a62;
  --orange: #ff9f22;
  --gold: #ffc326;
  --violet: #9047ff;
  --shadow: 0 24px 70px rgba(7, 13, 55, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 195, 38, 0.14), transparent 26rem),
    radial-gradient(circle at 90% 14%, rgba(144, 71, 255, 0.13), transparent 24rem),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0;
}

.brand span span {
  background: linear-gradient(90deg, var(--orange), var(--coral), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(7, 13, 55, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 600;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 1.1rem;
  color: #fff;
  background: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(7, 13, 55, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  width: min(1180px, calc(100% - 2rem));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero-banner {
  display: block;
  width: min(1440px, calc(100% - 2rem));
  min-height: auto;
  padding: clamp(1.8rem, 4vw, 3rem) 0 clamp(4rem, 7vw, 6rem);
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 2rem;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(7, 13, 55, 0.08);
}

.hero-panel-copy .hero-text {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-download-panel .hero-actions {
  justify-content: flex-end;
  margin-bottom: 0;
}

.hero-download-panel .trust-row {
  grid-column: 1 / -1;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.download-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 999px;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.05;
}

.download-button small {
  display: block;
  margin-bottom: 0.16rem;
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.78;
}

.download-button.primary {
  color: #fff;
  background: linear-gradient(90deg, var(--ink), #182057);
  box-shadow: 0 18px 40px rgba(7, 13, 55, 0.22);
}

.download-button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.download-button.large {
  flex: 0 0 auto;
}

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

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.58);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 390px);
  aspect-ratio: 0.66;
  border-radius: 42px;
  padding: 14px;
  background: linear-gradient(145deg, #11183f, #030720);
  box-shadow: var(--shadow);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 31px;
  padding: 1.2rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 247, 0.88)),
    var(--surface);
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(144, 71, 255, 0.11), transparent 32%, rgba(255, 159, 34, 0.16));
  pointer-events: none;
}

.screen-top,
.scripture-lines,
.ink-note {
  position: relative;
}

.screen-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.screen-logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 16px;
}

.screen-top p {
  margin-bottom: 0.15rem;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
}

.screen-top strong {
  display: block;
  font-size: 1.35rem;
}

.scripture-lines {
  display: grid;
  gap: 0.9rem;
}

.scripture-lines span {
  display: block;
  height: 15px;
  border-radius: 999px;
  background: rgba(7, 13, 55, 0.14);
}

.scripture-lines .highlight {
  height: 20px;
  background: linear-gradient(90deg, rgba(255, 195, 38, 0.86), rgba(255, 90, 98, 0.58));
}

.scripture-lines .short {
  width: 68%;
}

.ink-note {
  margin-top: 2rem;
  border: 1px solid rgba(7, 13, 55, 0.1);
  border-radius: 24px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.78);
}

.note-label {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ink-note p {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.ink-note svg {
  display: block;
  width: 100%;
  height: auto;
}

.ink-note path {
  fill: none;
  stroke: url("#ink-gradient");
  stroke-width: 14;
  stroke-linecap: round;
}

.feature-band {
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100% - 1180px) / 2));
  background: #fff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  background: var(--surface);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.3rem;
  border-radius: 14px;
}

.pen-icon {
  background: linear-gradient(135deg, var(--coral), var(--orange));
}

.highlight-icon {
  background: linear-gradient(135deg, var(--gold), var(--coral));
}

.focus-icon {
  background: linear-gradient(135deg, var(--violet), var(--ink));
}

.language-icon {
  background: linear-gradient(135deg, var(--orange), var(--violet));
}

.feature-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.split-feature-copy {
  max-width: 680px;
}

.split-feature-copy h2 {
  margin-bottom: 1.25rem;
}

.split-feature-copy p {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.62;
}

.feature-points {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

.feature-points li::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--orange), var(--violet));
}

.split-feature-media img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.faq-band {
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(255, 250, 247, 0.95), rgba(255, 255, 255, 0.92)),
    var(--paper);
}

.faq-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 2rem;
}

.faq-heading h2 {
  max-width: 780px;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(7, 13, 55, 0.06);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1.1rem 3.1rem 1.1rem 1.2rem;
  cursor: pointer;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.16rem);
  font-weight: 800;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 1.2rem 1.25rem;
  color: var(--ink-soft);
  line-height: 1.62;
}

.faq-answer p {
  margin-bottom: 0.85rem;
}

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

.faq-answer ul {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

.faq-answer li::marker {
  color: var(--coral);
}

.faq-answer a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 90, 98, 0.45);
  text-underline-offset: 0.22em;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.download-band h2 {
  max-width: 800px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3.4rem;
  }

  .hero-banner {
    padding-top: 1rem;
  }

  .hero-banner-image {
    border-radius: 14px;
  }

  .hero-download-panel {
    grid-template-columns: 1fr;
  }

  .hero-download-panel .hero-actions {
    justify-content: stretch;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .phone-shell {
    max-width: 360px;
  }

  .feature-grid,
  .split-feature,
  .download-band,
  .faq-heading {
    grid-template-columns: 1fr;
  }

  .split-feature {
    padding-top: 3rem;
  }

  .feature-grid {
    display: grid;
  }

  .download-band {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(100% - 1rem, 1180px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 0.85rem;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.25rem);
  }

  .download-button {
    width: 100%;
  }

  .trust-row span {
    flex: 1 1 100%;
  }

  .feature-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }
}
