/* Tilo Technologies — Editorial Navy, White & Champagne Gold Design System */

:root {
  --navy-950: #070F1C;
  --navy-900: #0C182D;
  --navy-850: #11213D;
  --navy-800: #192E52;
  --navy-700: #233E6B;
  --white: #FFFFFF;
  --ivory: #F8F7F3;
  --stone: #F1EFE9;
  --stone-border: #E2DDD2;
  --stone-strong: #CEC7B8;
  --gold-500: #C6A25F;
  --gold-400: #D9BA7C;
  --gold-300: #EAD09B;
  --gold-700: #876326;
  --gold-soft: rgba(217, 186, 124, 0.14);
  --ink-900: #111B2B;
  --ink-700: #2E3A4D;
  --ink-600: #4A5568;
  --ink-500: #626F84;
  --success-ink: #14532D;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  --warning-ink: #78350F;
  --warning-bg: #FFFBEB;
  --warning-border: #FDE68A;
  --danger-ink: #7F1D1D;
  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 12px 32px -12px rgba(12, 24, 45, 0.12);
  --shadow-lift: 0 20px 44px -16px rgba(12, 24, 45, 0.22);
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--gold-400);
  color: var(--navy-950);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Typography */
h1, h2, h3, .serif {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.65rem);
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  margin-bottom: 0.55rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 0.9rem;
}

.is-dark .eyebrow,
.hero .eyebrow,
.site-footer-band .eyebrow {
  color: var(--gold-300);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.lead {
  font-size: clamp(1.03rem, 1.4vw, 1.16rem);
  color: var(--ink-600);
  max-width: 62ch;
}

.is-dark .lead,
.hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.gold-italic {
  font-style: italic;
  color: var(--gold-300);
  font-weight: 500;
}

.muted {
  color: var(--ink-600);
}

.is-dark .muted {
  color: rgba(255, 255, 255, 0.75);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(12, 24, 45, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 186, 124, 0.18);
  color: var(--white);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.brand-main {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold-400);
  margin-top: 0.25rem;
}

.brand--dark .brand-main {
  color: var(--navy-900);
}

.brand--dark .brand-sub {
  color: var(--gold-700);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--gold-300);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--gold-400);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(217, 186, 124, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background: var(--navy-950);
  border-top: 1px solid rgba(217, 186, 124, 0.16);
  padding: 1.25rem 0 1.75rem;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-drawer .nav-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.82rem 1.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

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

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-gold {
  background: var(--gold-400);
  color: var(--navy-950);
  border-color: var(--gold-400);
}

.btn-gold:hover:not(:disabled) {
  background: var(--gold-300);
  border-color: var(--gold-300);
  box-shadow: 0 8px 20px -8px rgba(217, 186, 124, 0.5);
}

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

.btn-navy:hover:not(:disabled) {
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-outline-light:hover:not(:disabled) {
  border-color: var(--gold-300);
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--stone-strong);
}

.btn-outline-dark:hover:not(:disabled) {
  border-color: var(--navy-900);
  background: var(--ivory);
}

.btn-sm {
  padding: 0.56rem 1.05rem;
  font-size: 0.84rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--gold-700);
  border-bottom: 1px solid rgba(135, 99, 38, 0.35);
  padding-bottom: 0.15rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.is-dark .text-link {
  color: var(--gold-300);
  border-bottom-color: rgba(234, 208, 155, 0.4);
}

.text-link:hover {
  border-bottom-color: currentColor;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(35, 62, 107, 0.42), transparent 55%), var(--navy-900);
  color: var(--white);
  padding: 3.75rem 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  gap: 2.75rem;
  align-items: center;
  padding-bottom: 3.5rem;
}

.hero-copy h1 {
  color: var(--white);
}

.hero-copy .lead {
  margin-bottom: 2rem;
}

.hero-collage {
  position: relative;
  padding-bottom: 2.6rem;
}

.hero-frame-main {
  position: relative;
  border: 1px solid rgba(217, 186, 124, 0.45);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy-850);
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.65);
}

.hero-frame-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-inset-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: -3.2rem;
  padding: 0 1.35rem;
}

.hero-inset {
  border: 1px solid rgba(217, 186, 124, 0.55);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: 0 18px 38px -14px rgba(0, 0, 0, 0.7);
}

.hero-inset img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-inset figcaption {
  padding: 0.45rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(7, 15, 28, 0.9);
}

.hero-note {
  margin: 0.85rem 1.35rem 0;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.64);
}

