:root {
  --brand: #0f766e;
  --ink: #1c1917;
}

.animate-in {
  animation: rise 0.55s ease both;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand, #0f766e), var(--brand-dark, #0d9488));
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 24px -10px rgba(15,118,110,.55);
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--ink, #1c1917);
  border: 1px solid #d6d3d1;
  border-radius: 0.75rem;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease;
}
.btn-secondary:hover {
  background: #fafaf9;
  border-color: #a8a29e;
}

.input-field {
  width: 100%;
  border: 1px solid #d6d3d1;
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: #fff;
  outline: none;
  font-size: 16px; /* avoid iOS zoom on focus */
  transition: border-color .15s, box-shadow .15s;
}
.input-field:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15,118,110,.15);
}

.card-panel {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  box-shadow: 0 10px 40px -18px rgba(28,25,23,.18);
}

/* —— Client auth (login / forgot / reset) —— */
.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  color: #fff;
}
.auth-shell-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 8% 12%, rgba(255,255,255,.18), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(94, 234, 212, .2), transparent 50%),
    linear-gradient(152deg, var(--home-a, #0f766e) 0%, var(--home-b, #134e4a) 48%, #0c1a18 115%);
}
.auth-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.auth-orb-a {
  width: min(46vw, 380px);
  height: min(46vw, 380px);
  top: -10%;
  right: -8%;
  background: radial-gradient(circle, rgba(94, 234, 212, .32), transparent 68%);
  animation: home-float 16s ease-in-out infinite;
}
.auth-orb-b {
  width: min(38vw, 300px);
  height: min(38vw, 300px);
  bottom: 6%;
  left: -12%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
  animation: home-float-b 18s ease-in-out infinite;
}
.auth-orb-c {
  width: min(26vw, 200px);
  height: min(26vw, 200px);
  top: 48%;
  left: 42%;
  background: radial-gradient(circle, rgba(15, 118, 110, .4), transparent 70%);
  animation: home-float 22s ease-in-out infinite reverse;
}
.auth-shell-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 15%, transparent 75%);
  pointer-events: none;
}
.auth-shell-top {
  position: relative;
  z-index: 50;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.15rem 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.auth-shell-mark {
  font-family: Fraunces, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.auth-shell-mark:hover { opacity: 0.9; }
.auth-shell-top-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.auth-shell-top-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: #57534e;
  line-height: 1.4;
  cursor: pointer;
}
.auth-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.auth-shell-main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.25rem 2.5rem;
}
.auth-shell-layout {
  width: 100%;
  max-width: 58rem;
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .auth-shell-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    border-radius: 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(10px);
    box-shadow: 0 28px 60px rgba(0,0,0,.28);
  }
}
.auth-shell-aside {
  display: none;
  padding: 2.25rem 2rem;
  color: #fff;
}
@media (min-width: 900px) {
  .auth-shell-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.12);
    background:
      linear-gradient(160deg, rgba(255,255,255,.08), transparent 55%);
  }
}
.auth-shell-aside-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.auth-shell-aside-title {
  margin: 0.75rem 0 0;
  font-family: Fraunces, serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.auth-shell-aside-lead {
  margin: 0.85rem 0 0;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
  font-size: 1.02rem;
  max-width: 22rem;
}
.auth-shell-aside-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.auth-shell-aside-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,.82);
  line-height: 1.4;
}
.auth-shell-aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #5eead4;
}
.auth-shell-card {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  background: #fff;
  color: #1c1917;
  border-radius: 1.2rem;
  border: 1px solid rgba(255,255,255,.35);
  padding: 1.75rem 1.45rem 1.5rem;
  box-shadow: 0 22px 50px rgba(0,0,0,.22);
}
@media (min-width: 900px) {
  .auth-shell-card {
    max-width: none;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 2.35rem 2.15rem;
  }
}
.auth-card-head {
  margin-bottom: 1.35rem;
}
.auth-card-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand, #0f766e);
}
.auth-card-title {
  margin: 0.4rem 0 0;
  font-family: Fraunces, serif;
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1c1917;
  line-height: 1.15;
}
.auth-card-lead {
  margin: 0.5rem 0 0;
  color: #78716c;
  font-size: 0.95rem;
  line-height: 1.5;
}
.auth-form {
  display: grid;
  gap: 1.05rem;
}
.auth-field {
  display: grid;
  gap: 0.4rem;
}
.auth-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #44403c;
}
.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.auth-inline-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand, #0f766e);
  text-decoration: none;
}
.auth-inline-link:hover {
  text-decoration: underline;
}
.auth-input {
  border-radius: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-color: #e7e5e4;
  background: #fafaf9;
}
.auth-input:focus {
  background: #fff;
  border-color: var(--brand, #0f766e);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}
.auth-submit {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.85rem;
  font-size: 0.98rem;
}
.auth-card-foot {
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid #f5f5f4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.9rem;
  color: #78716c;
}
.auth-card-foot a {
  color: var(--brand, #0f766e);
  font-weight: 600;
  text-decoration: none;
}
.auth-card-foot a:hover {
  text-decoration: underline;
}
.auth-alert {
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  line-height: 1.4;
}
.auth-alert-success {
  background: #ecfdf5;
  color: #065f46;
}
.auth-alert-warn {
  background: #fffbeb;
  color: #92400e;
}
.auth-alert-error {
  background: #fff1f2;
  color: #9f1239;
}
@media (prefers-reduced-motion: reduce) {
  .auth-orb-a,
  .auth-orb-b,
  .auth-orb-c {
    animation: none !important;
  }
}

/* Rupee amounts — DM Sans + baseline alignment (Fraunces breaks ₹) */
.money-inr {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: "DM Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
}
.money-inr-symbol {
  font-size: 0.78em;
  font-weight: 600;
  line-height: 1;
  transform: translateY(0.03em);
}
.money-inr-amount {
  font-weight: 700;
  line-height: 1;
}
.money-inr-lg {
  font-size: 1.65rem;
}
@media (min-width: 640px) {
  .money-inr-lg {
    font-size: 1.875rem;
  }
}

/* Admin sidebar — fixed drawer (works on mobile + desktop) */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.45);
  z-index: 40;
}

.admin-sidebar {
  position: fixed !important;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  width: 16rem;
  max-width: 85vw;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.25);
  will-change: transform;
  /* Header | scrollable nav | footer — guarantees scroll + no overlap */
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);
  align-content: stretch;
  overflow: hidden !important;
}

