.confirm-dialog {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0;
  margin: auto;
  max-width: min(28rem, calc(100vw - 2rem));
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-modal);
}
.confirm-dialog::backdrop { background: var(--scrim-strong); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.confirm-dialog-body { padding: 1.5rem; }
.confirm-dialog p { margin: 0 0 1.2rem; font-size: 0.95rem; line-height: 1.5; }
.confirm-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; }
.btn-danger { border-color: var(--danger-line); color: var(--danger); }
.btn-danger:hover { background: var(--danger-bg); }
.tabs {
  display: flex; gap: 0.3rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;
  background-image:
    linear-gradient(to right, var(--bg) 30%, transparent),
    linear-gradient(to left, var(--bg) 30%, transparent),
    linear-gradient(to right, var(--scrollbar), transparent),
    linear-gradient(to left, var(--scrollbar), transparent);
  background-repeat: no-repeat;
  background-color: var(--bg);
  background-size: 24px 100%, 24px 100%, 10px 100%, 10px 100%;
  background-position: left center, right center, left center, right center;
  background-attachment: local, local, scroll, scroll;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: 0 0 auto; cursor: pointer; font-family: inherit; min-height: 44px;
  padding: 0.65rem 0.9rem; font-size: 0.9rem; font-weight: 600; color: var(--text-soft);
  background: none; border: none; border-bottom: 2px solid transparent;
  margin-bottom: -1px; 
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tab-btn:hover { color: var(--text); }
.tab-btn:focus-visible { outline: 2px solid var(--fr); outline-offset: -2px; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 720px) {
  .tab-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .tab-panel .card { margin-bottom: 0; }
  .tab-panel .card { max-width: none; }
  .tab-panel .card-wide { grid-column: 1 / -1; }
}
body.page {
  overflow-y: auto; height: auto; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem) 1.25rem;
}
.page-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-header a { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 0.6rem; min-height: 44px; }
.card {
  width: 100%; max-width: 30rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1.25rem;
}
.card h1 { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.018em; margin-bottom: 0.45rem; }
.card h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 0.9rem; }
.card-subtitle { color: var(--text-soft); font-size: 0.94rem; margin-bottom: 1.6rem; line-height: 1.5; }
.card + .card { margin-top: 0; }
.field { margin-bottom: 1.1rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.field label {
  display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-soft);
  margin-bottom: 0.4rem;
}
.field input, .field select {
  width: 100%; font-family: inherit; font-size: 0.98rem; color: var(--text); min-height: 44px;
  padding: 0.65rem 0.9rem; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg); transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--fr);
}
.field input:focus-visible, .field select:focus-visible {
  outline: 2px solid var(--fr); outline-offset: 2px;
}
.field-hint { font-size: 0.8rem; color: var(--text-faint); margin-top: 0.35rem; }
.field-label {
  display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-soft);
  margin-bottom: 0.4rem;
}
.lang-choices {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.45rem;
}
.field .lang-choice {
  display: flex; align-items: center; gap: 0.55rem;
  min-height: 44px; margin-bottom: 0; padding: 0.4rem 0.75rem;
  font-size: 0.92rem; font-weight: 400; color: var(--text);
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
  cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.field .lang-choice input {
  width: 18px; height: 18px; min-height: 0; flex: 0 0 auto;
  margin: 0; padding: 0; border-radius: 0; accent-color: var(--fr);
}
.field .lang-choice:hover { border-color: var(--fr); }
.field .lang-choice:has(input:checked) {
  border-color: var(--fr); background: color-mix(in srgb, var(--fr) 8%, var(--bg));
}
.field .lang-choice:focus-within { border-color: var(--fr); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fr) 18%, transparent); }
.lang-choice-native { color: var(--text-faint); font-size: 0.85rem; }
.field details { margin-top: 0.7rem; }
.field details summary {
  display: flex; align-items: center; min-height: 44px;
  font-size: 0.84rem; font-weight: 600; color: var(--fr); cursor: pointer;
}
.field details summary:focus-visible { outline: 2px solid var(--fr); outline-offset: 2px; border-radius: 8px; }
.field details summary::marker, .field details summary::-webkit-details-marker { content: ""; display: none; }
.field details summary::before {
  content: "›"; display: inline-block; margin-right: 0.45rem;
  font-size: 1.1rem; line-height: 1; transition: transform 0.15s ease;
}
.field details[open] summary::before { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) {
  .field details summary::before { transition: none; }
}
.field-row { display: flex; gap: 0.8rem; }
.field-row .field { flex: 1 1 0; min-width: 0; }
.btn-primary {
  width: 100%; justify-content: center; padding: 0.75rem 1rem;
  background: var(--fr); border-color: var(--fr); color: var(--accent-ink); font-size: 0.98rem;
}
.btn-primary:hover { background: color-mix(in srgb, var(--fr) 88%, var(--text)); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.form-error {
  background: var(--danger-bg); color: var(--danger);
  border: 1px solid color-mix(in srgb, var(--danger-line) 30%, transparent);
  border-radius: 12px; padding: 0.7rem 0.9rem; font-size: 0.88rem;
  margin-bottom: 1.1rem;
}
.form-success {
  background: var(--ok-bg); color: var(--ok-ink);
  border-radius: 12px; padding: 0.7rem 0.9rem; font-size: 0.88rem;
  margin-bottom: 1.1rem;
  max-height: 20rem;
}
.form-success.fading {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, max-height 0.3s ease, margin-bottom 0.3s ease, padding 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .form-success.fading { transition: none; }
}
.field-hint.success-hint { color: var(--ok-ink); }
.field-hint.warning { color: var(--warn); }
.page-auth .card { max-width: 26.25rem; }        
.page-auth .card h1 { font-size: 1.95rem; letter-spacing: -0.018em; }
.page-auth .field input { min-height: 46px; border-radius: var(--radius-field); }
.page-auth .btn-primary { min-height: 48px; font-size: 1rem; }
.page-auth .field input:focus,
.page-auth .field input:focus-visible {
  border-width: 1.5px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fr) 12%, transparent);
}
.page-auth .field input.code-input {
  --code-gap: 1.8ch;
  --code-cell: calc(1ch + var(--code-gap));
  font-family: var(--mono);
  font-size: clamp(1.05rem, 6.1vw, 1.75rem);
  letter-spacing: var(--code-gap);
  font-variant-numeric: tabular-nums;
  text-align: left;   
  display: block; margin-inline: auto;
  width: calc(6 * var(--code-cell) + var(--code-gap) + 2px);
  max-width: 100%;
  min-height: 64px;
  padding-inline: var(--code-gap) 0;
  border-radius: 18px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 calc(var(--code-cell) - 1px),
    var(--line) calc(var(--code-cell) - 1px) var(--code-cell)
  );
  background-repeat: no-repeat;
  background-position-x: calc(var(--code-gap) / 2);
  background-size: calc(5 * var(--code-cell) + 1px) 100%;
}
.page-auth .field input.code-input:focus,
.page-auth .field input.code-input:focus-visible {
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 calc(var(--code-cell) - 1px),
    color-mix(in srgb, var(--fr) 45%, transparent) calc(var(--code-cell) - 1px) var(--code-cell)
  );
}
.usage-block { margin-bottom: 1.1rem; }
.usage-row {
  display: flex; justify-content: space-between; font-size: 0.88rem;
  color: var(--text-soft); margin-bottom: 0.4rem;
}
.usage-bar { height: 6px; border-radius: 999px; background: var(--hover); overflow: hidden; }
.usage-bar-fill { height: 100%; border-radius: 999px; background: var(--fr); transition: width 0.3s ease; }
.usage-bar-fill.warning { background: var(--warn); }
.usage-bar-fill.blocked { background: var(--danger); }
.usage-block .field-hint.warning { color: var(--warn); }
.usage-block .field-hint.blocked { color: var(--danger); }
.card-footer { text-align: center; color: var(--text-soft); font-size: 0.9rem; }
.audit-log-list { list-style: none; margin: 0; padding: 0; }
.audit-log-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.88rem;
}
.audit-log-list li:last-child { border-bottom: none; }
.audit-log-list li .field-hint { margin-top: 0; white-space: nowrap; }
.card-footer a, .link { color: var(--fr); font-weight: 600; text-decoration: none; }
.card-footer a, .field-hint > .link:only-child {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.3rem;
}
.card-footer a:hover, .link:hover { text-decoration: underline; }
.link-btn {
  background: none; border: none; padding: 0; font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--danger); font-weight: 600; text-decoration: none;
}
.link-btn:hover, .link-btn:focus-visible { text-decoration: underline; }
.link-action {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-bottom: 0.5rem;  
  color: var(--fr); font-weight: 600; text-decoration: none;
}
.link-action:hover, .link-action:focus-visible { text-decoration: underline; }
.landing-actions { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 0.4rem; }
.landing-actions .btn { justify-content: center; padding: 0.75rem 1rem; }
.landing-note { margin-top: 1.4rem; font-size: 0.82rem; color: var(--text-faint); line-height: 1.5; }
.account-shell { width: 100%; max-width: 40rem; }
@media (min-width: 720px) {
  .account-shell { max-width: 64rem; }
}
.account-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "top" "err" "nav" "main";
}
.account-top { grid-area: top; }
#account-load-error { grid-area: err; }
.tabs { grid-area: nav; }
.account-main { grid-area: main; min-width: 0; }
@media (min-width: 900px) {
  .account-shell {
    grid-template-columns: 15rem minmax(0, 1fr);
    grid-template-areas:
      "top  top"
      "err  err"
      "nav  main";
    column-gap: 2rem;
    align-items: start;
  }
  .tabs {
    flex-direction: column; align-items: stretch; margin-bottom: 0;
    overflow-x: visible; background-image: none;
    border-bottom: none; border-right: 1px solid var(--line);
    position: sticky; top: 1.5rem;
  }
  .tabs { padding-right: 0.9rem; }
  .tab-btn {
    justify-content: flex-start; text-align: left;
    border-bottom: none; border-left: 2px solid transparent; margin-bottom: 0;
    padding: 0.7rem 0.9rem; border-radius: var(--radius-field);
  }
  .tab-btn.active { background: var(--surface); box-shadow: var(--shadow-soft); }
}
.onboarding-banner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 1.25rem;
  padding: 0.85rem 1rem; border-radius: 14px;
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--text);
}
.onboarding-banner > div { flex: 1 1 16rem; min-width: 0; }
.onboarding-banner strong { display: block; font-size: 0.92rem; }
.onboarding-banner p { margin: 0.15rem 0 0; font-size: 0.85rem; color: var(--text); opacity: 0.82; line-height: 1.45; }
.onboarding-banner .pill-btn { flex: 0 0 auto; background: var(--surface); }
.account-top {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem;
  flex-wrap: wrap; row-gap: 0.6rem;
}
.account-top h1 { font-size: 1.35rem; }
.account-top-actions {
  display: flex; align-items: center; justify-content: flex-end;
  flex-wrap: wrap; gap: 0.6rem 0.8rem;
}
.account-top > div:last-child { flex: 0 1 auto; min-width: 0; margin-left: auto; }
.copy-row {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 0.6rem 0.7rem 0.6rem 0.9rem; margin-bottom: 0.6rem;
}
.copy-row code { flex: 1 1 12rem; min-width: 0; white-space: normal; overflow-wrap: anywhere; font-size: 0.85rem; }
.copy-row.secret { border-color: var(--warn-line); background: var(--warn-bg); }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.28rem 0.7rem;
  border-radius: 999px; font-size: 0.78rem; font-weight: 600;
}
.status-pill.ok { background: var(--ok-bg); color: var(--fr); }
.qr-inline { text-align: center; margin: 1rem 0; }
.qr-inline img { width: 140px; height: 140px; border-radius: 12px; border: 1px solid var(--line); padding: 8px; background: #fff; }
.qr-inline .pill-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; margin-top: 0.5rem; text-decoration: none;
}
.qr-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.print-sheet { display: none; }
@media print {
  @page { size: A5; margin: 12mm; }
  body.page-account > *:not(.print-sheet) { display: none !important; }
  body { background: #fff; color: #000; }
  .print-sheet { display: block; text-align: center; color: #000; }
  .print-sheet-title { font-size: 20pt; font-weight: 600; line-height: 1.25; margin-bottom: 9mm; }
  .print-sheet-qr { width: 176px; height: 176px; image-rendering: pixelated; }
  .print-sheet-url {
    margin-top: 7mm; font-family: var(--mono); font-size: 12pt;
    word-break: break-all;
  }
  .print-sheet-langs { margin-top: 11mm; font-size: 11pt; line-height: 2; }
  .print-sheet-langs span { display: block; }
}
.card-transcript { max-width: 760px; }
.transcript-head {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem;
}
.transcript-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.app-version { text-align: center; margin: 1rem 0 2rem; font-variant-numeric: tabular-nums; }
.transcript-table-wrap { overflow-x: auto; }
.transcript-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.transcript-table th, .transcript-table td {
  vertical-align: top; text-align: left; padding: 0.6rem 0.5rem;
  border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.45;
}
.transcript-table th { font-weight: 600; color: var(--text-soft); border-top: none; }
.transcript-table th.col-time, .transcript-table td.col-time {
  width: 4.5rem; color: var(--text-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem;
}
.transcript-table td.col-source { direction: rtl; text-align: right; font-size: 1.05rem; }
.transcript-table th.col-ref, .transcript-table td.col-ref { width: 9rem; font-size: 0.85rem; }
@media (max-width: 700px) {
  .transcript-table thead { display: none; }
  .transcript-table tr { display: block; border-top: 1px solid var(--line); padding: 0.5rem 0; }
  .transcript-table td { display: block; border-top: none; padding: 0.15rem 0.25rem; width: auto !important; }
  .transcript-table td::before { content: attr(data-col) " "; color: var(--text-soft); font-size: 0.8rem; }
  .transcript-table td.col-source { text-align: right; }
}
.transcript-badge {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
.transcript-badge.quran { color: var(--accent); }
.transcript-badge.hadith { color: var(--text-soft); }
.transcript-translation-vide {
  color: var(--danger, #b3261e);
  font-weight: 600;
}
.transcript-translation {
  color: var(--text-soft); font-size: 0.94rem; line-height: 1.55;
}
@media (max-width: 560px) {
}
@media print {
  .bg-decor, .transcript-actions, .page-header { display: none !important; }
  .card-transcript { max-width: none; border: none; box-shadow: none; padding: 0; }
  .transcript-table tr { break-inside: avoid; page-break-inside: avoid; }
  .transcript-table td, .transcript-badge { color: #000; }
}
.not-found-card { text-align: center; }
.not-found-code {
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}
.card h1.not-found-title { font-size: 2rem; line-height: 1.2; }
.page-landing { padding-top: clamp(1rem, 2.5vw, 1.75rem); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.nav-pill {
  position: sticky; top: clamp(0.75rem, 2vw, 1.25rem); z-index: 5;
  width: 100%; max-width: 64rem;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0.5rem 0.4rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow-soft);
  margin-bottom: clamp(3rem, 9vw, 6.5rem);
}
.nav-pill-spacer { flex: 1 1 auto; }
.nav-pill .emblem { color: var(--fr); }
.nav-pill .brand-name { font-size: 1.15rem; }
.landing-main { width: 100%; max-width: 64rem; display: flex; flex-direction: column; }
.hero { max-width: 46rem; margin-bottom: clamp(3.5rem, 10vw, 8rem); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-bottom: 0.9rem; padding: 0.42rem 0.85rem;
  border-radius: 999px; background: var(--ok-bg);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--fr);
}
.hero-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; flex: 0 0 auto;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow::before { animation: eyebrowPulse 1.8s ease-in-out infinite; }
}
@keyframes eyebrowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.hero-title {
  font-size: clamp(2.25rem, 6.6vw, 4.75rem);
  line-height: 1.05; letter-spacing: -0.015em; font-weight: 600;
  margin-bottom: 1.2rem;
  text-wrap: balance;   
}
.hero-lede {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--text-soft); max-width: 38rem; margin-bottom: 2.1rem;
}
.hero .landing-actions { flex-direction: row; flex-wrap: wrap; }
.hero .landing-actions .btn { width: auto; min-height: 48px; font-size: 0.95rem; padding-inline: 1.35rem; }
.hero .landing-note { max-width: 34rem; }
.preview { margin-bottom: clamp(3.5rem, 10vw, 8rem); }
.preview-frame {
  background: #1d1d1f; color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 22px;
  padding: clamp(1.1rem, 3vw, 1.8rem);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.preview-bar {
  display: flex; align-items: center; gap: 0.7rem;
  padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 1.2rem;
}
.preview-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.26rem 0.7rem; border-radius: 999px;
  background: color-mix(in srgb, var(--fr) 22%, transparent);
  color: #6ee7b0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
}
.preview-dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7b0; }
.preview-mosque { font-size: 0.82rem; color: #86868b; }
.preview-arabic {
  text-align: center; font-size: clamp(1.3rem, 3.6vw, 2rem); line-height: 1.7;
  margin-bottom: clamp(1.2rem, 3vw, 1.8rem);
}
.preview-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.preview-col { padding: 0 clamp(0.7rem, 2vw, 1.2rem); }
.preview-col + .preview-col { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.preview-col-head {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; color: #86868b;
  margin-bottom: 0.7rem;
}
.preview-col-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ea3ff; }
.preview-col-dot-2 { background: #c58cff; }
.preview-col-past { font-size: 0.85rem; color: #6e6e73; line-height: 1.5; margin-bottom: 0.5rem; }
.preview-col-live { font-size: clamp(0.95rem, 1.7vw, 1.15rem); line-height: 1.45; }
.section-head { max-width: 40rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.7rem;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.85rem);
  line-height: 1.1; letter-spacing: -0.008em; font-weight: 600;
  text-wrap: balance;
}
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  margin-bottom: clamp(3.5rem, 8vw, 6.5rem);
}
.value-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.value-card::before {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 999px;
  background: var(--fr); margin-bottom: 1.05rem;
}
.value-card:nth-child(2)::before { background: var(--lang-en); }
.value-card:nth-child(3)::before { background: var(--quran); }
@media (hover: hover) {
  .value-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--fr) 45%, var(--line)); }
}
.value-card h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 0.55rem; }
.value-card p { font-size: 0.93rem; line-height: 1.62; letter-spacing: -0.006em; color: var(--text-soft); }
.landing-footer {
  width: 100%; max-width: 64rem;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--text-faint);
}
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-pill-login { display: none; }
  .hero .landing-actions { flex-direction: column; }
  .hero .landing-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .field-row { flex-direction: column; gap: 1.1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .page-landing .hero-eyebrow,
  .page-landing .hero-title,
  .page-landing .hero-lede,
  .page-landing .hero .landing-actions,
  .page-landing .hero .landing-note,
  .page-landing .preview,
  .page-landing .section-head,
  .page-landing .value-card {
    animation: landingRise 0.62s cubic-bezier(0.32, 0.72, 0, 1) both;
  }
  .page-landing .hero-title       { animation-delay: 0.05s; }
  .page-landing .hero-lede        { animation-delay: 0.10s; }
  .page-landing .hero .landing-actions { animation-delay: 0.15s; }
  .page-landing .hero .landing-note    { animation-delay: 0.20s; }
  .page-landing .preview          { animation-delay: 0.18s; }
  .page-landing .section-head     { animation-delay: 0.22s; }
  .page-landing .value-card:nth-child(1) { animation-delay: 0.24s; }
  .page-landing .value-card:nth-child(2) { animation-delay: 0.30s; }
  .page-landing .value-card:nth-child(3) { animation-delay: 0.36s; }
}
@keyframes landingRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
