/* =============================================================
   Strata G — shared site styles (Use Cases pages)
   Pulled from index.html design system for consistency.
   ============================================================= */

:root {
  /* Dark navy palette */
  --blue-900: #0a1628;
  --blue-800: #0f1f38;
  --blue-700: #152a4a;
  --blue-600: #1a3560;
  --blue-500: #1e56a0;
  --blue-400: #2a7de1;
  --blue-300: #5a9ff0;
  --blue-200: #a0c4f5;

  /* Orange accent */
  --orange-500: #e8803a;
  --orange-400: #f09850;
  --orange-300: #f5b070;
  --orange-glow: rgba(232, 128, 58, 0.15);

  /* Sand neutrals */
  --sand-50: #faf9f7;
  --sand-100: #f5f3ef;
  --sand-200: #e8e4dd;
  --sand-300: #d4cec4;

  /* Grays */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;

  /* Status */
  --green: #22c55e;
  --green-bg: #f0fdf4;
  --red: #ef4444;
  --red-bg: #fef2f2;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); color: var(--gray-800); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* =============================================================
   NAV (with dropdown for Use Cases)
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.4rem; color: var(--white); letter-spacing: -0.02em;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue-400), var(--orange-500));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 20px; height: 20px; color: white; }
.nav-logo span { color: var(--orange-500); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links > a, .nav-links > .nav-dropdown > a {
  color: var(--gray-300); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s; cursor: pointer;
}
.nav-links > a:hover, .nav-links > .nav-dropdown > a:hover { color: var(--white); }
.nav-cta {
  background: var(--orange-500) !important; color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 8px; font-weight: 600 !important;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--orange-400) !important; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232, 128, 58, 0.4); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after {
  content: ''; display: inline-block; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; margin-left: 4px;
  transition: transform 0.2s;
}
.nav-dropdown:hover > a::after { transform: rotate(225deg); margin-top: 2px; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-8px);
  background: var(--blue-800); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 12px; min-width: 280px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transition: all 0.2s ease;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--gray-300); font-size: 0.88rem; font-weight: 500;
  transition: all 0.15s ease;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.nav-dropdown-menu a strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 2px; }
.nav-dropdown-menu a span { font-size: 0.78rem; color: var(--gray-500); font-weight: 400; }

.nav-mobile-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; padding: 8px; }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px; font-family: var(--font-sans);
  font-size: 1rem; font-weight: 600; border: none; cursor: pointer; transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary { background: var(--orange-500); color: var(--white); box-shadow: 0 4px 20px rgba(232, 128, 58, 0.3); }
.btn-primary:hover { background: var(--orange-400); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232, 128, 58, 0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--gray-600); }
.btn-outline:hover { border-color: var(--gray-400); background: rgba(255,255,255,0.05); }
.btn-dark { background: var(--gray-900); color: var(--white); }
.btn-dark:hover { background: var(--gray-700); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }

/* =============================================================
   HERO (sub-page version — shorter than home)
   ============================================================= */
.uc-hero {
  position: relative; padding: 160px 0 100px;
  background: var(--blue-900); overflow: hidden;
}
.uc-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(30, 86, 160, 0.18), transparent),
              radial-gradient(ellipse 50% 50% at 20% 80%, rgba(232, 128, 58, 0.08), transparent);
}
.uc-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.uc-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; }
.uc-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232, 128, 58, 0.1); border: 1px solid rgba(232, 128, 58, 0.25);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.78rem; font-weight: 600; color: var(--orange-400);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 24px;
}
.uc-hero-eyebrow-dot { width: 6px; height: 6px; background: var(--orange-500); border-radius: 50%; }
.uc-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--white);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.uc-hero h1 em { color: var(--orange-400); font-style: italic; }
.uc-hero-sub {
  font-size: 1.15rem; color: var(--gray-300); line-height: 1.65;
  max-width: 640px; margin: 0 auto 40px;
}
.uc-hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   SECTION SHELL
   ============================================================= */
