:root {
  --ip-ink: #1a2332;
  --ip-paper: #f4f6f9;
  --ip-sand: #eef1f5;
  --ip-gold: #b8892d;
  --ip-gold-soft: #d4b56a;
  --ip-gold-rgb: 184, 137, 45;
  --ip-deep: #1a1528;
  --ip-deep-2: #2a243d;
  --ip-muted: #6b7a90;
  --ip-line: #e8ecf1;
  --ip-surface: #ffffff;
  --ip-success: #0f7a55;
  --ip-danger: #b42318;
  --ip-warning: #b54708;
  --ip-radius: 14px;
  --ip-radius-sm: 10px;
  --ip-shadow: 0 8px 28px rgba(26, 35, 50, 0.06);
  --ip-shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.04);
  --sidebar-w: 268px;
  --topbar-h: 72px;
  --font-display: "29LT Bukra", "Inter", sans-serif;
  --font-body: "29LT Bukra", "Inter", sans-serif;
}

@font-face {
  font-family: "29LT Bukra";
  src: url("../fonts/29LTBukra-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "29LT Bukra";
  src: url("../fonts/29LTBukra-Regular.ttf") format("truetype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "29LT Bukra";
  src: url("../fonts/29LTBukra-Bold.ttf") format("truetype");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* رمز الريال السعودي الجديد (U+20C1) */
@font-face {
  font-family: "SaudiRiyal";
  src: url("../fonts/saudi-riyal.woff2") format("woff2"),
       url("../fonts/saudi-riyal.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20C1;
}
.sar {
  font-family: "SaudiRiyal", "29LT Bukra", "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  speak: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ip-ink);
  background: var(--ip-paper);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

.font-display { font-family: var(--font-display); }

/* ——— App shell (admin + client) ——— */
.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
  transition: grid-template-columns .22s ease;
}

.sidebar {
  background: var(--ip-surface);
  color: var(--ip-ink);
  border-left: 1px solid var(--ip-line);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 40;
}

.sidebar-brand-row {
  display: flex;
  align-items: center;
  gap: .35rem;
  height: var(--topbar-h);
  padding: 0 .55rem 0 .85rem;
  border-bottom: 1px solid var(--ip-line);
  flex-shrink: 0;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex: 1;
  min-width: 0;
  height: 100%;
  color: inherit;
}

.sidebar-brand:hover { color: inherit; }

.sidebar-collapse-btn,
.sidebar-menu-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ip-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ip-muted);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .15s, color .15s, border-color .15s;
}

.sidebar-collapse-btn:hover,
.sidebar-menu-btn:hover {
  color: var(--ip-ink);
  border-color: rgba(var(--ip-gold-rgb), .35);
  background: rgba(var(--ip-gold-rgb), .08);
}

.topbar-start {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  flex: 1;
}

.sidebar-brand .mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--ip-gold), #8a6418);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #1a1408;
  flex-shrink: 0;
  font-size: .95rem;
}

.sidebar-logo {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--ip-line);
  flex-shrink: 0;
  padding: 3px;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-brand small {
  color: var(--ip-muted);
  font-size: .72rem;
  font-weight: 500;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: .85rem .7rem 1.25rem;
  min-height: 0;
}

.nav-group { margin-bottom: .2rem; }

.nav-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .75rem;
  margin-top: .25rem;
  border: 0;
  border-radius: var(--ip-radius-sm);
  background: transparent;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ip-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.nav-group-toggle:hover {
  background: rgba(var(--ip-gold-rgb), .08);
  color: var(--ip-gold);
}

.nav-group.is-active-group > .nav-group-toggle {
  color: #8a6418;
  background: rgba(var(--ip-gold-rgb), .08);
}

.nav-group-chevron {
  font-size: .75rem;
  transition: transform .2s ease;
  opacity: .75;
}

.nav-group.is-open .nav-group-chevron {
  transform: rotate(180deg);
}

.nav-group-panel {
  display: none;
  padding-bottom: .1rem;
}

.nav-group.is-open .nav-group-panel {
  display: block;
}

/* legacy label class kept for safety */
.nav-section {
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ip-muted);
  font-weight: 700;
  margin: .65rem .65rem .35rem;
}

.side-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .62rem .75rem;
  border-radius: var(--ip-radius-sm);
  color: #3d4a5c;
  margin-bottom: .12rem;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  font-size: .9rem;
  font-weight: 500;
}

.side-link-label { min-width: 0; }
.side-link-label small {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  color: var(--ip-muted);
  line-height: 1.25;
  margin-top: .1rem;
}
.side-link.active .side-link-label small { color: rgba(122, 90, 22, .75); }
.side-link-stack { align-items: flex-start; padding-top: .55rem; padding-bottom: .55rem; }
.side-link-stack .side-link-ico { margin-top: .15rem; }
.side-section-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ip-muted);
  padding: .65rem .75rem .2rem;
  text-transform: none;
}

.side-link-ico {
  width: 1.35rem;
  display: grid;
  place-items: center;
  color: var(--ip-muted);
  transition: color .15s ease;
  flex-shrink: 0;
}

.side-link:hover {
  background: rgba(var(--ip-gold-rgb), .08);
  color: var(--ip-ink);
}

.side-link:hover .side-link-ico { color: var(--ip-gold); }

.side-link.active {
  background: linear-gradient(135deg, rgba(var(--ip-gold-rgb), .16), rgba(var(--ip-gold-rgb), .08));
  color: #7a5a16;
  font-weight: 650;
  box-shadow: inset 3px 0 0 var(--ip-gold);
}

.side-link.active .side-link-ico { color: var(--ip-gold); }

.side-link i { font-size: 1.05rem; }

/* Collapsed sidebar (icon rail) */
.app-shell.sidebar-collapsed {
  --sidebar-w: 78px;
}

.app-shell.sidebar-collapsed .sidebar-brand-text,
.app-shell.sidebar-collapsed .side-link-label,
.app-shell.sidebar-collapsed .side-section-label,
.app-shell.sidebar-collapsed .nav-group-toggle span,
.app-shell.sidebar-collapsed .nav-group-chevron {
  display: none;
}

.app-shell.sidebar-collapsed .sidebar-brand-row {
  padding: 0 .55rem;
  justify-content: center;
}

.app-shell.sidebar-collapsed .sidebar-brand {
  justify-content: center;
}

.app-shell.sidebar-collapsed .sidebar-collapse-btn {
  display: none;
}

.app-shell.sidebar-collapsed .nav-group-toggle {
  padding: .35rem;
  justify-content: center;
  pointer-events: none;
  min-height: 0;
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.app-shell.sidebar-collapsed .nav-group-panel {
  display: block !important;
}

.app-shell.sidebar-collapsed .side-link {
  justify-content: center;
  padding: .7rem .45rem;
}

.app-shell.sidebar-collapsed .side-link.active {
  box-shadow: none;
  border: 1px solid rgba(var(--ip-gold-rgb), .3);
}

.main-area {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: var(--topbar-h);
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--ip-line);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-title-block { min-width: 0; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .35rem .55rem .35rem .35rem;
  border: 1px solid var(--ip-line);
  border-radius: 999px;
  background: #fff;
}

.topbar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ip-deep), var(--ip-deep-2));
  color: #f5e6c8;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .9rem;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin-inline: auto;
  background: linear-gradient(135deg, var(--ip-gold), #8a6418);
  color: #1a1408;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

.topbar-user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  padding-inline-end: .35rem;
}

.topbar-user-meta strong {
  font-size: .82rem;
}

.topbar-user-meta small {
  font-size: .68rem;
  color: var(--ip-muted);
}

.balance-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ip-line);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ip-ink);
}

.balance-chip i { color: var(--ip-gold); font-size: .85rem; }

.content-wrap { padding: 1.35rem 1.5rem 2.5rem; }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.page-sub {
  color: var(--ip-muted);
  margin: .2rem 0 0;
  font-size: .88rem;
}

/* KPI cards */
.kpi-grid,
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.kpi-card,
.stat-card {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: var(--ip-surface);
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius);
  padding: 1.05rem 1.1rem;
  box-shadow: var(--ip-shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  color: inherit;
}

a.kpi-card:hover,
a.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ip-shadow);
  border-color: rgba(var(--ip-gold-rgb), .35);
  color: inherit;
}

.kpi-card--accent {
  background: linear-gradient(145deg, #fffdf8 0%, #fff 55%);
  border-color: rgba(var(--ip-gold-rgb), .28);
}

.kpi-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(var(--ip-gold-rgb), .12);
  color: #8a6418;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.kpi-ico--danger {
  background: rgba(180, 35, 24, .1);
  color: var(--ip-danger);
}

