:root {
  --navy: #0d2340;
  --navy-2: #122d51;
  --gold: #b8892a;
  --gold-2: #c99a35;
  --white: #ffffff;
  --off: #f8f9fb;
  --light: #eff1f5;
  --border: #d8dce6;
  --border-strong: #c2c8d8;
  --text: #111827;
  --body: #374151;
  --muted: #6b7280;
  --green: #166534;
  --green-bg: #f0fdf4;
  --green-border: #bbf7d0;
  --red: #991b1b;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 6px;
  --max: 1140px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(13, 35, 64, 0.1), 0 2px 6px rgba(13, 35, 64, 0.06);
  --shadow-lg: 0 8px 32px rgba(13, 35, 64, 0.14), 0 4px 12px rgba(13, 35, 64, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site {
  width: 100%;
  min-height: 100vh;
  background: var(--white);
}

.top-strip {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.top-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 36px;
  padding: 7px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-strip-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.top-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-strip-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 2px solid var(--navy);
  box-shadow: var(--shadow-md);
}

.masthead-inner {
  max-width: var(--max);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #86e1d8, #f0cb7f);
  color: var(--navy);
  font-weight: 800;
}

.brand-name {
  font-size: 1rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.primary-nav a {
  color: var(--body);
  font-size: 0.88rem;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--navy);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.nav-cta:hover {
  background: var(--navy-2);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  list-style: none;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(280px, calc(100vw - 2rem));
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.mobile-menu-panel a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--body);
  font-weight: 700;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a[aria-current="page"] {
  background: var(--off);
  color: var(--navy);
}

.tab-bar {
  background: var(--off);
  border-bottom: 1px solid var(--border);
}

.tab-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  overflow-x: auto;
}

.tab-bar a {
  min-height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tab-bar a:hover,
.tab-bar a[aria-current="page"] {
  color: var(--navy);
}

.tab-bar a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  border-bottom: 4px solid var(--gold);
}

.hero-inner {
  max-width: var(--max);
  min-height: 690px;
  margin: 0 auto;
  padding: 120px 56px 76px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
}

.hero-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px 14px;
  border: 1px solid rgba(184, 137, 42, 0.35);
  border-radius: var(--radius);
  background: rgba(184, 137, 42, 0.18);
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.7rem, 4.5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
}

h3 {
  font-size: 1.35rem;
}

.hero h1 {
  margin-bottom: 20px;
}

.accent {
  color: var(--gold-2);
}

.hero-copy {
  max-width: 560px;
}

.hero-copy p {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.78;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-2);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-2);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.trust-list {
  display: grid;
  gap: 8px;
}

.trust-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 700;
}

.trust-list span::before,
.check-list li::before,
.feature-strip span::before {
  content: "✓";
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.hero-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.panel-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.mini-stat {
  padding: 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
  background: var(--off);
}

.mini-stat strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.mini-stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.comparison small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}

.comparison .bad {
  color: var(--red);
}

.comparison .good {
  color: var(--green);
}

.vs {
  color: var(--border-strong);
  font-weight: 900;
}

