/*
  ARANGER, Inc. v2
  Modern corporate newspeak theme. Blue, graphite, white. No beige. No serif fonts.
*/

:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --ink: #0f172a;
  --muted: #5f6f83;
  --muted-2: #8291a6;
  --line: #dbe4ee;
  --navy: #0f172a;
  --blue: #2563eb;
  --blue-2: #38bdf8;
  --cyan: #67e8f9;
  --green: #16a34a;
  --red: #b42318;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.11);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shell: 1140px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.12), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(56, 189, 248, 0.16), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 48%, #edf3fa 100%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 70%);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #1d4ed8;
}

.shell {
  width: min(var(--shell), calc(100% - 42px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -10rem;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 800;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(219, 228, 238, 0.85);
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  font-weight: 900;
}

.brand-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--navy), #1e3a8a 55%, var(--blue));
  color: white;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.24);
}

.brand-name {
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3.2rem, 7vw, 5.8rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--cyan);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 14.5ch;
  font-size: clamp(2.9rem, 5.6vw, 5.35rem);
}

.lede {
  max-width: 64ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.55vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.1rem;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.22);
}

.button:hover,
.button:focus-visible {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: white;
}

.button-secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface-2);
  border-color: #cbd8e6;
  color: var(--ink);
}

.dashboard-card {
  border: 1px solid rgba(219, 228, 238, 0.9);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(238,243,248,0.86));
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2.4vw, 1.55rem);
  overflow: hidden;
  position: relative;
}

.dashboard-card::after {
  content: "";
  position: absolute;
  right: -7rem;
  top: -7rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37,99,235,0.18), transparent 70%);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.dashboard-header span,
.metric-grid span {
  color: var(--muted-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dashboard-header strong {
  color: var(--green);
  font-size: 0.9rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-block: 1rem;
}

.metric-grid div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
}

.metric-grid strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.progress-list {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.progress-list span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--blue), var(--blue-2)) 0 0 / var(--w) 100% no-repeat,
    #dce7f3;
}

.logo-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.1rem;
  overflow-x: auto;
  color: var(--muted-2);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(3rem, 5.5vw, 5rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 1.4rem;
}

.section h2 {
  font-size: clamp(2rem, 3.7vw, 3.65rem);
}

.section-heading p:not(.eyebrow),
.approach-copy,
.insight-card p,
.contact-copy p,
.card p {
  color: var(--muted);
}

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

.card,
.insight-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow);
}

.card {
  min-height: 250px;
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 2rem;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--blue);
  font-size: 1.3rem;
  font-weight: 900;
}

.card h3,
.insight-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.card p,
.insight-card p {
  margin: 0;
}

.section-dark {
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.2), transparent 32rem),
    linear-gradient(135deg, #0f172a, #111f3f 55%, #172554);
  color: white;
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.approach-copy {
  color: #cbd5e1;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.approach-copy p {
  margin-top: 0;
}

.insight-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-auto-rows: minmax(190px, auto);
  gap: 1rem;
}

.insight-card {
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.insight-card.primary {
  grid-row: span 3;
  display: grid;
  align-content: end;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.92), rgba(30,58,138,0.92)),
    var(--navy);
  color: white;
}

.insight-card.primary h2 {
  color: white;
}

.insight-card.primary p {
  color: #cbd5e1;
  font-size: 1.08rem;
}

.stat {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

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

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 850;
}

label span {
  font-size: 0.88rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd8e6;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 0.9rem 1rem;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-notice {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 800;
}

.form-notice.success {
  color: #166534;
  border: 1px solid rgba(22, 101, 52, 0.25);
  background: rgba(22, 163, 74, 0.1);
}

.form-notice.error {
  color: var(--red);
  border: 1px solid rgba(180, 35, 24, 0.25);
  background: rgba(180, 35, 24, 0.08);
}

.site-footer {
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.48);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 920px) {
  .hero,
  .section-heading,
  .approach-grid,
  .insight-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .card-icon {
    margin-bottom: 1.4rem;
  }

  .insight-card.primary {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    inset: 78px 21px auto 21px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.97);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem;
  }

  .field-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }
}

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

  .brand-name {
    font-size: 0.95rem;
  }

  .hero {
    padding-block: 3.2rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.1rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}


/* v3 heading refinements */
.approach-grid h2 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 4.35vw, 4rem);
  line-height: 1.02;
}

.insight-card.primary h2 {
  font-size: clamp(2.15rem, 4vw, 3.8rem);
}

@media (min-width: 1100px) {
  .hero {
    min-height: calc(100vh - 78px);
  }

  .hero h1 {
    font-size: clamp(3.2rem, 5vw, 5.15rem);
  }
}
