:root {
  --green: #063e39;
  --deep: #042d2a;
  --mint: #83e1d5;
  --cream: #f7f5ef;
  --ink: #143a35;
  --muted: #758681;
  --line: #e4e9e3;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", sans-serif;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
.topbar {
  height: 88px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5%, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid #edf0ea;
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
}
.brand-mark {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.brand small {
  border-right: 1px solid #b7c9c2;
  padding-right: 10px;
  font-size: 12px;
  line-height: 1.4;
  max-width: 55px;
}
.topbar nav {
  display: flex;
  gap: 42px;
  height: 100%;
  align-items: center;
}
.topbar nav a {
  height: 100%;
  display: flex;
  align-items: center;
  color: #5b6e68;
  font-size: 15px;
  font-weight: 600;
  position: relative;
}
.topbar nav a.active {
  color: var(--green);
}
.topbar nav a.active:after {
  content: "";
  height: 3px;
  background: var(--green);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}
.nav-star {
  color: #49b9aa;
  margin-right: 5px;
}
.social {
  border: 1px solid #d3e1da;
  border-radius: 30px;
  padding: 8px 17px;
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
}
.hero {
  min-height: 630px;
  background: var(--green);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding: 70px max(5%, calc((100vw - 1320px) / 2));
  position: relative;
}
.hero:before,
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 50%, #12645a77, transparent 37%),
    linear-gradient(45deg, transparent 47%, #ffffff08 48%, transparent 49%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}
.eyebrow,
.kicker {
  color: #5fae9f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.eyebrow {
  color: #a2e5da;
}
.dot,
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  margin-left: 7px;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(50px, 5vw, 82px);
  line-height: 1.35;
  margin: 23px 0;
  font-weight: 700;
  letter-spacing: -2px;
}
.hero h1 em,
.page-hero h1 em {
  font-style: normal;
  color: var(--mint);
}
.hero-copy > p,
.page-hero > p {
  max-width: 500px;
  color: #c3d9d1;
  line-height: 2;
  font-size: 18px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 35px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--mint);
  color: var(--deep);
}
.ghost {
  border-color: #8abdb255;
  color: white;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 70px;
  color: #c2d9d2;
  font-size: 14px;
}
.hero-meta b {
  font-size: 21px;
  color: white;
}
.hero-meta i {
  width: 1px;
  height: 25px;
  background: #638e82;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-ring {
  position: absolute;
  border: 1px solid #9ad8cc2a;
  border-radius: 50%;
  width: 580px;
  height: 580px;
}
.ring-two {
  width: 450px;
  height: 450px;
}
.art-card {
  position: relative;
  width: 380px;
  height: 480px;
  background: linear-gradient(145deg, #f9f6ec, #e6eadc);
  border: 12px solid #d7d2bd;
  outline: 1px solid #92c4b6;
  box-shadow:
    0 25px 90px #001e1b77,
    0 0 0 20px #ffffff0c;
  border-radius: 200px 200px 22px 22px;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.art-ornament {
  font-size: 48px;
  color: #75ae9f;
  position: absolute;
  top: 35px;
}
.art-card p {
  font-family: Amiri, serif;
  font-size: 42px;
  line-height: 1.9;
  margin: 10px;
}
.art-card small {
  color: #66867e;
}
.art-flower {
  position: absolute;
  bottom: 20px;
  color: #9ab9ac;
  font-size: 42px;
}
.section {
  max-width: 1320px;
  margin: auto;
  padding: 90px 5%;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 35px;
}
.section-head h2 {
  font-size: 43px;
  margin: 5px 0;
}
.section-head p,
.muted {
  color: var(--muted);
  margin: 0;
}
.section-ornament {
  font-size: 66px;
  color: #b4d1c7;
}
.reader-shell {
  display: grid;
  grid-template-columns: 285px 1fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 720px;
  overflow: hidden;
  box-shadow: 0 14px 45px #16443a0c;
}
.surah-sidebar {
  border-left: 1px solid var(--line);
  padding: 20px;
}
.search {
  height: 48px;
  border-radius: 10px;
  background: #f4f7f3;
  display: flex;
  align-items: center;
  padding: 0 13px;
  gap: 7px;
}
.search span {
  font-size: 29px;
  color: #79958a;
}
.search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 14px;
}
.surah-list {
  max-height: 660px;
  overflow: auto;
  margin-top: 14px;
}
.surah-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: right;
  padding: 12px 9px;
  border-radius: 10px;
  color: var(--ink);
}
.surah-option:hover,
.surah-option.selected {
  background: #eaf6f1;
}
.surah-no {
  width: 34px;
  height: 34px;
  background: #eff4ef;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border-radius: 7px;
  font-size: 12px;
}
.surah-no b {
  transform: rotate(-45deg);
}
.surah-option strong {
  display: block;
}
.surah-option small {
  color: #8a9d94;
}
.reading-pane {
  padding: 32px 44px;
}
.reading-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.reading-toolbar h3 {
  font-size: 31px;
  margin: 3px 0;
}
.toolbar-controls {
  display: flex;
  gap: 12px;
  align-items: end;
}
.toolbar-controls label {
  font-size: 12px;
  color: var(--muted);
}
select {
  display: block;
  margin-top: 6px;
  border: 1px solid #dbe5dd;
  background: white;
  border-radius: 9px;
  padding: 9px 12px;
  color: var(--ink);
  min-width: 160px;
}
.icon-button {
  border: 1px solid #d5e4d9;
  background: #f4faf5;
  border-radius: 9px;
  padding: 10px 15px;
  color: var(--green);
  font-weight: 700;
}
.bismillah {
  text-align: center;
  font-family: Amiri, serif;
  font-size: 42px;
  color: var(--green);
  padding: 30px 0;
}
.ayah {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  border-bottom: 1px solid #eef0ec;
  padding: 22px 0;
}
.ayah-number {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #eaf6f1;
  border-radius: 50%;
  color: var(--green);
  font-weight: 700;
}
.ayah-text {
  font-family: Amiri, serif;
  font-size: 29px;
  line-height: 2.1;
  flex: 1;
  margin: 0;
}
.ayah-play {
  border: 0;
  background: #eef8f4;
  color: var(--green);
  border-radius: 50%;
  width: 38px;
  height: 38px;
}
.ayah.playing {
  background: #f1faf5;
}
.source-note {
  margin-top: 25px;
  border-radius: 10px;
  background: #f4f8f5;
  padding: 14px 18px;
  color: #688279;
  font-size: 13px;
  line-height: 1.9;
}
.source-note a {
  text-decoration: underline;
}
.bottom-cta {
  text-align: center;
  background: #e6f2eb;
  padding: 65px 20px;
}
.bottom-cta > span {
  color: #5b9b89;
  font-weight: 700;
}
.bottom-cta h2 {
  font-size: 35px;
}
.light {
  background: var(--green);
  color: white;
}
.page-hero {
  background: var(--green);
  position: relative;
  color: white;
  padding: 75px max(5%, calc((100vw - 1320px) / 2));
  min-height: 380px;
  overflow: hidden;
}
.page-hero h1 {
  font-size: 65px;
  margin: 13px 0;
}
.page-hero > p {
  margin: 0;
}
.light-kicker {
  color: #a0e0d5;
}
.page-hero-decoration {
  position: absolute;
  left: 15%;
  top: 5%;
  font-size: 300px;
  color: #ffffff10;
}
.count-pill {
  border: 1px solid #bed5c8;
  color: #477c6e;
  padding: 8px 20px;
  border-radius: 30px;
}
.duas-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}
.category-list {
  display: grid;
  gap: 9px;
  align-content: start;
}
.category {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  background: white;
  padding: 15px;
  border-radius: 11px;
  text-align: right;
  color: var(--ink);
  font-weight: 600;
}
.category span {
  font-size: 22px;
  color: #74b7a5;
  width: 29px;
  text-align: center;
}
.category.active {
  background: var(--green);
  color: white;
}
.category.active span {
  color: var(--mint);
}
.dua-content {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 35px;
}
.dua-content-head h3 {
  font-size: 30px;
  margin: 3px 0;
}
.dua-content-head p {
  color: var(--muted);
}
.dua-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 25px;
  margin-top: 17px;
  cursor: pointer;
  transition: 0.2s;
}
.dua-card:hover {
  border-color: #a0d8c5;
  background: #fbfefa;
}
.dua-card p {
  font:
    27px/2 Amiri,
    serif;
  margin: 0 0 15px;
}
.dua-card small {
  color: #579886;
}
.studio-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}
.studio-form,
.studio-preview {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
}
.step-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}
.step-title > span {
  width: 40px;
  height: 40px;
  background: #e6f4ec;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #207460;
  font-weight: 700;
}
.step-title h3 {
  margin: 0;
  font-size: 22px;
}
.step-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.step-title.second {
  margin-top: 30px;
}
.clip-card {
  border: 1px solid #dce9df;
  border-radius: 13px;
  padding: 20px;
  margin: 15px 0;
  background: #fcfdfb;
}
.clip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.clip-head strong {
  color: var(--green);
}
.remove-clip {
  border: 0;
  background: none;
  color: #b56363;
  font-size: 13px;
}
.fields {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px;
}
.fields label,
.reciter-field {
  font-size: 13px;
  color: #637c70;
  font-weight: 600;
}
.fields select,
.reciter-field select {
  width: 100%;
  margin-top: 6px;
}
.reciter-field {
  display: block;
  margin-top: 14px;
}
.add-clip {
  border: 1px dashed #91c6ae;
  background: #f6fbf7;
  color: #266e5e;
  border-radius: 10px;
  padding: 13px 17px;
  width: 100%;
  font-weight: 700;
}
.add-clip small {
  font-weight: 400;
  margin-right: 8px;
}
.notice {
  display: flex;
  gap: 13px;
  background: #f5f9f5;
  color: #5b796b;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 13px;
  line-height: 1.8;
}
.notice span {
  font-size: 21px;
  color: #519d87;
}
.notice p {
  margin: 0;
}
.create {
  margin-top: 25px;
  width: 100%;
  border: 0;
  background: var(--green);
  color: white;
}
.studio-preview {
  align-self: start;
  background: #edf4ed;
}
.preview-top {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
  font-size: 12px;
  color: #607e70;
  font-weight: 700;
  margin-bottom: 17px;
}
.video-frame {
  width: 260px;
  height: 462px;
  background: radial-gradient(circle at center, #165b52, #043832 75%);
  border-radius: 19px;
  margin: auto;
  padding: 15px;
  box-shadow: 0 18px 40px #163f312c;
}
.video-border {
  height: 100%;
  border: 1px solid #86c5b9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #e6f8ef;
  text-align: center;
  padding: 18px;
}
.preview-brand {
  font-size: 28px;
  color: #8ce4d5;
  font-weight: 700;
}
.preview-brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
}
.preview-verse {
  font:
    23px/1.9 Amiri,
    serif;
  flex: 1;
  display: flex;
  align-items: center;
}
.preview-meta {
  display: grid;
  gap: 8px;
  color: #aee0d3;
  font-size: 11px;
}
.preview-handle {
  margin-top: 30px;
  color: #a2cfc3;
  font-size: 11px;
}
.studio-preview > p {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 0;
}
.job-status {
  margin-top: 20px;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 9px;
}
.progress-track {
  height: 9px;
  background: #e4eee7;
  border-radius: 10px;
  overflow: hidden;
}
.progress-track div {
  height: 100%;
  width: 0;
  background: #46ac94;
  transition: width 0.4s;
}
#downloads {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 15px;
}
#downloads a {
  background: #e7f5ed;
  color: var(--green);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}
