/* ================= DARTKO — دارتكو | صفحة الهبوط والدخول ================= */

:root {
  --lp-ink: #06140f;
  --lp-forest: #0c241c;
  --lp-green: #143d2c;
  --lp-mid: #1b4332;
  --lp-moss: #2d6a4f;
  --lp-brass: #c4a35a;
  --lp-brass-bright: #e0c479;
  --lp-stone: #f3f5f3;
  --lp-mist: #8a9a91;
  --lp-white: #fafbfa;
  --lp-line: #e2e8e4;
  --lp-text: #1a221e;
  --lp-text-2: #5a6560;
  --lp-display: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
  --lp-body: 'IBM Plex Sans Arabic', 'Alexandria', sans-serif;
  --lp-radius: 14px;
  --lp-shadow: 0 18px 48px rgba(6, 20, 15, 0.08);
}

html {
  scroll-behavior: smooth;
}

.auth-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--lp-body);
  background: var(--lp-white);
  color: var(--lp-text);
  -webkit-font-smoothing: antialiased;
}

.auth-body,
.auth-body *,
.auth-body *::before,
.auth-body *::after {
  box-sizing: border-box;
}

#authView {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* —— Header —— ثابت ومتوازن —— */
.auth-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(20px, 4vw, 48px);
  box-sizing: border-box;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.auth-body.lp-landing .auth-nav {
  color: var(--lp-white);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.auth-body.lp-landing .auth-nav.is-solid {
  color: var(--lp-forest);
  background: rgba(250, 251, 250, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(14, 36, 28, 0.08);
  box-shadow: 0 10px 30px rgba(6, 20, 15, 0.06);
}

.auth-body.lp-landing .auth-nav.is-solid .auth-brand-en {
  color: var(--lp-forest);
}

.auth-body.lp-landing .auth-nav.is-solid .auth-brand-ar {
  color: var(--lp-mid);
}

.auth-body.lp-landing .auth-nav.is-solid .auth-brand-sep {
  background: rgba(27, 67, 50, 0.28);
}

.auth-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  justify-self: start;
  flex: none;
}

.auth-brand-en {
  font-family: var(--lp-body);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  color: #fff;
}

.auth-brand-sep {
  width: 1px;
  height: 1.05em;
  background: rgba(224, 196, 121, 0.55);
  align-self: center;
  flex: none;
}

.auth-brand-ar {
  font-family: var(--lp-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

.auth-nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-self: center;
}

.auth-nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
}

.auth-nav a {
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  padding: 8px 12px;
  border-radius: 8px;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.auth-nav a:hover {
  opacity: 1;
}

.auth-nav .btn.primary.sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  background: var(--lp-brass);
  border: 1px solid var(--lp-brass);
  color: var(--lp-ink);
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 18px;
}

.auth-nav .btn.primary.sm:hover {
  filter: brightness(1.06);
  color: var(--lp-ink);
}

.auth-nav-wa {
  opacity: 1 !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: inherit;
  font-weight: 600;
  border-radius: 10px;
  padding: 9px 14px;
  white-space: nowrap;
}

.auth-body.lp-landing .auth-nav.is-solid .auth-nav-wa,
.auth-body:has(.auth-hero) .auth-nav-wa,
.auth-body:not(.lp-landing) .auth-nav-wa {
  border-color: rgba(12, 36, 28, 0.18);
  color: var(--lp-forest);
  background: rgba(255, 255, 255, 0.7);
}

.auth-body.lp-landing .auth-nav:not(.is-solid) .auth-nav-wa:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

.auth-nav-wa:hover {
  background: rgba(12, 36, 28, 0.06);
}

/* —— WhatsApp float (صفحات التسويق فقط) —— */
.auth-wa-float {
  position: fixed;
  z-index: 45;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  inset-inline-start: max(16px, env(safe-area-inset-left, 0px));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 12px 16px;
  border-radius: 999px;
  background: #1fad5b;
  color: #fff;
  text-decoration: none;
  font-family: var(--lp-body);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(12, 36, 28, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.auth-wa-float:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(12, 36, 28, 0.28);
  color: #fff;
}

.auth-wa-float-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.auth-wa-float-label {
  padding-inline-end: 2px;
}

.auth-body:has(.auth-hero) .auth-nav {
  color: var(--lp-forest);
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: transparent;
  box-shadow: none;
  border-bottom: none;
}

.auth-body:has(.auth-hero) .auth-brand-en {
  color: var(--lp-forest);
}

.auth-body:has(.auth-hero) .auth-brand-ar {
  color: var(--lp-mid);
}

.auth-body:has(.auth-hero) .auth-brand-sep {
  background: rgba(27, 67, 50, 0.28);
}

/* مسافة عند القفز للأقسام حتى لا يغطيها الهيدر */
.lp-section,
.lp-final,
.lp-footer {
  scroll-margin-top: 88px;
}

/* —— Hero —— الألوان الأصلية —— */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--lp-ink);
  color: var(--lp-white);
}