.admin-sidebar-head,
.admin-sidebar-foot {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  background: #1c1917;
}

.admin-sidebar-foot {
  border-top: 1px solid #44403c;
}

body.admin-sidebar-open .admin-sidebar {
  transform: translateX(0);
}

/* Scrollable middle column only */
.admin-sidebar-nav {
  min-height: 0 !important;
  height: 100%;
  max-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #a8a29e #292524;
}

.admin-sidebar-nav::-webkit-scrollbar {
  width: 8px;
}

.admin-sidebar-nav::-webkit-scrollbar-track {
  background: #292524;
}

.admin-sidebar-nav::-webkit-scrollbar-thumb {
  background: #78716c;
  border-radius: 999px;
}

.admin-sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: #a8a29e;
}

.admin-sidebar-nav::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.admin-sidebar-section-label:first-child {
  padding-top: 0.25rem !important;
}

.admin-sidebar-sub {
  margin-left: 0.65rem;
  padding-left: 0.85rem !important;
  border-left: 2px solid rgba(120, 113, 108, 0.35);
  font-size: 0.8125rem !important;
}

.settings-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  max-width: 48rem;
}
.settings-subnav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #57534e;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.settings-subnav-link:hover {
  background: #fff;
  color: #1c1917;
}
.settings-subnav-link.is-active {
  background: #fff;
  color: var(--brand, #0f766e);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.08);
}

.admin-main {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  transition: margin-left 0.25s ease;
  margin-left: 0;
}

/* When sidebar is open: only ✕ (inside sidebar). Hide top ☰ */
body.admin-sidebar-open #admin-sidebar-toggle {
  display: none !important;
}

/* When sidebar is closed: only top ☰ (✕ goes away with sidebar) */

/* Mobile: dim overlay when open */
@media (max-width: 1023px) {
  body.admin-sidebar-open {
    overflow: hidden;
  }

  body.admin-sidebar-open .admin-sidebar-overlay {
    display: block;
  }
}

