/* ---------------------------------------------------------
   Zikir landing page
   Palette and type extend the app's own visual language.
   --------------------------------------------------------- */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Amiri";
  src: url("assets/fonts/amiri-arabic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  --night: #07120d;
  --night-2: #0f1a14;
  --emerald: #123a2c;
  --emerald-mid: #1d5540;
  --cream: #f2ebdc;
  --paper: #fbf6e8;
  --cream-deep: #e7dcc4;
  --gold: #b08a2e;
  --gold-soft: #d8c38c;
  --gold-ink: #6f5216;
  --ink: #17251d;
  --muted: #5f6b60;
  --line: rgba(23, 37, 29, 0.14);
  --line-dark: rgba(216, 195, 140, 0.18);
  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --arabic: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif;
  --container: 1180px;
  --radius: 22px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23D8C38C' stroke-width='.7' stroke-opacity='.34'%3E%3Cpath d='M44 7 51 37 81 44 51 51 44 81 37 51 7 44 37 37Z'/%3E%3Ccircle cx='44' cy='44' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 62px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  color-scheme: light;
}

main:focus {
  outline: none;
}

body,
button,
input {
  font-family: var(--body);
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

button {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  margin: 0;
}

::selection {
  background: var(--gold-soft);
  color: var(--night);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  transform: translateY(-150%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ---------------------------------------------------------
   Shared elements
   --------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
  flex-shrink: 0;
}

.eyebrow-light {
  color: var(--gold-soft);
}

.eyebrow-sep {
  opacity: 0.55;
}

.section {
  padding-block: 68px;
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  max-width: 15ch;
  margin-top: 10px;
  font-size: clamp(2.25rem, 9vw, 3.9rem);
  color: var(--ink);
}

.section-head-split,
.section-head-showcase {
  display: grid;
  gap: 18px;
}

.section-intro {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn:active {
  transform: translateY(1px) scale(0.995);
}

.btn-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.76rem;
}

.btn-small .icon {
  width: 14px;
  height: 14px;
}

.btn-lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 0.94rem;
}

.btn-gold {
  color: #1b1305;
  background-image: linear-gradient(135deg, #e8d4a2 0%, #c9a45c 48%, #b08a2e 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 28px rgba(176, 138, 46, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(176, 138, 46, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-ghost {
  color: var(--cream);
  background: rgba(216, 195, 140, 0.04);
  border-color: rgba(216, 195, 140, 0.32);
}

.btn-ghost:hover {
  background: rgba(216, 195, 140, 0.09);
  border-color: rgba(216, 195, 140, 0.58);
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-ink);
  border-bottom: 1px solid rgba(111, 82, 22, 0.45);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  padding-bottom: 2px;
}

.text-link .icon {
  width: 14px;
  height: 14px;
}

.pattern-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--pattern);
  background-size: 88px 88px;
  opacity: 0.48;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 18, 13, 0.97);
  border-bottom: 1px solid rgba(216, 195, 140, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cream);
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--night-2);
  box-shadow: 0 0 0 1px rgba(216, 195, 140, 0.48), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.brand-name {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #c7d2c9;
  font-size: 0.79rem;
  font-weight: 500;
  padding-block: 8px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--cream);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  margin-left: auto;
}

@media (min-width: 900px) {
  html {
    scroll-padding-top: 70px;
  }

  .header-inner {
    min-height: 70px;
    gap: 28px;
  }

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

  .brand-name {
    font-size: 1.72rem;
  }

  .desktop-nav {
    display: flex;
  }

  .header-cta {
    margin-left: 0;
  }
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 86% 12%, rgba(29, 85, 64, 0.58) 0%, rgba(15, 26, 20, 0) 62%),
    radial-gradient(70% 50% at 8% 94%, rgba(176, 138, 46, 0.09) 0%, rgba(15, 26, 20, 0) 70%),
    linear-gradient(180deg, #07120d 0%, #0f1a14 100%);
  color: var(--cream);
  padding-block: 38px 52px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 195, 140, 0.45), transparent);
}