.lp-hero-plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(45, 106, 79, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(196, 163, 90, 0.12), transparent 50%),
    linear-gradient(165deg, #0a1a14 0%, var(--lp-forest) 45%, #07120e 100%);
}

.lp-hero-plane::before {
  display: none;
}

.lp-hero-plane::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 20, 15, 0.85) 100%);
  pointer-events: none;
}

.lp-hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(112px, 16vh, 156px) clamp(22px, 5vw, 40px) clamp(56px, 10vh, 96px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.lp-hero-content > * {
  min-width: 0;
  max-width: 100%;
}

.lp-identity {
  margin: 0 0 clamp(26px, 4vh, 36px);
  animation: brandIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  max-width: 100%;
  min-width: 0;
}

.lp-brand-ar {
  margin: 0 0 14px;
  font-family: var(--lp-display);
  font-size: clamp(42px, 8vw, 68px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  color: #fff;
}

.lp-brand-en {
  margin: 0;
  font-family: var(--lp-body);
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--lp-brass-bright);
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.lp-hero-content h1 {
  margin: 0 0 clamp(16px, 2.4vh, 22px);
  font-family: var(--lp-display);
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
  max-width: min(100%, 22em);
  width: 100%;
  text-wrap: balance;
  overflow-wrap: break-word;
  animation: brandIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.lp-hero-content .lead {
  margin: 0 auto 12px;
  max-width: min(100%, 28em);
  width: 100%;
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 400;
  line-height: 1.9;
  color: rgba(200, 212, 204, 0.92);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  animation: brandIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.lp-hero-free {
  margin: 0 auto clamp(30px, 4.5vh, 42px);
  max-width: min(100%, 26em);
  width: 100%;
  font-size: clamp(13.5px, 1.5vw, 15px);
  line-height: 1.75;
  color: rgba(196, 163, 90, 0.95);
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  animation: brandIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.lp-hero .story-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin: 0;
  animation: brandIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.lp-hero .btn.primary {
  background: var(--lp-brass);
  border-color: var(--lp-brass);
  color: var(--lp-ink);
  font-family: var(--lp-body);
  font-weight: 700;
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 10px;
  box-shadow: none;
}

.lp-hero .btn.primary:hover {
  filter: brightness(1.06);
  color: var(--lp-ink);
}

.lp-hero .btn:not(.primary) {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--lp-body);
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 10px;
  box-shadow: none;
}

.lp-hero .btn:not(.primary):hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* —— Shared sections —— */
.lp-section {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 96px) clamp(20px, 4vw, 40px);
}

.lp-section-soft {
  background: var(--lp-stone);
  max-width: none;
  padding-inline: max(20px, calc((100% - 920px) / 2 + 20px));
}

.lp-section-dark {
  background: var(--lp-forest);
  color: var(--lp-white);
  max-width: none;
  padding-inline: max(20px, calc((100% - 920px) / 2 + 20px));
}

.lp-section-dark .lp-head h2 {
  color: #fff;
}

.lp-section-dark .lp-head p {
  color: var(--lp-mist);
}

.lp-head {
  margin-bottom: clamp(28px, 4vw, 40px);
  max-width: 620px;
}

.lp-head h2 {
  margin: 0 0 14px;
  font-family: var(--lp-display);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  color: var(--lp-mid);
  line-height: 1.35;
}

.lp-head p {
  margin: 0;
  color: var(--lp-text-2);
  line-height: 1.9;
  font-size: 16px;
}

/* Value steps */
.lp-value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--lp-line);
}

.lp-value-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--lp-line);
  animation: riseIn 0.7s ease both;
}