.hero-ribbon {
  border-top: 1px solid rgba(217, 186, 124, 0.2);
  background: var(--navy-950);
  padding: 1.15rem 0;
}

.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.ribbon-line {
  height: 1px;
  flex: 1 1 60px;
  max-width: 140px;
  background: rgba(217, 186, 124, 0.45);
}

.ribbon-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.ribbon-sep {
  color: var(--gold-400);
  opacity: 0.65;
}

/* Inner Page Hero & Breadcrumb */
.crumb-bar {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(217, 186, 124, 0.14);
  padding: 0.75rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

.crumb-bar a {
  color: var(--gold-300);
  text-decoration: none;
}

.crumb-bar a:hover {
  text-decoration: underline;
}

.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 4rem 0 3.75rem;
  border-bottom: 1px solid rgba(217, 186, 124, 0.22);
}

.page-hero h1 {
  color: var(--white);
  max-width: 22ch;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-ivory {
  background: var(--ivory);
}

.section-stone {
  background: var(--stone);
}

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

.section-header {
  max-width: 68ch;
  margin-bottom: 2.75rem;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-header.centered .eyebrow {
  justify-content: center;
}

.gold-rule {
  width: 64px;
  height: 1.5px;
  background: var(--gold-500);
  margin: 1rem 0 0;
}

.section-header.centered .gold-rule {
  margin-inline: auto;
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(198, 162, 95, 0.55);
}

.card-ivory {
  background: var(--ivory);
}

.card-navy {
  background: var(--navy-900);
  color: var(--white);
  border-color: rgba(217, 186, 124, 0.45);
  box-shadow: var(--shadow-lift);
}

.card-navy:hover {
  border-color: var(--gold-400);
}

.industry-card {
  background: var(--ivory);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.industry-media {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}

.industry-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.industry-card:hover .industry-media img {
  transform: scale(1.03);
}

.industry-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.industry-body h3 {
  color: var(--navy-900);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.4rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--ink-600);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.is-dark .feature-list {
  color: rgba(255, 255, 255, 0.84);
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-border);
  background: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-700);
  margin-bottom: 1.15rem;
}

.icon-box svg {
  width: 21px;
  height: 21px;
}

/* Pricing / Investment Cards */
.pricing-card {
  position: relative;
  border-radius: var(--radius-md);
  padding: 2.3rem 2rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--stone-border);
}

.pricing-card.is-featured {
  background: var(--navy-900);
  color: var(--white);
  border: 1.5px solid var(--gold-400);
  box-shadow: var(--shadow-lift);
}

.pricing-badge {
  display: inline-block;
  align-self: center;
  background: var(--gold-400);
  color: var(--navy-950);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.price-figure {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  font-weight: 700;
  color: var(--gold-700);
  margin: 0.4rem 0 0.85rem;
}

.is-featured .price-figure {
  color: var(--gold-300);
}

.pricing-card .feature-list {
  text-align: left;
  margin-top: 1.15rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.pricing-footnote {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-600);
  max-width: 78ch;
  margin-inline: auto;
}

/* Retainer Split Band */
.retainer-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 4rem 0;
  border-top: 1px solid rgba(217, 186, 124, 0.18);
  border-bottom: 1px solid rgba(217, 186, 124, 0.18);
}

.retainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.retainer-heading {
  border-left: 3px solid var(--gold-400);
  padding-left: 1.5rem;
}

.retainer-list {
  display: grid;
  gap: 1.25rem;
}

.retainer-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(217, 186, 124, 0.24);
}

.retainer-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.retainer-item-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.35rem;
}

.retainer-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.retainer-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-300);
}

/* Process Steps */
.step-num {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 600;
  color: var(--gold-700);
  line-height: 1;
  margin-bottom: 0.85rem;
}

/* Forms & Inputs */
.form-panel {
  background: var(--white);
  color: var(--ink-900);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

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

.field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-900);
}

.req-star {
  color: var(--gold-700);
}

.input,
.select,
.textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--stone-strong);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.88rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(217, 186, 124, 0.32);
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--ink-700);
}

.check-row input[type="checkbox"] {
  margin-top: 0.24rem;
  width: 17px;
  height: 17px;
  accent-color: var(--navy-900);
  flex-shrink: 0;
}

.alert {
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  font-size: 0.92rem;
  border: 1px solid transparent;
  margin-top: 1rem;
}

.alert-success {
  background: var(--success-bg);
  color: var(--success-ink);
  border-color: var(--success-border);
}