.hero .pattern-bg {
  opacity: 0.38;
  -webkit-mask-image: radial-gradient(80% 80% at 72% 22%, #000 0%, rgba(0, 0, 0, 0.4) 52%, transparent 82%);
  mask-image: radial-gradient(80% 80% at 72% 22%, #000 0%, rgba(0, 0, 0, 0.4) 52%, transparent 82%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  margin: 14px 0 17px;
  color: var(--cream);
  font-size: clamp(2.7rem, 12vw, 5.2rem);
  line-height: 0.97;
  letter-spacing: -0.028em;
}

.hero h1 em {
  color: var(--gold-soft);
  font-weight: 500;
}

.hero-lede {
  max-width: 550px;
  color: #c7d2c9;
  font-size: 0.99rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 24px;
}

.hero-actions .btn {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: #9aaca0;
  font-size: 0.71rem;
  letter-spacing: 0.01em;
}

.hero-meta i {
  font-style: normal;
  opacity: 0.45;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 17px;
  margin-top: 17px;
  padding: 0;
  list-style: none;
  color: #b8c4b9;
  font-size: 0.71rem;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-list .icon {
  width: 13px;
  height: 13px;
  color: var(--gold-soft);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  padding: 12px 0 30px;
  animation: hero-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both;
}

.hero-arch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-phones {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  padding-top: 6px;
}

.phone {
  position: relative;
  flex-shrink: 0;
  padding: 6px;
  border-radius: 31px;
  background: linear-gradient(145deg, #3c6652 0%, #0a1812 34%, #1b4434 100%);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(216, 195, 140, 0.36),
    inset 0 0 0 4px rgba(0, 0, 0, 0.24);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 3;
  border: 1px solid rgba(216, 195, 140, 0.18);
  border-radius: 29px;
  pointer-events: none;
}

.phone::after {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 4;
  border-radius: 26px;
  background: linear-gradient(126deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0.035) 100%);
  pointer-events: none;
}

.phone-screen {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 575 / 1220;
  border-radius: 26px;
  background: var(--night-2);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--night-2);
}

.phone-front {
  width: min(72vw, 300px);
  z-index: 2;
  transform: rotate(2.4deg);
}

.phone-front .phone-screen {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-back {
  display: none;
}

.float-card {
  position: absolute;
  left: 2%;
  bottom: 6px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 8px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(176, 138, 46, 0.5);
  border-radius: 15px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.float-card-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--gold-soft);
  background: var(--emerald);
  border-radius: 50%;
}

.float-card-icon .icon {
  width: 15px;
  height: 15px;
}

.float-card-copy {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.float-card-copy strong {
  font-size: 0.68rem;
  font-weight: 700;
}

.float-card-copy small {
  color: var(--muted);
  font-size: 0.62rem;
}

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-actions .btn:first-child {
    min-width: 210px;
  }

  .hero {
    padding-block: 54px 64px;
  }

  .float-card {
    left: 5%;
    bottom: 14px;
    padding: 10px 15px 10px 10px;
  }

  .float-card-icon {
    width: 35px;
    height: 35px;
  }

  .float-card-copy strong {
    font-size: 0.74rem;
  }

  .float-card-copy small {
    font-size: 0.66rem;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero h1 {
    font-size: clamp(3.8rem, 9vw, 4.3rem);
  }
}

@media (min-width: 900px) {
  .hero {
    padding-block: 72px 82px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 34px;
  }

  .hero h1 {
    margin-top: 17px;
    margin-bottom: 20px;
    font-size: clamp(3.6rem, 6vw, 5.6rem);
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .hero-visual {
    min-height: 700px;
    padding: 4px 0 28px;
  }

  .hero-phones {
    align-items: flex-end;
    justify-content: flex-end;
    padding-top: 0;
    padding-right: 12px;
  }

  .phone-front {
    width: min(62%, 320px);
    transform: rotate(2.4deg);
  }

  .phone-back {
    display: block;
    width: min(51%, 260px);
    margin-right: -13%;
    transform: translateY(-34px) rotate(-7deg);
    z-index: 1;
    opacity: 0.96;
  }

  .phone-back .phone-screen {
    border-radius: 26px;
  }

  .float-card {
    left: 2%;
    bottom: 48px;
  }

  .hero-actions {
    margin-top: 28px;
  }
}

@media (min-width: 1180px) {
  .hero h1 {
    font-size: 5.35rem;
  }
}

/* ---------------------------------------------------------
   Quote
   --------------------------------------------------------- */

.quote-section {
  padding-block: 46px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.quote-inner {
  max-width: 820px;
}

.ornament {
  width: 48px;
  height: 24px;
  margin: 0 auto 18px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}

.quote blockquote {
  margin: 0;
}

.arabic {
  color: var(--gold-ink);
  font-family: var(--arabic);
  font-size: clamp(1.65rem, 6vw, 2.75rem);
  line-height: 1.9;
  letter-spacing: 0;
}

.quote-translation {
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-style: italic;
  line-height: 1.35;
}

.quote figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .quote-section {
    padding-block: 62px;
  }

  .ornament {
    margin-bottom: 22px;
  }
}

/* ---------------------------------------------------------
   Features
   --------------------------------------------------------- */

.features-section {
  background: var(--cream);
}

.feature-grid {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(23, 37, 29, 0.035);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 138, 46, 0.52);
  box-shadow: 0 20px 42px rgba(23, 37, 29, 0.075);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 22px;
  color: var(--gold-soft);
  background: var(--emerald);
  border: 1px solid rgba(216, 195, 140, 0.28);
  border-radius: 50%;
}

.feature-icon .icon {
  width: 21px;
  height: 21px;
}

.feature-num {
  position: absolute;
  top: 17px;
  right: 20px;
  color: rgba(23, 37, 29, 0.18);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.feature-card h3 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 1.62rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.66;
}

.feature-card strong {
  color: var(--ink);
  font-weight: 600;
}

.also {
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.also-label {
  margin-bottom: 11px;
  color: var(--gold-ink);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.also-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  list-style: none;
}

.also-list li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  color: var(--ink);
  background: rgba(251, 246, 232, 0.62);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.71rem;
  line-height: 1.2;
}

.also-list .icon {
  width: 12px;
  height: 12px;
  color: var(--gold-ink);
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .feature-card {
    padding: 26px;
  }
}

@media (min-width: 900px) {
  .section {
    padding-block: 108px;
  }

  .section-head-split,
  .section-head-showcase {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
    gap: 54px;
  }

  .section-head-split .section-intro,
  .section-head-showcase .section-intro {
    justify-self: end;
    max-width: 38ch;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .feature-grid {
    margin-top: 34px;
  }

  .feature-card {
    min-height: 268px;
    padding: 30px;
  }

  .feature-card h3 {
    font-size: 1.85rem;
  }

  .feature-card p {
    max-width: 42ch;
    font-size: 0.94rem;
  }

  .also {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-top: 30px;
    padding-top: 22px;
  }

  .also-label {
    margin: 0;
    flex-shrink: 0;
  }

  .also-list li {
    font-size: 0.74rem;
    padding: 8px 13px;
  }
}

/* ---------------------------------------------------------
   Showcase
   --------------------------------------------------------- */

.showcase-section {
  background: var(--cream-deep);
  border-block: 1px solid rgba(23, 37, 29, 0.1);
}

.section-head-showcase h2 {
  max-width: 12ch;
}

.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.scroll-hint .icon {
  width: 14px;
  height: 14px;
}

.gallery-track {
  display: flex;
  gap: 14px;
  margin-inline: -20px;
  padding: 8px 20px 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  flex: 0 0 min(76vw, 300px);
  scroll-snap-align: center;
  margin: 0;
}

.phone-gallery {
  width: 100%;
  padding: 6px;
  border-radius: 29px;
  box-shadow: 0 24px 50px rgba(23, 37, 29, 0.22), inset 0 0 0 1px rgba(216, 195, 140, 0.36);
}

.phone-gallery::before {
  border-radius: 27px;
}

.phone-gallery::after {
  border-radius: 24px;
}

.phone-gallery .phone-screen {
  border-radius: 24px;
}

.gallery-card figcaption {
  padding: 15px 2px 0;
}

.gallery-num {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-ink);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-card h3 {
  color: var(--ink);
  font-size: 1.42rem;
}

.gallery-card p {
  max-width: 30ch;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.gallery-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

@media (min-width: 900px) {
  .scroll-hint {
    display: none;
  }

  .gallery-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 21px;
    margin-inline: 0;
    padding: 6px 0 54px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .gallery-card {
    flex: none;
    min-width: 0;
    transform: translateY(0);
  }

  .gallery-card:nth-child(2) {
    transform: translateY(24px);
  }

  .gallery-card:nth-child(3) {
    transform: translateY(7px);
  }

  .gallery-card:nth-child(4) {
    transform: translateY(32px);
  }

  .gallery-card figcaption {
    padding-top: 17px;
  }

  .gallery-card h3 {
    font-size: 1.55rem;
  }

  .gallery-note {
    margin-top: 2px;
  }

  .phone-gallery {
    transition: transform 0.24s ease, box-shadow 0.24s ease;
  }

  .gallery-card:hover .phone-gallery {
    transform: translateY(-5px) rotate(-0.6deg);
    box-shadow: 0 34px 64px rgba(23, 37, 29, 0.28), inset 0 0 0 1px rgba(216, 195, 140, 0.5);
  }
}

/* ---------------------------------------------------------
   Privacy
   --------------------------------------------------------- */

.privacy-section {
  position: relative;
  overflow: hidden;
  padding-block: 70px;
  background:
    radial-gradient(80% 70% at 84% 20%, rgba(29, 85, 64, 0.58) 0%, rgba(15, 26, 20, 0) 68%),
    linear-gradient(180deg, #07120d 0%, #0f1a14 100%);
  color: var(--cream);
  border-block: 1px solid rgba(216, 195, 140, 0.16);
}

.privacy-pattern {
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(70% 70% at 82% 48%, #000 0%, transparent 74%);
  mask-image: radial-gradient(70% 70% at 82% 48%, #000 0%, transparent 74%);
}

.privacy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.privacy-copy {
  max-width: 760px;
}

.privacy-copy h2 {
  max-width: 12ch;
  margin: 10px 0 15px;
  color: var(--cream);
  font-size: clamp(2.3rem, 9vw, 4.15rem);
}

.privacy-lede {
  max-width: 550px;
  color: #c7d2c9;
  font-size: 0.98rem;
  line-height: 1.7;
}

.privacy-list {
  display: grid;
  gap: 11px;
  margin-top: 23px;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #dce5dc;
  font-size: 0.88rem;
  line-height: 1.55;
}

.privacy-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold-soft);
}

.privacy-details {
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid var(--line-dark);
}

.privacy-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 7px;
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

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

.privacy-details summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
}

.privacy-details[open] summary::after {
  content: "−";
}

.privacy-doc {
  max-width: 74ch;
  margin-top: 20px;
  color: #b8c4b9;
  font-size: 0.81rem;
  line-height: 1.7;
}

.privacy-doc .doc-meta {
  margin-bottom: 16px;
  color: #8fa196;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.privacy-doc h3 {
  margin: 22px 0 5px;
  color: var(--cream);
  font-size: 1.24rem;
  line-height: 1.2;
}

.privacy-doc p {
  margin-bottom: 9px;
}

.privacy-doc ul {
  margin: 0 0 10px;
  padding-left: 18px;
}

.privacy-doc li {
  margin-bottom: 5px;
}

.privacy-doc strong {
  color: var(--cream);
  font-weight: 600;
}

.privacy-note {
  max-width: 580px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  color: #8fa196;
  font-size: 0.68rem;
  line-height: 1.6;
}

.privacy-seal {
  display: none;
}

@media (min-width: 900px) {
  .privacy-section {
    padding-block: 106px;
  }

  .privacy-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 66px;
  }

  .privacy-seal {
    position: relative;
    display: grid;
    place-items: center;
    width: min(26vw, 300px);
    aspect-ratio: 1;
    margin-inline: auto;
    border: 1px solid rgba(216, 195, 140, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 90px rgba(176, 138, 46, 0.08);
  }

  .seal-ring {
    position: absolute;
    border: 1px solid rgba(216, 195, 140, 0.17);
    border-radius: 50%;
  }

  .seal-ring-1 {
    inset: 25px;
  }

  .seal-ring-2 {
    inset: 54px;
  }

  .seal-core {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    color: var(--gold-soft);
    background: rgba(18, 58, 44, 0.94);
    border: 1px solid rgba(216, 195, 140, 0.55);
    border-radius: 50%;
    box-shadow: 0 0 45px rgba(216, 195, 140, 0.12);
  }

  .seal-core .icon {
    width: 33px;
    height: 33px;
  }
}

/* ---------------------------------------------------------
   Download
   --------------------------------------------------------- */

.download-section {
  position: relative;
  overflow: hidden;
  padding-block: 70px;
  background:
    radial-gradient(80% 60% at 18% 6%, rgba(29, 85, 64, 0.58) 0%, rgba(15, 26, 20, 0) 66%),
    linear-gradient(180deg, #0f1a14 0%, #07120d 100%);
  color: var(--cream);
}

.download-pattern {
  opacity: 0.28;
  -webkit-mask-image: radial-gradient(80% 80% at 24% 40%, #000 0%, transparent 76%);
  mask-image: radial-gradient(80% 80% at 24% 40%, #000 0%, transparent 76%);
}

.download-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.download-copy h2 {
  max-width: 12ch;
  margin: 10px 0 14px;
  color: var(--cream);
  font-size: clamp(2.35rem, 9vw, 4.3rem);
}

.download-copy > p {
  max-width: 500px;
  color: #c7d2c9;
  font-size: 0.95rem;
  line-height: 1.7;
}

.download-actions {
  margin-top: 23px;
}

.download-actions .btn {
  width: 100%;
}

.download-meta {
  margin-top: 12px;
  color: #8fa196;
  font-size: 0.69rem;
  letter-spacing: 0.015em;
}

.download-free {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: var(--gold-soft);
  font-size: 0.73rem;
}

.download-free .icon {
  width: 13px;
  height: 13px;
}

.release-card {
  position: relative;
  overflow: hidden;
  padding: 21px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(216, 195, 140, 0.52);
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.release-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), transparent);
  opacity: 0.9;
}

.release-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 3px;
  color: var(--gold-ink);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.release-top .icon {
  width: 16px;
  height: 16px;
}

.release-card h3 {
  margin: 12px 0 1px;
  color: var(--ink);
  font-size: 2rem;
}

.apk-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 22px 0 15px;
  color: var(--gold-ink);
  background: var(--cream);
  border: 1px solid rgba(176, 138, 46, 0.38);
  border-radius: 50%;
}

.apk-mark .icon {
  width: 29px;
  height: 29px;
}

.apk-card h3 {
  font-size: 2.2rem;
}

.apk-card-copy {
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.apk-points {
  display: grid;
  gap: 7px;
  margin-top: 17px;
  padding: 15px 0 0;
  border-top: 1px solid rgba(23, 37, 29, 0.13);
  list-style: none;
}

.apk-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 0.8rem;
}

.apk-points .icon {
  width: 13px;
  height: 13px;
  color: var(--gold-ink);
}

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-top: 35px;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding-top: 15px;
  border-top: 1px solid var(--line-dark);
}

.step-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--gold-soft);
  border: 1px solid rgba(216, 195, 140, 0.42);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.88rem;
  line-height: 1;
}

.step h3 {
  margin: 2px 0 2px;
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

.step p {
  color: #b3c0b6;
  font-size: 0.81rem;
  line-height: 1.55;
}

.download-note {
  position: relative;
  z-index: 1;
  max-width: 830px;
  margin-top: 26px;
  padding-top: 15px;
  border-top: 1px solid var(--line-dark);
  color: #9fb0a4;
  font-size: 0.73rem;
  line-height: 1.65;
}

.download-note a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 600px) {
  .download-actions .btn {
    width: auto;
  }
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 900px) {
  .download-section {
    padding-block: 106px;
  }

  .download-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: 58px;
  }

  .release-card {
    padding: 25px;
  }

  .steps {
    margin-top: 46px;
  }
}

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */

.faq-section {
  background: var(--cream);
}

.faq-grid {
  display: grid;
  gap: 28px;
}

.faq-intro h2 {
  max-width: 10ch;
  margin: 10px 0 13px;
  color: var(--ink);
  font-size: clamp(2.25rem, 9vw, 3.8rem);
}

.faq-intro p:last-child {
  max-width: 31ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.27rem;
  font-weight: 600;
  line-height: 1.22;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--gold-ink);
  font-family: var(--body);
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
}

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