.lp-value-list li:nth-child(2) { animation-delay: 0.05s; }
.lp-value-list li:nth-child(3) { animation-delay: 0.1s; }

.lp-step-num {
  font-family: var(--lp-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--lp-brass);
  line-height: 1;
  letter-spacing: 0.04em;
}

.lp-value-list h3 {
  margin: 0 0 8px;
  font-family: var(--lp-display);
  font-size: 18px;
  color: var(--lp-forest);
}

.lp-value-list p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--lp-text-2);
  max-width: 36em;
}

/* Deal path chain */
.lp-path-chain {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 280px;
}

.lp-path-chain li:not(.lp-path-arrow) {
  font-family: var(--lp-display);
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 600;
  color: var(--lp-forest);
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: 12px 22px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 24px rgba(6, 20, 15, 0.04);
}

.lp-path-arrow {
  color: var(--lp-brass);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 0;
  list-style: none;
}

.lp-fee-line {
  margin: 0;
  text-align: center;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 600;
  color: var(--lp-mid);
  line-height: 1.7;
}

/* How it works */
.lp-how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lp-how-grid li {
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--lp-radius);
  background: rgba(255, 255, 255, 0.04);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.lp-how-grid li:hover {
  border-color: rgba(196, 163, 90, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.lp-how-grid span {
  font-family: var(--lp-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--lp-brass-bright);
  font-weight: 700;
}

.lp-how-grid strong {
  font-family: var(--lp-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
}

/* Product mock */
.lp-mock {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow);
  max-width: 640px;
}

.lp-mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--lp-forest);
  color: #fff;
}

.lp-mock-dots {
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 5px, #c4a35a 3px, transparent 4px),
    radial-gradient(circle at 18px 5px, rgba(255, 255, 255, 0.35) 3px, transparent 4px),
    radial-gradient(circle at 31px 5px, rgba(255, 255, 255, 0.2) 3px, transparent 4px);
}

.lp-mock-title {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
}

.lp-mock-body {
  padding: 8px 10px 14px;
  background: #f7f9f7;
}

.lp-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  margin: 8px 6px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
}

.lp-mock-row.is-hot {
  border-color: rgba(196, 163, 90, 0.45);
  box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.12);
}

.lp-mock-row b {
  display: block;
  font-size: 14.5px;
  color: var(--lp-forest);
  margin-bottom: 4px;
}

.lp-mock-row span {
  display: block;
  font-size: 13px;
  color: var(--lp-text-2);
  line-height: 1.5;
}

.lp-mock-row em {
  flex: none;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-mid);
  background: rgba(27, 67, 50, 0.08);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.lp-mock-row.is-hot em {
  color: var(--lp-ink);
  background: rgba(196, 163, 90, 0.22);
}

.lp-mock-cta {
  margin: 10px 6px 4px;
  padding: 16px;
  border-radius: 12px;
  background: var(--lp-mid);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lp-mock-cta span {
  font-weight: 700;
  font-size: 15px;
}

.lp-mock-cta small {
  font-size: 12px;
  opacity: 0.75;
}

/* Privacy / about */
.lp-privacy-list,
.lp-not-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-privacy-list li,
.lp-not-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--lp-line);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--lp-text-2);
}

.lp-privacy-list li::before,
.lp-not-list li::before {
  content: '—';
  color: var(--lp-brass);
  margin-inline-end: 10px;
  font-weight: 700;
}

.lp-about-closer {
  margin: 28px 0 0;
  font-family: var(--lp-display);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 600;
  color: var(--lp-forest);
  line-height: 1.7;
  max-width: 22em;
}

/* FAQ */
.lp-faq {
  display: grid;
  gap: 10px;
}

.lp-faq details {
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  background: #fff;
  padding: 4px 16px;
  transition: border-color 0.2s ease;
}

.lp-faq details[open] {
  border-color: rgba(27, 67, 50, 0.28);
}

.lp-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--lp-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--lp-forest);
  padding: 14px 0;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq details p {
  margin: 0 0 14px;
  color: var(--lp-text-2);
  line-height: 1.8;
  font-size: 14.5px;
  max-width: 42em;
}

/* Final message */
.lp-final {
  text-align: center;
  padding: clamp(72px, 12vw, 110px) 24px;
  background:
    radial-gradient(ellipse 55% 70% at 50% 100%, rgba(27, 67, 50, 0.08), transparent),
    var(--lp-white);
}