.kpi-label,
.stat-card .label {
  color: var(--ip-muted);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: .2rem;
}

.kpi-value,
.stat-card .value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.kpi-unit { font-size: .85rem; font-weight: 500; color: var(--ip-muted); }
.kpi-hint { font-size: .75rem; color: var(--ip-muted); margin-top: .25rem; }

.cms-content p { margin-bottom: 1rem; line-height: 1.8; }
.cms-content h2, .cms-content h3 { font-family: var(--font-display); margin-top: 1.25rem; }

.panel {
  background: var(--ip-surface);
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius);
  box-shadow: var(--ip-shadow-sm);
  overflow: hidden;
}

.panel-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .95rem 1.15rem;
  border-bottom: 1px solid var(--ip-line);
  background: #fff;
}

.panel-h h2,
.panel-h h3 {
  margin: 0;
  font-size: .98rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.panel-link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ip-gold);
}

.panel-link:hover { color: #8a6418; }

.panel-b { padding: 1.15rem; }

.btn-gold {
  --bs-btn-bg: var(--ip-gold);
  --bs-btn-border-color: var(--ip-gold);
  --bs-btn-hover-bg: #9a7322;
  --bs-btn-hover-border-color: #9a7322;
  --bs-btn-color: #1a1408;
  --bs-btn-hover-color: #1a1408;
  font-weight: 600;
}

.btn-ink {
  --bs-btn-bg: var(--ip-deep);
  --bs-btn-border-color: var(--ip-deep);
  --bs-btn-hover-bg: #2f2944;
  --bs-btn-hover-border-color: #2f2944;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
}

.badge-soft {
  background: rgba(184,137,45,.12);
  color: #8a6418;
  border-radius: 999px;
  padding: .3rem .7rem;
  font-weight: 600;
  font-size: .78rem;
}

.table-modern {
  margin: 0;
  --bs-table-bg: transparent;
}

.table-modern thead th {
  background: #f8fafc;
  font-size: .75rem;
  color: var(--ip-muted);
  font-weight: 700;
  text-transform: none;
  letter-spacing: .01em;
  border-bottom: 1px solid var(--ip-line);
  padding: .7rem 1rem;
}

.table-modern td {
  vertical-align: middle;
  border-bottom-color: var(--ip-line);
  padding: .75rem 1rem;
  font-size: .9rem;
}

.table-modern tbody tr:hover {
  background: rgba(var(--ip-gold-rgb), .04);
}

.form-control, .form-select {
  border-color: var(--ip-line);
  border-radius: var(--ip-radius-sm);
}

.form-control:focus, .form-select:focus {
  border-color: rgba(var(--ip-gold-rgb), .55);
  box-shadow: 0 0 0 .2rem rgba(var(--ip-gold-rgb), .12);
}

@media (max-width: 991px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .app-shell.sidebar-collapsed {
    --sidebar-w: 0px;
  }
  .sidebar {
    position: relative;
    height: auto;
    max-height: none;
    border-left: 0;
    border-bottom: 1px solid var(--ip-line);
  }
  .app-shell.sidebar-collapsed .sidebar {
    display: none;
  }
  .sidebar-nav {
    padding: .65rem .7rem 1rem;
  }
  .sidebar-collapse-btn { display: none; }
  .app-shell.sidebar-collapsed .nav-group-toggle {
    display: flex;
    opacity: 1;
    height: auto;
    margin-top: .25rem;
    padding: .55rem .75rem;
    pointer-events: auto;
    overflow: visible;
  }
  .app-shell.sidebar-collapsed .nav-group-panel {
    display: none !important;
  }
  .app-shell.sidebar-collapsed .nav-group.is-open .nav-group-panel {
    display: block !important;
  }
}

.table-modern th {
  font-size: .78rem;
  color: var(--ip-muted);
  font-weight: 600;
  border-bottom-color: var(--ip-line);
}

.table-modern td {
  vertical-align: middle;
  border-bottom-color: var(--ip-line);
}

.invite-thumb {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--ip-line);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.template-pick {
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: .2s ease;
  position: relative;
}

.template-pick img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}

.template-pick .meta {
  padding: .75rem .85rem;
}

.template-pick.active,
.template-pick:hover {
  border-color: var(--ip-gold);
  box-shadow: 0 10px 30px rgba(184,137,45,.18);
}

.template-pick input { position: absolute; opacity: 0; pointer-events: none; }

/* ——— Site header + footer (public website) ——— */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(26, 35, 50, .06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ip-ink);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-hero {
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
  box-shadow: none;
}
.site-header:not(.is-hero) {
  box-shadow: 0 8px 28px rgba(26, 35, 50, .06);
}
.site-header-inner {
  width: min(1180px, calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
  min-width: 0;
  flex-shrink: 0;
}
.site-brand:hover { color: inherit; }
.site-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}
.lp-nav-logo {
  height: 40px;
  width: auto;
  max-width: 52px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  padding: 3px;
}
.lp-nav-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ip-gold), #8a6418);
  color: #1a1408;
  font-size: .78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.site-nav-desktop {
  display: none;
  align-items: center;
  gap: .15rem;
}
.site-nav-link {
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: inherit;
  opacity: .82;
  transition: background .15s, opacity .15s;
}
.site-nav-link:hover {
  opacity: 1;
  background: rgba(255,255,255,.12);
  color: inherit;
}
.site-header:not(.is-hero) .site-nav-link:hover {
  background: rgba(var(--ip-gold-rgb), .1);
  color: #7a5a16;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
}
.site-btn-ghost {
  --bs-btn-color: inherit;
  --bs-btn-border-color: rgba(255,255,255,.4);
  --bs-btn-hover-bg: rgba(255,255,255,.12);
  --bs-btn-hover-border-color: rgba(255,255,255,.55);
  --bs-btn-hover-color: #fff;
}
.site-header:not(.is-hero) .site-btn-ghost {
  --bs-btn-color: var(--ip-ink);
  --bs-btn-border-color: var(--ip-line);
  --bs-btn-hover-bg: var(--ip-sand);
  --bs-btn-hover-border-color: var(--ip-line);
  --bs-btn-hover-color: var(--ip-ink);
}

.site-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  display: inline-grid;
  place-content: center;
  gap: 5px;
  padding: 0;
}
.site-header:not(.is-hero) .site-menu-btn {
  border-color: var(--ip-line);
  background: #fff;
}
.site-menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.site-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.site-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(18, 14, 22, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.site-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.site-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  z-index: 80;
  width: min(320px, 88vw);
  background: #fff;
  color: var(--ip-ink);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  transform: translateX(-110%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem 1.4rem;
}
html[dir="rtl"] .site-drawer { transform: translateX(110%); }
.site-drawer.is-open { transform: none !important; }
.site-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--ip-line);
  margin-bottom: .75rem;
}
.site-drawer-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ip-line);
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ip-muted);
}
.site-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
  overflow-y: auto;
}
.site-drawer-nav a {
  padding: .8rem .7rem;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ip-ink);
}
.site-drawer-nav a:hover {
  background: rgba(var(--ip-gold-rgb), .1);
  color: #7a5a16;
}
.site-drawer-actions {
  display: grid;
  gap: .55rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ip-line);
}
body.site-menu-open { overflow: hidden; }

@media (min-width: 992px) {
  .site-nav-desktop { display: flex; }
  .site-menu-btn { display: none; }
  .site-brand-name { max-width: none; }
}