.section { padding: 100px 0; }
.section.dark { background: var(--blue-900); color: var(--white); }
.section.sand { background: var(--sand-50); }
.section.white { background: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--orange-500); margin-bottom: 16px;
  justify-content: center;
}
.section-label-line { width: 24px; height: 2px; background: var(--orange-500); }
.section.dark .section-label { color: var(--orange-400); }
.section.dark .section-label-line { background: var(--orange-400); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--gray-900); line-height: 1.18; margin-bottom: 16px;
}
.section.dark .section-title { color: var(--white); }
.section-title em { font-style: italic; color: var(--orange-500); }
.section.dark .section-title em { color: var(--orange-400); }
.section-sub {
  font-size: 1.02rem; color: var(--gray-500);
  line-height: 1.7; max-width: 580px; margin: 0 auto;
}
.section.dark .section-sub { color: var(--gray-400); }

/* =============================================================
   PROBLEM CARDS (quoted scenarios)
   ============================================================= */
.problem-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.problem-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 28px; position: relative;
  transition: all 0.3s;
}
.problem-card:hover {
  border-color: var(--orange-500);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.problem-card-num {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--gray-300); font-weight: 600;
}
.problem-card-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem; color: var(--gray-900);
  line-height: 1.45; margin-bottom: 12px;
}
.problem-card-impact {
  font-size: 0.85rem; color: var(--gray-500); line-height: 1.55;
  padding-top: 12px; border-top: 1px solid var(--gray-200);
}
.problem-card-impact strong { color: var(--red); font-weight: 600; }

/* =============================================================
   SOLUTION MAP (pain → fix)
   ============================================================= */
.solution-list { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
.solution-row {
  display: grid; grid-template-columns: 1fr 36px 1fr; align-items: center;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 24px 28px; gap: 20px;
}
.solution-pain {
  font-size: 0.95rem; color: var(--gray-700);
  border-left: 3px solid var(--red); padding-left: 16px; line-height: 1.5;
}
.solution-pain strong { display: block; color: var(--gray-900); margin-bottom: 4px; font-size: 0.95rem; }
.solution-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-500); font-size: 1.4rem; font-weight: 600;
}
.solution-fix {
  font-size: 0.95rem; color: var(--gray-700);
  border-left: 3px solid var(--green); padding-left: 16px; line-height: 1.5;
}
.solution-fix strong { display: block; color: var(--gray-900); margin-bottom: 4px; font-size: 0.95rem; }

/* =============================================================
   CAPABILITY CARDS
   ============================================================= */
.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.cap-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 28px;
  transition: all 0.3s ease;
}
.cap-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.05); transform: translateY(-3px); border-color: var(--blue-400); }
.cap-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-400), var(--orange-500));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cap-icon svg { width: 22px; height: 22px; color: white; }
.cap-card h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--gray-900); margin-bottom: 10px; line-height: 1.3; }
.cap-card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.6; }

/* =============================================================
   PRICING SNIPPET (single recommended tier)
   ============================================================= */
.tier-card {
  max-width: 520px; margin: 0 auto;
  background: var(--blue-900); border: 1.5px solid var(--blue-700);
  border-radius: 18px; padding: 40px;
  box-shadow: 0 30px 80px rgba(10, 22, 40, 0.3);
  position: relative;
}
.tier-card.light {
  background: var(--white); border-color: var(--gray-200);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}
.tier-card .pop-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 16px; border-radius: 100px;
  background: var(--orange-500); color: white;
}
.tier-name {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--orange-400); margin-bottom: 8px;
}
.tier-card.light .tier-name { color: var(--orange-500); }
.tier-desc { font-size: 0.95rem; color: var(--gray-300); line-height: 1.5; margin-bottom: 24px; }
.tier-card.light .tier-desc { color: var(--gray-600); }
.tier-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.tier-amount { font-family: var(--font-serif); font-size: 3rem; color: var(--white); line-height: 1; }
.tier-card.light .tier-amount { color: var(--gray-900); }
.tier-period { font-size: 0.9rem; color: var(--gray-400); }
.tier-card.light .tier-period { color: var(--gray-500); }
.tier-billed { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 24px; min-height: 16px; }
.tier-entities {
  font-size: 0.88rem; font-weight: 600; color: var(--gray-200);
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px;
}
.tier-card.light .tier-entities { color: var(--gray-700); border-color: var(--gray-200); }
.tier-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.tier-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--gray-300); line-height: 1.5; }
.tier-card.light .tier-feat { color: var(--gray-600); }
.tier-feat svg { flex-shrink: 0; margin-top: 2px; color: var(--orange-400); width: 16px; height: 16px; }
.tier-cta {
  display: block; text-align: center; padding: 14px 24px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; transition: all 0.2s;
  background: var(--orange-500); color: white;
}
.tier-cta:hover { background: var(--orange-400); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,128,58,0.4); }
.tier-extra { text-align: center; margin-top: 14px; font-size: 0.78rem; color: var(--gray-500); }
.tier-card.light .tier-extra { color: var(--gray-400); }
.tier-link {
  display: block; text-align: center; margin-top: 20px;
  font-size: 0.85rem; color: var(--gray-400); font-weight: 500;
}
.tier-link:hover { color: var(--white); }
.tier-card.light .tier-link { color: var(--gray-500); }
.tier-card.light .tier-link:hover { color: var(--gray-900); }

