:root {
  --blue-950: #082236;
  --blue-900: #0b2f49;
  --blue-800: #0b4f79;
  --blue-700: #08699f;
  --blue-600: #0782bf;
  --blue-100: #e7f5fb;
  --sand-50: #fbf7ef;
  --sand-100: #f3ecdf;
  --sand-200: #e7dccb;
  --ink: #14202a;
  --muted: #5d6b76;
  --line: rgba(11, 47, 73, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(8, 34, 54, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand-50);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  padding: 0.65rem 1rem;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section-muted {
  background:
    radial-gradient(circle at top left, rgba(7, 130, 191, 0.1), transparent 32rem),
    var(--sand-100);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: blur(18px);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(251, 247, 239, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--container));
  min-height: 82px;
  margin-inline: auto;
  gap: 1rem;
}

.brand img {
  width: 168px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--blue-950);
  font-size: 0.96rem;
  font-weight: 650;
}

.nav-menu a {
  opacity: 0.86;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--blue-700);
  opacity: 1;
}

.nav-cta {
  border: 1px solid rgba(8, 105, 159, 0.28);
  border-radius: 999px;
  background: var(--white);
  padding: 0.7rem 1rem;
  box-shadow: 0 10px 30px rgba(8, 34, 54, 0.08);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-950);
  padding: 0.62rem 0.9rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.hero::before {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(52vw, 700px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(7, 130, 191, 0.13);
  content: "";
  filter: blur(6px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.2rem;
  color: var(--blue-950);
  font-size: clamp(3rem, 7vw, 5.85rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 1.05rem;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 0.55rem;
  color: var(--blue-950);
  font-size: 1.16rem;
  line-height: 1.24;
}

p {
  color: var(--muted);
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 2rem;
  color: #40505d;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  background: var(--blue-800);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(8, 105, 159, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-700);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-950);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.hero-proof div {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
  padding: 0.95rem;
}

.hero-proof dt {
  color: var(--blue-800);
  font-size: 1.22rem;
  font-weight: 900;
}

.hero-proof dd {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-photo {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.3rem;
}

.problem-grid,
.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.problem-card,
.process article,
.solution-list article,
.contact-form,
.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(8, 34, 54, 0.07);
}

.problem-card {
  padding: 1.45rem;
}

.problem-card span,
.process span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-800);
  font-weight: 900;
}

.problem-card p,
.solution-list p,
.process p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.split > div:first-child {
  position: sticky;
  top: 120px;
  align-self: start;
}

.solution-list {
  display: grid;
  gap: 1rem;
}

.solution-list article {
  padding: 1.35rem;
}

.showcase {
  padding-top: 0;
}

.showcase-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.showcase-image img {
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.starter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.starter-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem;
}

.starter-grid strong,
.starter-grid span {
  display: block;
}

.starter-grid strong {
  color: var(--blue-950);
  font-size: 1rem;
}

.starter-grid span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.process article {
  padding: 1.35rem;
}

.about-card {
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(7, 130, 191, 0.18), transparent 64%),
    var(--white);
}

.about-card img {
  width: min(78%, 430px);
}

.about-card .portrait {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center top;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.values span {
  border: 1px solid rgba(8, 105, 159, 0.2);
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  padding: 0.55rem 0.85rem;
  font-weight: 850;
}

.contact-section {
  background:
    linear-gradient(rgba(8, 34, 54, 0.84), rgba(8, 34, 54, 0.84)),
    url("docs/photos/-post-ai-image-11623.png") center / cover;
}

.contact-section h2,
.contact-section .eyebrow {
  color: var(--white);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-grid {
  align-items: start;
}

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

.botcheck {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--blue-950);
  font-weight: 780;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(11, 47, 73, 0.18);
  border-radius: 16px;
  background: #fdfbf7;
  padding: 0.95rem 1rem;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(7, 130, 191, 0.12);
}

.contact-form .button {
  width: fit-content;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

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

.form-status {
  min-height: 1.4rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.form-status.is-success {
  color: #137a45;
}

.form-status.is-error {
  color: #a23b2d;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand img {
  width: 142px;
}

.footer p {
  max-width: 560px;
  margin: 0;
  text-align: right;
}

.footer-details {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.footer-details address {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  text-align: right;
}

.footer-details a {
  color: var(--blue-800);
  font-weight: 750;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .showcase-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split > div:first-child {
    position: static;
  }

  .hero-photo {
    height: clamp(360px, 58vw, 520px);
  }

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

  .showcase {
    padding-top: clamp(4rem, 8vw, 7.5rem);
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 72px;
  }

  .brand img {
    width: 138px;
  }

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

  .nav-menu {
    position: absolute;
    inset: 72px 1rem auto;
    display: grid;
    gap: 0.25rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.65rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
  }

  .nav-cta {
    border-radius: 14px;
    box-shadow: none;
  }

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

  .hero-proof,
  .problem-grid,
  .process,
  .starter-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .about-card {
    min-height: 300px;
  }

  .about-card .portrait {
    min-height: 360px;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .footer-details {
    justify-items: start;
  }

  .footer p,
  .footer-details address {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .container,
  .nav {
    width: min(100% - 1.25rem, var(--container));
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .button {
    width: 100%;
  }
}
