:root {
  color-scheme: dark;
  --bg: #141b1e;
  --bg-soft: #1a2226;
  --bg-elevated: #202b30;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(84, 102, 112, 0.3);
  --surface-border-strong: rgba(218, 128, 111, 0.4);
  --text: #f4f0eb;
  --muted: rgba(244, 240, 235, 0.8);
  --soft: rgba(244, 240, 235, 0.58);
  --accent: #DA806F;
  --accent-bright: #E49683;
  --teal: #546670;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(84, 102, 112, 0.14), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(218, 128, 111, 0.1), transparent 28%),
    radial-gradient(circle at 20% 85%, rgba(218, 128, 111, 0.05), transparent 30%),
    linear-gradient(180deg, #141b1e 0%, #18222a 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(84, 102, 112, 0.18);
}

.site-header .site-nav {
  color: #1a1a1a;
}
.site-header .site-nav a {
  color: #1a1a1a;
}
.site-header .site-nav a:hover,
.site-header .site-nav a:focus-visible {
  color: var(--accent);
}
.site-header .button-ghost {
  color: #1a1a1a;
  border-color: rgba(84, 102, 112, 0.3);
  background: transparent;
}
.site-header .button-ghost:hover,
.site-header .button-ghost:focus-visible {
  border-color: var(--accent);
  background: rgba(218, 128, 111, 0.08);
  color: var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
}

.brand-text {
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(84, 102, 112, 0.3);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #1a1a1a;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(218, 128, 111, 0.28);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover,
.button-ghost:hover,
.button-secondary:focus-visible,
.button-ghost:focus-visible {
  border-color: rgba(218, 128, 111, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.hero-section {
  position: relative;
  min-height: calc(100svh - 88px);
  display: flex;
  align-items: stretch;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-video,
.hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-video {
  filter: blur(1px) brightness(0.88) contrast(1.02);
  transform: scale(1.05);
  transform-origin: center;
}

.hero-fallback {
  display: none;
  filter: brightness(0.85) contrast(1.04);
}

.hero-overlay {
  background:
    radial-gradient(circle at center, transparent 58%, rgba(5, 5, 5, 0.12) 100%),
    linear-gradient(
      to right,
      rgba(5, 5, 5, 0.92) 0%,
      rgba(5, 5, 5, 0.78) 30%,
      rgba(5, 5, 5, 0.52) 60%,
      rgba(5, 5, 5, 0.22) 85%,
      rgba(5, 5, 5, 0.05) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
  gap: 40px;
  align-items: end;
  padding-top: 88px;
  padding-bottom: 80px;
}

.hero-copy {
  max-width: 720px;
  padding-right: 12px;
  color: #f7f3ec;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.eyebrow,
.section-kicker,
.panel-label,
.card-index,
.step-number,
.footer-title {
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.intro-grid h2,
.trust-copy h2,
.cta-band h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-top: 16px;
  font-size: clamp(3.1rem, 5.4vw, 4.8rem);
  line-height: 0.97;
  font-weight: 700;
}

.hero-description {
  max-width: 34rem;
  margin-top: 22px;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-aside {
  display: flex;
  justify-content: flex-end;
}

.hero-panel {
  width: 100%;
  padding: 24px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background: rgba(14, 21, 24, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel-intro {
  margin-top: 2px;
  color: var(--muted);
  line-height: 1.65;
}

.panel-divider {
  width: 100%;
  height: 1px;
  margin: 16px 0 4px;
  background: rgba(84, 102, 112, 0.3);
}

.hero-metric {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-metric:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-metric span,
.section-heading p,
.intro-text,
.solution-card p,
.process-step p,
.reason-block p,
.trust-copy p,
.trust-stats span,
.footer-copy,
.footer-column span {
  color: var(--muted);
}

.hero-metric strong {
  font-size: 1.08rem;
  font-weight: 600;
}

.intro-strip {
  position: relative;
  padding: 34px 0 22px;
  background: linear-gradient(180deg, rgba(16, 26, 29, 0.32), rgba(16, 26, 29, 0));
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  gap: 42px;
  align-items: start;
}

.intro-grid h2 {
  max-width: 14ch;
  margin-top: 10px;
  font-size: clamp(2.05rem, 3.35vw, 2.8rem);
  line-height: 1;
}

.intro-text {
  padding-top: 28px;
  font-size: 0.98rem;
  line-height: 1.8;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.trust-copy h2,
.cta-band h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
  font-weight: 700;
}

.section-heading p,
.trust-copy p {
  max-width: 42rem;
  margin-top: 14px;
  font-size: 0.98rem;
  line-height: 1.72;
}

.section-solutions {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 18, 20, 1), rgba(15, 22, 26, 0.96));
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.solution-card {
  min-height: 270px;
  padding: 28px 24px;
  border: 1px solid rgba(84, 102, 112, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 200ms ease;
}

.solution-card:hover {
  border-color: rgba(218, 128, 111, 0.3);
}

.solution-card h3,
.process-step h3,
.reason-block h3 {
  margin-top: 22px;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.2;
}

.solution-card p,
.process-step p,
.reason-block p {
  margin-top: 12px;
  line-height: 1.7;
}

.section-process {
  background: linear-gradient(180deg, rgba(16, 26, 29, 0.92), rgba(14, 21, 24, 0.88));
  border-top: 1px solid rgba(84, 102, 112, 0.12);
  border-bottom: 1px solid rgba(84, 102, 112, 0.12);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: 36px;
}

.sticky-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-steps {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(84, 102, 112, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.step-number {
  color: var(--accent);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.reason-block {
  padding: 26px 24px;
  border: 1px solid rgba(218, 128, 111, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(218, 128, 111, 0.05);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.reason-block:hover {
  transform: translateY(-4px);
  border-color: rgba(228, 150, 131, 1);
  background: rgba(228, 150, 131, 0.22);
  box-shadow: 0 12px 32px rgba(218, 128, 111, 0.35), 0 0 0 1px rgba(228, 150, 131, 0.5);
}
.reason-block:hover h3 { color: #fff; }
.reason-block:hover p { color: rgba(255, 255, 255, 0.92); }

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.trust-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

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

.trust-stats article {
  display: grid;
  gap: 8px;
  padding: 20px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(84, 102, 112, 0.18);
}

.trust-stats strong {
  font-size: 1.65rem;
  font-weight: 700;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.logo-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(84, 102, 112, 0.18);
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.03);
}

.section-cta {
  padding-top: 26px;
  padding-bottom: 96px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-border-strong);
  background: rgba(218, 128, 111, 0.07);
}

.cta-band h2 {
  max-width: 16ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 0 0 48px;
  background: linear-gradient(180deg, rgba(16, 26, 29, 0.22), rgba(12, 18, 20, 0));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(84, 102, 112, 0.18);
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-copy {
  max-width: 28ch;
  line-height: 1.8;
}

.footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-column a,
.footer-column span {
  font-size: 0.95rem;
}

.footer-legal {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(84, 102, 112, 0.12);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--soft);
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* HubSpot form styling */
.hs-form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hs-form-field input,
.hs-form-field select,
.hs-form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(84, 102, 112, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  transition: border-color 180ms ease;
}

.hs-form-field input:focus,
.hs-form-field select:focus,
.hs-form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
  box-shadow: 0 10px 24px rgba(218, 128, 111, 0.28);
}

.hs-button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.hs-error-msgs {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: #f87171;
}

@media (max-width: 1080px) {
  .hero-inner,
  .intro-grid,
  .process-layout,
  .trust-grid,
  .footer-grid,
  .solutions-grid,
  .reason-grid,
  .trust-stats,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-inner {
    align-items: start;
    padding-top: 68px;
  }

  .sticky-heading {
    position: static;
  }

  .cta-band {
    align-items: start;
    flex-direction: column;
  }

  .footer-copy,
  .cta-band h2,
  .intro-grid h2,
  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
  }

  .site-header.nav-open .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(84, 102, 112, 0.18);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav a {
    padding: 14px 28px;
  }

  .header-inner {
    min-height: 76px;
  }

  .hero-inner,
  .section,
  .section-cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 12vw, 3.7rem);
  }

  .hero-video {
    display: none;
  }

  .hero-fallback {
    display: block;
  }

  .hero-description,
  .section-heading p,
  .intro-text,
  .solution-card p,
  .process-step p,
  .reason-block p,
  .trust-copy p {
    line-height: 1.7;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .trust-panel,
  .cta-band {
    padding: 24px;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-fallback {
    display: block;
  }
}

/* =========================================================
   Brand logo (SVG embed)
   "UNO" portion uses currentColor — inherit from parent.
   "Capital" portion is fixed coral via inline fill in the SVG.
   ========================================================= */
.brand-logo {
  display: inline-block;
  height: 44px;
  width: auto;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.22));
  transition: opacity 200ms ease, filter 200ms ease;
}
.brand-logo:hover {
  opacity: 0.92;
  filter: drop-shadow(0 4px 14px rgba(218, 128, 111, 0.35));
}
.footer-brand .brand-logo {
  height: 36px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
@media (max-width: 720px) {
  .brand-logo { height: 36px; }
}

/* =========================================================
   Coral impact additions (per Chris's feedback — more colour pop)
   ========================================================= */

/* 1. Section kickers — already use --accent-bright, bump weight */
.eyebrow,
.section-kicker,
.panel-label,
.footer-title {
  color: var(--accent);
}

/* 2. Card indices and step numbers — larger and bolder for visual weight */
.card-index,
.step-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

/* 3. Solution / reason / process card hover — coral border */
.solution-card,
.reason-block,
.process-step {
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}
.solution-card:hover,
.reason-block:hover,
.process-step:hover {
  border-color: rgba(218, 128, 111, 0.5);
  background: rgba(218, 128, 111, 0.05);
}

/* 4. Primary CTA — slightly stronger coral shadow + subtle inner glow */
.button-primary {
  box-shadow: 0 12px 28px rgba(218, 128, 111, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.button-primary:hover {
  box-shadow: 0 14px 32px rgba(218, 128, 111, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* 5. Footer links — coral hover */
.footer-column a,
.site-nav a {
  transition: color 180ms ease;
}
.footer-column a:hover,
.site-nav a:hover {
  color: var(--accent);
}

/* 6. Values section — bump tint for more presence */
.section-values {
  background: linear-gradient(180deg, rgba(218, 128, 111, 0.07), rgba(218, 128, 111, 0.03)) !important;
  border-top: 1px solid rgba(218, 128, 111, 0.2) !important;
  border-bottom: 1px solid rgba(218, 128, 111, 0.2) !important;
}
.value-card {
  background: rgba(218, 128, 111, 0.06) !important;
  border-color: rgba(218, 128, 111, 0.25) !important;
}
.value-card:hover {
  background: rgba(218, 128, 111, 0.1) !important;
  border-color: rgba(218, 128, 111, 0.4) !important;
}