.lp-final-line {
  margin: 0 0 8px;
  font-family: var(--lp-display);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--lp-forest);
  line-height: 1.35;
}

.lp-final-line.is-accent {
  color: var(--lp-brass);
  margin-bottom: 28px;
}

.lp-final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lp-final .btn.primary {
  background: var(--lp-mid);
  border-color: var(--lp-mid);
  color: #fff;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
}

.lp-final .btn.primary:hover {
  filter: brightness(1.08);
  color: #fff;
}

/* Footer */
.lp-footer {
  padding: 48px clamp(20px, 4vw, 40px) 56px;
  background: var(--lp-ink);
  color: rgba(247, 249, 247, 0.88);
  text-align: center;
}

.lp-footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--lp-display);
  margin-bottom: 10px;
}

.lp-footer-brand strong {
  letter-spacing: 0.16em;
  font-size: 16px;
  color: #fff;
}

.lp-footer-brand span {
  font-size: 15px;
  color: var(--lp-brass-bright);
}

.lp-footer-tag {
  margin: 0 0 24px;
  color: var(--lp-mist);
  font-size: 14.5px;
}

.lp-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 22px;
}

.lp-footer-nav a {
  color: rgba(247, 249, 247, 0.78);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.lp-footer-nav a:hover {
  color: var(--lp-brass-bright);
}

.lp-footer-domain {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(168, 181, 173, 0.55);
}

/* Auth forms */
.auth-hero {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 16px 48px;
  display: block;
  box-sizing: border-box;
  min-width: 0;
}

.auth-hero.auth-narrow {
  max-width: 440px;
}

.auth-body:has(.auth-hero) {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(196, 163, 90, 0.1), transparent),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(27, 67, 50, 0.08), transparent),
    linear-gradient(165deg, #e8ece9 0%, #f4f6f4 50%, #eef1ee 100%);
}

.auth-card {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #dfe4e0;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 24px 64px rgba(6, 20, 15, 0.08);
}

.auth-card .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.auth-card .field {
  min-width: 0;
  max-width: 100%;
}

.auth-card .field > label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #314439;
}

.auth-card .field input:not([type='checkbox']):not([type='radio']),
.auth-card .field select,
.auth-card .field textarea {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfd6d1;
  border-radius: 10px;
  background: #fff;
  color: var(--lp-text);
  font-family: var(--lp-body);
  font-size: 15px;
}

