:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7faf8;
  --bg-deep: #0f4a3a;
  --text: #12241e;
  --text-soft: #f7fbf9;
  --muted: #5a6b64;
  --muted-soft: rgba(18, 36, 30, 0.62);
  --accent: #0f4a3a;
  --accent-bright: #1f7a5c;
  --accent-soft: #e8f5ef;
  --border: #e2ebe6;
  --surface: #ffffff;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --content-max: 58rem;
  --panel-max: 36rem;
  --section-pad-y: clamp(3.5rem, 7vw, 4.75rem);
  --phone-width: min(17.5rem, 78vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Outfit,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

body.site {
  background: var(--bg);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* —— Legal pages (privacy / terms) —— */
body:not(.site) header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  background: var(--surface);
}

body:not(.site) header a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

body:not(.site) main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

body:not(.site) h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

body:not(.site) .meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

body:not(.site) h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--accent);
}

body:not(.site) footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

body:not(.site) footer nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

ul {
  padding-left: 1.25rem;
}

/* —— Marketing site —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 235, 230, 0.7);
  transition:
    background 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(226, 235, 230, 0.95);
  box-shadow: 0 10px 30px rgba(18, 36, 30, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 74, 58, 0.08);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #f4f8f6 !important;
  font-weight: 600 !important;
}

.hero {
  position: relative;
  display: grid;
  gap: 2rem;
  justify-items: center;
  align-content: center;
  min-height: auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(2.75rem, 6vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(31, 122, 92, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(15, 74, 58, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7faf8 55%, #ffffff 100%);
  color: var(--text);
}

.hero-glow {
  position: absolute;
  inset: auto 10% -18% 30%;
  height: 50%;
  background: radial-gradient(circle, rgba(31, 122, 92, 0.1), transparent 65%);
  pointer-events: none;
  animation: glow-drift 14s ease-in-out infinite alternate;
}

.hero-glow-alt {
  inset: -12% 25% auto 20%;
  height: 42%;
  background: radial-gradient(circle, rgba(159, 212, 191, 0.22), transparent 70%);
  animation-duration: 18s;
  animation-direction: alternate-reverse;
}

@keyframes glow-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translate3d(-4%, 6%, 0) scale(1.12);
    opacity: 1;
  }
}

.hero-enter {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: calc(140ms + var(--i, 0) * 110ms);
}

body.is-ready .hero-enter {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 32rem;
  width: 100%;
  align-self: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 74, 58, 0.16);
  background: rgba(232, 245, 239, 0.65);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-arabic {
  margin: 0 0 1rem;
  font-family: Amiri, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--accent-bright);
}

.hero h1 {
  margin: 0 auto;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.65rem, 6.5vw, 4.15rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--text);
  max-width: 11ch;
  text-wrap: balance;
}

.hero-lead {
  margin: 1.35rem auto 0;
  max-width: 38ch;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
  justify-content: center;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  justify-content: center;
}

.store-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 74, 58, 0.14);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.store-pill-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.store-pill-soon {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tint, #1f7a5c);
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  padding-right: 0.55rem;
}

.btn-primary:hover {
  background: #163f33;
  transform: translateY(-2px);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease);
}

.btn-primary:hover .btn-icon {
  transform: translate(2px, -1px) scale(1.05);
}

.btn-ghost {
  border: 1px solid rgba(15, 74, 58, 0.22);
  color: var(--accent);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(15, 74, 58, 0.45);
  background: rgba(232, 245, 239, 0.45);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  justify-self: center;
  width: var(--phone-width);
  max-width: 100%;
  flex-shrink: 0;
}

/* Realistic iPhone 15 Pro–style frame */
.iphone {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 28px 50px rgba(15, 74, 58, 0.18)) drop-shadow(0 8px 20px rgba(18, 36, 30, 0.12));
  transform: rotate(1.5deg) translateY(14px);
  opacity: 1;
  transition: transform 1.1s var(--ease);
  transition-delay: 0.35s;
  animation: phone-float 7s ease-in-out 1.4s infinite;
}

