/* === EverLil Advisors — Styles === */

:root {
  --bg: #0b1020;
  --bg-alt: #121829;
  --bg-light: #f5f6fa;
  --text-main: #f0f1f4;
  --text-muted: #8d95a8;
  --accent: #c9a96e;
  --accent-soft: rgba(201, 169, 110, 0.1);
  --accent-light: #d4b97a;
  --border-subtle: rgba(148, 163, 184, 0.2);
  --card-bg: #131a2b;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, #1f2937 0, #020617 55%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Pages (hash routing) */

.page {
  display: none;
}

.page.active {
  display: block;
  animation: pageFadeIn 0.3s ease;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page headers */

.page-header {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.page-header h1 {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  margin: 0 0 0.4rem;
}

.page-header-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
  max-width: 36rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fafaf8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
}

/* Hide header logo on home page */
body.is-home .logo-img {
  opacity: 0;
  pointer-events: none;
  height: 0;
}

.nav a {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #4a5568;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: #1a202c;
}

.nav a.active {
  color: #1a202c;
  font-weight: 600;
}

.nav-cta {
  margin-left: 1.5rem;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #0f172a;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.08s ease;
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1a202c;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero — Single unified dark section */

.hero {
  background: radial-gradient(ellipse at top center, #334766 0%, #243450 50%, #1a2a40 100%);
  padding: 2rem 0 1.8rem;
}

.hero-top {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 0.6rem;
}

.hero-descriptor {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0 0 1.5rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.hero-proof-copy h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.hero-proof-copy p {
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
    transform 0.08s ease, box-shadow 0.16s ease;
}

.btn.primary {
  background: var(--accent);
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.3);
}

.btn.primary:hover {
  transform: translateY(-1px);
  background: var(--accent-light);
  box-shadow: 0 12px 28px rgba(201, 169, 110, 0.4);
}

.btn.secondary {
  background: transparent;
  border-color: rgba(201, 169, 110, 0.6);
  color: var(--accent-light);
}

.btn.secondary:hover {
  background: rgba(201, 169, 110, 0.1);
  border-color: var(--accent);
}

/* Secondary on light backgrounds */
.section.light .btn.secondary,
.section.light-alt .btn.secondary {
  border-color: var(--accent);
  color: #1a202c;
  background: transparent;
}

.section.light .btn.secondary:hover,
.section.light-alt .btn.secondary:hover {
  background: rgba(201, 169, 110, 0.08);
}

/* Hero panel */

.hero-panel {
  background: radial-gradient(circle at top left, #1f2937 0, #020617 55%);
  border-radius: 1.2rem;
  padding: 1.25rem 1.4rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
}

.hero-panel h2 {
  font-size: 1.05rem;
  margin: 0 0 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.panel-col {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
  border-radius: 0.85rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.panel-col.highlight {
  border-color: rgba(201, 169, 110, 0.3);
  background: radial-gradient(circle at top, rgba(201, 169, 110, 0.04), rgba(15, 23, 42, 0.4));
}

.panel-title {
  font-size: 1.05rem;
  margin: 0 0 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.panel-col h3,
.panel-col h4 {
  font-size: 0.9rem;
  margin: 0 0 0.7rem;
  color: var(--text-muted);
}

.panel-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel-col li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.82rem;
  padding: 0.22rem 0;
  border-bottom: 1px dashed rgba(30, 64, 175, 0.35);
}

.panel-col li:last-child {
  border-bottom: none;
}

.panel-col span {
  color: var(--text-muted);
}

.panel-col strong {
  font-variant-numeric: tabular-nums;
}

.panel-col .negative {
  color: #f87171;
}

.panel-col .positive {
  color: #86efac;
}

.panel-col .positive.accent {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.panel-note {
  margin-top: 0.55rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.panel-footnote {
  margin-top: 0.8rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 1.5rem 0;
  background: transparent;
}

.section.alt {
  background: rgba(15, 23, 42, 0.9);
}

/* Section transitions — mid-tone buffer between dark and light */
.section-buffer {
  height: 8px;
  background: linear-gradient(to bottom, #1e293b, #9ca3af, #e5e4e0);
}

.section-buffer-out {
  height: 8px;
  background: linear-gradient(to bottom, #e5e4e0, #9ca3af, #1e293b);
}

.section.light + .section.light-alt,
.section.light-alt + .section.light {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Pricing page */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.pricing-card {
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 2rem 1.8rem;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.15);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin: 0 0 0.3rem;
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0.5rem 0 0.2rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #64748b;
}

.pricing-desc {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}

.pricing-features li {
  font-size: 0.9rem;
  color: #334155;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-note {
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 620px) {
  .pricing-table {
    grid-template-columns: 1fr;
  }
}

/* Light sections */
.section.light {
  background: #f9f9f7;
  color: #1a202c;
}

.section.light-alt {
  background: #f1f0ed;
  color: #1a202c;
}

.section.light h2,
.section.light-alt h2,
.section.light h3,
.section.light-alt h3 {
  color: #1a202c;
}

.section.light p,
.section.light-alt p,
.section.light li,
.section.light-alt li {
  color: #4a5568;
}

.section.light strong,
.section.light-alt strong {
  color: #1a202c;
}

.section h2 {
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.section-intro {
  max-width: 40rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.section.light .section-intro,
.section.light-alt .section-intro {
  color: #64748b;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 0;
}

.card {
  background: var(--card-bg);
  border-radius: 0.75rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(201, 169, 110, 0.25);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.85), 0 0 0 1px rgba(201, 169, 110, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-main);
  font-size: 0.9rem;
}

.card li {
  margin-bottom: 0.3rem;
}

/* Light card variant */
.section.light .card,
.section.light-alt .card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.section.light .card:hover,
.section.light-alt .card:hover {
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section.light .card p,
.section.light-alt .card p {
  color: #64748b;
}

.section.light .card ul,
.section.light-alt .card ul {
  color: #334155;
}

.section.light .card-action,
.section.light-alt .card-action {
  color: #b08d4a;
}

/* Card link variant */

.card-link {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.card-link:hover {
  transform: translateY(-2px);
}

.card-action {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* Platform screenshots */
.platform-screenshot {
  margin-top: 1.5rem;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.platform-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Platform feature grid (compact two-column) */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-block .service-icon {
  margin-bottom: 1rem;
}

.feature-block h3 {
  margin: 0 0 0.5rem;
}

.feature-block p {
  color: #4a5568;
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}

.feature-block .service-features {
  text-align: left;
}

@media (max-width: 680px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Service row layout */

.service-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-row.reverse {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 100px;
  height: 100px;
}

.service-row .service-detail {
  max-width: 40rem;
}

.service-row .service-detail p {
  text-align: center;
}

.service-row .service-features {
  text-align: left;
  display: inline-block;
}

/* Service detail */

.service-detail h2 {
  margin-top: 0;
}

.service-detail p {
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 1rem;
}

.service-features ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.service-features li {
  margin-bottom: 0.45rem;
  line-height: 1.5;
}

/* How we work */

.how-we-work {
  margin-top: 0;
}

.how-we-work h2 {
  margin-bottom: 1.2rem;
}

.process-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.process-steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.process-steps li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.process-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.process-steps li strong {
  display: block;
  margin-bottom: 0.2rem;
}

.process-steps li span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Light service detail */
.section.light .service-detail p,
.section.light-alt .service-detail p {
  color: #4a5568;
}

.section.light .service-features li,
.section.light-alt .service-features li {
  color: #334155;
}

/* Light process steps */
.section.light .process-steps li,
.section.light-alt .process-steps li {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.section.light .process-steps li span,
.section.light-alt .process-steps li span {
  color: #4a5568;
}

/* Light page header */
.page-header.light {
  background: #f9f9f7;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.page-header.light h1 {
  color: #1a202c;
}

.page-header.light .page-header-sub {
  color: #64748b;
}

/* Light about */
.section.light .about-story p {
  color: #4a5568;
}

.section.light .about-story p:first-of-type {
  color: #1a202c;
}

.section.light .credibility-list li {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.section.light .credibility-list li strong {
  color: #b08d4a;
}

.section.light .credibility-list li span {
  color: #4a5568;
}

.section.light .about-bottom {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.section.light .about-bottom h3 {
  color: #1a202c;
}

.section.light .about-bottom p {
  color: #4a5568;
}

/* Light contact form */
.section.light .form-row input,
.section.light .form-row textarea {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  color: #1a202c;
}

.section.light .form-row input::placeholder,
.section.light .form-row textarea::placeholder {
  color: #94a3b8;
}

.section.light .form-row input:focus,
.section.light .form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.section.light .form-note {
  color: #64748b;
}

/* Light feature list */
.section.light .feature-list li {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.section.light .feature-list li span {
  color: #4a5568;
}

.section.light .persona-list li strong {
  color: #b08d4a;
}

.section.light .stats-list span {
  color: #4a5568;
}

/* About page */

.about-content {
  max-width: 1000px;
}

/* Gap flow */
.gap-flow {
  margin-bottom: 2.5rem;
}

.gap-flow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.gap-flow-node {
  text-align: center;
  padding: 0 1rem;
}

.gap-flow-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}

.gap-flow-sub {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.gap-flow-node-highlight .gap-flow-label {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

.gap-flow-node-highlight .gap-flow-sub {
  color: #b08d4a;
  font-size: 0.78rem;
}

.gap-flow-connector {
  display: flex;
  align-items: center;
  padding: 0 0.3rem;
}

.gap-flow-connector span {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, #d1d5db, var(--accent), #d1d5db);
  border-radius: 1px;
}

.gap-caption {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

@media (max-width: 640px) {
  .gap-flow-line {
    flex-direction: column;
    gap: 0.8rem;
  }

  .gap-flow-connector span {
    width: 2px;
    height: 24px;
  }

  .gap-flow-connector {
    padding: 0;
  }
}

/* About top row */
.about-top-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.about-narrative {
  max-width: 40rem;
  padding-top: 0.3rem;
}

.about-narrative p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-narrative p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-top-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gap-layer {
    flex-direction: column;
    gap: 0.5rem;
  }

  .gap-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .gap-box {
    min-width: 200px;
  }
}

/* About page — credential grid */

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.credential-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.credential-card:hover {
  border-color: rgba(201, 169, 110, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.credential-icon {
  margin-bottom: 0.8rem;
}

.credential-icon svg {
  width: 48px;
  height: 48px;
}

.credential-card h3 {
  font-size: 0.95rem;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.credential-card p {
  font-size: 0.88rem;
  color: #4a5568;
  margin: 0;
  line-height: 1.5;
}

/* Category creator callout */
.category-callout {
  width: 280px;
  text-align: center;
  padding: 1.5rem 1.5rem;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 0.6rem;
  background: #fffdf8;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(201, 169, 110, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}

.category-callout p {
  font-size: 0.95rem;
  color: #334155;
  margin: 0;
  line-height: 1.65;
}

.callout-quote {
  font-size: 1rem;
  color: #334155;
  margin: 0;
  padding: 0;
  border: none;
  line-height: 1.65;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
}

.callout-statement {
  font-size: 0.93rem;
  color: #334155;
  margin: 0;
  line-height: 1.65;
  font-weight: 500;
}

@media (max-width: 900px) {
  .credential-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .credential-grid {
    grid-template-columns: 1fr;
  }
}

/* Resources page */

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.resource-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0.75rem;
  padding: 1.1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.resource-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(201, 169, 110, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}

.resource-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: #1a202c;
  line-height: 1.35;
}

.resource-card p {
  font-size: 0.9rem;
  color: #4a5568;
  margin: 0 0 0.8rem;
  line-height: 1.5;
}

.resource-date {
  font-size: 0.78rem;
  color: #94a3b8;
  font-style: italic;
}

/* Home about teaser */

.home-about-teaser {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.3rem 0;
  text-align: center;
}

.home-about-teaser h2 {
  color: #1a202c;
}

.home-about-teaser p {
  color: #4a5568;
  margin-bottom: 0.8rem;
}

/* STRVue */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.persona-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
}

.persona-list li {
  margin-bottom: 0.6rem;
  padding-left: 0;
  line-height: 1.5;
}

.persona-list li strong {
  color: var(--accent);
}

/* Feature list */

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

.feature-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.feature-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.feature-list li strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.feature-list li span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* STRVue compare (standalone) */

.strvue-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 42rem;
}

/* Grid-2 */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.stats-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
}

.stats-list li {
  margin-bottom: 0.7rem;
}

.stat-number {
  font-size: 1.8rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stats-list span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.about-story p {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  max-width: 38rem;
}

.about-story p:first-of-type {
  color: var(--text-main);
  font-size: 1.05rem;
}

.about-story h3,
.about-credibility h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

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

.credibility-list li {
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.credibility-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.credibility-list li strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--accent);
}

.credibility-list li span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.about-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  margin-top: 2rem;
  padding-top: 2rem;
  max-width: 48rem;
}

.about-bottom h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.about-bottom p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.about-security {
  font-size: 0.88rem;
  font-style: italic;
  opacity: 0.8;
}

/* Contact */

.contact-form {
  max-width: 34rem;
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

/* Footer */

.site-footer {
  border-top: none;
  padding: 0.8rem 0 1rem;
  background: radial-gradient(ellipse at top center, #334766 0%, #243450 50%, #1a2a40 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.footer-logo {
  margin-bottom: 0;
}

.footer-logo-img {
  height: 56px;
  width: auto;
}

.footer-tagline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-meta {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0;
}

.footer-meta p {
  margin: 0;
}

.footer-disclaimer {
  margin-top: 0.4rem;
}

/* Scroll animations */

.animate-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.card-grid .card.animate-in:nth-child(2) { transition-delay: 0.08s; }
.card-grid .card.animate-in:nth-child(3) { transition-delay: 0.16s; }
.panel-columns .panel-col.animate-in:nth-child(2) { transition-delay: 0.1s; }

/* Responsive */

@media (max-width: 800px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .logo {
    flex: 1;
  }

  .nav {
    display: none;
    width: 100%;
    order: 3;
    padding-top: 0.6rem;
  }

  .nav.open {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav a {
    margin-left: 0;
    margin-right: 1rem;
    padding: 0.3rem 0;
  }

  .nav .nav-cta {
    margin-left: 0;
    margin-top: 0.4rem;
    margin-right: 1rem;
  }

  .nav-toggle {
    display: flex;
    align-self: center;
  }

  .hero {
    padding: 1.5rem 0 1.2rem;
  }

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

  .hero-top {
    margin-bottom: 1rem;
  }

  .hero-logo {
    height: 64px;
  }

  .hero-descriptor {
    font-size: 0.85rem;
  }

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

  .hero-panel {
    margin-top: 0.5rem;
  }

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

  .section {
    padding: 1.2rem 0;
  }

  .logo-img {
    height: 56px;
  }

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

  .footer-links {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  /* Property proof mobile */
  .property-proof > div {
    grid-template-columns: 1fr !important;
  }

  /* Mobile contact grid */
  .contact-grid-mobile {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .service-icon svg {
    width: 72px;
    height: 72px;
  }

  .contact-form {
    max-width: 100%;
  }

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

  .process-steps li {
    gap: 0.75rem;
  }

  .process-steps li::before {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

/* Advisory hero */

.advisory-hero {
  background: radial-gradient(ellipse at top center, #334766 0%, #243450 50%, #1a2a40 100%);
  padding: 2rem 0 1.8rem;
}

.advisory-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.advisory-hero-copy h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 1rem;
  line-height: 1.2;
  color: var(--text-main);
}

.advisory-hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  max-width: 32rem;
}

.advisory-hero-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.advisory-pillar {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.advisory-pillar-label {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  width: 6.5rem;
}

.advisory-pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.advisory-hero-aside {
  padding-top: 0.5rem;
}

.advisory-value-card {
  background: radial-gradient(circle at top left, #1f2937 0, #020617 55%);
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
}

.advisory-value-headline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.advisory-value-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 0.8rem;
}

.advisory-value-cta {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

@media (max-width: 800px) {
  .advisory-hero {
    padding: 1.5rem 0 1.2rem;
  }

  .advisory-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .advisory-pillar {
    flex-direction: column;
    gap: 0.2rem;
  }

  .advisory-pillar-label {
    width: auto;
  }
}

/* Home hero — firm level */

.hero-firm {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.hero-firm-headline {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.25;
  color: var(--text-main);
  margin: 0 0 0.8rem;
  font-weight: 700;
}

.hero-firm-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Two-pillar cards */

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pillar-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.pillar-title {
  font-size: 1.35rem;
  color: #1a202c;
  margin: 0 0 0.8rem;
  line-height: 1.25;
}

.pillar-body {
  font-size: 0.93rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.pillar-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.pillar-features li {
  font-size: 0.88rem;
  color: #374151;
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.pillar-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 700px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* STRVue hero variant */

.strvue-hero {
  padding: 2rem 0 1.8rem;
}

/* STRVue persona cards */

.persona-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.persona-heading {
  font-size: 1.3rem;
  color: #1a202c;
  margin: 0 0 1.2rem;
  font-weight: 700;
}

.persona-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.persona-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem 0.8rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.6rem;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}

.persona-card:hover {
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.persona-id {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.persona-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a202c;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.persona-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .persona-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 420px) {
  .persona-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Projects gallery */

.project-card {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.project-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.project-header {
  margin-bottom: 1.2rem;
}

.project-title {
  font-size: 1.6rem;
  color: #1a202c;
  margin: 0 0 0.3rem;
}

.project-location {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.project-room-group {
  margin-bottom: 1.2rem;
}

.project-room-group:last-child {
  margin-bottom: 0;
}

.project-room-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.project-img-frame {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.project-img-frame:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.project-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .page.active {
    animation: none;
  }
}