.auth-card .field input:not([type='checkbox']):not([type='radio']):focus,
.auth-card .field select:focus,
.auth-card .field textarea:focus {
  outline: none;
  border-color: var(--lp-moss);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.auth-card .field input[type='checkbox'],
.auth-card .field input[type='radio'] {
  width: auto;
  max-width: none;
  min-height: 0;
  flex: none;
}

.auth-card .signup-consent {
  width: 100%;
  align-items: flex-start;
}

.auth-card .signup-consent > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.auth-card .btn.primary,
.auth-card button.btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--lp-brass);
  border-radius: 10px;
  background: var(--lp-brass);
  color: var(--lp-ink);
  font-family: var(--lp-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.auth-card .muted {
  color: #7a827c;
  font-size: 12.5px;
}

.auth-card .badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.auth-card .badge.green {
  background: rgba(45, 106, 79, 0.12);
  color: var(--lp-mid);
}

@media (min-width: 560px) {
  .auth-hero {
    padding: 40px 20px 56px;
  }

  .auth-card {
    padding: 28px 26px;
  }

  .auth-card .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-card h2 {
  margin: 0 0 6px;
  font-family: var(--lp-display);
  font-size: clamp(18px, 5vw, 22px);
  color: var(--lp-forest);
}

.auth-card .sub {
  margin: 0 0 18px;
  color: #7a827c;
  font-size: 13.5px;
  line-height: 1.7;
  word-break: break-word;
}

.auth-card .signup-submit.is-muted,
.auth-card .signup-submit:disabled {
  background: #c5cdc8 !important;
  border-color: #b4bcb7 !important;
  color: #6a736d !important;
  box-shadow: none !important;
  opacity: 1;
  cursor: not-allowed;
  filter: none !important;
}

.auth-card .signup-submit:not(:disabled):not(.is-muted) {
  cursor: pointer;
}

.err {
  color: #b42318;
  font-size: 13px;
  margin-top: 10px;
  min-height: 18px;
}

.ok {
  color: #157347;
  font-size: 13px;
}

.org-type-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
}

.org-type-chip {
  position: relative;
  flex: 1 1 calc(33.333% - 6px);
  min-width: 0;
  cursor: pointer;
}

.org-type-chip input {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.org-type-chip span {
  display: block;
  text-align: center;
  padding: 10px 8px;
  border: 1.5px solid #d0d6d1;
  border-radius: 10px;
  background: #f6f8f6;
  font-weight: 600;
  font-size: 13px;
  color: #3f463f;
  transition: 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.org-type-chip input:checked + span {
  border-color: var(--lp-mid);
  background: var(--lp-mid);
  color: #fff;
}

.org-type-chip:hover span {
  border-color: var(--lp-mid);
}

.story-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@keyframes brandIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .lp-how-grid {
    grid-template-columns: 1fr 1fr;
  }

  .auth-nav {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
  }

  .auth-nav-links {
    display: none;
  }

  .auth-nav-actions {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .auth-nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .auth-body {
    overflow-x: clip;
  }

  .auth-nav {
    padding: 10px 12px;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .auth-nav-actions {
    gap: 6px;
    flex-wrap: nowrap;
    min-width: 0;
    justify-self: end;
  }

  /* واتساب العائم يغطي التواصل — أخفِ الزر من الهيدر حتى لا يُقصّ «ابدأ مجانًا» */
  .auth-nav-wa {
    display: none;
  }

  .auth-nav-login {
    padding: 8px 8px;
    font-size: 13px;
    white-space: nowrap;
  }

  .auth-nav .btn.primary.sm {
    white-space: nowrap;
    font-size: 12.5px;
    padding: 8px 12px;
    flex: none;
  }

  .auth-wa-float-label {
    display: none;
  }

  .auth-wa-float {
    padding: 13px;
    border-radius: 50%;
  }

  .auth-brand {
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .auth-brand-en {
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .auth-brand-ar {
    font-size: 14px;
  }

  .auth-brand-sep {
    height: 0.9em;
  }

  .lp-hero {
    min-height: 100dvh;
    overflow-x: clip;
    overflow-y: visible;
  }

  .lp-hero-content {
    padding: calc(92px + env(safe-area-inset-top, 0px)) 16px 44px;
    width: 100%;
    max-width: 100%;
  }

  .lp-brand-ar {
    font-size: clamp(36px, 10vw, 48px);
    font-weight: 800;
  }

  .lp-brand-en {
    font-size: clamp(18px, 5.5vw, 26px);
    letter-spacing: 0.22em;
  }

  .lp-hero-content h1 {
    font-size: clamp(17px, 4.8vw, 21px);
    max-width: 100%;
    line-height: 1.65;
    padding-inline: 2px;
  }

  .lp-hero-content .lead {
    font-size: 13.5px;
    line-height: 1.9;
    max-width: 100%;
    padding-inline: 2px;
  }

  .lp-hero-free {
    font-size: 12.5px;
    line-height: 1.85;
    max-width: 100%;
    padding-inline: 2px;
  }

  .lp-hero .story-cta {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
    gap: 12px;
  }

  .lp-hero .story-cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    box-sizing: border-box;
  }

  .lp-section {
    padding: 52px 18px;
  }

  .lp-section-soft,
  .lp-section-dark {
    padding-inline: 18px;
  }

  .lp-value-list li {
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .lp-step-num {
    font-size: 22px;
  }

  .lp-how-grid {
    grid-template-columns: 1fr;
  }

  .lp-mock-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .lp-mock-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-hero,
  .auth-hero.auth-narrow {
    max-width: 100%;
    width: 100%;
    padding: 12px 14px 40px;
  }

  .auth-card {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .org-type-chip {
    flex: 1 1 calc(33.333% - 6px);
  }

  .lp-footer-nav {
    gap: 10px 14px;
  }
}

@media (max-width: 380px) {
  .auth-brand-en,
  .auth-brand-sep {
    display: none;
  }

  .auth-brand-ar {
    font-size: 16px;
  }

  .auth-nav .btn.primary.sm {
    padding: 8px 10px;
    font-size: 12px;
  }
}