/* Desktop: push content when sidebar open */
@media (min-width: 1024px) {
  body.admin-sidebar-open .admin-main {
    margin-left: 16rem;
  }

  .admin-sidebar-overlay {
    display: none !important;
  }

  body.admin-sidebar-open {
    overflow: auto;
  }
}

/* Registration page — modern shell */
.register-page {
  position: relative;
  margin-top: -1.25rem;
  padding: 0 0 7rem;
  background:
    linear-gradient(180deg, transparent 0, #f5f5f4 8rem, #fafaf9 100%);
}
@media (min-width: 640px) {
  .register-page {
    margin-top: -1.75rem;
    padding-bottom: 3.5rem;
  }
}
.register-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.register-shell {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 1.35rem;
  overflow: visible;
  box-shadow: 0 24px 60px -28px rgba(28, 25, 23, 0.28);
}
.register-grid {
  display: grid;
}
@media (min-width: 1024px) {
  .register-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}
.register-pkg-mobile {
  padding: 0.85rem 0.85rem 0;
}
.register-pkg-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  border-radius: 1rem;
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: linear-gradient(135deg, #f0fdfa, #fff);
  padding: 0.95rem 1rem;
  box-shadow: 0 8px 24px -18px rgba(15, 118, 110, 0.45);
}
.register-pkg-toggle-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand, #0f766e);
}
.register-pkg-toggle-name {
  font-weight: 700;
  color: #1c1917;
  margin-top: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.register-pkg-toggle-meta {
  font-size: 0.875rem;
  color: #57534e;
  margin-top: 0.15rem;
  font-weight: 500;
}
.register-pkg-toggle-action {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand, #0f766e);
  flex-shrink: 0;
}
.register-pkg-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  color: #57534e;
}
.register-aside {
  padding: 1.25rem 1.15rem 1.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(15, 118, 110, 0.08), transparent 55%),
    linear-gradient(180deg, #f8faf9 0%, #f0fdfa 100%);
  border-bottom: 1px solid #e7e5e4;
}
@media (min-width: 1024px) {
  .register-aside {
    border-bottom: 0;
    border-right: 1px solid #e7e5e4;
    border-radius: 1.35rem 0 0 1.35rem;
    padding: 1.75rem 1.5rem 1.75rem;
    position: sticky;
    top: 1.25rem;
    align-self: start;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}
.register-aside-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.register-aside-title {
  margin: 0;
  font-family: Fraunces, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1c1917;
}
.register-aside-lead {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: #78716c;
  line-height: 1.45;
}
.register-plans {
  display: grid;
  gap: 0.75rem;
}
.register-plan {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #e7e5e4;
  background: rgba(255, 255, 255, 0.85);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.register-plan:hover {
  border-color: rgba(15, 118, 110, 0.35);
  transform: translateY(-1px);
}
.register-plan.is-active {
  border-color: var(--brand, #0f766e);
  background: #fff;
  box-shadow: 0 12px 28px -16px rgba(15, 118, 110, 0.45);
}
.register-plan-check {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  border: 2px solid #d6d3d1;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}
.register-plan.is-active .register-plan-check {
  border-color: var(--brand, #0f766e);
  background: var(--brand, #0f766e);
  box-shadow: inset 0 0 0 3px #fff;
}
.register-plan-name {
  font-weight: 700;
  color: #1c1917;
  line-height: 1.3;
}
.register-plan-days {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #78716c;
}
.register-plan-price {
  text-align: right;
  flex-shrink: 0;
}
.register-plan-gst {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: #a8a29e;
}
.register-main {
  padding: 1.25rem 1.15rem 1.75rem;
}
@media (min-width: 640px) {
  .register-main {
    padding: 1.75rem 1.75rem 2rem;
  }
}
@media (min-width: 1024px) {
  .register-main {
    border-radius: 0 1.35rem 1.35rem 0;
    padding: 2rem 2rem 2.25rem;
  }
}
.register-main-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
@media (min-width: 640px) {
  .register-main-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.register-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand, #0f766e);
}
.register-title {
  margin: 0.35rem 0 0;
  font-family: Fraunces, serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1c1917;
}
.register-client-email {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: #78716c;
}
.register-amount-chip {
  flex-shrink: 0;
  border-radius: 1rem;
  padding: 0.85rem 1.05rem;
  background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
  border: 1px solid rgba(15, 118, 110, 0.18);
}
@media (min-width: 640px) {
  .register-amount-chip {
    text-align: right;
  }
}
.register-amount-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #78716c;
  margin-bottom: 0.25rem;
}
.register-amount-was {
  font-size: 0.8rem;
  color: #a8a29e;
  text-decoration: line-through;
  margin-bottom: 0.15rem;
}
.register-amount-note {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #047857;
}
.register-plan-price-was {
  font-size: 0.72rem;
  color: #a8a29e;
  text-decoration: line-through;
  line-height: 1.2;
  margin-bottom: 0.1rem;
}
.register-form {
  display: grid;
  gap: 1rem;
}
.register-field {
  display: grid;
  gap: 0.4rem;
}
.register-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #44403c;
}
.register-input {
  border-radius: 0.85rem;
  border-color: #e7e5e4;
  background: #fafaf9;
  padding: 0.78rem 0.95rem;
}
.register-input:focus {
  background: #fff;
  border-color: var(--brand, #0f766e);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}
.register-input.is-readonly {
  background: #f5f5f4;
  color: #57534e;
}
.register-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #44403c;
}
.register-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.register-radio-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.6rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid #e7e5e4;
  background: #fafaf9;
  cursor: pointer;
  user-select: none;
  flex: 1 1 calc(50% - 0.3rem);
  min-width: 6.5rem;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
@media (min-width: 480px) {
  .register-radio-option {
    flex: 1 1 auto;
  }
}
.register-radio-option:hover {
  border-color: rgba(15, 118, 110, 0.35);
  background: #fff;
}
.register-radio-option:has(.register-radio-input:checked) {
  border-color: var(--brand, #0f766e);
  background: #fff;
  box-shadow: 0 8px 22px -14px rgba(15, 118, 110, 0.55);
}
.register-radio-option:has(.register-radio-input:focus-visible) {
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}
.register-radio-option:has(.register-radio-input:checked:focus-visible) {
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14), 0 8px 22px -14px rgba(15, 118, 110, 0.55);
}
.register-radio-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.register-radio-check {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  border: 2px solid #d6d3d1;
  background: #fff;
  flex-shrink: 0;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.register-radio-option:has(.register-radio-input:checked) .register-radio-check {
  border-color: var(--brand, #0f766e);
  background: var(--brand, #0f766e);
  box-shadow: inset 0 0 0 2.5px #fff;
}
.register-radio-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #44403c;
  line-height: 1.25;
  padding-right: 0.15rem;
}
.register-radio-option:has(.register-radio-input:checked) .register-radio-text {
  color: #1c1917;
}
.register-coupon {
  border-radius: 1rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}
.register-coupon-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1c1917;
}
.register-coupon-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
@media (min-width: 640px) {
  .register-coupon-row {
    flex-direction: row;
  }
}
.register-coupon-apply {
  flex-shrink: 0;
  border-radius: 0.85rem;
  border: 1px solid var(--brand, #0f766e);
  color: var(--brand, #0f766e);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1.15rem;
  transition: background .15s ease, color .15s ease;
}
.register-coupon-apply:hover {
  background: #f0fdfa;
}
.register-coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background: #f0fdfa;
  border: 1px solid rgba(15, 118, 110, 0.15);
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  color: #134e4a;
}
.register-coupon-remove {
  color: #e11d48;
  font-size: 0.75rem;
  font-weight: 700;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
}
.register-summary {
  border-radius: 1rem;
  background: linear-gradient(180deg, #fafaf9, #f5f5f4);
  border: 1px solid #e7e5e4;
  padding: 1rem 1.05rem;
  font-size: 0.9rem;
}
.register-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #44403c;
  padding: 0.2rem 0;
}
.register-summary-row.is-discount { color: #047857; }
.register-summary-row.is-muted { color: #78716c; }
.register-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px solid #e7e5e4;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand, #0f766e);
}
.register-summary-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #78716c;
}
.register-summary-list {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px dashed #e7e5e4;
  font-size: 0.82rem;
}
.register-submit {
  width: 100%;
  text-align: center;
  padding: 0.9rem 1.25rem;
  border-radius: 0.9rem;
}
.register-pay-hint {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: #a8a29e;
  padding: 0 0.25rem;
}
.register-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  border-top: 1px solid #e7e5e4;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 0.75rem;
}

@media (max-width: 1023px) {
  .pkg-panel {
    display: none;
  }
  body.pkg-panel-open .pkg-panel {
    display: block;
  }
}

.safe-bottom {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

/* Public site footer */
.public-footer {
  margin-top: 2rem;
  padding: 1.75rem 1rem 2.25rem;
  border-top: 1px solid #e7e5e4;
  background: linear-gradient(180deg, #fafaf9 0%, #f5f5f4 100%);
}
.public-footer-inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}
.public-footer-brand {
  margin-bottom: 1rem;
}
.public-footer-app {
  font-family: Fraunces, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1c1917;
  letter-spacing: -0.01em;
}
.public-footer-company {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #78716c;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.public-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1.15rem;
}
.public-footer-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #d6d3d1;
  background: #fff;
  color: #44403c;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.public-footer-link:hover {
  color: var(--brand, #0f766e);
  border-color: rgba(15, 118, 110, 0.35);
  background: #f0fdfa;
  box-shadow: 0 4px 12px -8px rgba(15, 118, 110, 0.45);
}
.public-footer-copy {
  font-size: 0.8rem;
  color: #57534e;
  font-weight: 500;
}

/* Public top nav (home / register / client auth) */
.public-nav-wrap {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}
.public-nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.public-nav-wrap--on-dark .public-nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}
.public-nav-wrap--on-light .public-nav-toggle {
  border-color: #d6d3d1;
  background: #fff;
}
.public-nav-toggle-box {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 0.9rem;
}
.public-nav-toggle-box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.public-nav-wrap--on-dark .public-nav-toggle-box span {
  background: #fff;
}
.public-nav-wrap--on-light .public-nav-toggle-box span {
  background: #1c1917;
}
.public-nav-toggle-box span:nth-child(1) { top: 0; }
.public-nav-toggle-box span:nth-child(2) { top: 50%; margin-top: -1px; }
.public-nav-toggle-box span:nth-child(3) { bottom: 0; }
.public-nav-wrap.is-open .public-nav-toggle-box span:nth-child(1) {
  top: 50%;
  margin-top: -1px;
  transform: rotate(45deg);
}
.public-nav-wrap.is-open .public-nav-toggle-box span:nth-child(2) {
  opacity: 0;
}
.public-nav-wrap.is-open .public-nav-toggle-box span:nth-child(3) {
  bottom: auto;
  top: 50%;
  margin-top: -1px;
  transform: rotate(-45deg);
}
.public-top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}
.public-top-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.public-top-nav--on-dark .public-top-nav-link {
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}
.public-top-nav--on-dark .public-top-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}
.public-top-nav--on-light .public-top-nav-link {
  color: #44403c;
  border: 1px solid #d6d3d1;
  background: #fff;
}
.public-top-nav--on-light .public-top-nav-link:hover {
  color: var(--brand, #0f766e);
  border-color: rgba(15, 118, 110, 0.35);
  background: #f0fdfa;
}
@media (max-width: 767px) {
  .public-nav-toggle {
    display: inline-flex;
  }
  .public-site-header-bar {
    position: relative;
    z-index: 60;
  }
  .public-top-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: auto;
    z-index: 70;
    width: min(18rem, calc(100vw - 2rem));
    min-width: 14rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.7rem;
    border-radius: 0.95rem;
    box-shadow: 0 18px 44px rgba(28, 25, 23, 0.35);
  }
  .public-nav-wrap.is-open .public-top-nav {
    display: flex;
  }
  .public-nav-wrap--on-dark .public-top-nav {
    background: rgba(15, 23, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px);
  }
  .public-nav-wrap--on-light .public-top-nav {
    background: #fff;
    border: 1px solid #e7e5e4;
  }
  .public-top-nav-link {
    justify-content: flex-start;
    font-size: 0.9rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.7rem;
    white-space: normal;
  }
}

/* —— Public home landing —— */
@keyframes home-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.05); }
}
@keyframes home-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 10px) scale(1.08); }
}
@keyframes home-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-journey-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); }
  50% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