body.is-ready .hero-visual .iphone {
  transform: rotate(1.5deg) translateY(0);
}

body.is-ready .hero-visual .iphone:hover {
  animation: none;
  transform: rotate(0deg) translateY(-6px);
}

@keyframes phone-float {
  0%,
  100% {
    transform: rotate(1.5deg) translateY(0);
  }
  50% {
    transform: rotate(1.1deg) translateY(-8px);
  }
}

.iphone-body {
  position: relative;
  border-radius: 18% / 9%;
  padding: 2.2%;
  background: linear-gradient(145deg, #4a4a4c 0%, #1f1f21 45%, #0c0c0d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 2.5px rgba(0, 0, 0, 0.65);
}

.iphone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 15.5% / 7.6%;
  background: #eef5f1;
  aspect-ratio: 390 / 844;
}

.iphone-island {
  position: absolute;
  top: 1.55%;
  left: 50%;
  z-index: 2;
  width: 28%;
  height: 3.2%;
  max-height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.iphone-side {
  position: absolute;
  background: linear-gradient(180deg, #6a6a6e, #2c2c2e 40%, #1a1a1c);
  border-radius: 2px;
}

.iphone-silent {
  left: -1.6%;
  top: 14.5%;
  width: 1.6%;
  height: 3.2%;
}

.iphone-volume-up {
  left: -1.6%;
  top: 21%;
  width: 1.6%;
  height: 6.2%;
}

.iphone-volume-down {
  left: -1.6%;
  top: 29%;
  width: 1.6%;
  height: 6.2%;
}

.iphone-power {
  right: -1.6%;
  top: 24%;
  width: 1.6%;
  height: 9.5%;
}

/* Green-toned in-phone home mock */
.mock-home {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 8.5% 5% 2.8%;
  color: #12241e;
  background:
    radial-gradient(120% 55% at 50% -8%, rgba(31, 122, 92, 0.14), transparent 55%),
    linear-gradient(180deg, #f6fbf8 0%, #eaf3ee 52%, #f3f8f5 100%);
  font-family: Outfit, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.25;
}

.mock-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5% 2%;
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #1a332a;
}

.mock-status-icons {
  display: flex;
  gap: 0.28rem;
  align-items: center;
  color: #1a332a;
}

.mock-status-icons svg {
  display: block;
  height: 0.52rem;
  width: auto;
  fill: currentColor;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 2.8%;
}

.mock-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mock-logo img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  object-fit: cover;
  background: #fff;
  box-shadow:
    0 2px 8px rgba(15, 74, 58, 0.12),
    inset 0 0 0 1px rgba(15, 74, 58, 0.08);
}

.mock-ico {
  display: block;
  width: 0.72rem;
  height: 0.72rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-ico.filled {
  fill: currentColor;
  stroke: none;
}

.mock-header-actions {
  display: flex;
  gap: 0.26rem;
}

.mock-header-actions span {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.18rem;
  height: 1.18rem;
  border-radius: 999px;
  color: #0f4a3a;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 2px 6px rgba(15, 74, 58, 0.08),
    inset 0 0 0 1px rgba(15, 74, 58, 0.08);
}

.mock-header-actions .warn {
  color: #c45c2a;
  background: rgba(196, 92, 42, 0.12);
  box-shadow: inset 0 0 0 1px rgba(196, 92, 42, 0.22);
}

.mock-header-actions .has-badge::before {
  content: '2';
  position: absolute;
  top: -16%;
  right: -10%;
  z-index: 1;
  min-width: 0.62rem;
  height: 0.62rem;
  padding: 0 0.1rem;
  border-radius: 999px;
  background: #0f4a3a;
  color: #fff;
  font-size: 0.4rem;
  font-weight: 700;
  line-height: 0.62rem;
  text-align: center;
}

.mock-header-actions .has-badge.warn::before {
  background: #c45c2a;
}

.mock-intro {
  margin-bottom: 2.8%;
}

.mock-greeting {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(18, 36, 30, 0.55);
}

.mock-headline {
  margin: 0.18rem 0 0;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #12241e;
  max-width: 17ch;
}

.mock-date {
  margin: 0.3rem 0 0;
  font-size: 0.5rem;
  font-weight: 500;
  color: rgba(18, 36, 30, 0.48);
}

.mock-prayer {
  position: relative;
  padding: 4% 5% 3.5%;
  border-radius: 1.15rem;
  background:
    radial-gradient(90% 70% at 85% 8%, rgba(159, 212, 191, 0.24), transparent 52%),
    linear-gradient(165deg, #184538 0%, #0d3228 50%, #071c17 100%);
  color: #e8f5ef;
  box-shadow:
    0 14px 28px rgba(7, 28, 23, 0.28),
    inset 0 0 0 1px rgba(159, 212, 191, 0.14);
  overflow: hidden;
  flex-shrink: 0;
}

.mock-prayer-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.mock-prayer-label {
  font-size: 0.46rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(159, 212, 191, 0.88);
}

.mock-prayer-top strong {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.mock-countdown {
  margin: 0.28rem 0 0;
  font-size: 1.62rem;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mock-place {
  margin: 0.28rem 0 0;
  font-size: 0.5rem;
  color: rgba(232, 245, 239, 0.62);
}

.mock-arc {
  display: block;
  width: 100%;
  height: auto;
  margin: 2% 0 0;
}

.mock-dots {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 2%;
}

.mock-dots span {
  flex: 1;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 1.3rem;
  margin: 0 auto;
  border-radius: 999px;
  font-size: 0.46rem;
  font-weight: 650;
  color: rgba(232, 245, 239, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mock-dots .done {
  color: #0a2f25;
  background: #9fd4bf;
  box-shadow: none;
}

.mock-dots .next {
  color: #0a2f25;
  background: #e8c56a;
  box-shadow: 0 0 0 2px rgba(232, 197, 106, 0.28);
}

.mock-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.22rem;
  margin-top: 3.2%;
  flex-shrink: 0;
}

.mock-actions span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.26rem;
  font-size: 0.42rem;
  font-weight: 550;
  color: rgba(18, 36, 30, 0.62);
  text-align: center;
}

.mock-actions i {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.58rem;
  color: #0f4a3a;
  background: #ffffff;
  box-shadow:
    0 4px 10px rgba(15, 74, 58, 0.09),
    inset 0 0 0 1px rgba(15, 74, 58, 0.06);
}

.mock-actions .mock-ico {
  width: 0.8rem;
  height: 0.8rem;
}

.mock-today {
  margin-top: 3%;
  padding: 3% 3.5% 2.8%;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(15, 74, 58, 0.06);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.mock-today-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.mock-today-label {
  display: block;
  font-size: 0.44rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f7a5c;
}

.mock-today-title {
  margin: 0.12rem 0 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #12241e;
}

.mock-today-sub {
  margin: 0.1rem 0 0;
  font-size: 0.46rem;
  color: rgba(18, 36, 30, 0.5);
}

.mock-seal {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  color: #0f4a3a;
  background: rgba(159, 212, 191, 0.45);
  box-shadow: inset 0 0 0 1px rgba(15, 74, 58, 0.12);
  flex-shrink: 0;
}

.mock-seal .mock-ico {
  width: 0.62rem;
  height: 0.62rem;
}

.mock-rows {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
  margin-top: 0.48rem;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.38rem 0.42rem;
  border-radius: 0.55rem;
  background: rgba(238, 245, 241, 0.92);
  box-shadow: inset 0 0 0 1px rgba(15, 74, 58, 0.05);
}

.mock-row i {
  display: grid;
  place-items: center;
  width: 1.18rem;
  height: 1.18rem;
  border-radius: 999px;
  color: #0f4a3a;
  background: rgba(15, 74, 58, 0.1);
  flex-shrink: 0;
}

.mock-row .mock-ico {
  width: 0.62rem;
  height: 0.62rem;
}

.mock-row div {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
}

.mock-row strong {
  font-size: 0.52rem;
  font-weight: 650;
  color: #12241e;
}

.mock-row span {
  font-size: 0.44rem;
  font-weight: 500;
  color: rgba(18, 36, 30, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-row-check {
  display: grid;
  place-items: center;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  color: #0f4a3a;
  background: rgba(159, 212, 191, 0.55);
  flex-shrink: 0;
  font-style: normal;
}

.mock-row-check .mock-ico {
  width: 0.5rem;
  height: 0.5rem;
}

.mock-dock {
  margin-top: 2.8%;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 2% 2.2% 2% 1.6%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 8px 20px rgba(7, 28, 23, 0.12),
    inset 0 0 0 1px rgba(15, 74, 58, 0.07);
  flex-shrink: 0;
}

.mock-tabbar {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.08rem;
}

.mock-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  font-size: 0.4rem;
  font-weight: 550;
  color: rgba(18, 36, 30, 0.42);
}

.mock-tabbar i {
  display: grid;
  place-items: center;
  width: 1.12rem;
  height: 1.12rem;
  border-radius: 999px;
  color: rgba(18, 36, 30, 0.45);
  background: transparent;
}

.mock-tabbar .mock-ico {
  width: 0.7rem;
  height: 0.7rem;
}

.mock-tabbar .active {
  color: #0f4a3a;
  font-weight: 650;
}

.mock-tabbar .active i {
  color: #e8f5ef;
  background: #0f4a3a;
}

.mock-dock-divider {
  width: 1px;
  height: 1.2rem;
  background: rgba(15, 74, 58, 0.16);
  flex-shrink: 0;
}

.mock-companion {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.78rem;
  color: #e8f5ef;
  background: linear-gradient(145deg, #1f7a5c, #0f4a3a);
  box-shadow:
    0 4px 12px rgba(15, 74, 58, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.mock-companion .mock-ico {
  width: 0.78rem;
  height: 0.78rem;
}

.mock-home-bar {
  width: 34%;
  height: 0.22rem;
  margin: 2.2% auto 0;
  border-radius: 999px;
  background: rgba(18, 36, 30, 0.22);
  flex-shrink: 0;
}

@keyframes mock-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

.mock-arc circle:nth-of-type(1) {
  transform-origin: 142px 16px;
  animation: mock-pulse 3.2s ease-in-out infinite;
}


.section-head {
  max-width: var(--content-max);
  margin: 0 auto 2.25rem;
  width: 100%;
}

.section-label {
  position: relative;
  display: inline-block;
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.section-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 1.75rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--ease) 0.15s;
}

.reveal.is-visible .section-label::after {
  transform: scaleX(1);
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.45rem 1.45rem 1.55rem;
  border-radius: 1.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 74, 58, 0.045);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 122, 92, 0.24);
  box-shadow: 0 26px 52px rgba(15, 74, 58, 0.1);
}

.feature-featured {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(232, 245, 239, 0.95), transparent 55%),
    #ffffff;
  border-color: rgba(15, 74, 58, 0.14);
  padding: 1.7rem 1.7rem 1.85rem;
}

.feature-featured .feature-mark {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 1rem;
}

.feature-featured h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.feature-featured p {
  font-size: 1.05rem;
  max-width: 42ch;
}

.feature-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.95rem;
  border-radius: 0.9rem;
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(15, 74, 58, 0.08);
}

.feature-mark svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

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

.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1rem;
  position: relative;
  max-width: var(--content-max);
  width: 100%;
}

.step {
  position: relative;
  padding: 1.4rem 1.3rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(15, 74, 58, 0.04);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(15, 74, 58, 0.08);
}

.step-num {
  display: block;
  margin-bottom: 0.95rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
}

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

.waitlist-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
  width: 100%;
  max-width: 26rem;
}

.hero-copy .waitlist-form {
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form > input[type='email'],
.waitlist-form > .btn-primary {
  grid-column: 1 / -1;
}

@media (min-width: 520px) {
  .waitlist-form:not(.waitlist-form-stack) {
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }

  .waitlist-form:not(.waitlist-form-stack) > input[type='email'] {
    grid-column: 1;
  }

  .waitlist-form:not(.waitlist-form-stack) > .btn-primary {
    grid-column: 2;
  }

  .waitlist-form:not(.waitlist-form-stack) > .waitlist-note,
  .waitlist-form:not(.waitlist-form-stack) > .waitlist-status {
    grid-column: 1 / -1;
  }
}

.waitlist-form input[type='email'] {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 74, 58, 0.18);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.waitlist-form input[type='email']::placeholder {
  color: rgba(90, 107, 100, 0.72);
}

.waitlist-form input[type='email']:focus {
  border-color: rgba(15, 74, 58, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 122, 92, 0.12);
}

.waitlist-form .btn-primary {
  border: 0;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.waitlist-form .btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.waitlist-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.waitlist-note a {
  color: var(--accent);
  font-weight: 500;
}

.waitlist-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}

.waitlist-status.is-ok {
  color: var(--accent-bright);
}

.waitlist-status.is-err {
  color: #9b2c2c;
}

.waitlist-form.is-done input[type='email'] {
  border-color: rgba(31, 122, 92, 0.35);
  background: var(--accent-soft);
}

.launch,
.invite,
.faq {
  background: #ffffff;
}

.launch {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 55% 50% at 90% 0%, rgba(31, 122, 92, 0.06), transparent 55%),
    #ffffff;
}

.launch-grid {
  display: grid;
  gap: 1rem;
  max-width: min(var(--content-max), 44rem);
  margin: 2rem auto 0;
  width: 100%;
}

.launch-card {
  padding: 1.5rem 1.35rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(15, 74, 58, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(15, 74, 58, 0.045);
}

.launch-card h3 {
  margin: 0 0 1rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.launch-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.65rem;
}

.launch-card .waitlist-form {
  margin-top: 0;
  max-width: none;
}

.invite-panel {
  position: relative;
  z-index: 1;
  max-width: var(--panel-max);
  margin: 0 auto;
  padding: 2rem 1.75rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(165deg, rgba(232, 245, 239, 0.65), rgba(255, 255, 255, 0.95)),
    #ffffff;
  border: 1px solid rgba(15, 74, 58, 0.1);
  box-shadow: 0 18px 48px rgba(15, 74, 58, 0.06);
  text-align: center;
}

.invite-panel h2 {
  margin: 0.15rem 0 0.85rem;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--text);
}

.invite-panel > p {
  margin: 0 auto 1.25rem;
  color: var(--muted);
  max-width: 40ch;
  line-height: 1.6;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.invite-actions .btn-primary {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.invite-feedback {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent-bright);
}

.faq .section-head {
  max-width: var(--panel-max);
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  max-width: var(--panel-max);
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
  width: 100%;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: #ffffff;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-item[open] summary::after {
  content: '–';
  background: rgba(15, 74, 58, 0.12);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.faq-item a {
  font-weight: 500;
}

.privacy-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 10% 20%, rgba(31, 122, 92, 0.07), transparent 55%),
    var(--bg-soft);
  color: var(--text);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.privacy-glow {
  position: absolute;
  inset: -20% 30% auto -10%;
  height: 70%;
  background: radial-gradient(circle, rgba(31, 122, 92, 0.08), transparent 65%);
  pointer-events: none;
  animation: glow-drift 16s ease-in-out infinite alternate;
}

.privacy-panel,
.bottom-cta-panel {
  position: relative;
  z-index: 1;
  max-width: var(--panel-max);
  margin: 0 auto;
  padding: 2rem 1.75rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 74, 58, 0.1);
  box-shadow: 0 18px 48px rgba(15, 74, 58, 0.06);
  backdrop-filter: blur(10px);
}

.bottom-cta {
  position: relative;
  overflow: hidden;
  text-align: left;
  background: #ffffff;
}

.bottom-cta-glow {
  position: absolute;
  inset: auto -15% -30% 35%;
  height: 70%;
  background: radial-gradient(circle, rgba(31, 122, 92, 0.08), transparent 65%);
  pointer-events: none;
  animation: glow-drift 18s ease-in-out infinite alternate-reverse;
}

.bottom-cta-panel {
  text-align: center;
}

.bottom-cta-panel .waitlist-form {
  margin: 0.35rem auto 0;
  max-width: 22rem;
  text-align: left;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s var(--ease), letter-spacing 0.35s var(--ease);
}

.text-link:hover {
  color: var(--accent-bright);
  letter-spacing: 0.01em;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease),
    filter 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal[data-reveal='fade'] {
  transform: translateY(12px);
  filter: blur(4px);
}

.reveal[data-reveal='card'] {
  transform: translateY(28px) scale(0.98);
}

.reveal[data-reveal='slide'] {
  transform: translateX(-16px);
  filter: blur(4px);
}

.reveal[data-reveal='scale'] {
  transform: translateY(18px) scale(0.96);
}

.reveal[data-reveal='rise'] {
  transform: translateY(36px);
  filter: blur(10px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.section-head h2,
.privacy-panel h2,
.bottom-cta-panel h2,
.step h3 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 600;
  color: var(--text);
  max-width: 22ch;
  text-wrap: balance;
}

.section-lead {
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
  line-height: 1.6;
}

.features,
.how {
  background: #ffffff;
}

.features,
.how,
.launch,
.invite,
.faq,
.privacy-band,
.bottom-cta {
  padding: var(--section-pad-y) clamp(1.25rem, 4vw, 3rem);
}

.section-head,
.feature-grid {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.step h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.step p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.55;
}

.privacy-band .section-label {
  color: var(--accent-bright);
}

.privacy-panel h2,
.bottom-cta-panel h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 600;
  margin: 0.15rem 0 0.9rem;
  text-wrap: balance;
  color: var(--text);
}

.privacy-panel p,
.bottom-cta-panel p {
  color: var(--muted);
  margin: 0 0 1.15rem;
  line-height: 1.6;
}

.bottom-cta-panel .hero-arabic {
  color: var(--accent-bright);
}

.bottom-cta-panel .btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.bottom-cta-panel .btn-icon {
  background: rgba(255, 255, 255, 0.16);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .brand {
  display: inline-flex;
  margin-bottom: 0.35rem;
}

.site-footer .brand img {
  width: 1.5rem;
  height: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(0, 28rem) var(--phone-width);
    justify-content: center;
    justify-items: stretch;
    align-items: center;
    column-gap: clamp(1.5rem, 3vw, 2.75rem);
    row-gap: 0;
    padding-top: clamp(2.5rem, 4vw, 3.25rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
    min-height: min(100dvh, 52rem);
  }

  .hero-copy {
    text-align: left;
    max-width: 28rem;
    justify-self: end;
  }

  .hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 4.2vw, 3.55rem);
    max-width: 12ch;
  }

  .hero-lead {
    margin: 1.1rem 0 0;
  }

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

  .hero-copy .waitlist-form {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-visual {
    width: var(--phone-width);
    max-width: var(--phone-width);
    justify-self: start;
    margin: 0;
  }

  .launch-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    max-width: var(--content-max);
  }

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

  .feature-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .feature-featured .feature-mark {
    margin-bottom: 0;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .step {
    border: 1px solid var(--border);
  }

  .site-footer {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-featured {
    grid-column: auto;
  }

  .feature-grid > :last-child {
    grid-column: span 2;
  }
}

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

  .hero-enter,
  .reveal,
  .iphone {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .hero-glow,
  .hero-glow-alt,
  .privacy-glow,
  .bottom-cta-glow,
  .mock-arc circle:nth-of-type(1),
  .iphone {
    animation: none !important;
  }

  .section-label::after {
    transform: scaleX(1);
    transition: none;
  }
}