.alert-warning {
  background: var(--warning-bg);
  color: var(--warning-ink);
  border-color: var(--warning-border);
}

.alert-error {
  background: var(--danger-bg);
  color: var(--danger-ink);
  border-color: var(--danger-border);
}

.alert-info {
  background: var(--ivory);
  color: var(--navy-900);
  border-color: var(--stone-strong);
}

.is-hidden {
  display: none !important;
}

/* Badges / Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--stone-strong);
  background: var(--ivory);
  color: var(--navy-900);
}

.badge-gold {
  background: rgba(217, 186, 124, 0.2);
  border-color: rgba(198, 162, 95, 0.6);
  color: var(--gold-700);
}

.is-dark .badge-gold {
  color: var(--gold-300);
  background: rgba(217, 186, 124, 0.14);
}

.badge-success {
  background: var(--success-bg);
  border-color: var(--success-border);
  color: var(--success-ink);
}

.badge-warning {
  background: var(--warning-bg);
  border-color: var(--warning-border);
  color: var(--warning-ink);
}

.badge-danger {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: var(--danger-ink);
}

/* Split Layout */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem;
  align-items: center;
}

.split-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--stone-border);
  box-shadow: var(--shadow-card);
}

.split-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Demonstrations Shell */
.demo-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tab-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--stone);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--stone-border);
}

.tab-btn {
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.tab-btn[aria-selected="true"],
.tab-btn.is-active {
  background: var(--navy-900);
  color: var(--gold-300);
}

.demo-stage {
  border: 1px solid var(--stone-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lift);
  transition: max-width 0.3s var(--ease);
  margin-inline: auto;
}

.demo-stage.is-mobile-view {
  max-width: 430px;
}

.demo-browser-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--navy-950);
  color: var(--white);
  padding: 0.75rem 1.2rem;
  border-bottom: 1px solid rgba(217, 186, 124, 0.25);
}

.demo-url-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.demo-disclaimer-strip {
  background: #FFF9EC;
  color: #6B4A12;
  border-bottom: 1px solid #ECD8A8;
  padding: 0.65rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.demo-body {
  padding: 2rem;
}

.demo-stage.is-mobile-view .grid-2,
.demo-stage.is-mobile-view .grid-3,
.demo-stage.is-mobile-view .split,
.demo-stage.is-mobile-view .form-grid {
  grid-template-columns: 1fr;
}

/* CRM Shell */
.crm-body {
  background: var(--ivory);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.crm-topbar {
  background: var(--navy-900);
  color: var(--white);
  border-bottom: 1px solid rgba(217, 186, 124, 0.25);
  padding: 0.9rem 0;
}

.crm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.kpi-card {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.kpi-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-500);
  margin-bottom: 0.35rem;
}

.kpi-value {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy-900);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.data-table th {
  background: var(--stone);
  color: var(--navy-900);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--stone-border);
  white-space: nowrap;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--stone);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-900);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--gold-700);
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--ink-600);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--stone-border);
  padding: 3.5rem 0 2.5rem;
  color: var(--ink-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--stone);
}

.footer-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: 0.85rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--ink-600);
}

.footer-nav a:hover {
  color: var(--navy-900);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy-900);
}

/* Consent Banner */
.consent-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 120;
  width: min(430px, calc(100vw - 2rem));
  background: var(--navy-950);
  color: var(--white);
  border: 1px solid rgba(217, 186, 124, 0.45);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: 0 24px 48px -12px rgba(7, 15, 28, 0.65);
}

.consent-banner h2 {
  font-size: 1.15rem;
  color: var(--gold-300);
  margin-bottom: 0.45rem;
}

.consent-banner p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 1rem;
}

.consent-banner a {
  color: var(--gold-300);
}

.consent-trigger {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--gold-700);
  text-decoration: underline;
  cursor: pointer;
}

/* Prose (Legal Pages) */
.prose {
  max-width: 74ch;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: var(--navy-900);
}

.prose ul {
  padding-left: 1.25rem;
  color: var(--ink-700);
}

/* Reveal utility */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .retainer-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .grid-4,
  .crm-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-desktop,
  .header-cta-desktop {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .crm-kpi-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-inset-row {
    margin-top: 0.85rem;
    padding: 0;
    gap: 0.75rem;
  }
  .hero-note {
    margin-inline: 0;
  }
  .form-panel,
  .demo-body {
    padding: 1.35rem;
  }
  .consent-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }
}