.home-page {
  background: #fafaf9;
}
.home-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 8% 15%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 92% 8%, rgba(45, 212, 191, .22), transparent 50%),
    linear-gradient(152deg, var(--home-a, #0f766e) 0%, var(--home-b, #134e4a) 48%, #0c1a18 115%);
}
.home-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.home-orb-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(94, 234, 212, .35), transparent 68%);
  animation: home-float 14s ease-in-out infinite;
}
.home-orb-b {
  width: min(40vw, 340px);
  height: min(40vw, 340px);
  bottom: 8%;
  left: -10%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
  animation: home-float-b 18s ease-in-out infinite;
}
.home-orb-c {
  width: min(28vw, 220px);
  height: min(28vw, 220px);
  top: 42%;
  left: 48%;
  background: radial-gradient(circle, rgba(15, 118, 110, .45), transparent 70%);
  animation: home-float 20s ease-in-out infinite reverse;
}
.home-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 2.25rem;
  display: flex;
  flex-direction: column;
}
.home-hero-top {
  position: relative;
  z-index: 30;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}
.home-hero-mark {
  font-family: Fraunces, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.home-hero-mark:hover {
  opacity: 0.9;
}
.home-hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding-bottom: 0.25rem;
}
@media (min-width: 960px) {
  .home-hero-main {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }
}
.home-hero-copy {
  max-width: 40rem;
}
.home-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin: 0 0 0.9rem;
}
.home-hero-title {
  font-family: Fraunces, serif;
  font-size: clamp(2.2rem, 5.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0,0,0,.18);
}
.home-hero-lead {
  margin: 0.85rem 0 0;
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  line-height: 1.5;
  color: rgba(255,255,255,.92);
  max-width: 32rem;
}
.home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.home-cta-primary {
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.home-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
}
.home-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.home-cta-secondary:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-1px);
}
.home-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid #d6d3d1;
  color: #1c1917;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
}
.home-cta-ghost:hover {
  border-color: #a8a29e;
  background: #fafaf9;
}

