:root {
  --deep: #122f2b;
  --teal: #173d38;
  --primary: #245e54;
  --primary-ink: #f4faf7;
  --mint: #eef5f1;
  --paper: #f7faf8;
  --fog: #dce8e2;
  --ink: #1a2e2b;
  --muted: #5f746c;
  --brass: #b08d4f;
  --brass-soft: #e8d7b0;
  --line: #d5e2db;
  --shadow: 0 28px 80px rgba(10, 34, 26, 0.22);
  --radius: 18px;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Newsreader", "IBM Plex Sans Arabic", Georgia, serif;
  --font-ui: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body[data-lang="en"] {
  font-family: var(--font-ui);
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(176, 141, 79, 0.18), transparent 55%),
    radial-gradient(800px 480px at -10% 20%, rgba(36, 94, 84, 0.16), transparent 50%),
    linear-gradient(180deg, #e8f1ec 0%, var(--paper) 38%, #f3f7f5 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 248, 0.78);
  border-bottom: 1px solid rgba(213, 226, 219, 0.7);
}

.nav a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.page-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 28px 12px;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--deep);
  max-width: 18ch;
}

.page-hero > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.page-hero-addons {
  padding-bottom: 8px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.path-card {
  display: grid;
  gap: 8px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 140px;
}

.path-card:hover {
  transform: translateY(-3px);
  border-color: #b7cfc4;
  box-shadow: 0 16px 40px rgba(18, 47, 43, 0.1);
}

.path-card strong {
  font-size: 1.15rem;
  color: var(--deep);
}

.path-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.path-card-accent {
  background: linear-gradient(160deg, #1b4741, var(--deep));
  border-color: transparent;
  color: #e9f0e6;
}

.path-card-accent strong {
  color: #f4faf7;
}

.path-card-accent span {
  color: #b6c7ac;
}

.feature-grid-2 {
  grid-template-columns: repeat(3, 1fr);
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.addon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.addon-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 18px 50px rgba(18, 47, 43, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addon-card-brass {
  background: linear-gradient(180deg, #1b4741 0%, var(--deep) 100%);
  border-color: transparent;
  color: #e9f0e6;
}

.addon-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f8f7f;
}

.addon-card-brass .addon-kicker {
  color: var(--brass-soft);
}

.addon-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}

.addon-price {
  margin: 8px 0 0;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--primary);
}

.addon-card-brass .addon-price {
  color: #cfe0d6;
}

.addon-price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.addon-card-brass .addon-price small {
  color: #9eb4ac;
}

.addon-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.addon-card-brass .addon-lead {
  color: #b6c7ac;
}

.addon-list {
  list-style: none;
  margin: 8px 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.addon-list li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.addon-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.addon-card-brass .addon-list li {
  color: #c5d4ce;
}

.addon-card-brass .addon-list li::before {
  background: var(--brass);
}

.gallery-grid-page {
  grid-template-columns: 1fr 1fr;
}

.gallery-grid-page .shot:first-child {
  grid-row: auto;
}

.gallery-grid-page .shot:first-child img {
  height: auto;
  aspect-ratio: 16 / 9;
}

@media (max-width: 1100px) {
  .path-grid,
  .addon-grid,
  .feature-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .path-grid,
  .addon-grid,
  .feature-grid-2,
  .gallery-grid-page {
    grid-template-columns: 1fr;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 30% 30%, var(--brass-soft), transparent 40%),
    linear-gradient(145deg, #2f7a6c, var(--deep));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px 8px auto;
  height: 3px;
  border-radius: 99px;
  background: #88a990;
  box-shadow: 0 8px 0 -1px rgba(176, 141, 79, 0.85);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 18px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  border: 1px solid var(--line);
  background: white;
  color: var(--primary);
  border-radius: 999px;
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 13px 22px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 10px 28px rgba(36, 94, 84, 0.28);
}

.btn-primary:hover {
  background: #1d4d45;
}

.btn-soft {
  background: white;
  border-color: var(--line);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 48px 28px 64px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-copy .eyebrow,
.section-head .eyebrow,
.contact-card .eyebrow {
  color: #6f8f7f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--deep);
}

.lede {
  margin: 18px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stage {
  position: relative;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 12% 4% -6% 8%;
  background: radial-gradient(circle at 40% 40%, rgba(36, 94, 84, 0.22), transparent 68%);
  filter: blur(8px);
  z-index: 0;
}

.browser-frame {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #e8eeea;
  border: 1px solid #c9d8cf;
  box-shadow:
    0 40px 80px rgba(18, 47, 43, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.65) inset;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #f4f7f5, #e7eee9);
  border-bottom: 1px solid #d5e2db;
}

.browser-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9d4cc;
}

.browser-chrome span:nth-child(1) {
  background: #e8b4b4;
}
.browser-chrome span:nth-child(2) {
  background: #e8d7b0;
}
.browser-chrome span:nth-child(3) {
  background: #b6d4c4;
}

.browser-chrome p {
  margin: 0 auto 0 10px;
  font-size: 0.72rem;
  color: #7d978c;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0f2926;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-frame-clean {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: #f4f6f5;
  line-height: 0;
  font-size: 0;
}

.product-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  display: block;
  vertical-align: top;
}

.product-frame-clean img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
  background: #eef2ef;
  vertical-align: top;
}

.product-frame-live {
  position: relative;
  overflow: hidden;
  background: #f4f6f5;
  width: 100%;
  aspect-ratio: 1280 / 800;
}

.panel-demo-frame {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 1280px;
  height: 800px;
  border: 0;
  background: #f4f6f5;
  transform-origin: top left;
  pointer-events: none;
}

.product-frame figcaption,
.shot figcaption span {
  color: #9eb4ac;
}

.product-frame figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(5, 12, 11, 0.85));
  font-size: 0.82rem;
}

.float-soft {
  animation: floatSoft 7s ease-in-out infinite;
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: 0 auto 24px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.strip-item {
  background: rgba(255, 255, 255, 0.88);
  padding: 22px 20px;
  display: grid;
  gap: 6px;
}

.strip-item strong {
  color: var(--primary);
  font-size: 0.98rem;
}

.strip-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 28px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head h2,
.contact-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--deep);
}

