:root {
  --bg: #f4f8fc;
  --surface-low: #edf2f7;
  --surface: #ffffff;
  --surface-high: #e6edf5;
  --surface-top: #d6e0ee;
  --text: #22303f;
  --text-muted: #617082;
  --outline: #b3becc;
  --primary: #3a679a;
  --primary-deep: #294d78;
  --neutral: #667487;
  --shadow: 0 18px 50px rgba(31, 54, 86, 0.08);
  --max-width: 1440px;
  --logo-small-box: 86px;
  --logo-small-max: 78px;
  --logo-subbrand: 148px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(58, 103, 154, 0.09), transparent 24%),
    radial-gradient(circle at 88% 4%, rgba(102, 137, 186, 0.12), transparent 18%),
    linear-gradient(180deg, #f7fbff 0%, var(--bg) 42%, #eef3f9 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p {
  line-height: 1.75;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 248, 252, 0.96);
  border-bottom: 1px solid rgba(179, 190, 204, 0.2);
  backdrop-filter: blur(10px);
}

.header-inner,
.hero-inner,
.studio-inner,
.section-head,
.philosophy-section,
.site-footer .footer-grid {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.22rem;
  font-weight: 700;
}

.wordmark {
  color: #07182c;
  line-height: 1;
}

.wordmark img {
  display: block;
  width: 180px;
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(34, 48, 63, 0.78);
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.footer-column a:hover {
  color: var(--primary);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.header-cta {
  min-height: 46px;
  padding: 0 22px;
  background: var(--primary);
  color: #eef6ff;
  box-shadow: 0 12px 24px rgba(58, 103, 154, 0.18);
  white-space: nowrap;
}

.header-logo-cta {
  width: 58px;
  min-height: 58px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header-logo-cta img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 102, 140, 0.12));
}

.header-cta:hover,
.button:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 870px;
  padding: 112px 0 72px;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(214, 224, 238, 0.8) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(214, 224, 238, 0.8) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.42;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(320px, 4fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-head h2,
.philosophy-intro h2 {
  margin: 0;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.hero-copy h1 {
  font-size: clamp(3.8rem, 9vw, 8rem);
  margin-bottom: 32px;
}

.hero-text,
.studio-copy p,
.studio-status p,
.section-text,
.philosophy-intro p,
.principles p,
.product-card p,
.structure-grid p,
.footer-note,
.footer-end p {
  color: var(--text-muted);
}

.hero-text {
  max-width: 640px;
  margin: 0 0 36px;
  font-size: 1.08rem;
}

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

.button {
  min-height: 58px;
  padding: 0 28px;
}

.button-primary {
  background: var(--primary);
  color: #eef6ff;
  box-shadow: 0 16px 28px rgba(58, 103, 154, 0.18);
}

.button-secondary {
  background: var(--surface-high);
  color: var(--text);
  border: 1px solid rgba(179, 190, 204, 0.26);
}

.hero-frame {
  display: flex;
  justify-content: flex-end;
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  width: min(100%, 430px);
  min-height: 430px;
}

.hero-mark::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(15, 168, 228, 0.16), transparent 62%);
  filter: blur(18px);
}

.hero-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 340px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 52px rgba(0, 102, 140, 0.18));
}

.hero-mark .hero-wordmark {
  position: relative;
  z-index: 1;
  display: block;
  width: min(62%, 220px);
  max-width: 220px;
  height: auto;
  margin-top: -70px;
  filter: drop-shadow(0 14px 24px rgba(31, 54, 86, 0.08));
}

.footer-column span {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.products-section,
.structure-section {
  background: var(--surface-low);
  padding: 120px 0;
}

.products-section {
  padding-bottom: 92px;
}

.studio-section {
  padding: 120px 0;
  background: rgba(255, 255, 255, 0.46);
  border-top: 1px solid rgba(179, 190, 204, 0.18);
  border-bottom: 1px solid rgba(179, 190, 204, 0.18);
}

.studio-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(320px, 5fr);
  gap: 72px;
  align-items: center;
}