.home-hero-panel {
  position: relative;
  justify-self: stretch;
}
.home-hero-panel-glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle at 50% 40%, rgba(94, 234, 212, .35), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}
.home-hero-panel-body {
  position: relative;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 1rem;
  padding: 1.15rem 1.2rem 1.1rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0,0,0,.18);
  overflow: hidden;
}
.home-hero-panel-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 0.95rem;
}
.home-journey {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  min-width: 0;
}
.home-journey-step {
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(0.62rem, 1.8vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: rgba(255,255,255,.92);
  overflow: visible;
}
.home-journey-step span {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.home-journey-step.is-active {
  background: #fff;
  color: var(--home-b, #134e4a);
  border-color: #fff;
  animation: home-journey-pulse 2.4s ease-in-out infinite;
}
.home-journey-line {
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.2));
  border-radius: 999px;
}
.home-hero-panel-note {
  margin: 0.95rem 0 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,.78);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.home-hero-wave {
  position: relative;
  z-index: 2;
  line-height: 0;
  margin-top: 0.5rem;
}
.home-hero-wave svg {
  display: block;
  width: 100%;
  height: 32px;
}

.home-fade-in {
  animation: home-fade-up .7s ease both;
}
.home-fade-delay-1 { animation-delay: .12s; }
.home-fade-delay-2 { animation-delay: .28s; }

.home-strip {
  border-bottom: 1px solid #e7e5e4;
  background: #fff;
  padding: 0.95rem 1.25rem;
}
.home-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #57534e;
}
.home-strip-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand, #0f766e);
  opacity: 0.55;
}