.section-head p:last-child,
.contact-card > div > p {
  color: var(--muted);
  margin: 12px 0 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--primary);
}

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

.gallery {
  background:
    linear-gradient(180deg, transparent, rgba(23, 61, 56, 0.04) 12%, rgba(23, 61, 56, 0.04) 88%, transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--teal);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 50px rgba(18, 47, 43, 0.16);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.shot.visible {
  transform: translateY(0);
  opacity: 1;
}

.shot:nth-child(2),
.shot:nth-child(3) {
  min-height: 100%;
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shot figcaption {
  padding: 16px 18px 18px;
  display: grid;
  gap: 4px;
}

.shot figcaption strong {
  color: #e9f0e6;
  font-size: 1rem;
}

.shot:first-child {
  grid-row: span 2;
}

.shot:first-child img {
  height: calc(100% - 78px);
  aspect-ratio: auto;
  object-fit: cover;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(18, 47, 43, 0.05);
}

.price-card.featured {
  background: linear-gradient(180deg, #1b4741 0%, var(--deep) 100%);
  color: #e9f0e6;
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(18, 47, 43, 0.28);
}

.price-card .badge {
  position: absolute;
  top: -12px;
  inset-inline-start: 18px;
  margin: 0;
  background: var(--brass);
  color: #1a160c;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.tier {
  margin: 0;
  color: #7d978c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card.featured .tier {
  color: var(--brass-soft);
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.35rem;
}

.amount {
  margin: 8px 0 0;
  font-family: var(--font-ui);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--deep);
}



.amount span {
  font-size: 1.1rem;
  margin-inline-end: 2px;
}

.period {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.price-card.featured .period {
  color: #9eb4ac;
}

.price-card ul {
  list-style: none;
  margin: 8px 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1;
}

.price-card li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.price-card.featured li {
  color: #c5d4ce;
}

.price-card.featured li::before {
  background: var(--brass);
}

.price-card .btn {
  width: 100%;
}

.price-card.featured .btn-primary {
  background: var(--brass);
  color: #1a160c;
  box-shadow: none;
}

.price-card.featured .btn-primary:hover {
  background: #c4a05c;
}

.pricing-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(500px 280px at 100% 0%, rgba(176, 141, 79, 0.18), transparent 55%),
    linear-gradient(145deg, var(--teal), var(--deep));
  color: #e9f0e6;
  box-shadow: var(--shadow);
}

.contact-card .eyebrow {
  color: #88a990;
}

.contact-card h2 {
  color: #f4faf7;
}

.contact-card > div > p,
.contact-points {
  color: #b6c7ac;
}

.contact-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-points li {
  padding-inline-start: 16px;
  position: relative;
}

.contact-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: #c5d4ce;
}

.contact-form label.full,
.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #314949;
  background: rgba(15, 35, 32, 0.55);
  color: #eef5e8;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #88a990;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(232, 215, 176, 0.16);
  color: var(--brass-soft);
  font-size: 0.9rem;
}

.form-alt {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: #9eb4ac;
  font-size: 0.88rem;
}

.form-alt a {
  color: var(--brass-soft);
  text-decoration: underline;
}

.footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--deep);
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.copy {
  margin: 0;
}

@media (max-width: 1100px) {
  .feature-grid,
  .price-grid,
  .strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .contact-card,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .shot:first-child {
    grid-row: auto;
  }

  .shot:first-child img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .top-actions .btn-ghost {
    display: none;
  }
}