/* Footer */
.site-footer {
  background: #121018;
  color: rgba(245, 240, 232, .78);
  padding: clamp(2.5rem, 5vw, 4rem) 0 0;
}
.site-footer-inner {
  width: min(1180px, calc(100% - 1.75rem));
  margin-inline: auto;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  margin-bottom: .75rem;
}
.site-footer-logo:hover { color: #fff; }
.site-footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
}
.site-footer-logo strong {
  font-size: 1.35rem;
  font-weight: 700;
}
.site-footer-brand p {
  margin: 0;
  max-width: 26rem;
  line-height: 1.75;
  font-size: .92rem;
  color: rgba(245,240,232,.65);
}
.site-footer-col {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.site-footer-col h3 {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ip-gold-soft);
}
.site-footer-col a {
  color: rgba(245,240,232,.82);
  font-size: .92rem;
  font-weight: 500;
}
.site-footer-col a:hover { color: var(--ip-gold-soft); }
.site-footer-col a.site-footer-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  word-break: break-word;
  text-align: left;
}
.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.1rem;
}
.site-footer-social-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .7rem;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  color: rgba(245,240,232,.9) !important;
  border: 1px solid rgba(255,255,255,.1);
  font-size: 1.05rem;
  transition: background .2s, color .2s, transform .2s;
}
.site-footer-social-btn:hover {
  background: var(--ip-gold, #c4a25e);
  color: #1a1712 !important;
  transform: translateY(-2px);
}
.contact-social {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-social-label {
  display: block;
  font-size: .78rem;
  opacity: .65;
  margin-bottom: .7rem;
}
.contact-aside .site-footer-social { margin-top: 0; }
.contact-social-btn {
  background: rgba(196,162,94,.16);
  border-color: rgba(196,162,94,.22);
  color: var(--ip-gold, #c4a25e) !important;
}
.contact-social-btn:hover {
  background: var(--ip-gold, #c4a25e);
  color: #1a1712 !important;
}
.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.1rem 0 1.4rem;
  font-size: .8rem;
  color: rgba(245,240,232,.5);
}
.site-footer-bottom-links {
  display: flex;
  gap: 1rem;
}
.site-footer-bottom-links a {
  color: rgba(245,240,232,.55);
}
.site-footer-bottom-links a:hover { color: var(--ip-gold-soft); }

@media (max-width: 900px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
  }
  .site-header-actions .site-btn-ghost {
    display: none;
  }
  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Legacy aliases */
.landing-nav { display: none; }
.landing-footer { display: none; }

.lp { background: #f7f5f1; color: var(--ip-ink); }
.lp-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Full-bleed cinematic hero */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.lp-hero-media {
  position: absolute;
  inset: 0;
  background-image: var(--lp-hero);
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  animation: lpKenBurns 18s ease-in-out infinite alternate;
}
.lp-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,14,22,.55) 0%, rgba(18,14,22,.28) 42%, rgba(18,14,22,.72) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(184,137,45,.22), transparent 55%);
}
.lp-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6.5rem 1.25rem 4rem;
  max-width: 52rem;
}
.lp-hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  text-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.lp-hero-line {
  margin: 1.1rem auto 0;
  max-width: 28rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255,255,255,.86);
}
.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.75rem;
}
.lp-scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  animation: lpBounce 2.2s ease-in-out infinite;
}

/* Journey steps — text only, clean grid */
.lp-journey {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: #fff;
}
.lp-section-head {
  max-width: 38rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.lp-eyebrow {
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ip-gold);
}
.lp-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.lp-section-head p {
  margin: .75rem 0 0;
  color: var(--ip-muted);
  line-height: 1.7;
}

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ip-line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.lp-step-card {
  padding: 1.75rem 1.35rem 1.9rem;
  border-left: 1px solid var(--ip-line);
  position: relative;
  transition: background .2s ease;
}
.lp-step-card:last-child { border-left: 0; }
.lp-step-card:hover {
  background: linear-gradient(180deg, rgba(var(--ip-gold-rgb), .06), transparent);
}
.lp-step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: rgba(var(--ip-gold-rgb), .7);
  line-height: 1;
  margin-bottom: .85rem;
  letter-spacing: -.02em;
}
.lp-step-card h3 {
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -.01em;
}
.lp-step-card p {
  margin: 0;
  color: var(--ip-muted);
  line-height: 1.75;
  font-size: .95rem;
}

/* Highlight / why section */
.lp-highlight {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #f7f5f1;
}
.lp-highlight-shell {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: #fff;
  border: 1px solid rgba(26, 35, 50, .08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(26, 35, 50, .05);
}
.lp-highlight-copy {
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.lp-highlight-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -.02em;
  line-height: 1.25;
}
.lp-highlight-lead {
  margin: .85rem 0 1.35rem;
  color: var(--ip-muted);
  line-height: 1.75;
  max-width: 34rem;
}
.lp-highlight-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.lp-highlight-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.lp-highlight-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(var(--ip-gold-rgb), .12);
  color: #8a6418;
  flex-shrink: 0;
  font-size: 1.15rem;
}
.lp-highlight-list strong {
  display: block;
  font-size: .95rem;
  margin-bottom: .15rem;
}
.lp-highlight-list span {
  display: block;
  font-size: .85rem;
  color: var(--ip-muted);
  line-height: 1.5;
}
.lp-highlight-visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 5 / 4;
  max-height: 340px;
  width: 100%;
  align-self: center;
  border-radius: 0;
  overflow: hidden;
}
.lp-highlight-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.lp-highlight-badge {
  position: absolute;
  inset-inline-start: 1rem;
  bottom: 1rem;
  background: rgba(18, 14, 22, .78);
  color: #f7f1e6;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: .85rem 1rem;
  max-width: 14rem;
}
.lp-highlight-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: .15rem;
}
.lp-highlight-badge span {
  font-size: .8rem;
  opacity: .75;
}

/* Packages */
.lp-packages {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(184,137,45,.08), transparent 45%),
    #f7f5f1;
}
.lp-packages-page {
  padding-top: calc(68px + 2.5rem);
  min-height: 70vh;
}
.lp-packages-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.lp-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  max-width: 980px;
  margin-inline: auto;
}
.lp-pack-grid.has-trial {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1120px;
}
.lp-pack {
  display: block;
  padding: 1.4rem 1.25rem 1.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(26,35,50,.08);
  color: inherit;
  box-shadow: 0 8px 28px rgba(26,35,50,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.lp-pack:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26,35,50,.08);
  border-color: rgba(var(--ip-gold-rgb), .35);
  color: inherit;
}
.lp-pack.is-featured {
  background: linear-gradient(160deg, #1a1528 0%, #2a243d 100%);
  color: #f7f1e6;
  border-color: transparent;
  transform: scale(1.04);
  z-index: 1;
  box-shadow: 0 22px 48px rgba(26, 21, 40, .28);
}
.lp-pack.is-featured:hover {
  transform: scale(1.05) translateY(-2px);
  color: #f7f1e6;
}
.lp-pack.is-trial {
  background: #fff;
  border-color: rgba(var(--ip-gold-rgb), .28);
  box-shadow: 0 8px 28px rgba(184, 137, 45, .08);
}
.lp-pack.is-trial .lp-pack-tag { color: var(--ip-gold-soft); }
.lp-pack.is-trial .lp-pack-price {
  color: var(--ip-ink);
  font-size: 1.55rem;
}
.lp-pack.is-trial .lp-pack-price small {
  display: block;
  margin: .15rem 0 0;
  font-size: .78rem;
  color: var(--ip-muted);
  opacity: 1;
}
.lp-pack.is-featured p,
.lp-pack.is-featured ul { color: rgba(247,241,230,.72); }
.lp-pack-tag {
  display: inline-block;
  margin-bottom: .65rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ip-gold-soft);
}
.lp-pack h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.lp-pack p {
  margin: .45rem 0 0;
  font-size: .88rem;
  color: var(--ip-muted);
  line-height: 1.55;
  min-height: 2.6em;
}
.lp-pack-price {
  margin: 1rem 0;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -.02em;
}
.lp-pack-price small {
  font-size: .85rem;
  font-family: var(--font-body);
  opacity: .65;
  margin-inline-start: .15rem;
}
.lp-pack ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .88rem;
  color: var(--ip-muted);
}
.lp-pack li {
  padding: .35rem 0;
  border-top: 1px solid rgba(26,35,50,.06);
}
.lp-pack.is-featured li { border-top-color: rgba(255,255,255,.08); }
.lp-pack li::before {
  content: "✓";
  color: var(--ip-gold);
  margin-inline-end: .4rem;
  font-weight: 700;
}

/* Templates */
.lp-templates {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #fff;
}
.lp-templates-page {
  padding-top: calc(68px + 2.5rem);
  min-height: 70vh;
}
.lp-template-rail,
.lp-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.lp-template-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  max-width: 1120px;
  margin-inline: auto;
}
.lp-template {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ip-line);
  box-shadow: var(--ip-shadow-sm);
}
.lp-template img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.lp-template figcaption {
  padding: .75rem .85rem;
}
.lp-template strong {
  display: block;
  font-size: .9rem;
}
.lp-template span {
  font-size: .75rem;
  color: var(--ip-muted);
}

/* Closing CTA */
.lp-cta {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}
.lp-cta-bg {
  position: absolute;
  inset: 0;
  background-image: var(--lp-cta);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.lp-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,21,40,.82), rgba(26,21,40,.55));
}
.lp-cta-inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.25rem;
  max-width: 34rem;
}
.lp-cta-inner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
.lp-cta-inner p {
  margin: .85rem 0 1.4rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
}

