:root {
  color-scheme: light dark;
  --canvas: light-dark(#f7f7f4, #111512);
  --surface: light-dark(#ffffff, #191f1b);
  --surface-soft: light-dark(#edf1eb, #222a24);
  --ink: light-dark(#17231c, #f1f4ef);
  --muted: light-dark(#5c685f, #b3beb5);
  --line: light-dark(#d9e0d8, #354239);
  --accent: light-dark(#216b4a, #7dd5a4);
  --accent-ink: light-dark(#ffffff, #102217);
  --highlight: light-dark(#dcece0, #233b2d);
  --warning: light-dark(#fff2d9, #46371e);
  --shadow: 0 18px 50px rgba(18, 36, 24, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

#app {
  min-height: 100vh;
  background-color: var(--canvas);
  border-radius: 0;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
  font-size: 1.18rem;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--accent);
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  padding: 12px 17px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.nav-cta {
  padding: 10px 14px;
  font-size: .88rem;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
  opacity: .94;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

main {
  min-height: 70vh;
}

.page {
  display: none;
  animation: enter .22s ease;
}

.page.active {
  display: block;
}

@keyframes enter {
  from {
    opacity: .5;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero {
  padding: 86px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.13fr .87fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .13em;
  font-size: .75rem;
  margin: 0 0 18px;
}

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

h1 {
  font-size: clamp(2.6rem, 5vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -.065em;
  max-width: 750px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.lead {
  color: var(--muted);
  font-size: 1.14rem;
  max-width: 650px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 20px;
}

.microcopy {
  color: var(--muted);
  font-size: .84rem;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--highlight);
  color: var(--accent);
  padding: 5px 10px;
  font-size: .75rem;
  font-weight: 800;
}

.audit-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 13px 0;
}

.audit-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 800;
}

.audit-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--surface-soft);
}

.section-head {
  max-width: 700px;
  margin-bottom: 32px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.04rem;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  padding-left: 19px;
  margin-bottom: 0;
}

.card li {
  margin: 8px 0;
}

.card .num {
  color: var(--accent);
  font-weight: 850;
  font-size: .78rem;
  letter-spacing: .1em;
  margin-bottom: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.step {
  padding: 21px;
  border-top: 2px solid var(--accent);
  background: var(--surface);
  border-radius: 0 0 12px 12px;
}

.step .num {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .92rem;
}

.cta-band {
  background: var(--highlight);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta-band p {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 610px;
}

.page-hero {
  padding: 68px 0 40px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  max-width: 850px;
}

.section-bottom {
  padding-bottom: 70px;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.service-title {
  font-size: 1.55rem;
}

.list-label {
  font-size: .76rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 850;
  margin: 20px 0 8px;
}

.note {
  background: var(--warning);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  color: var(--ink);
}

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

.note-spaced {
  margin-top: 20px;
}

.case-box {
  border: 1px dashed var(--line);
  background: var(--surface);
  border-radius: 16px;
  padding: 38px;
}

.case-status {
  font-weight: 800;
  color: var(--accent);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.case-title {
  font-size: 1.8rem;
}

.case-details {
  margin-top: 28px;
}

.muted-copy {
  color: var(--muted);
}

/* Founder portrait */
.founder-photo-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.founder-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 540px;
  object-fit: cover;
  object-position: center 35%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

/* LinkedIn profile button */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 750;
  transition:
    transform .15s ease,
    border-color .15s ease,
    background-color .15s ease;
}

.linkedin-link:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: var(--surface-soft);
}

.linkedin-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.linkedin-link svg {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: #0a66c2;
}

.linkedin-arrow {
  color: var(--muted);
  font-size: 1rem;
  margin-left: 2px;
}

.profile-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.credential {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.credential strong {
  display: block;
  margin-bottom: 4px;
}

.credential span {
  color: var(--muted);
}

.credential-note {
  margin-top: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.contact-title {
  font-size: 1.65rem;
}

form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: .87rem;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--canvas);
  color: var(--ink);
  outline-offset: 2px;
}

textarea {
  min-height: 115px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent);
}

.form-foot {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-message {
  display: none;
  color: var(--accent);
  font-weight: 700;
  margin: 16px 0 0;
}

.form-message.show {
  display: block;
}

.form-disclaimer {
  margin-top: 16px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: .85rem;
}

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

footer a {
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

  .hero {
    padding-top: 58px;
  }

  .founder-photo-wrap {
    max-width: 480px;
  }

  .founder-photo {
    aspect-ratio: 4 / 4.2;
    max-height: 520px;
  }
}

@media (max-width: 650px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 68px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .brand {
    font-size: 1rem;
    gap: 8px;
    white-space: normal;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
  }

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

  .nav-links a {
    padding: 11px 4px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 46px 0;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.6rem);
  }

  .grid-3,
  .grid-2,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

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

  .hero-panel,
  form,
  .case-box {
    padding: 22px;
  }

  .field.full {
    grid-column: auto;
  }

  .founder-photo-wrap {
    width: 100%;
    max-width: 100%;
  }

  .founder-photo {
    width: 100%;
    max-height: 560px;
    aspect-ratio: 4 / 5;
  }

  .linkedin-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}