@media (max-width: 560px) {
  .feature-grid,
  .price-grid,
  .strip,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

/* —— Client portal login —— */
.login-body,
.portal-body,
.admin-body {
  min-height: 100vh;
  background: var(--paper);
}

.portal-main {
  max-width: 820px;
}

.license-layout {
  margin-top: 8px;
}

.license-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(18, 47, 43, 0.08);
}

.license-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.license-key {
  margin: 6px 0 0;
  font-family: var(--font-ui);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--deep);
}

.license-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin: 0;
}

.license-grid .full {
  grid-column: 1 / -1;
}

.license-grid dt {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.license-grid dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1rem;
  word-break: break-word;
}

.license-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--mint);
  color: var(--primary);
}

.status-pill.status-active {
  background: #e3f3ea;
  color: #1f6b4f;
}

.status-pill.status-expired {
  background: #f7efe0;
  color: #6b5428;
}

.status-pill.status-suspended {
  background: #f6e4e4;
  color: #8a3030;
}

.admin-wrap {
  max-width: 1100px;
}

.admin-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
  display: grid;
  gap: 12px;
}

.admin-card label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.admin-card input,
.admin-card select,
.admin-card textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
}

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

.create-grid h3,
.create-grid .full,
.admin-reveal {
  grid-column: 1 / -1;
}

.admin-reveal {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: #122f2b;
  color: #e8d7b0;
  white-space: pre-wrap;
  font-size: 0.88rem;
}

.admin-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  text-align: start;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.row-actions button {
  border: 1px solid var(--line);
  background: var(--mint);
  color: var(--primary);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
}

@media (max-width: 720px) {
  .license-grid,
  .create-grid {
    grid-template-columns: 1fr;
  }
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.login-editorial {
  background:
    radial-gradient(520px 320px at 20% 10%, rgba(176, 141, 79, 0.18), transparent 55%),
    linear-gradient(160deg, #1b4741, var(--deep));
  color: #e9f0e6;
  padding: 36px 48px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.login-editorial .brand-text strong {
  color: #eef5e8;
}

.login-editorial .brand-text small {
  color: #b6c7ac;
}

.editorial-content {
  margin-top: auto;
  max-width: 440px;
  padding-bottom: 20px;
}

.editorial-content h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #f4faf7;
}

.editorial-content > p:not(.eyebrow) {
  color: #b6c7ac;
  margin: 14px 0 0;
}

.scan-art {
  position: relative;
  margin: 36px 0 22px;
  height: 180px;
  border-radius: 18px;
  border: 1px solid rgba(136, 169, 144, 0.35);
  background: rgba(8, 22, 20, 0.45);
  overflow: hidden;
}

.scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(136, 169, 144, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 169, 144, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

.scan-outline {
  position: absolute;
  inset: 28px 48px;
  border: 1px dashed rgba(176, 141, 79, 0.55);
  border-radius: 40% 48% 42% 50%;
}

.scan-cross {
  position: absolute;
  background: rgba(136, 169, 144, 0.55);
}

.scan-cross.horizontal {
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
}

.scan-cross.vertical {
  top: 12%;
  bottom: 12%;
  left: 50%;
  width: 1px;
}

.scan-label {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #88a990;
}

.editorial-foot {
  margin: 0;
  color: #88a990;
  font-size: 0.88rem;
}

.login-form-area {
  display: flex;
  flex-direction: column;
  padding: 28px 40px 32px;
  background: rgba(255, 255, 255, 0.72);
}

.login-form-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.text-link {
  color: var(--muted);
  font-size: 0.9rem;
}

.text-link:hover {
  color: var(--primary);
}

.portal-form {
  max-width: 420px;
  margin: auto 0;
  width: 100%;
  display: grid;
  gap: 14px;
}

.portal-form h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--deep);
}

.login-hint {
  margin: -4px 0 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

.portal-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.portal-form label small {
  color: #9aaba3;
  font-weight: 400;
}

.portal-form input {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  padding: 12px 14px;
  min-height: 46px;
  outline: none;
}

.portal-form input:focus {
  border-color: #4b887b;
}

.password-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.password-row input {
  flex: 1;
}

.show-pass {
  border: 1px solid var(--line);
  background: var(--mint);
  color: var(--primary);
  border-radius: 10px;
  padding: 0 14px;
  min-height: 46px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
}

.portal-alert {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7efe0;
  border: 1px solid #e8d7b0;
  color: #6b5428;
  font-size: 0.9rem;
}

.portal-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.login-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-size: 0.82rem;
}

.login-footer a {
  color: var(--primary);
}

@media (max-width: 860px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-editorial {
    min-height: 280px;
    padding: 24px 22px;
  }

  .scan-art {
    display: none;
  }

  .login-form-area {
    padding: 22px 20px 28px;
  }
}

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

  .float-soft,
  .shot {
    animation: none;
    transition: none;
  }

  .shot {
    opacity: 1;
    transform: none;
  }
}