/* Reveal + motion */
[data-lp-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-lp-reveal][data-lp-delay="1"] { transition-delay: .12s; }
[data-lp-reveal][data-lp-delay="2"] { transition-delay: .24s; }
[data-lp-reveal].is-in {
  opacity: 1;
  transform: none;
}
.lp-hero [data-lp-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
.lp-hero [data-lp-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes lpKenBurns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
@keyframes lpBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: .7; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

@media (max-width: 900px) {
  .lp-steps {
    grid-template-columns: 1fr 1fr;
  }
  .lp-step-card:nth-child(2n) { border-left: 0; }
  .lp-step-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--ip-line);
  }
  .lp-highlight-shell {
    grid-template-columns: 1fr;
  }
  .lp-highlight-visual {
    aspect-ratio: 16/9;
    max-height: 220px;
    order: -1;
  }
  .lp-pack-grid,
  .lp-pack-grid.has-trial {
    grid-template-columns: 1fr 1fr;
    max-width: 640px;
  }
  .lp-pack.is-featured {
    transform: none;
    order: -1;
  }
  .lp-pack.is-featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 560px) {
  .lp-steps { grid-template-columns: 1fr; }
  .lp-step-card {
    border-left: 0;
    border-bottom: 1px solid var(--ip-line);
  }
  .lp-step-card:last-child { border-bottom: 0; }
  .lp-pack-grid,
  .lp-pack-grid.has-trial {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-media,
  .lp-scroll,
  [data-lp-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Auth split layout */
.auth-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}
.auth-visual {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 280px;
}
.auth-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,21,40,.75), rgba(26,21,40,.4));
}
.auth-visual-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.auth-visual-inner .font-display {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .5rem;
}
.auth-panel {
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background: #f7f5f1;
}
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--ip-line);
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 16px 40px rgba(26,35,50,.06);
}
.auth-card .auth-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 .25rem;
}
.auth-card-wide {
  width: min(480px, 100%);
}

/* International phone field */
.phone-field {
  display: grid;
  grid-template-columns: minmax(118px, 38%) 1fr;
  gap: .5rem;
  align-items: stretch;
  margin-bottom: .35rem;
}
.phone-field .phone-dial-select,
.phone-field .phone-national {
  min-height: 48px;
  border-radius: 12px;
  font-size: 1rem;
}
.phone-field .phone-dial-select {
  padding-inline: .55rem;
  font-size: .86rem;
}

/* OTP verify */
.auth-otp-card {
  text-align: start;
}
.auth-otp-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto .85rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #25d366, #128c7e);
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 10px 24px rgba(18, 140, 126, .28);
}
.auth-otp-phone {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--ip-ink, #1a2332);
}
.auth-otp-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #f7f1e4, #fff9ef);
  border: 1px solid rgba(184, 137, 45, .35);
  text-align: center;
}
.auth-otp-reveal-label {
  font-size: .78rem;
  color: var(--ip-muted, #6b6570);
}
.auth-otp-reveal-code {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .35em;
  color: #1a2332;
  font-variant-numeric: tabular-nums;
}
.auth-otp-reveal-hint {
  font-size: .72rem;
  color: var(--ip-muted, #6b6570);
  letter-spacing: 0;
  max-width: 22rem;
}
.auth-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  padding: .3rem;
  background: #f0ebe3;
  border-radius: 14px;
}
.auth-method-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem .5rem;
  border-radius: 11px;
  color: #5c5666;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  transition: background .15s, color .15s, box-shadow .15s;
}
.auth-method-tab:hover {
  color: #1a2332;
  background: rgba(255,255,255,.55);
}
.auth-method-tab.is-active {
  background: #fff;
  color: #1a2332;
  box-shadow: 0 4px 14px rgba(26,35,50,.08);
}
.auth-otp-icon.is-email {
  background: linear-gradient(145deg, #4a7dff, #2f5fd0);
  box-shadow: 0 10px 24px rgba(47, 95, 208, .28);
}
.otp-digits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
  max-width: 280px;
  margin-inline: auto;
}
.otp-digit {
  width: 100%;
  aspect-ratio: 1;
  max-height: 64px;
  border: 1.5px solid var(--ip-line, #e4e0d8);
  border-radius: 14px;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: #faf9f7;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.otp-digit:focus {
  outline: none;
  border-color: #b8892d;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 137, 45, .18);
}
.auth-otp-resend .btn-link {
  color: #1a2332;
  font-weight: 500;
}
.auth-otp-resend .btn-link:disabled {
  opacity: .45;
  pointer-events: none;
}

@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-visual { min-height: 220px; }
}

/* Legacy landing helpers kept for CMS pages */
.hero {
  min-height: min(92vh, 820px);
  display: grid;
  align-items: center;
  color: #fff;
  background: linear-gradient(145deg, #16131f 0%, #1f1b2e 45%, #2a2118 100%);
  padding: 7.5rem clamp(1rem, 4vw, 3rem) 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero-inner { position: relative; max-width: 720px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  line-height: 1.08;
  margin: 0 0 .9rem;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  max-width: 34rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.section {
  padding: 4.25rem clamp(1rem, 4vw, 3rem);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}
.landing-feature {
  height: 100%;
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius);
  background: #fff;
  padding: 1.35rem 1.25rem;
}
.landing-package {
  height: 100%;
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius);
  background: #fff;
  padding: 1.4rem 1.25rem;
}
.landing-package.is-featured {
  border-color: rgba(var(--ip-gold-rgb), .45);
}
.lp-page-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  padding: 6.5rem clamp(1rem, 4vw, 3rem) 2.5rem;
}
.lp-page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.lp-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,14,22,.45), rgba(18,14,22,.78));
}
.lp-page-hero-inner { position: relative; z-index: 1; max-width: 820px; margin-inline: auto; width: 100%; }

.rsvp-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(184,137,45,.18), transparent 60%),
    linear-gradient(180deg, #1f1b2e, #121018);
}

.rsvp-card {
  width: min(460px, 100%);
  background: rgba(255,255,255,.96);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  animation: rise .6s ease both;
}

.rsvp-card .cover {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.rsvp-card .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(20,18,26,.55));
}

.rsvp-body { padding: 1.4rem 1.4rem 1.6rem; text-align: center; }

.scanner-frame {
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--ip-gold);
  background: #000;
  margin-inline: auto;
}

.alert-float {
  border: 0;
  border-radius: 14px;
  box-shadow: var(--ip-shadow);
}

