@font-face {
  font-family: "Tajawal";
  src: url("assets/fonts/Tajawal-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("assets/fonts/Tajawal-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("assets/fonts/Tajawal-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Amiri Quran";
  src: url("assets/fonts/AmiriQuran-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #17322d;
  --ink-soft: #53625f;
  --surface: #fffdf7;
  --surface-2: #f5efe2;
  --primary: #176756;
  --primary-dark: #0b3f37;
  --primary-soft: #d9eee8;
  --gold: #c59b45;
  --gold-soft: #f5e2ad;
  --line: rgba(21, 61, 52, 0.14);
  --shadow: 0 14px 34px rgba(17, 58, 50, 0.12);
  --radius: 8px;
  --max: 960px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 78px;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: "Tajawal", "Noto Kufi Arabic", "Noto Naskh Arabic", "Geeza Pro", Tahoma, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

#codex-browser-sidebar-comments-root {
  pointer-events: none !important;
}

main {
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(197, 155, 69, 0.72);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 28px, var(--max));
  min-height: 58px;
  margin: 8px auto 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 10px 30px rgba(16, 57, 48, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--primary-dark);
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.brand-copy small {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #38554f;
  font-size: 0.84rem;
  font-weight: 700;
}

.main-nav a {
  min-height: 36px;
  padding: 7px 10px;
  border-radius: var(--radius);
}

.main-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary-dark);
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 999px;
}

.section,
.section-band {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section {
  padding: 32px 0;
}

.section-band {
  border-radius: var(--radius);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.82fr);
  gap: 22px;
  align-items: center;
  margin-top: 16px;
  padding: clamp(16px, 2.6vw, 26px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 226, 173, 0.18), transparent 26%),
    radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(130deg, #0b3f37 0%, #176756 58%, #65532e 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

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

h1 {
  max-width: 14ch;
  margin-bottom: 8px;
  font-size: clamp(1.34rem, 3.2vw, 2.05rem);
  line-height: 1.16;
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.02rem, 2.2vw, 1.42rem);
  line-height: 1.32;
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.hero-text {
  max-width: 44rem;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.88rem, 2vw, 0.96rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  min-width: 164px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.store-button-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
  color: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(4, 36, 31, 0.16);
}

.store-button small {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: currentColor;
  opacity: 0.72;
}

.store-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: rgba(23, 103, 86, 0.12);
}

.store-button:not(.store-button-primary) .store-icon {
  background: rgba(255, 255, 255, 0.14);
}

.store-button-muted {
  color: rgba(255, 255, 255, 0.74);
  cursor: default;
}

.store-button-soon {
  pointer-events: none;
}

.download-panel .store-button-muted,
.hero-actions .store-button-muted {
  border-style: dashed;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.hero-stats div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 0.9rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
}

.hero-showcase {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 330px);
  min-height: 306px;
  isolation: isolate;
}

.hero-showcase::before,
.hero-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-showcase::before {
  inset: 34px 8px 18px;
  border: 1px solid rgba(245, 226, 173, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 22% 22%, rgba(245, 226, 173, 0.2), transparent 34%);
  transform: rotate(-3deg);
}

.hero-showcase::after {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(245, 226, 173, 0.13);
  filter: blur(1px);
}

.showcase-phone {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border: 1px solid rgba(245, 226, 173, 0.38);
  background: #f7f0df;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.showcase-phone-main {
  width: 172px;
  border-radius: 24px;
}

.showcase-phone-side {
  position: absolute;
  inset-inline-start: 16px;
  bottom: 28px;
  z-index: 0;
  width: 124px;
  border-radius: 20px;
  opacity: 0.92;
  transform: rotate(-7deg);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.showcase-badge {
  position: absolute;
  z-index: 2;
  inset-inline-end: 8px;
  bottom: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(245, 226, 173, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.94);
  color: var(--primary-dark);
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 16px;
}

.section-note {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-heading .eyebrow,
.download-panel .eyebrow,
.contact .eyebrow {
  color: var(--gold);
}

.dedication {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-block: 34px;
}

.dedication-mark {
  display: grid;
  place-items: center;
  width: clamp(78px, 14vw, 112px);
  height: clamp(78px, 14vw, 112px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 226, 173, 0.34)),
    var(--surface);
  box-shadow: 0 16px 36px rgba(17, 58, 50, 0.1);
}

.dedication-mark img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  border-radius: 8px;
}

