:root {
  color-scheme: light;
  
  /* Minimalist Monochrone, Midnight Blue & Soft Gold */
  --ink: #1F2937;
  --ink-soft: #6B7280;
  --surface: #FFFFFF;
  --surface-soft: #FAFAFA;
  --line: #E5E7EB;
  
  --brand-900: #16324c;
  --brand-950: #0f2438;
  
  --accent: var(--brand-900);
  --accent-soft: #4F46E5;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition-fast: all 0.2s ease;
  --transition-base: all 0.2s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --navbar-height: 84px;
  --section-space-desktop: 7.75rem;
  --section-space-mobile: 5.25rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

header[id],
section[id] {
  scroll-margin-top: var(--navbar-height);
}

body {
  margin: 0;
  padding-top: var(--navbar-height);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.9;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--ink);
  transition: var(--transition-fast);
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}

a:hover,
a:focus {
  color: var(--accent-soft);
  text-decoration-color: var(--accent-soft);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600; /* Increased weight for heavier contrast */
  color: var(--brand-900);
  letter-spacing: -0.01em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
}

.skip-link:focus { top: 1rem; }

/* NAVBAR: Ultra clean, solid white to blur */
.navbar-glass {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition-base);
  min-height: var(--navbar-height);
  padding: 0.5rem 0;
}

.navbar-glass.is-scrolled {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(22, 50, 76, 0.06);
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

.navbar-cta {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--ink);
}

/* BUTTONS */
.btn {
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-lg {
  min-height: 54px;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-xl {
  min-height: 64px;
  padding: 0 2.5rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-950);
  border-color: var(--brand-950);
  color: var(--surface);
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background: var(--surface-soft);
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

/* HERO SECTION: Pure Minimalism */
.hero-section {
  background: var(--surface);
  color: var(--ink);
  padding: 8rem 0 5rem;
}

.hero-copy {
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-section h1 {
  color: var(--ink);
  line-height: 1.15;
}

.hero-subheadline {
  color: var(--ink-soft);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 680px;
}

.hero-mini-proof {
  max-width: 600px;
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.text-accent {
  color: var(--accent-soft);
}

.hero-trust-logos {
  color: #9CA3AF; /* Receded color */
  font-size: 0.8rem; /* Reduced size */
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 800px;
  margin: 0 auto;
}

/* SECTIONS */
.section-space { padding: var(--section-space-desktop) 0; }
.section-alt { background: var(--surface-soft); }

.proof-section-confirmation {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  border-top: 1px solid rgba(79, 70, 229, 0.08);
}

.proof-section-confirmation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(160px, 28vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(79, 70, 229, 0), rgba(79, 70, 229, 0.32), rgba(79, 70, 229, 0));
}

.section-kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.7rem; /* Reduced size for secondary element */
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
}

.section-title {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.18;
}

.section-intro {
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1.9;
}

.trust-divider {
  width: 40px;
  height: 1px;
  margin-top: 1.5rem;
  background: var(--line);
}

/* BLOCKS (Borderless minimalism & Premium Cards) */
.service-block {
  position: relative;
  height: 100%;
  padding: 1.65rem 0 1.1rem;
  border-top: 1px solid var(--line);
  transition: var(--transition-base);
}

.service-block::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 42px;
  height: 1px;
  background: var(--accent-soft);
  transition: var(--transition-fast);
}

.service-block:hover {
  border-color: var(--accent-soft);
}

.service-block:hover::before {
  width: 64px;
}

.service-label {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-block {
  padding: 2.1rem;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.04), rgba(255, 255, 255, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.trust-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(22, 50, 76, 0.05);
  border-color: rgba(79, 70, 229, 0.14);
}

.trust-card-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-900);
  background: rgba(79, 70, 229, 0.08);
  border-radius: 14px;
  margin-bottom: 1rem !important;
}

.trust-card-icon svg { 
  width: 24px; 
  height: 24px; 
  stroke-width: 1.6px !important;
  display: block;
}

.trust-block h3, .service-block h3 {
  font-size: 1.25rem;
  color: var(--ink);
}

.trust-block p, .service-block p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clean-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.clean-list li:last-child {
  border-bottom: none;
}

.clean-list strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}

.authority-list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.authority-list-clean li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.authority-list-clean li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-soft);
}

.authority-list-clean strong {
  color: var(--ink);
  font-weight: 500;
}

/* USE CASES */
.use-case-row {
  padding: 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.use-case-row:hover {
  transform: translateX(4px);
  border-color: var(--brand-900);
  box-shadow: 0 4px 12px rgba(22, 50, 76, 0.035);
}
.use-case-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.08);
  color: var(--brand-900);
  border-radius: 10px;
}
.use-case-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.6px;
}
.use-case-row h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
}
.use-case-row p {
  line-height: 1.5;
}