/* —— إشعارات Nexa-style (toast + تأكيد) —— */
.ip-toast-stack {
  position: fixed;
  inset-inline-end: 1.1rem;
  top: 1.1rem;
  z-index: 4000;
  display: grid;
  gap: .65rem;
  width: min(380px, calc(100vw - 1.5rem));
  pointer-events: none;
}
.ip-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: start;
  padding: .9rem .95rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ip-line);
  box-shadow: 0 18px 40px rgba(20, 18, 26, .14);
  animation: ip-toast-in .28s ease;
}
.ip-toast.leaving {
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  transition: .2s ease;
}
.ip-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.ip-toast-success .ip-toast-icon { background: #e8f8ef; color: var(--ip-success); }
.ip-toast-error .ip-toast-icon { background: #fff1f2; color: var(--ip-danger); }
.ip-toast-info .ip-toast-icon { background: #e8f4fd; color: #0284c7; }
.ip-toast-success { border-color: #c6f0d8; }
.ip-toast-error { border-color: #fecdd3; }
.ip-toast-info { border-color: #bae6fd; }
.ip-toast-body { min-width: 0; }
.ip-toast-body strong {
  display: block;
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: .15rem;
  color: var(--ip-ink);
}
.ip-toast-body p {
  margin: 0;
  color: var(--ip-muted);
  font-size: .84rem;
  line-height: 1.5;
  word-break: break-word;
}
.ip-toast-close {
  border: 0;
  background: transparent;
  color: var(--ip-muted);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 0;
}
.ip-toast-close:hover { background: rgba(20,18,26,.05); color: var(--ip-ink); }
@keyframes ip-toast-in {
  from { opacity: 0; transform: translateY(-10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ip-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(26, 35, 50, .45);
  backdrop-filter: blur(6px);
  animation: ip-toast-in .2s ease;
}
.ip-confirm-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--ip-line);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(20, 18, 26, .22);
  padding: 1.35rem 1.35rem 1.2rem;
  text-align: center;
  display: grid;
  gap: .55rem;
  justify-items: center;
}
.ip-confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: .25rem;
  font-size: 1.4rem;
}
.ip-confirm-icon.danger { background: #fff1f2; color: var(--ip-danger); }
.ip-confirm-icon.info { background: rgba(184,137,45,.12); color: var(--ip-gold); }
.ip-confirm-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ip-ink);
}
.ip-confirm-card p {
  margin: 0;
  color: var(--ip-muted);
  font-size: .92rem;
  line-height: 1.6;
}
.ip-confirm-actions {
  display: flex;
  gap: .65rem;
  width: 100%;
  margin-top: .65rem;
}
.ip-confirm-actions .btn { flex: 1; justify-content: center; }

@media (max-width: 700px) {
  .ip-toast-stack { inset-inline: .75rem; width: auto; top: .85rem; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* WhatsApp admin */
.wa-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.25rem;
  padding: .35rem;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--ip-line);
  border-radius: 16px;
}

.wa-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ip-muted);
  padding: .65rem 1.1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: .18s ease;
}

.wa-tab:hover { color: var(--ip-ink); background: rgba(20,18,26,.04); }
.wa-tab.active {
  background: #fff;
  color: var(--ip-ink);
  box-shadow: 0 8px 24px rgba(20,18,26,.08);
}

.wa-status-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.wa-status-card {
  background: #fff;
  border: 1px solid var(--ip-line);
  border-radius: 16px;
  padding: .95rem 1.05rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}

.wa-status-card .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.wa-status-card.ok .ico { background: rgba(15,122,85,.12); color: var(--ip-success); }
.wa-status-card.warn .ico { background: rgba(181,71,8,.12); color: var(--ip-warning); }
.wa-status-card.bad .ico { background: rgba(180,35,24,.12); color: var(--ip-danger); }
.wa-status-card.neutral .ico { background: rgba(184,137,45,.12); color: #8a6418; }

.wa-status-card strong { display: block; font-size: .92rem; margin-bottom: .15rem; }
.wa-status-card small { color: var(--ip-muted); line-height: 1.45; }

.wa-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 1.25rem;
  align-items: start;
}

.wa-tpl-card {
  background: #fff;
  border: 1px solid var(--ip-line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: .2s ease;
}

.wa-tpl-card:hover { box-shadow: 0 14px 40px rgba(20,18,26,.06); }
.wa-tpl-card.is-off { opacity: .72; }

.wa-tpl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--ip-line);
  background: linear-gradient(180deg, #fffcf7, #fff);
}

.wa-tpl-title {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}

.wa-tpl-title .mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(184,137,45,.18), rgba(31,27,46,.08));
  color: #8a6418;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.wa-tpl-title strong {
  display: block;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-tpl-title span {
  color: var(--ip-muted);
  font-size: .78rem;
}

.wa-tpl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  flex-shrink: 0;
}

.wa-tpl-body {
  padding: 1.05rem 1.1rem 1.15rem;
}

.wa-preview {
  background:
    radial-gradient(400px 180px at 100% 0%, rgba(37,211,102,.08), transparent 55%),
    linear-gradient(180deg, #0b141a, #111b21);
  border-radius: 16px;
  padding: 1rem;
  color: #e9edef;
  min-height: 140px;
}

.wa-preview .bubble {
  background: #005c4b;
  border-radius: 10px 10px 4px 10px;
  padding: .75rem .9rem;
  font-size: .88rem;
  line-height: 1.55;
  white-space: pre-wrap;
  max-width: 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.wa-preview .label {
  font-size: .72rem;
  color: rgba(233,237,239,.55);
  margin-bottom: .55rem;
}

.wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.wa-chip {
  appearance: none;
  border: 1px dashed rgba(15,122,85,.35);
  background: rgba(15,122,85,.06);
  color: #0f7a55;
  border-radius: 999px;
  padding: .28rem .65rem;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: .15s ease;
}

.wa-chip:hover {
  background: rgba(15,122,85,.12);
  border-style: solid;
}

.wa-side-sticky {
  position: sticky;
  top: 1rem;
}

.wa-var-list {
  display: grid;
  gap: .45rem;
}

.wa-var-item {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  align-items: center;
  padding: .55rem .7rem;
  border-radius: 12px;
  background: rgba(20,18,26,.03);
  border: 1px solid var(--ip-line);
  font-size: .82rem;
}

.wa-var-item code {
  color: #0f7a55;
  font-size: .75rem;
  direction: ltr;
}

.wa-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ip-muted);
}

@media (max-width: 992px) {
  .wa-layout { grid-template-columns: 1fr; }
  .wa-side-sticky { position: static; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: relative;
    height: auto;
    border-radius: 0;
  }
}

/* Lifecycle order badges */
.wa-life-badge{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  padding:.2rem .55rem;
  border-radius:999px;
  background:rgba(184,137,45,.14);
  color:#8a6418;
  font-size:.72rem;
  font-weight:700;
  white-space:nowrap;
}
.wa-life-step{padding-bottom:.35rem;border-right:2px solid rgba(184,137,45,.25);padding-right:.75rem;margin-right:.25rem}
.wa-life-timeline{display:flex;flex-direction:column;gap:.35rem}
.wa-life-node{display:flex;align-items:flex-start;gap:.75rem;padding:.55rem .75rem;border-radius:12px;background:#fffcf7;border:1px solid rgba(20,18,26,.06)}
.wa-life-num{width:1.75rem;height:1.75rem;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#b8892d;color:#fff;font-weight:700;font-size:.85rem;flex-shrink:0}
.wa-life-arrow{text-align:center;color:#b8892d;opacity:.7;line-height:1}

/* ——— Admin dashboard hero + charts ——— */
.dash-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--ip-radius);
  border: 1px solid rgba(var(--ip-gold-rgb), .22);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(184,137,45,.16), transparent 55%),
    linear-gradient(135deg, #1a1528 0%, #2a243d 55%, #1f1a30 100%);
  color: #f7f1e6;
  position: relative;
  overflow: hidden;
  animation: dashHeroIn .7s ease both;
}

.dash-hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 120%;
  background: radial-gradient(circle, rgba(212,181,106,.18), transparent 60%);
  pointer-events: none;
}

.dash-hero-copy { position: relative; z-index: 1; max-width: 36rem; }
.dash-hero-kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ip-gold-soft);
  font-weight: 600;
}
.dash-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.dash-hero-sub {
  margin: .55rem 0 0;
  color: rgba(247,241,230,.72);
  font-size: .92rem;
  line-height: 1.65;
  max-width: 32rem;
}

.dash-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  position: relative;
  z-index: 1;
}

.dash-pill {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 7.5rem;
  padding: .65rem .85rem;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
}
.dash-pill span {
  font-size: .68rem;
  color: rgba(247,241,230,.55);
  font-weight: 500;
}
.dash-pill strong {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
}
.dash-pill--gold {
  background: rgba(184,137,45,.22);
  border-color: rgba(212,181,106,.35);
}
.dash-pill--gold strong { color: var(--ip-gold-soft); }

.chart-panel .panel-b { padding-bottom: 1rem; }
.chart-legend-hint {
  font-size: .75rem;
  color: var(--ip-muted);
  font-weight: 500;
}
.chart-wrap {
  position: relative;
  width: 100%;
}
.chart-wrap--lg { height: 280px; }
.chart-wrap--donut { height: 260px; }
.chart-wrap--sm { height: 220px; }

@keyframes dashHeroIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ——— Client time-based mood banner ——— */
.mood-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--ip-radius);
  border: 1px solid var(--ip-line);
  position: relative;
  overflow: hidden;
  animation: moodIn .65s ease both;
}
.mood-banner--live { isolation: isolate; }

.mood-banner-glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(184,137,45,.22), transparent 42%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 35%);
  animation: moodGlowDrift 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.mood-banner-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.mood-banner-sparkles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(212,181,106,.85);
  box-shadow: 0 0 10px rgba(212,181,106,.55);
  animation: moodSparkle 4.5s ease-in-out infinite;
  opacity: 0;
}
.mood-banner-sparkles span:nth-child(1) { top: 18%; right: 12%; animation-delay: 0s; }
.mood-banner-sparkles span:nth-child(2) { top: 62%; right: 28%; animation-delay: .8s; width: 3px; height: 3px; }
.mood-banner-sparkles span:nth-child(3) { top: 28%; right: 48%; animation-delay: 1.6s; }
.mood-banner-sparkles span:nth-child(4) { top: 72%; right: 68%; animation-delay: 2.2s; width: 4px; height: 4px; }
.mood-banner-sparkles span:nth-child(5) { top: 22%; right: 82%; animation-delay: 3s; }