.dedication p:last-child,
.about-copy p,
.download-panel p,
.contact p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.dedication p:last-child {
  max-width: 720px;
  margin-bottom: 0;
}

.features {
  padding: 30px clamp(12px, 2.6vw, 24px);
  background: #eef7f3;
  border: 1px solid var(--line);
}

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

.feature-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(21, 61, 52, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.screen-slider {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: clamp(12px, 3vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(238, 247, 243, 0.78));
  box-shadow: 0 16px 38px rgba(17, 58, 50, 0.08);
}

.screen-track {
  display: grid;
  place-items: center;
  min-width: 0;
  touch-action: pan-y;
}

.screen-slide {
  display: none;
  width: min(100%, 300px);
  margin: 0;
}

.screen-slide.is-active {
  display: block;
}

.screen-slide img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(21, 61, 52, 0.14);
  outline: 1px solid rgba(21, 61, 52, 0.16);
  box-shadow: 0 18px 32px rgba(17, 58, 50, 0.12);
}

.screen-slide figcaption {
  margin-top: 10px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.slider-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 22px rgba(17, 58, 50, 0.08);
  transform: translateY(-50%);
}

.slider-next {
  inset-inline-start: 12px;
}

.slider-prev {
  inset-inline-end: 12px;
}

.slider-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.slider-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 103, 86, 0.25);
  padding: 0;
}