/* PREMIUM QUOTES */
.proof-quote-premium {
  margin: 0;
  padding: 1rem 0 1rem 2rem;
  border-left: 3px solid var(--accent-soft);
  position: relative;
}

.proof-quote-premium blockquote {
  font-size: 18px;
  font-style: italic;
  font-family: "Playfair Display", serif;
  color: var(--ink);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.proof-quote-premium cite {
  font-size: 0.85rem;
  color: #6B7280;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-info-clean {
  display: grid;
  gap: 1.5rem;
}

.contact-info-clean span {
  display: block;
  font-size: 0.7rem; /* Reduced size */
  letter-spacing: 0.15em;
  font-weight: 600;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 0.2rem;
}

/* CONTACT BAND PREMIUM */
.contact-band-premium {
  background: linear-gradient(135deg, #eef2ff 0%, #f9fafb 100%);
}

.contact-band-actions {
  gap: 1.5rem !important;
}

.contact-band-btn {
  min-width: 240px;
}

.contact-info-clean p {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 400;
  margin: 0;
}

.contact-info-clean p a {
  text-decoration: none;
  color: var(--ink);
}

/* MINIMAL FORM */
.clean-form-container {
  padding: 3rem;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(22, 50, 76, 0.021);
}

#contact-form .row {
  row-gap: 0.75rem;
}

/* OVERRIDE BOOTSTRAP FOCUS RING TO BRAND CUSTOM LOOK */
.form-control:focus, .form-select:focus, .btn:focus, .form-check-input:focus {
  border-color: var(--brand-900);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
  outline: 0;
}

.clean-input {
  border: 1px solid var(--line);
  border-radius: var(--radius-md); /* Softer corners */
  padding: 1rem 1.25rem;
  font-size: 1rem;
  background-color: var(--surface-soft); /* Differentiated background */
  color: var(--ink);
  transition: all 0.3s ease;
}

.clean-input:focus {
  background-color: var(--surface); /* Turns solid white on focus */
  border-color: var(--brand-900) !important;
}

.clean-input::placeholder {
  color: #9CA3AF;
  font-weight: 300;
}

select.clean-input {
  padding-left: 0;
  color: #9CA3AF;
}
select.clean-input:valid, select.clean-input:focus {
  color: var(--ink);
}

.form-note {
  font-size: 0.8rem; /* Reduced size */
  color: #9CA3AF;
}

.form-reassurance {
  background: rgba(22, 50, 76, 0.04);
  border-left: 3px solid var(--brand-900);
}

.form-response-note {
  margin: 0;
  color: var(--brand-900);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-submit-btn {
  box-shadow: 0 10px 22px rgba(22, 50, 76, 0.16);
}

.form-submit-btn:hover,
.form-submit-btn:focus {
  box-shadow: 0 12px 26px rgba(22, 50, 76, 0.18);
}

.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

/* CLEAN FOOTER */
.footer-clean {
  background: var(--surface);
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.footer-clean .text-muted {
  color: var(--ink-soft) !important;
}

.footer-clean strong {
  color: var(--ink);
  font-weight: 500;
}

.footer-links-clean {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-end;
}

.footer-links-clean a, .btn-clean-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 400;
}

.footer-links-clean a:hover, .btn-clean-link:hover {
  color: var(--ink);
}

.btn-clean-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* MODAL */
.modal-clean {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.056);
}

/* REVEAL */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .footer-links-clean { justify-content: center; flex-wrap: wrap; }
  .clean-form-container { padding: 1.5rem; }
}

@media (max-width: 767.98px) {
  /* Readability & Touches */
  body { font-size: 1.05rem; }
  p, .hero-subheadline, .section-intro { line-height: 1.8; }
  
  /* Increased Vertical Spacing */
  .hero-section { padding: 6rem 0 4rem; }
  .section-space { padding: var(--section-space-mobile) 0; }
  
  /* Full Width Buttons */
  .btn { width: 100%; }
  .hero-cta-group, .contact-actions-clean { flex-direction: column; width: 100%; }
  
  .hero-trust-logos { justify-content: flex-start !important; padding-top: 1.5rem; }
}

/* Mobile CTA is the same logic as previous */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 1035; display: none; gap: 0.75rem;
  padding: 0.85rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
  background: var(--surface); /* Solid for visibility */
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.07);
}
.mobile-cta-bar .btn { flex: 1; min-height: 56px; }
.mobile-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; }
.mobile-cta-icon { width: 20px; height: 20px; display: inline-flex; align-items: center; }
.mobile-cta-icon svg { width: 20px; height: 20px; stroke: currentColor; }
@media (max-width: 767.98px) {
  .mobile-cta-bar { display: flex; }
  .footer-clean { padding-bottom: 7rem; }
}