.home-section {
  padding: 4.25rem 1.25rem;
}
.home-section-alt {
  background: #f5f5f4;
  border-top: 1px solid #e7e5e4;
  border-bottom: 1px solid #e7e5e4;
}
.home-wrap {
  max-width: 72rem;
  margin: 0 auto;
}
.home-section-title {
  font-family: Fraunces, serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1c1917;
  margin: 0;
}
.home-section-lead {
  margin: 0.7rem 0 0;
  color: #57534e;
  font-size: 1.05rem;
  max-width: 36rem;
  line-height: 1.5;
}
.home-steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .home-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
  }
}
.home-step {
  position: relative;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e7e5e4;
  box-shadow: 0 1px 0 rgba(28,25,23,.03);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.home-step:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, .35);
  box-shadow: 0 12px 28px rgba(28,25,23,.06);
}
.home-steps h3 {
  font-family: Fraunces, serif;
  font-size: 1.28rem;
  margin: 0.55rem 0 0.4rem;
  color: #1c1917;
}
.home-steps p {
  margin: 0;
  color: #57534e;
  line-height: 1.5;
  font-size: 0.95rem;
}
.home-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, var(--brand, #0f766e), #134e4a);
}

.home-plans-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.home-text-link {
  color: var(--brand, #0f766e);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.home-text-link:hover {
  text-decoration: underline;
}
.home-plans {
  display: grid;
  gap: 0.85rem;
}
.home-plan {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  animation: home-fade-up .55s ease both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@media (min-width: 720px) {
  .home-plan {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
}
.home-plan:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, .4);
  box-shadow: 0 14px 32px rgba(28,25,23,.07);
}
.home-plan-name {
  font-family: Fraunces, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1c1917;
}
.home-plan-desc {
  margin: 0.35rem 0 0;
  color: #57534e;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 40rem;
}
.home-plan-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
}
.home-plan-price {
  font-size: 1.2rem;
}
.home-plan-days {
  font-size: 0.88rem;
  color: #78716c;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f5f5f4;
}
.home-plan-go {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand, #0f766e);
  margin-left: auto;
  transition: transform .15s ease;
}
.home-plan:hover .home-plan-go {
  transform: translateX(3px);
}