/* Custom (Family Office) variant */
.tier-card.custom .tier-amount { font-size: 2rem; font-weight: 400; }
.tier-card.custom .tier-period { display: none; }

/* =============================================================
   FAQ (native details/summary, no JS)
   ============================================================= */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 0; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 28px; font-size: 1rem; font-weight: 600; color: var(--gray-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--gray-50); }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--orange-500); font-weight: 400;
  transition: transform 0.25s ease;
  font-family: var(--font-mono); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--gray-200); }
.faq-answer { padding: 20px 28px 24px; font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; }
.faq-answer p + p { margin-top: 12px; }

/* =============================================================
   CTA BLOCK (final)
   ============================================================= */
.cta-block {
  padding: 100px 0; background: var(--blue-900);
  position: relative; overflow: hidden; text-align: center;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(232, 128, 58, 0.06), transparent);
}
.cta-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; padding: 0 24px; }
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--white);
  line-height: 1.18; margin-bottom: 16px;
}
.cta-inner h2 em { color: var(--orange-400); font-style: italic; }
.cta-inner p { font-size: 1.05rem; color: var(--gray-400); line-height: 1.7; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   HUB GRID (Use Cases hub page card grid)
   ============================================================= */
.hub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hub-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 32px; transition: all 0.3s ease;
  display: flex; flex-direction: column; min-height: 280px;
}
.hub-card:hover {
  border-color: var(--orange-500);
  box-shadow: 0 16px 50px rgba(0,0,0,0.07);
  transform: translateY(-4px);
}
.hub-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-400), var(--orange-500));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.hub-card-icon svg { width: 24px; height: 24px; color: white; }
.hub-card-tag {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--orange-500); margin-bottom: 8px;
}
.hub-card h3 {
  font-family: var(--font-serif); font-size: 1.4rem;
  color: var(--gray-900); line-height: 1.25; margin-bottom: 12px;
}
.hub-card p {
  font-size: 0.92rem; color: var(--gray-600); line-height: 1.6;
  margin-bottom: 20px; flex: 1;
}
.hub-card-link {
  font-size: 0.88rem; font-weight: 600; color: var(--orange-500);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.hub-card:hover .hub-card-link { gap: 10px; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: var(--blue-900); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 40px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 40px; margin-bottom: 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }
.footer-links { display: flex; gap: 60px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--gray-500); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--gray-600);
}

/* =============================================================
   REVEAL ANIMATION
   ============================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .uc-hero { padding: 120px 0 80px; }
  .section { padding: 70px 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .solution-row { grid-template-columns: 1fr; gap: 12px; }
  .solution-arrow { transform: rotate(90deg); }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 40px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .uc-hero-ctas { flex-direction: column; align-items: stretch; }
  .uc-hero-ctas .btn { justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { justify-content: center; }
  .tier-card { padding: 28px; }
  .footer-links { gap: 30px; }
}

/* Mobile nav (when toggle clicked) */
@media (max-width: 768px) {
  .nav-links.show {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--blue-900); border-top: 1px solid rgba(255,255,255,0.08);
    flex-direction: column; gap: 0; padding: 12px 24px 20px;
  }
  .nav-links.show > a, .nav-links.show > .nav-dropdown { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; }
  .nav-links.show .nav-cta { display: inline-block; margin-top: 12px; text-align: center; }
  .nav-links.show .nav-dropdown-menu {
    position: static; transform: none; background: transparent; border: none;
    box-shadow: none; padding: 8px 0 0; opacity: 1; visibility: visible;
    min-width: 0;
  }
  .nav-links.show .nav-dropdown > a::after { display: none; }
}