.faq-answer {
  max-width: 62ch;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 64px;
  }

  .faq-intro {
    position: sticky;
    top: 108px;
  }

  .faq-item summary {
    padding: 19px 0;
    font-size: 1.45rem;
  }
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
  padding: 48px 0 22px;
  color: #b8c4b9;
  background: #07120d;
}

.footer-grid {
  display: grid;
  gap: 25px;
}

.footer-brand .brand {
  margin-bottom: 11px;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
}

.footer-brand .brand-name {
  font-size: 1.7rem;
}

.footer-tagline {
  max-width: 22ch;
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 1.25;
}

.footer-col h2 {
  margin: 0 0 9px;
  color: #7f9186;
  font-family: var(--body);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 3px 0;
  color: #c7d2c9;
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-col p {
  max-width: 34ch;
  color: #8fa196;
  font-size: 0.72rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 34px;
  padding-top: 15px;
  border-top: 1px solid rgba(216, 195, 140, 0.15);
  color: #7f9186;
  font-size: 0.65rem;
  line-height: 1.65;
}

.footer-legal {
  max-width: 650px;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (min-width: 1000px) {
  .site-footer {
    padding-top: 58px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.55fr) minmax(0, 0.55fr) minmax(0, 0.85fr);
    gap: 40px;
  }

  .footer-legal {
    text-align: right;
  }
}

/* ---------------------------------------------------------
   404
   --------------------------------------------------------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 28px;
  color: var(--cream);
  text-align: center;
  background:
    radial-gradient(70% 60% at 50% 20%, rgba(29, 85, 64, 0.55) 0%, rgba(15, 26, 20, 0) 70%),
    var(--night);
}

.error-inner {
  max-width: 520px;
}

.error-page .brand-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
}

.error-page .eyebrow {
  justify-content: center;
  color: var(--gold-soft);
}

.error-page h1 {
  margin: 12px 0 12px;
  color: var(--cream);
  font-size: clamp(2.7rem, 10vw, 4.6rem);
}

.error-page p {
  color: #b8c4b9;
  font-size: 0.95rem;
  line-height: 1.7;
}

.error-page .btn {
  margin-top: 24px;
}

/* ---------------------------------------------------------
   Motion
   --------------------------------------------------------- */

@keyframes hero-rise {
  from {
    transform: translateY(18px);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-visual {
    animation: none;
  }
}

/* ---------------------------------------------------------
   Small screens
   --------------------------------------------------------- */

@media (max-width: 359px) {
  .container {
    width: calc(100% - 32px);
  }

  .gallery-track {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

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

  .header-cta {
    padding-inline: 11px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-meta {
    font-size: 0.66rem;
  }

  .trust-list {
    gap: 7px 12px;
    font-size: 0.67rem;
  }

  .float-card {
    left: 0;
  }
}