.mood-banner-icon,
.mood-banner-body,
.mood-banner-actions {
  position: relative;
  z-index: 1;
}

.mood-banner-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  animation: moodIconFloat 3.2s ease-in-out infinite;
}
.mood-banner-icon i {
  display: inline-block;
  animation: moodIconSpin 8s linear infinite;
  transform-origin: center;
}

.mood-banner-body { flex: 1; min-width: 200px; }
.mood-banner-kicker {
  margin: 0 0 .25rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .9;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.mood-kicker-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ip-gold);
  box-shadow: 0 0 0 0 rgba(184,137,45,.55);
  animation: moodPulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
.mood-kicker-text {
  background: linear-gradient(90deg, #8a6418, #d4b56a, #8a6418, #d4b56a);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: .08em;
  animation: moodShimmer 3.5s linear infinite;
}
.mood-banner--evening .mood-kicker-text,
.mood-banner--night .mood-kicker-text {
  background: linear-gradient(90deg, #d4b56a, #fff6df, #d4b56a, #fff6df);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
}
.mood-kicker-dot {
  opacity: .55;
  animation: moodDotBlink 2s ease-in-out infinite;
}

.mood-banner-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  animation: moodTitleIn .8s ease .15s both;
}

.mood-banner-lines {
  position: relative;
  min-height: 3.2em;
  margin-top: .35rem;
  max-width: 38rem;
}
.mood-banner-line {
  margin: 0;
  font-size: .95rem;
  line-height: 1.7;
  opacity: 0;
  position: absolute;
  inset-inline: 0;
  top: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.mood-banner-line.is-active {
  opacity: .9;
  transform: none;
  position: relative;
  pointer-events: auto;
}

.mood-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.mood-banner--morning {
  background:
    linear-gradient(120deg, rgba(255,248,235,.95), rgba(255,255,255,.92)),
    linear-gradient(135deg, #fff8eb, #f4f6f9);
  border-color: rgba(184,137,45,.2);
  color: var(--ip-ink);
}
.mood-banner--morning .mood-banner-icon {
  background: rgba(184,137,45,.15);
  color: #8a6418;
}
.mood-banner--morning .btn-outline-light {
  border-color: rgba(26,35,50,.2);
  color: var(--ip-ink);
}
.mood-banner--morning .btn-outline-light:hover {
  background: var(--ip-ink);
  color: #fff;
}

.mood-banner--noon {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(212,181,106,.2), transparent 50%),
    linear-gradient(135deg, #fffdf8, #f7f4ee);
  border-color: rgba(184,137,45,.18);
  color: var(--ip-ink);
}
.mood-banner--noon .mood-banner-icon {
  background: rgba(181,71,8,.1);
  color: #b54708;
}
.mood-banner--noon .btn-outline-light {
  border-color: rgba(26,35,50,.2);
  color: var(--ip-ink);
}
.mood-banner--noon .btn-outline-light:hover {
  background: var(--ip-ink);
  color: #fff;
}

.mood-banner--evening {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(184,137,45,.25), transparent 45%),
    linear-gradient(135deg, #2a243d 0%, #1a1528 100%);
  border-color: rgba(184,137,45,.28);
  color: #f7f1e6;
}
.mood-banner--evening .mood-banner-icon {
  background: rgba(212,181,106,.18);
  color: var(--ip-gold-soft);
}
.mood-banner--evening .mood-banner-line { color: rgba(247,241,230,.78); }
.mood-banner--evening .btn-outline-light {
  border-color: rgba(247,241,230,.35);
  color: #f7f1e6;
}
.mood-banner--evening .btn-outline-light:hover {
  background: rgba(247,241,230,.12);
  color: #fff;
}

.mood-banner--night {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(74,111,165,.25), transparent 50%),
    linear-gradient(145deg, #12161f 0%, #1a2332 60%, #151a24 100%);
  border-color: rgba(74,111,165,.25);
  color: #eef2f7;
}
.mood-banner--night .mood-banner-icon {
  background: rgba(74,111,165,.2);
  color: #a8c0e0;
}
.mood-banner--night .mood-banner-line { color: rgba(238,242,247,.75); }
.mood-banner--night .mood-banner-sparkles span {
  background: rgba(168,192,224,.9);
  box-shadow: 0 0 10px rgba(168,192,224,.5);
}
.mood-banner--night .btn-outline-light {
  border-color: rgba(238,242,247,.3);
  color: #eef2f7;
}
.mood-banner--night .btn-outline-light:hover {
  background: rgba(238,242,247,.1);
}

@keyframes moodIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes moodGlowDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}
@keyframes moodSparkle {
  0%, 100% { opacity: 0; transform: scale(.4) translateY(0); }
  35% { opacity: 1; transform: scale(1) translateY(-8px); }
  70% { opacity: .2; transform: scale(.7) translateY(-14px); }
}
@keyframes moodIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes moodIconSpin {
  0%, 85%, 100% { transform: rotate(0deg); }
  90% { transform: rotate(12deg); }
  95% { transform: rotate(-8deg); }
}
@keyframes moodPulse {
  0% { box-shadow: 0 0 0 0 rgba(184,137,45,.5); }
  70% { box-shadow: 0 0 0 10px rgba(184,137,45,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,137,45,0); }
}
@keyframes moodShimmer {
  to { background-position: 220% center; }
}
@keyframes moodDotBlink {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}
@keyframes moodTitleIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mood-banner--live *,
  .mood-banner--live {
    animation: none !important;
    transition: none !important;
  }
  .mood-banner-line { position: relative; opacity: .9; transform: none; }
  .mood-banner-line:not(.is-active) { display: none; }
}

@media (max-width: 768px) {
  .chart-wrap--lg { height: 220px; }
  .dash-hero { padding: 1.1rem 1.15rem; }
  .mood-banner-actions { width: 100%; }
  .mood-banner-lines { min-height: 4.2em; }
}

/* ——— Invitation replies / conversation ——— */
.reply-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.reply-filter {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--ip-line);
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ip-muted);
  transition: .15s ease;
}
.reply-filter span {
  font-size: .72rem;
  background: var(--ip-sand);
  color: var(--ip-ink);
  border-radius: 999px;
  padding: .05rem .45rem;
  min-width: 1.4rem;
  text-align: center;
}
.reply-filter:hover,
.reply-filter.is-active {
  color: #7a5a16;
  border-color: rgba(var(--ip-gold-rgb), .4);
  background: rgba(var(--ip-gold-rgb), .1);
}

.reply-shell {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  min-height: 620px;
  background: var(--ip-surface);
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius);
  overflow: hidden;
  box-shadow: var(--ip-shadow-sm);
}

.reply-list {
  border-left: 1px solid var(--ip-line);
  display: flex;
  flex-direction: column;
  background: #fbfcfd;
  min-height: 0;
}
.reply-list-h {
  padding: .9rem 1rem;
  font-weight: 700;
  font-size: .92rem;
  border-bottom: 1px solid var(--ip-line);
  background: #fff;
}
.reply-list-scroll {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.reply-item {
  display: flex;
  gap: .75rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--ip-line);
  color: inherit;
  transition: background .15s;
}
.reply-item:hover { background: rgba(var(--ip-gold-rgb), .06); color: inherit; }
.reply-item.is-active {
  background: linear-gradient(90deg, rgba(var(--ip-gold-rgb), .14), rgba(var(--ip-gold-rgb), .04));
  box-shadow: inset 3px 0 0 var(--ip-gold);
}