.home-about {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .home-about {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: start;
  }
}
.home-about-copy p {
  margin: 0.9rem 0 0;
  color: #44403c;
  line-height: 1.65;
  font-size: 1.02rem;
  max-width: 36rem;
}
.home-about-meta {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.home-about-meta li {
  color: #57534e;
  font-size: 0.95rem;
  line-height: 1.4;
}
.home-about-meta strong {
  color: #1c1917;
  font-weight: 600;
  margin-right: 0.35rem;
}
.home-about-more {
  margin-top: 1.25rem;
}
.home-about-aside {
  padding: 1.35rem 1.3rem;
  border-radius: 1.1rem;
  background: linear-gradient(160deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.02));
  border: 1px solid rgba(15, 118, 110, 0.18);
}
.home-about-aside-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand, #0f766e);
  margin: 0 0 0.85rem;
}
.home-about-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.home-about-aside li {
  position: relative;
  padding-left: 1.15rem;
  color: #44403c;
  line-height: 1.45;
  font-size: 0.95rem;
}
.home-about-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--brand, #0f766e);
}

.home-why-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .home-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .home-why-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
.home-why-item {
  padding: 1.25rem 1.15rem 1.3rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e7e5e4;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.home-why-item:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, .35);
  box-shadow: 0 12px 28px rgba(28, 25, 23, .06);
}
.home-why-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand, #0f766e);
  margin-bottom: 0.55rem;
}
.home-why-item h3 {
  font-family: Fraunces, serif;
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  color: #1c1917;
}
.home-why-item p {
  margin: 0;
  color: #57534e;
  font-size: 0.92rem;
  line-height: 1.5;
}

.home-cta-band {
  padding-top: 1rem;
  padding-bottom: 4.5rem;
}
.home-cta-band-inner {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  border-radius: 1.35rem;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(255,255,255,.18), transparent 55%),
    linear-gradient(135deg, var(--home-a, #0f766e), var(--home-b, #134e4a));
  box-shadow: 0 18px 40px rgba(15, 118, 110, .22);
}
@media (min-width: 768px) {
  .home-cta-band-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2.25rem 2rem;
  }
}
.home-cta-band-title {
  font-family: Fraunces, serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}