.slider-dot.is-active {
  width: 24px;
  background: var(--primary);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 38px clamp(16px, 3vw, 32px);
  background: linear-gradient(135deg, #fff7e1, #eef8f4);
  border: 1px solid var(--line);
}

.values {
  display: grid;
  gap: 12px;
}

.values div {
  padding: 14px;
  border: 1px solid rgba(21, 61, 52, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.values strong,
.values span {
  display: block;
}

.values strong {
  margin-bottom: 4px;
  color: var(--primary-dark);
  font-size: 1rem;
}

.values span {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.trust-item {
  min-width: 0;
  padding: 15px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 58, 50, 0.06);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 4px;
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: center;
  padding: clamp(16px, 2.6vw, 24px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(245, 226, 173, 0.18), transparent 34%),
    linear-gradient(135deg, #0b3f37 0%, #145f51 58%, #6d5a33 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.download-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.download-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.download-badge {
  display: grid;
  place-items: center;
  width: clamp(70px, 10vw, 94px);
  height: clamp(70px, 10vw, 94px);
  border: 1px solid rgba(245, 226, 173, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.download-badge img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  border-radius: 8px;
}

.download-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.download-option {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.download-option:not(.download-option-waiting):hover {
  transform: translateY(-2px);
  border-color: rgba(245, 226, 173, 0.5);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.download-option::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 5px;
  background: var(--gold);
}

.download-option::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
  transform: translateX(42%);
  pointer-events: none;
}

.download-option-waiting::after {
  display: none;
}

.download-option-featured {
  background:
    linear-gradient(135deg, #ffffff 0%, #f7fbf8 54%, #edf7f2 100%);
  color: var(--primary-dark);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.download-option-waiting {
  border-style: dashed;
  color: rgba(255, 255, 255, 0.76);
  cursor: default;
}

.download-option-featured.download-option-waiting {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  cursor: default;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.download-option-featured.download-option-waiting .download-option-copy small,
.download-option-featured.download-option-waiting .download-option-copy em {
  color: var(--ink-soft);
  opacity: 1;
}

.download-option-featured.download-option-waiting .download-option-icon {
  color: var(--primary-dark);
}

.download-option-status {
  position: absolute;
  top: 10px;
  inset-inline-end: 12px;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(245, 226, 173, 0.16);
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.5;
}

.download-option-featured .download-option-status {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.download-option-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.download-option-featured .download-option-icon {
  background: var(--primary-soft);
}

.download-option-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.download-option-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.22;
}

.download-option-copy small,
.download-option-copy em {
  font-style: normal;
  font-weight: 700;
  opacity: 0.68;
}

.download-option-copy small {
  font-size: 0.72rem;
}

.download-option-copy strong {
  font-size: 1rem;
  font-weight: 800;
}

.download-option-copy em {
  font-size: 0.78rem;
}

.download-option-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  opacity: 0.86;
}

.download-option-featured .download-option-arrow {
  background: rgba(23, 103, 86, 0.1);
}

.download-option-arrow svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.contact {
  padding: 38px clamp(16px, 3vw, 32px);
  background: #f7f2e8;
  border: 1px solid var(--line);
  text-align: center;
}

.contact .section-heading {
  margin-inline: auto;
}

.faq {
  padding: 34px clamp(16px, 3vw, 32px);
  background: #eef7f3;
  border: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid rgba(21, 61, 52, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 13px 14px;
  color: var(--primary-dark);
  font-size: 0.94rem;
  font-weight: 800;
  list-style: none;
}

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

.faq summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-inline-end: 8px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.95rem;
  line-height: 1;
}

.faq details[open] summary::before {
  content: "-";
}

.faq details p {
  margin: 0;
  padding: 0 44px 14px 14px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.65;
}

.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 34px auto 18px;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-align: start;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 18px 24px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(245, 226, 173, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(245, 226, 173, 0.12), transparent 34%),
    linear-gradient(135deg, #0b3f37 0%, #145f51 58%, #5c4b2b 100%);
  box-shadow: var(--shadow);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-brand img {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid rgba(245, 226, 173, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: #fff;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 800;
  line-height: 1.35;
}

.footer-brand span {
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.footer-summary {
  grid-column: 1;
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer-nav {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 8px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-nav a:hover {
  border-color: rgba(245, 226, 173, 0.36);
  background: rgba(245, 226, 173, 0.12);
  color: #fff;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
}

.footer-meta > span {
  min-width: 0;
}

.visit-counter {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  margin-top: 0;
  padding: 7px 12px;
  border: 1px solid rgba(245, 226, 173, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

.visit-counter span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.visit-counter strong {
  min-width: 2ch;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
}

.privacy-page {
  min-height: 100vh;
  padding: 28px 16px;
  background:
    radial-gradient(circle at top right, rgba(217, 238, 232, 0.72), transparent 34%),
    var(--surface);
}

.privacy-card {
  width: min(100%, 820px);
  padding: clamp(22px, 5vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.privacy-card img {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: var(--radius);
}

.privacy-card h1 {
  max-width: none;
  color: var(--primary-dark);
  font-size: clamp(1.7rem, 5vw, 2.7rem);
}

.privacy-card h2 {
  margin-top: 24px;
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.privacy-card p {
  color: var(--ink-soft);
  font-weight: 700;
}

.privacy-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--primary-dark);
  color: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .about,
  .dedication,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-feature {
    margin-inline: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-panel {
    text-align: center;
  }

  .download-card {
    justify-items: center;
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 18px, var(--max));
    min-height: 52px;
    margin-top: 7px;
    padding: 6px 9px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand-copy small {
    font-size: 0.62rem;
  }

  .nav-toggle {
    display: block;
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .main-nav {
    position: fixed;
    inset: 68px 9px auto;
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(255, 253, 247, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    min-height: 42px;
    padding: 9px 12px;
  }

  .section,
  .section-band {
    width: min(100% - 18px, var(--max));
  }

  .section {
    padding: 28px 0;
  }

  .hero {
    gap: 12px;
    margin-top: 10px;
    padding: 14px 12px 16px;
  }

  h1 {
    max-width: 16ch;
    font-size: clamp(1.2rem, 6.1vw, 1.5rem);
    margin-bottom: 7px;
  }

  h2 {
    font-size: clamp(1.05rem, 4.8vw, 1.34rem);
  }

  .hero-text {
    margin-bottom: 12px;
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .store-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    gap: 7px;
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  .store-button small {
    margin-bottom: 2px;
    font-size: 0.62rem;
  }

  .store-icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .hero-stats div {
    padding: 7px 5px;
    text-align: center;
  }

  .hero-stats strong {
    font-size: 0.78rem;
  }

  .hero-stats span {
    font-size: 0.65rem;
  }

  .hero-visual {
    min-height: 250px;
  }

  .hero-showcase {
    width: min(100%, 286px);
    min-height: 242px;
  }

  .hero-showcase::before {
    inset: 28px 18px 14px;
    border-radius: 18px;
  }

  .hero-showcase::after {
    width: 172px;
    height: 172px;
  }

  .showcase-phone-main {
    width: min(42vw, 152px);
    border-radius: 20px;
  }

  .showcase-phone-side {
    inset-inline-start: 32px;
    bottom: 22px;
    width: min(31vw, 108px);
    border-radius: 16px;
  }

  .showcase-badge {
    inset-inline-end: 24px;
    bottom: 18px;
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .feature-card {
    padding: 10px;
  }

  .feature-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 7px;
  }

  .feature-icon svg {
    width: 17px;
    height: 17px;
  }

  .feature-card h3 {
    margin-bottom: 5px;
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .feature-card p {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .dedication {
    gap: 16px;
    padding-block: 30px;
    text-align: center;
  }

  .dedication-mark {
    margin-inline: auto;
  }

  .screen-slider {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 12px 10px;
  }

  .slider-button {
    width: 36px;
    height: 36px;
  }

  .screen-slide {
    width: min(100%, 286px);
  }

  .screen-slide img {
    border-width: 1px;
    border-radius: 16px;
  }

  .download-panel,
  .features,
  .about,
  .contact,
  .faq {
    padding: 24px 12px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .trust-item {
    padding: 12px;
  }

  .faq summary {
    padding: 12px;
    font-size: 0.88rem;
  }

  .faq details p {
    padding: 0 40px 12px 12px;
    font-size: 0.8rem;
  }

  .site-footer {
    width: min(100% - 18px, var(--max));
    margin: 24px auto 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 13px;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
    gap: 10px;
  }

  .footer-brand img {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .footer-brand strong {
    font-size: 0.94rem;
  }

  .footer-brand span {
    font-size: 0.72rem;
  }

  .footer-summary {
    grid-column: auto;
    max-width: none;
    font-size: 0.78rem;
    line-height: 1.65;
  }

  .footer-nav {
    grid-row: auto;
    grid-column: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
  }

  .footer-nav a {
    min-height: 40px;
    padding: 8px 6px;
    font-size: 0.76rem;
  }

  .footer-meta {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding-top: 12px;
    font-size: 0.76rem;
  }

  .visit-counter {
    min-height: 36px;
    padding: 7px 11px;
  }

  .download-panel {
    gap: 18px;
  }

  .download-option {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 68px;
    text-align: right;
    padding: 12px 10px;
  }

  .download-option-arrow {
    display: none;
  }

  .download-option-status {
    top: 8px;
    inset-inline-end: 10px;
  }
}

@media (max-width: 390px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .brand-copy small {
    max-width: 126px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    padding-inline: 14px;
  }

  .showcase-phone-main {
    width: min(43vw, 146px);
  }

  .showcase-phone-side {
    width: min(30vw, 100px);
  }

  .feature-card,
  .values div {
    padding: 12px;
  }

  .screen-slide {
    width: min(100%, 260px);
  }
}