.feature-strip {
  padding: 14px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-strip span::before {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.section {
  padding: 80px 56px;
}

.section-alt {
  background: var(--off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
  flex: 0 0 auto;
}

.lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--body);
  font-size: 1.02rem;
  line-height: 1.75;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 20px;
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.mt-lg {
  margin-top: 48px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.card.topline {
  border-top: 3px solid var(--navy);
}

.metric {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
}

.card h3,
.card h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 900;
}

.card p {
  margin: 0;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.7;
}

.band {
  padding: 56px;
  background: var(--navy);
  color: var(--white);
}

.band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

.band-number {
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
}

.band p {
  max-width: 480px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.band-rule {
  width: 3px;
  height: 64px;
  background: var(--gold);
}

.page-hero {
  padding: 92px 56px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.page-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.page-hero .eyebrow {
  justify-content: center;
  color: var(--gold-2);
}

.page-hero .eyebrow::before {
  background: var(--gold-2);
}

.page-hero p {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--off);
  color: var(--navy);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 16px;
}

.row-list {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.row-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--border);
}

.row-list div:last-child {
  border-bottom: none;
}

.row-list strong {
  padding: 18px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.row-list span {
  padding: 18px 22px;
  color: var(--body);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card.featured {
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-lg);
}

.flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tier {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.setup-fee {
  width: fit-content;
  margin: 12px 0 0;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--off);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.price-note {
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

.overage-rate {
  width: fit-content;
  margin: 0 0 20px;
  padding: 7px 10px;
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--body);
  font-size: 0.9rem;
}

.price-card .btn {
  margin-top: auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--body);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:nth-child(even) td {
  background: var(--off);
}

.yes {
  color: var(--green);
  font-weight: 900;
}

.no {
  color: var(--red);
  font-weight: 900;
}

.pricing-footnote {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-card {
  max-width: 560px;
  border-top: 3px solid var(--navy);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--off);
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 35, 64, 0.06);
}

.faq-list {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list details:last-child {
  border-bottom: none;
}

.faq-list summary {
  padding: 20px 24px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  background: var(--off);
}

.faq-list p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--body);
}

.footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.62);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 56px 36px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand::before {
  content: "";
  width: 3px;
  height: 22px;
  border-radius: 2px;
  background: var(--gold);
}

.footer p {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
  line-height: 1.75;
}

.footer h4 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
  font-weight: 700;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

@media (max-width: 1024px) {
  .top-strip-inner,
  .masthead-inner,
  .tab-bar-inner,
  .hero-inner,
  .section,
  .band,
  .page-hero,
  .footer-inner,
  .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .primary-nav,
  .masthead .nav-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-inner,
  .band-inner {
    grid-template-columns: 1fr;
  }

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

  .band-rule {
    width: 64px;
    height: 3px;
  }

  .grid-4,
  .grid-3,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .top-strip {
    display: none;
  }

  .masthead-inner {
    min-height: 64px;
  }

  .tab-bar a {
    padding: 0 14px;
    font-size: 0.7rem;
  }

  .hero-inner {
    padding-top: 64px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-stats,
  .comparison,
  .grid-4,
  .grid-3,
  .grid-2,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .comparison {
    text-align: left;
  }

  .feature-strip {
    justify-content: flex-start;
    padding-left: 24px;
    padding-right: 24px;
  }

  .row-list div {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Admin dashboard */
.dashboard-page {
  background:
    radial-gradient(circle at top right, rgba(13, 35, 64, 0.08), transparent 32%),
    radial-gradient(circle at top left, rgba(184, 137, 42, 0.08), transparent 26%),
    #eef2f7;
  color: var(--text);
}

.admin-auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.admin-auth-card {
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(13, 35, 64, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 80px rgba(13, 35, 64, 0.14);
  backdrop-filter: blur(14px);
}

.admin-auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.admin-auth-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #091b31, #0d2340);
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.admin-auth-brand strong,
.admin-auth-brand span {
  display: block;
}

.admin-auth-brand strong {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.admin-auth-brand span {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-auth-card h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.05;
}

.admin-auth-card p {
  margin: 0;
  color: var(--body);
  line-height: 1.75;
}

.admin-auth-form {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.admin-auth-form .field {
  margin-bottom: 0;
}

.admin-auth-form .field span {
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-auth-form .field input {
  min-height: 48px;
  border-color: #d7dce7;
  background: #f7f8fb;
}

.admin-auth-submit {
  width: 100%;
}

.admin-auth-status,
.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  line-height: 1.55;
}

.admin-auth-status[data-tone="info"],
.form-status[data-tone="info"] {
  background: #f0f6ff;
  border-color: #c7daf7;
  color: #154079;
}

.admin-auth-status[data-tone="success"],
.form-status[data-tone="success"] {
  background: #eefbf2;
  border-color: #b8ebc8;
  color: #14633c;
}

.admin-auth-status[data-tone="error"],
.form-status[data-tone="error"] {
  background: #fff1f1;
  border-color: #f7c9c9;
  color: #9c1e1e;
}

.dashboard-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(180deg, #071425 0%, #091b31 56%, #0b2038 100%);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: 8px 0 26px rgba(5, 12, 22, 0.18);
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 18px;
  color: var(--white);
}

.dashboard-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f2a4f, #09192d);
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}

.dashboard-brand strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.dashboard-brand span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

.dashboard-nav {
  display: grid;
  gap: 6px;
}

.dashboard-nav a {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.dashboard-nav a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.dashboard-nav a:hover,
.dashboard-nav a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.dashboard-nav a.is-active {
  position: relative;
  box-shadow: inset 3px 0 0 var(--gold-2);
}

.dashboard-nav span:last-child {
  margin-left: auto;
}

.nav-badge,
.button-badge {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.nav-badge-soft {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.dashboard-help {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-help strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 1rem;
}

.dashboard-help p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.dashboard-help-button {
  width: 100%;
  min-height: 46px;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.dashboard-main {
  min-width: 0;
  padding: 28px;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.dashboard-topbar h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 2.8vw, 3.2rem);
  line-height: 1;
}

.dashboard-topbar p {
  margin: 10px 0 0;
  color: var(--body);
  font-size: 0.98rem;
}

.dashboard-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.topbar-icon-button svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar-icon-button.has-badge {
  padding-right: 2px;
}

.button-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  box-shadow: 0 8px 14px rgba(184, 137, 42, 0.24);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 4px 0;
}

.admin-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #0d2340;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-user-meta strong,
.admin-user-meta span {
  display: block;
}

.admin-user-meta strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.admin-user-meta span {
  color: var(--muted);
  font-size: 0.8rem;
}

.logout-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.summary-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  min-height: 116px;
  padding: 18px 20px;
  border: 1px solid rgba(13, 35, 64, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(13, 35, 64, 0.08);
}

.summary-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a203a, #102c4b);
  color: var(--white);
}

.summary-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.summary-card span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-card strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
}

.summary-card em {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
}

.summary-progress {
  grid-column: 1 / -1;
  height: 6px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(13, 35, 64, 0.08);
  overflow: hidden;
}

.summary-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #d8ab47);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas:
    "customers setup"
    "usage transcript";
  gap: 16px;
}

.customers-panel {
  grid-area: customers;
}

.setup-panel {
  grid-area: setup;
}

.usage-panel {
  grid-area: usage;
}

.transcript-panel {
  grid-area: transcript;
}

.panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(13, 35, 64, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(13, 35, 64, 0.08);
}

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

.panel-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 900;
}

.panel-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.panel-tools,
.panel-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-field {
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.search-field svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-field input,
.toolbar-select {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}

.search-field input {
  width: 100%;
}

.toolbar-select {
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 700;
}

.toolbar-button,
.pagination-button,
.play-button,
.row-action {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--navy);
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.pagination-button {
  min-width: 42px;
  border-color: var(--border);
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}

.pagination-button.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.dashboard-table-wrap table {
  min-width: 100%;
}

.dashboard-table-wrap th {
  color: #6b7280;
}

.dashboard-table-wrap td {
  font-size: 0.9rem;
}

.dashboard-table-wrap tbody tr {
  transition: background 0.15s ease, transform 0.15s ease;
}

.dashboard-table-wrap tbody tr:hover,
.dashboard-table-wrap tbody tr.is-selected {
  background: rgba(13, 35, 64, 0.04);
}

.dashboard-table-wrap tbody tr.is-selected td:first-child {
  box-shadow: inset 3px 0 0 var(--gold);
}

.customer-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.customer-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #102847;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.customer-cell strong,
.cell-stack strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
}

.customer-cell span,
.cell-stack span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: #eef1f6;
  color: #44516a;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.is-green {
  background: #e6f8ea;
  color: #1d6b3f;
}

.status-pill.is-amber {
  background: #fff5df;
  color: #a86400;
}

.status-pill.is-slate {
  background: #edf1f5;
  color: #4c5a6c;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.setup-form {
  display: grid;
  gap: 14px;
}

.setup-form .field {
  margin: 0;
}

.setup-form .field span {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.setup-form .field input,
.setup-form .field select {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.integration-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.integration-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.integration-card-head strong {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
}

.integration-pill {
  min-height: 26px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(13, 35, 64, 0.08);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.integration-card .field.compact {
  gap: 4px;
  margin: 0 0 10px;
}

.integration-card .field.compact span {
  color: var(--muted);
  font-size: 0.68rem;
}

.toggle-list {
  display: grid;
  gap: 10px;
  padding: 8px 0 2px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--off);
}

.toggle-row strong {
  display: block;
  color: var(--navy);
  font-size: 0.88rem;
}

.toggle-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.79rem;
}

.toggle-row input {
  width: 44px;
  height: 26px;
  appearance: none;
  position: relative;
  border-radius: 999px;
  background: #cfd6e2;
  outline: none;
  cursor: pointer;
  flex: 0 0 auto;
}

.toggle-row input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease;
}

.toggle-row input:checked {
  background: linear-gradient(90deg, var(--navy), #0b2d55);
}

.toggle-row input:checked::after {
  transform: translateX(18px);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.form-actions .btn {
  min-height: 44px;
}

.usage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  gap: 16px;
}

.usage-chart-card {
  min-width: 0;
  padding: 14px 14px 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.usage-chart-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.usage-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-swatch {
  width: 18px;
  height: 6px;
  border-radius: 999px;
  background: var(--navy);
}

.legend-swatch-dashed {
  background: transparent;
  border-top: 2px dashed var(--gold);
}

.usage-chart {
  min-height: 230px;
}

.usage-chart-inner {
  position: relative;
  height: 100%;
  min-height: 230px;
  padding: 12px 6px 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
}

.usage-chart-grid {
  position: absolute;
  inset: 12px 6px 28px 6px;
  background:
    linear-gradient(to top, rgba(13, 35, 64, 0.08) 1px, transparent 1px) 0 0 / 100% 25%;
  opacity: 0.8;
  pointer-events: none;
}

.usage-bar-group {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  gap: 8px;
  min-height: 180px;
}

.usage-bar-group span {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.usage-bar {
  width: 100%;
  min-height: 8px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #0d2340, #284a75);
  box-shadow: 0 6px 16px rgba(13, 35, 64, 0.12);
}

.usage-limit-line {
  position: absolute;
  left: 6px;
  right: 6px;
  border-top: 2px dashed var(--gold);
  pointer-events: none;
}

.usage-stats {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--off);
}

.usage-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.usage-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.transcript-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.transcript-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.transcript-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #0d2340;
  color: var(--white);
  flex: 0 0 auto;
}

.transcript-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.transcript-head strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}

.transcript-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.play-button {
  margin-left: auto;
  padding: 0 16px;
  background: var(--white);
  color: var(--navy);
}

.transcript-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

.transcript-snippet {
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(13, 35, 64, 0.04);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.75;
}

.panel-link {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.row-action {
  min-width: 34px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

.empty-cell {
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1240px) {
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "customers"
      "setup"
      "usage"
      "transcript";
  }

  .usage-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .dashboard-app {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
  }

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

@media (max-width: 720px) {
  .dashboard-main {
    padding: 18px;
  }

  .dashboard-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-topbar-actions {
    width: 100%;
  }

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

  .panel-head,
  .table-footer,
  .transcript-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-tools,
  .panel-filters {
    width: 100%;
  }

  .search-field {
    min-width: 0;
    width: 100%;
  }

  .toolbar-select,
  .toolbar-button {
    width: 100%;
  }

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

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn,
  .play-button {
    width: 100%;
  }
}