.home-cta-band-lead {
  margin: 0.55rem 0 0;
  color: rgba(255,255,255,.9);
  max-width: 32rem;
  line-height: 1.5;
}
.home-cta-band .home-hero-cta {
  margin-top: 0;
}
.home-cta-band .btn-primary {
  background: #fff;
  color: var(--home-b, #134e4a);
  box-shadow: none;
}
.home-cta-band .btn-primary:hover {
  background: #f8fafc;
}

@media (prefers-reduced-motion: reduce) {
  .home-orb-a,
  .home-orb-b,
  .home-orb-c,
  .home-fade-in,
  .home-plan,
  .home-journey-step.is-active {
    animation: none !important;
  }
  .home-reveal,
  .home-reveal-child,
  .home-strip,
  .home-cta-primary,
  .home-step,
  .home-why-item,
  .home-plan {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html.smooth-scroll {
    scroll-behavior: auto;
  }
}

/* Smooth page scroll + home motion */
html.smooth-scroll {
  scroll-behavior: smooth;
}
.home-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand, #0f766e), #5eead4);
  pointer-events: none;
}
.home-reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.home-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.home-reveal-child {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-reveal.is-visible .home-reveal-child {
  opacity: 1;
  transform: none;
}
.home-reveal.is-visible .home-reveal-child:nth-child(1) { transition-delay: 0.04s; }
.home-reveal.is-visible .home-reveal-child:nth-child(2) { transition-delay: 0.1s; }
.home-reveal.is-visible .home-reveal-child:nth-child(3) { transition-delay: 0.16s; }
.home-reveal.is-visible .home-reveal-child:nth-child(4) { transition-delay: 0.22s; }
.home-reveal.is-visible .home-reveal-child:nth-child(5) { transition-delay: 0.28s; }
.home-reveal.is-visible .home-reveal-child:nth-child(6) { transition-delay: 0.34s; }
.home-reveal.is-visible .home-reveal-child:nth-child(7) { transition-delay: 0.4s; }
.home-reveal.is-visible .home-reveal-child:nth-child(8) { transition-delay: 0.46s; }
.home-reveal.is-visible .home-reveal-child:nth-child(9) { transition-delay: 0.52s; }
.home-reveal.is-visible .home-reveal-child:nth-child(10) { transition-delay: 0.58s; }
.home-reveal.is-visible .home-reveal-child:nth-child(11) { transition-delay: 0.64s; }
.home-reveal.is-visible .home-reveal-child:nth-child(12) { transition-delay: 0.7s; }

.home-strip {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.home-strip.is-visible {
  opacity: 1;
  transform: none;
}
.home-cta-band-inner {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}
.home-reveal.is-visible .home-cta-band-inner {
  transform: translateY(0);
}
.home-step,
.home-why-item,
.home-plan {
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-plan {
  animation: none;
}
.btn-primary,
.home-cta-secondary {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.is-home .btn-primary:hover {
  transform: translateY(-2px);
}
.home-hero-copy .btn-primary:active,
.home-cta-band .btn-primary:active {
  transform: translateY(0);
}

/* Admin flash / toast messages */
.admin-flash {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px -16px rgba(28, 25, 23, 0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.admin-flash-hiding {
  opacity: 0;
  transform: translateY(-6px);
}
.admin-flash-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.admin-flash-error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}
.admin-flash-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.admin-flash-success .admin-flash-icon {
  background: #059669;
  color: #fff;
}
.admin-flash-error .admin-flash-icon {
  background: #e11d48;
  color: #fff;
}
.admin-flash-body {
  flex: 1;
  min-width: 0;
}
.admin-flash-title {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.85;
}
.admin-flash-text {
  font-size: 0.925rem;
  margin-top: 0.15rem;
  line-height: 1.4;
}
.admin-flash-close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.admin-flash-close:hover {
  opacity: 1;
  background: rgba(28, 25, 23, 0.06);
}

/* Public legal pages (Privacy / Terms / Refund) */
.legal-content h2,
.legal-content h3 {
  font-family: Fraunces, serif;
  color: #1c1917;
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}
.legal-content h2 { font-size: 1.25rem; }
.legal-content h3 { font-size: 1.1rem; }
.legal-content p { margin: 0.65rem 0; }
.legal-content ul,
.legal-content ol {
  margin: 0.65rem 0 0.65rem 1.25rem;
  padding: 0;
}
.legal-content li { margin: 0.35rem 0; }
.legal-content a { color: var(--brand, #0f766e); text-decoration: underline; }
.legal-content blockquote {
  border-left: 3px solid #d6d3d1;
  margin: 0.75rem 0;
  padding: 0.25rem 0 0.25rem 0.85rem;
  color: #57534e;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95em;
}
.legal-content th,
.legal-content td {
  border: 1px solid #e7e5e4;
  padding: 0.55rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.legal-content th {
  background: #fafaf9;
  font-weight: 600;
}
.ck-editor__editable_inline,
.ck-editor__editable {
  min-height: 280px;
}