.reply-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
  color: #fff;
  background: #6b7a90;
}
.reply-avatar--confirmed { background: linear-gradient(135deg, #0f7a55, #149a6c); }
.reply-avatar--apologized { background: linear-gradient(135deg, #b42318, #d4453a); }
.reply-avatar--attended { background: linear-gradient(135deg, #2563eb, #3b82f6); }

.reply-item-body { min-width: 0; flex: 1; }
.reply-item-top {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  align-items: baseline;
}
.reply-item-top strong {
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reply-item-top time {
  font-size: .68rem;
  color: var(--ip-muted);
  flex-shrink: 0;
}
.reply-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  margin: .25rem 0;
}
.reply-item-preview {
  margin: 0;
  font-size: .8rem;
  color: var(--ip-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reply-thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(184,137,45,.07), transparent 45%),
    #f4f6f9;
}
.reply-thread-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.1rem;
  background: #fff;
  border-bottom: 1px solid var(--ip-line);
}
.reply-thread-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.15rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.reply-thread-f {
  padding: .85rem 1.1rem;
  background: #fff;
  border-top: 1px solid var(--ip-line);
}
.reply-highlight {
  padding: .85rem 1rem;
  border-radius: 12px;
  background: rgba(var(--ip-gold-rgb), .1);
  border: 1px solid rgba(var(--ip-gold-rgb), .22);
}

.chat-row { display: flex; }
.chat-row--out { justify-content: flex-start; }
.chat-row--in { justify-content: flex-end; }

.chat-bubble {
  max-width: min(520px, 88%);
  padding: .75rem .95rem;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(26, 35, 50, .05);
  animation: chatIn .35s ease both;
}
.chat-bubble--out {
  background: #fff;
  border: 1px solid var(--ip-line);
  border-bottom-right-radius: 6px;
}
.chat-bubble--in {
  background: #1a2332;
  color: #f7f1e6;
  border-bottom-left-radius: 6px;
}
.chat-bubble--confirmed {
  background: linear-gradient(145deg, #0f7a55, #128a60);
}
.chat-bubble--apologized {
  background: linear-gradient(145deg, #8f1f18, #b42318);
}
.chat-bubble--attended {
  background: linear-gradient(145deg, #1d4ed8, #2563eb);
}
.chat-bubble-label {
  font-size: .72rem;
  font-weight: 700;
  opacity: .8;
  margin-bottom: .35rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.chat-bubble-text {
  font-size: .92rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-bubble-text--muted { opacity: .7; font-size: .85rem; }
.chat-bubble-chip {
  display: inline-block;
  margin-top: .45rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: .72rem;
  font-weight: 600;
}
.chat-bubble-meta {
  margin-top: .45rem;
  font-size: .68rem;
  opacity: .65;
}

.reply-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: var(--ip-muted);
}
.reply-empty i { font-size: 1.8rem; color: var(--ip-gold); }
.reply-empty p { margin: .75rem 0 .25rem; color: var(--ip-ink); font-weight: 600; }
.reply-empty--full {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes chatIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
  .reply-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .reply-list {
    border-left: 0;
    border-bottom: 1px solid var(--ip-line);
    max-height: 320px;
  }
  .reply-thread { min-height: 420px; }
}

/* ── Contact page ── */
.contact-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: contactHeroZoom 18s ease-out forwards;
}
.contact-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,16,12,.35) 0%, rgba(18,16,12,.78) 100%);
}
@keyframes contactHeroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.contact-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 4.5rem 0 2.75rem;
}
.contact-eyebrow {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: .75rem;
}
.contact-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 0 0 .75rem;
  line-height: 1.15;
}
.contact-lead {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: .9;
  margin: 0;
}
.contact-section {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196,162,94,.12), transparent 55%),
    linear-gradient(180deg, #f3efe8 0%, #faf8f4 40%, #f7f5f1 100%);
  padding: 3.5rem 0 5rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
}
.contact-aside {
  background: #1a1712;
  color: #f5f1ea;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 18px 40px rgba(26,23,18,.18);
}
.contact-aside-title {
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
  color: var(--ip-gold, #c4a25e);
}
.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.contact-channels li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.contact-channels strong {
  display: block;
  font-size: .78rem;
  opacity: .65;
  margin-bottom: .15rem;
  font-weight: 600;
}
.contact-channels a,
.contact-channels span {
  color: inherit;
  text-decoration: none;
  font-size: .95rem;
  line-height: 1.45;
}
.contact-channels a:hover { color: var(--ip-gold, #c4a25e); }
.contact-ico {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  background: rgba(196,162,94,.18);
  color: var(--ip-gold, #c4a25e);
  flex-shrink: 0;
}
.contact-map {
  margin-top: 1.5rem;
  border-radius: .9rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #2a261f;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-form-wrap {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26,23,18,.08);
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem 2rem;
  box-shadow: 0 12px 32px rgba(26,23,18,.06);
  animation: contactFormIn .55s ease both;
}
@keyframes contactFormIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.contact-form-title {
  font-size: 1.55rem;
  margin: 0 0 .35rem;
}
.contact-form-sub {
  color: var(--ip-muted, #6b6560);
  margin: 0 0 1.5rem;
  font-size: .95rem;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.contact-field-full { grid-column: 1 / -1; }
.contact-field label {
  font-size: .82rem;
  font-weight: 600;
  color: #2a261f;
}
.contact-field .opt {
  font-weight: 400;
  color: var(--ip-muted, #6b6560);
  font-size: .75rem;
}
.contact-field input,
.contact-field textarea {
  border: 1px solid rgba(26,23,18,.14);
  border-radius: .75rem;
  padding: .7rem .9rem;
  background: #fff;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--ip-gold, #c4a25e);
  box-shadow: 0 0 0 3px rgba(196,162,94,.2);
}
.contact-submit {
  margin-top: 1.25rem;
  min-width: 10rem;
  padding: .7rem 1.4rem;
}
.contact-alert {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .9rem 1rem;
  border-radius: .85rem;
  margin-bottom: 1.25rem;
  font-size: .92rem;
  line-height: 1.5;
}
.contact-alert.success {
  background: rgba(46,125,50,.1);
  color: #1b5e20;
  border: 1px solid rgba(46,125,50,.2);
}
.contact-extra { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(26,23,18,.08); }
.site-footer-extra {
  margin: 1.5rem 0 .5rem;
  opacity: .85;
  font-size: .9rem;
}

/* Client conversations hub */
.conv-invite-list {
  display: grid;
  gap: .75rem;
}
.conv-invite-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: .9rem;
  align-items: center;
  padding: .9rem 1rem;
  border: 1px solid var(--ip-line, #e8e2d8);
  border-radius: 1rem;
  background: #fff;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.conv-invite-card:hover {
  border-color: rgba(196,162,94,.45);
  box-shadow: 0 8px 22px rgba(26,23,18,.06);
  transform: translateY(-1px);
  color: inherit;
}
.conv-invite-thumb {
  width: 64px;
  height: 64px;
  border-radius: .85rem;
  overflow: hidden;
  background: #f3efe8;
  display: grid;
  place-items: center;
  color: var(--ip-gold, #c4a25e);
  font-size: 1.35rem;
}
.conv-invite-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.conv-invite-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
  color: var(--ip-muted, #6b6560);
}
.conv-invite-meta i { color: var(--ip-gold, #c4a25e); margin-left: .2rem; }
.conv-invite-go {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f7f5f1;
  color: #2a261f;
}
.conv-recent {
  max-height: 560px;
  overflow: auto;
}
.conv-recent-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--ip-line, #e8e2d8);
  color: inherit;
}
.conv-recent-item:hover {
  background: #faf8f4;
  color: inherit;
}
.conv-recent-item:last-child { border-bottom: 0; }
@media (max-width: 575px) {
  .conv-invite-card {
    grid-template-columns: 52px 1fr;
  }
  .conv-invite-go { display: none; }
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-aside { order: 2; }
}

/* ===== Colorful package cards (landing + client wallet) ===== */
.pkg-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}
.lp-pkg-grid {
  max-width: 1100px;
  margin-inline: auto;
}
.pkg-card {
  --pkg-accent: #b8892d;
  --pkg-soft: #f7f1e6;
  --pkg-ink: #1a1520;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.2rem 1.25rem;
  border-radius: 22px;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--pkg-soft) 88%, #fff) 0%, #fff 55%),
    var(--pkg-soft);
  border: 1px solid color-mix(in srgb, var(--pkg-accent) 22%, transparent);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--pkg-accent) 12%, transparent);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pkg-card::before {
  content: "";
  position: absolute;
  inset-inline-end: -18%;
  top: -20%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--pkg-accent) 28%, transparent), transparent 70%);
  pointer-events: none;
}
.pkg-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 20px 42px color-mix(in srgb, var(--pkg-accent) 22%, transparent);
}
.pkg-color-grid > .pkg-card:nth-child(even) {
  transform: translateY(10px);
}
.pkg-color-grid > .pkg-card:nth-child(even):hover {
  transform: translateY(4px) rotate(0.5deg);
}
.pkg-color-grid > .pkg-card:nth-child(3n) {
  transform: translateY(-6px);
}
.pkg-color-grid > .pkg-card:nth-child(3n):hover {
  transform: translateY(-12px) rotate(-0.6deg);
}
.pkg-card.tone-0 { --pkg-accent: #b8892d; --pkg-soft: #f8f0df; }
.pkg-card.tone-1 { --pkg-accent: #2f6f6a; --pkg-soft: #e8f3f1; }
.pkg-card.tone-2 { --pkg-accent: #9a4e2e; --pkg-soft: #f7ebe4; }
.pkg-card.tone-3 { --pkg-accent: #3d5a80; --pkg-soft: #e8eef6; }
.pkg-card.tone-4 { --pkg-accent: #6b705c; --pkg-soft: #eef0e8; }
.pkg-card.tone-5 { --pkg-accent: #8c3b4a; --pkg-soft: #f6e8eb; }
.pkg-card.tone-trial {
  --pkg-accent: #b8892d;
  --pkg-soft: #fff8eb;
  border-style: dashed;
}
.pkg-card.is-featured {
  --pkg-ink: #f7f1e6;
  background: linear-gradient(160deg, #1f1a2e 0%, #2c243f 55%, color-mix(in srgb, var(--pkg-accent) 35%, #1f1a2e) 100%);
  border-color: transparent;
  color: var(--pkg-ink);
  box-shadow: 0 22px 48px rgba(20, 16, 30, .28);
}
.pkg-card.is-featured .pkg-card-desc,
.pkg-card.is-featured .pkg-card-list { color: rgba(247,241,230,.72); }
.pkg-card.is-featured .pkg-card-count small { color: rgba(247,241,230,.65); }
.pkg-card-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: .7rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--pkg-accent);
  background: color-mix(in srgb, var(--pkg-accent) 14%, #fff);
}
.pkg-card.is-featured .pkg-card-tag {
  color: #f7f1e6;
  background: rgba(255,255,255,.12);
}
.pkg-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: inherit;
  position: relative;
}
.pkg-card-desc {
  margin: .45rem 0 0;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--ip-muted);
  position: relative;
  flex-grow: 0;
}
.pkg-card-price {
  margin: 1rem 0 .35rem;
  font-family: var(--font-display);
  font-size: 2.1rem;
  letter-spacing: -.02em;
  color: var(--pkg-accent);
  position: relative;
}
.pkg-card.is-featured .pkg-card-price { color: #f0d9a0; }
.pkg-card-price small {
  display: inline-block;
  margin-inline-start: .2rem;
  font-size: .85rem;
  font-family: var(--font-body);
  color: inherit;
  opacity: .75;
}
.pkg-card-count {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -.01em;
  color: inherit;
  position: relative;
}
.pkg-card-count small {
  display: inline-block;
  margin-inline-start: .2rem;
  font-size: .8rem;
  font-family: var(--font-body);
  color: var(--ip-muted);
}
.pkg-card.is-featured .pkg-card-count small { color: rgba(247,241,230,.65); }
.pkg-card-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: .82rem;
  color: var(--ip-muted);
  position: relative;
  flex: 1 1 auto;
}
.pkg-card-list li {
  padding: .32rem 0;
  border-top: 1px solid color-mix(in srgb, var(--pkg-accent) 14%, transparent);
  line-height: 1.45;
}
.pkg-card-list li:first-child {
  border-top: 0;
  font-weight: 600;
  color: inherit;
}
.pkg-card-list li::before {
  content: "✓";
  color: var(--pkg-accent);
  margin-inline-end: .35rem;
  font-weight: 700;
}
.pkg-card-btn {
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--pkg-accent) !important;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--pkg-accent) 28%, transparent);
  position: relative;
}
.pkg-card-btn:hover,
.pkg-card-btn:focus {
  filter: brightness(1.05);
  color: #fff !important;
}
.pkg-card.is-featured .pkg-card-btn {
  background: #f0d9a0 !important;
  color: #1a1520 !important;
}
.pkg-card a.pkg-card-btn { text-align: center; text-decoration: none; }

.pkg-card.is-current {
  outline: 2px solid var(--pkg-accent);
  outline-offset: 2px;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--pkg-accent) 28%, transparent);
}
.pkg-card-tag-current {
  color: #fff !important;
  background: var(--pkg-accent) !important;
}
.current-pkg-banner.has-pkg {
  border: 1px solid rgba(25, 135, 84, .25);
  background: linear-gradient(120deg, rgba(25, 135, 84, .06), #fff 55%);
}
.current-pkg-banner.no-pkg {
  border: 1px solid rgba(26, 35, 50, .08);
}

@media (max-width: 700px) {
  .pkg-color-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pkg-color-grid > .pkg-card:nth-child(even),
  .pkg-color-grid > .pkg-card:nth-child(3n) {
    transform: none;
  }
  .pkg-color-grid > .pkg-card:hover {
    transform: translateY(-4px);
  }
}
@media (max-width: 420px) {
  .pkg-color-grid { grid-template-columns: 1fr; }
}

/* ── Delete account (public) ── */
.da-section { padding-top: 3rem; }
.da-layout {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.75rem;
  align-items: start; max-width: 1100px;
}
.da-card {
  background: rgba(255,255,255,.82); border: 1px solid rgba(26,23,18,.08);
  border-radius: 1.25rem; padding: 1.7rem 1.55rem 1.4rem; backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(26,23,18,.05);
}
.da-html p { line-height: 1.8; color: #3a3428; }
.da-html h3 {
  font-size: 1.05rem; margin: 1.55rem 0 .55rem; color: #b8892d;
  font-weight: 800;
}
.da-html h3:first-child { margin-top: 0; }
.da-html ol, .da-html ul { padding-inline-start: 1.2rem; margin-bottom: .4rem; }
.da-html li { margin-bottom: .45rem; line-height: 1.75; }
.da-steps { display: grid; gap: .85rem; margin-top: 1.15rem; }
.da-step {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fff; border-radius: 1rem; padding: 1rem 1.1rem;
  border: 1px solid rgba(26,23,18,.07);
}
.da-step-n {
  width: 2rem; height: 2rem; border-radius: 999px; display: grid; place-items: center;
  background: #1a1712; color: #d4b56a; font-weight: 800; flex-shrink: 0;
}
.da-step p { margin: .2rem 0 0; color: #6b7a90; font-size: .9rem; }
.da-form { margin-bottom: 1rem; }
.da-confirm {
  display: flex; gap: .65rem; align-items: flex-start;
  margin: .4rem 0 1rem; font-size: .9rem; color: #3a3428;
}
.da-confirm input { margin-top: .2rem; }
.da-support {
  background: #1a1712; color: #f5f1ea; border-radius: 1.15rem; padding: 1.2rem 1.25rem;
}
.da-support h3 { font-size: 1rem; margin: 0 0 .75rem; color: #d4b56a; }
.da-support a {
  display: flex; gap: .5rem; align-items: center; color: inherit; text-decoration: none;
  padding: .35rem 0; font-size: .92rem;
}
.da-support a:hover { color: #d4b56a; }
@media (max-width: 900px) {
  .da-layout { grid-template-columns: 1fr; }
}

/* ── Web maintenance ── */
.mt-page {
  min-height: 100vh; display: grid; place-items: center;
  background: #f7f5f1; position: relative; overflow: hidden; padding: 2rem 1rem;
}
.mt-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.mt-glow-a { width: 280px; height: 280px; top: -80px; right: -60px; background: rgba(184,137,45,.12); }
.mt-glow-b { width: 220px; height: 220px; bottom: 20px; left: -50px; background: rgba(184,137,45,.08); }
.mt-card {
  position: relative; width: min(520px, 100%);
  background: #fff; border-radius: 1.5rem; padding: 2.4rem 1.8rem 2rem;
  text-align: center; box-shadow: 0 22px 50px rgba(26,23,18,.1);
  border: 1px solid rgba(184,137,45,.18);
}
.mt-logo { height: 48px; margin-bottom: 1.2rem; }
.mt-icon {
  width: 88px; height: 88px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; background: rgba(184,137,45,.12); color: #b8892d;
  font-size: 2.2rem;
}
.mt-eyebrow { letter-spacing: .16em; text-transform: uppercase; color: #b8892d; font-size: .75rem; margin: 0 0 .5rem; }
.mt-page h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 .85rem; }
.mt-message { color: #6b7a90; line-height: 1.8; margin: 0 0 1.3rem; }
.mt-note {
  display: flex; gap: .7rem; align-items: flex-start; text-align: start;
  background: #f7f5f1; border-radius: 14px; padding: .9rem 1rem; color: #3a3428; font-weight: 600;
}
.mt-note i { color: #b8892d; }
.mt-help { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.2rem; margin-top: 1.2rem; }
.mt-help a { color: #1a1712; font-weight: 600; }

/* Settings pills: hide inactive panes even when nested inside the CMS form */
.site-settings-form { display: contents; }
.tab-content > .tab-pane:not(.active),
.tab-content .tab-pane:not(.active) {
  display: none !important;
}
.tab-content .tab-pane.active { display: block; }