footer {
  background: #07352f;
  color: #b8d6c9;
  padding: 42px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
footer strong {
  font-size: 26px;
  color: #87e0d4;
}
footer p {
  margin: 0;
}
footer a {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .topbar {
    padding: 0 4%;
  }
  .topbar nav {
    gap: 15px;
  }
  .social {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 5%;
  }
  .hero-art {
    display: none;
  }
  .hero-meta {
    margin-top: 40px;
  }
  .reader-shell,
  .duas-layout,
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .surah-sidebar {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .surah-list {
    display: flex;
    overflow: auto;
    max-height: 90px;
  }
  .surah-option {
    min-width: 150px;
  }
  .reading-pane {
    padding: 25px;
  }
  .page-hero-decoration {
    display: none;
  }
}
@media (max-width: 620px) {
  .topbar {
    height: auto;
    padding: 12px 4%;
    display: block;
  }
  .brand {
    justify-content: center;
  }
  .topbar nav {
    justify-content: space-around;
    margin-top: 10px;
  }
  .topbar nav a {
    font-size: 12px;
    padding: 8px 0;
  }
  .hero h1,
  .page-hero h1 {
    font-size: 48px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-meta {
    gap: 10px;
    font-size: 11px;
  }
  .section {
    padding: 55px 4%;
  }
  .section-head h2 {
    font-size: 32px;
  }
  .reader-shell {
    border-radius: 12px;
  }
  .reading-toolbar {
    display: block;
  }
  .toolbar-controls {
    margin-top: 15px;
    flex-wrap: wrap;
  }
  .reading-pane {
    padding: 20px;
  }
  .ayah {
    gap: 12px;
  }
  .ayah-text {
    font-size: 24px;
  }
  .fields {
    grid-template-columns: 1fr 1fr;
  }
  .fields label:first-child {
    grid-column: span 2;
  }
  .dua-content {
    padding: 20px;
  }
  footer {
    display: block;
  }
  footer > * {
    display: block;
    margin: 10px 0;
  }
}