.studio-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.subbrand-lockup {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.subbrand-lockup img {
  flex: 0 0 var(--logo-subbrand);
  width: var(--logo-subbrand);
  max-width: var(--logo-subbrand);
  height: auto;
  object-fit: contain;
}

.subbrand-lockup .eyebrow,
.subbrand-lockup h2 {
  margin-bottom: 0;
}

.byline {
  margin: 14px 0 0;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.studio-copy > p {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: 1.02rem;
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 34px;
  gap: 14px;
}

.subbrand-products {
  display: grid;
  gap: 14px;
  background: transparent;
  border: 0;
}

.subbrand-products article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(237, 244, 250, 0.76));
  border: 1px solid rgba(179, 190, 204, 0.24);
  box-shadow: 0 18px 44px rgba(31, 54, 86, 0.06);
}

.subbrand-products h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  letter-spacing: -0.05em;
}

.mini-product-copy {
  min-width: 0;
}

.subbrand-products p {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.subbrand-products a {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mini-product-icon {
  display: grid;
  place-items: center;
  width: var(--logo-small-box);
  height: var(--logo-small-box);
}

.mini-product-icon img {
  width: auto;
  max-width: var(--logo-small-max);
  max-height: var(--logo-small-max);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(36, 93, 142, 0.12));
}

.studio-device {
  display: flex;
  align-self: start;
  justify-content: center;
  position: relative;
  padding: 24px;
}

.studio-device::before {
  content: "";
  position: absolute;
  inset: 10% 8% 8%;
  border-radius: 42px;
  background:
    radial-gradient(circle at 45% 18%, rgba(78, 153, 120, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(227, 238, 244, 0.5));
  filter: blur(1px);
  transform: rotate(-3deg);
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 46px;
  background:
    linear-gradient(145deg, #ffffff 0%, #dfe9f0 46%, #aebdca 100%);
  box-shadow:
    0 32px 80px rgba(31, 54, 86, 0.2),
    inset 0 0 0 1px rgba(30, 48, 66, 0.14),
    inset 0 0 0 5px rgba(255, 255, 255, 0.5);
  transform: rotate(1.4deg);
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 50%;
  width: 76px;
  height: 22px;
  margin: 0;
  border-radius: 99px;
  background:
    linear-gradient(180deg, #152331, #0b121b);
  box-shadow:
    0 8px 18px rgba(8, 16, 24, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 640px;
  padding: 28px 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, #faf4e7 0%, #fffaf0 58%, #edf2e8 100%);
  color: #123326;
  overflow: hidden;
}

.phone-screenshot {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  border-radius: 36px;
  object-fit: contain;
  object-position: top center;
  background: #fff7e9;
  box-shadow:
    0 0 0 1px rgba(36, 52, 72, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.app-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-topline span {
  color: #4f8065;
  font-weight: 700;
}

.app-topline strong {
  color: #776f62;
  font-weight: 700;
}

.app-stage {
  margin-bottom: 18px;
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.video-preview {
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 300px;
  margin-bottom: 22px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(6, 21, 15, 0.2), rgba(6, 21, 15, 0.84)),
    linear-gradient(135deg, #365f49 0%, #0d2a1f 100%);
  color: #fffaf0;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.12);
}

.arabic-line {
  font-size: 2.6rem;
  font-weight: 700;
  text-align: right;
}

.translation-line {
  max-width: 14ch;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.control-stack {
  display: grid;
  gap: 10px;
}

.control-stack div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  background: #fffbf2;
  border: 1px solid #e2d8c9;
}

.control-stack span {
  color: #776f62;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.control-stack strong {
  font-size: 0.86rem;
  text-align: right;
}

.section-head {
  display: block;
  margin-bottom: 72px;
}

.section-head h2,
.philosophy-intro h2 {
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
}

.section-head h2 {
  max-width: 1000px;
}

.product-groups,
.products-grid,
.structure-grid {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.product-groups {
  display: grid;
  gap: 64px;
}

.product-group {
  display: grid;
  gap: 24px;
}

.product-group-head {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding-bottom: 8px;
}

.product-group-head .eyebrow {
  margin-bottom: 12px;
}

.product-group-head h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  text-align: left;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: transparent;
  border-top: 1px solid rgba(179, 190, 204, 0.24);
  border-left: 1px solid rgba(179, 190, 204, 0.24);
}

.products-grid-two .product-card {
  flex-basis: 420px;
}

.product-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 280px;
  padding: 42px 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 253, 255, 0.98));
  border-right: 1px solid rgba(179, 190, 204, 0.2);
  border-bottom: 1px solid rgba(179, 190, 204, 0.2);
  min-height: 380px;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover {
  background: #f8fbff;
  box-shadow: 0 24px 54px rgba(31, 54, 86, 0.06);
  transform: translateY(-2px);
}

.card-icon {
  margin-bottom: 48px;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.08em;
}

.product-logo {
  display: grid;
  place-items: center;
  justify-items: start;
  width: var(--logo-small-box);
  height: var(--logo-small-box);
  margin-bottom: 34px;
}

.product-logo img {
  width: auto;
  max-width: var(--logo-small-max);
  max-height: var(--logo-small-max);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(36, 93, 142, 0.12));
}

.product-logo--temporary img {
  filter: drop-shadow(0 14px 22px rgba(36, 93, 142, 0.12));
}

.product-card h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.product-card p {
  margin: 0 0 28px;
  font-size: 0.92rem;
}

.product-card a {
  margin-top: auto;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.philosophy-section {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 96px;
  padding-top: 92px;
  padding-bottom: 120px;
  border-top: 1px solid rgba(179, 190, 204, 0.18);
}

.divider {
  width: 96px;
  height: 1px;
  background: var(--primary);
  margin: 28px 0;
}

.principles {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.principles article {
  display: flex;
  gap: 28px;
}

.principles span {
  color: rgba(173, 179, 180, 0.9);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  transition: color 180ms ease;
}

.principles article:hover span {
  color: var(--primary);
}

.principles h3,
.structure-grid h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.principles p,
.structure-grid p {
  max-width: 540px;
  margin: 0;
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.structure-grid article {
  min-height: 220px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(179, 190, 204, 0.18);
  box-shadow: var(--shadow);
}

.structure-logo {
  display: block;
  width: 56px;
  max-width: 56px;
  height: auto;
  margin-bottom: 22px;
  object-fit: contain;
}

.site-footer {
  background: var(--surface-low);
  border-top: 1px solid rgba(34, 48, 63, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0;
}

.footer-brand {
  margin: 0 0 22px;
}

.footer-brand img {
  width: 220px;
  max-width: 220px;
  height: auto;
}

.footer-note,
.footer-end p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(34, 48, 63, 0.84);
}

.footer-end {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
}

body.ayah-page {
  --bg: #f7f1e7;
  --surface-low: #efe7d9;
  --surface: #fffaf0;
  --surface-high: #eadfcd;
  --surface-top: #ded0bc;
  --text: #183127;
  --text-muted: #6c776c;
  --outline: #d8cab7;
  --primary: #6f9f7b;
  --primary-deep: #356a4e;
  --neutral: #857c6c;
  --shadow: 0 22px 58px rgba(52, 72, 48, 0.1);
  background:
    radial-gradient(circle at 84% 8%, rgba(111, 159, 123, 0.13), transparent 25%),
    linear-gradient(180deg, #fffaf0 0%, #f8f2e8 52%, #f1e8d8 100%);
}

body.ayah-page .site-header {
  background: rgba(255, 250, 240, 0.95);
  border-bottom-color: rgba(216, 202, 183, 0.55);
}

body.ayah-page .grid-bg {
  display: none;
}

body.ayah-page .site-nav a {
  color: rgba(24, 49, 39, 0.76);
}

body.ayah-page .header-cta,
body.ayah-page .button-primary {
  background: var(--primary);
  color: #fffaf0;
  box-shadow: 0 16px 28px rgba(53, 106, 78, 0.18);
}

body.ayah-page .button-secondary {
  background: #f4ecdd;
  border-color: rgba(216, 202, 183, 0.64);
  color: var(--text);
}

body.ayah-page .product-mark span {
  background: rgba(255, 250, 240, 0.72);
  border-color: rgba(111, 159, 123, 0.3);
  color: var(--primary-deep);
}

body.ayah-page .intro-band,
body.ayah-page .faq-section {
  background: rgba(255, 250, 240, 0.46);
  border-color: rgba(216, 202, 183, 0.48);
}

body.ayah-page .demo-frame {
  border-color: rgba(111, 159, 123, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.86), rgba(244, 236, 221, 0.92));
}

body.ayah-page .screen,
body.ayah-page .screen-gallery img {
  background: #fff7e9;
}

body.ayah-page .product-hero {
  min-height: calc(92svh - 92px);
  display: grid;
  align-items: center;
  padding: 78px 0 88px;
}

.product-hero-inner,
.intro-grid,
.demo-frame,
.screen-gallery,
.feature-list,
.roadmap-grid,
.details-grid,
.faq-grid {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.product-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(360px, 5fr);
  gap: 64px;
  align-items: center;
}

.product-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.product-mark img {
  width: 66px;
  max-width: 66px;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 130, 190, 0.14));
}

.product-mark span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 16px;
  background: rgba(58, 103, 154, 0.1);
  border: 1px solid rgba(58, 103, 154, 0.18);
  color: var(--primary-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-hero-copy h1 {
  max-width: 860px;
  margin: 0 0 26px;
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.085em;
}

.product-hero-copy p {
  max-width: 680px;
  margin: 0 0 30px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.product-hero-media {
  min-height: 540px;
}

.media-stack {
  position: relative;
  min-height: 540px;
}

.hero-phone {
  padding: 10px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, #fdfcf8 0%, #eef5f2 46%, #d7e6df 100%);
  border: 2px solid rgba(24, 49, 39, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    inset 0 -10px 18px rgba(24, 49, 39, 0.08),
    0 30px 80px rgba(31, 54, 86, 0.2);
}

.hero-phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: rgba(24, 49, 39, 0.2);
  transform: translateX(-50%);
}

.hero-phone::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 3;
  border: 1px solid rgba(24, 49, 39, 0.18);
  border-radius: 27px;
  pointer-events: none;
}

.screen {
  display: block;
  width: 100%;
  border-radius: 26px;
  background: #fbfdff;
  box-shadow: none;
}

.screen-main {
  position: absolute;
  right: 14%;
  top: 0;
  z-index: 2;
  width: min(30vw, 258px);
}

.screen-side {
  position: absolute;
  width: min(22vw, 174px);
  opacity: 0.96;
}

.screen-side-top {
  right: 0;
  top: 78px;
  transform: rotate(2deg);
}

.screen-side-bottom {
  left: 8%;
  bottom: 10px;
  transform: rotate(-3deg);
}

.intro-band,
.demo-section,
.features-section,
.details-section,
.faq-section {
  padding: 112px 0;
}

.intro-band,
.features-section,
.faq-section {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(179, 190, 204, 0.16);
  border-bottom: 1px solid rgba(179, 190, 204, 0.16);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}

.intro-grid h2,
.roadmap-grid h2,
.details-grid h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.intro-copy p,
.details-grid p,
.faq-grid p,
.roadmap-grid li {
  color: var(--text-muted);
}

.intro-copy p {
  margin: 0 0 22px;
  font-size: 1.02rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.demo-frame {
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(58, 103, 154, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(237, 242, 247, 0.82));
  box-shadow: var(--shadow);
}

.demo-frame video {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #0f1b25;
}

.screens-section {
  padding: 112px 0;
  background: var(--surface-low);
  scroll-margin-top: 92px;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.details-grid article,
.faq-grid details,
.roadmap-grid article {
  background: var(--surface);
  border: 1px solid rgba(179, 190, 204, 0.2);
  box-shadow: var(--shadow);
}

.screen-gallery article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  text-align: center;
}

.phone-preview {
  position: relative;
  width: 100%;
  max-width: 230px;
  margin: 0 auto 26px;
  padding: 10px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, #fdfcf8 0%, #eef5f2 46%, #d7e6df 100%);
  border: 2px solid rgba(24, 49, 39, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    inset 0 -10px 18px rgba(24, 49, 39, 0.08),
    0 22px 48px rgba(24, 49, 39, 0.16);
}

.phone-preview::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: rgba(24, 49, 39, 0.2);
  transform: translateX(-50%);
  z-index: 2;
}

.phone-preview::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 27px;
  border: 1px solid rgba(24, 49, 39, 0.18);
  pointer-events: none;
  z-index: 2;
}

.screen-gallery img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: #fbf6eb;
  box-shadow: none;
}

.screen-gallery h3,
.faq-grid summary {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.045em;
}

.screen-gallery p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.screen-gallery article h3,
.screen-gallery article p {
  width: min(100%, 230px);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(179, 190, 204, 0.24);
  border: 1px solid rgba(179, 190, 204, 0.24);
}

.feature-list p {
  min-height: 128px;
  margin: 0;
  padding: 28px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.94rem;
}

.player-feature-list p {
  min-height: 148px;
}

.player-screen-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ayah-player-page .screens-section {
  padding-top: 92px;
}

.ayah-player-page .player-screen-gallery .phone-preview {
  max-width: 210px;
}

.roadmap-section {
  padding: 112px 0;
}

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

.roadmap-grid article,
.details-grid article {
  padding: 38px;
}

.roadmap-grid h2 {
  margin-bottom: 30px;
}

.roadmap-grid ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 20px;
}

.roadmap-grid li {
  line-height: 1.65;
}

.details-section {
  background: var(--surface-low);
}

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

.details-grid h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.details-grid p {
  margin: 0 0 18px;
  font-size: 0.94rem;
}

.details-grid p:last-child {
  margin-bottom: 0;
}

.details-grid a {
  color: var(--primary);
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 1040px;
}

.faq-grid details {
  padding: 0;
  overflow: hidden;
}

.faq-grid summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 22px 66px 22px 26px;
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  list-style: none;
}

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

.faq-grid summary::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  color: var(--primary-deep);
  font-size: 1.45rem;
  font-weight: 400;
  transform: translateY(-50%);
}

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

.faq-grid p {
  margin: -4px 0 0;
  padding: 0 26px 24px;
  font-size: 0.94rem;
}

.faq-grid a {
  color: var(--primary-deep);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 24px;
  }

  .header-cta {
    padding: 0 18px;
    letter-spacing: 0.12em;
  }

  .hero-inner,
  .studio-inner,
  .philosophy-section,
  .section-head,
  .footer-grid,
  .product-hero-inner,
  .intro-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner,
  .studio-inner,
  .philosophy-section {
    gap: 56px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .section-text {
    text-align: left;
  }

  .products-grid,
  .structure-grid,
  .screen-gallery,
  .feature-list,
  .details-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .product-group-head {
    display: grid;
    align-items: start;
  }

  .product-group-head h3 {
    text-align: left;
  }

  .product-hero-media,
  .media-stack {
    min-height: 560px;
  }

  .screen-main {
    right: 28%;
    width: min(38vw, 255px);
  }

  .screen-side {
    width: min(28vw, 175px);
  }

  .footer-end {
    justify-content: flex-start;
  }
}

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

@media (max-width: 760px) {
  .header-inner,
  .hero-inner,
  .studio-inner,
  .product-hero-inner,
  .intro-grid,
  .section-head,
  .philosophy-section,
  .site-footer .footer-grid,
  .products-grid,
  .structure-grid,
  .demo-frame,
  .screen-gallery,
  .feature-list,
  .roadmap-grid,
  .details-grid,
  .faq-grid {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .hero-section,
  .studio-section,
  .products-section,
  .structure-section,
  .product-hero,
  .intro-band,
  .demo-section,
  .screens-section,
  .features-section,
  .roadmap-section,
  .details-section,
  .faq-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .hero-copy h1,
  .product-hero-copy h1 {
    font-size: 3.2rem;
  }

  .section-head h2,
  .philosophy-intro h2,
  .product-group-head h3 {
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .wordmark img {
    width: 132px;
    max-width: 132px;
  }

  .phone-shell {
    border-radius: 28px;
  }

  .phone-screen {
    min-height: 560px;
    padding: 24px 18px;
  }

  .studio-actions {
    flex-direction: column;
  }

  .subbrand-lockup {
    gap: 16px;
  }

  .subbrand-lockup img {
    flex-basis: calc(var(--logo-subbrand) * 0.62);
    width: calc(var(--logo-subbrand) * 0.62);
    max-width: calc(var(--logo-subbrand) * 0.62);
  }

  .products-grid,
  .structure-grid,
  .screen-gallery,
  .feature-list,
  .roadmap-grid,
  .details-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .product-mark {
    align-items: flex-start;
  }

  .product-mark img {
    width: 58px;
    max-width: 58px;
  }

  .product-hero-media,
  .media-stack {
    min-height: 450px;
  }

  .screen-main {
    right: 0;
    width: min(52vw, 220px);
  }

  .screen-side {
    width: min(34vw, 140px);
  }

  .screen-side-top {
    top: 70px;
  }

  .screen-side-bottom {
    left: 0;
  }

  .demo-frame {
    padding: 12px;
  }

  .screen-gallery img {
    max-height: none;
  }

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

  .principles article {
    gap: 18px;
  }

  .principles span {
    font-size: 2rem;
  }
}
