:root {
  --navy: #103a6d;
  --deep: #082956;
  --blue: #2384e8;
  --sea: #66bfb3;
  --mist: #f6f9fc;
  --sand: #efe6d8;
  --ink: #172033;
  --slate: #516073;
  --white: #ffffff;
  --line: rgba(16, 58, 109, 0.12);
  --shadow: 0 18px 48px rgba(16, 58, 109, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

h1,
h2,
h3 {
  color: var(--deep);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.08;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  min-height: 88px;
  padding: 16px clamp(24px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 170px;
  border-radius: var(--radius);
}

.nav-links {
  display: flex;
  gap: 30px;
  justify-content: center;
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links .active::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  color: var(--white);
  background: linear-gradient(135deg, #0876e8, var(--blue));
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(35, 132, 232, 0.22);
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(35, 132, 232, 0.28);
}

.button-small {
  min-height: 44px;
  padding: 0 26px;
}

.button-outline {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
  box-shadow: none;
}

.centered {
  display: flex;
  width: max-content;
  margin: 26px auto 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  min-height: 540px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 47%, rgba(246, 249, 252, 0.4) 62%, rgba(102, 191, 179, 0.18) 100%),
    var(--mist);
}

.hero::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 132px;
  content: "";
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 150' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='waveGradient' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23d3edff'/%3E%3Cstop offset='.52' stop-color='%23ccecff'/%3E%3Cstop offset='1' stop-color='%2366BFB3'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 84C174 137 330 139 518 110C704 82 827 64 1018 96C1215 129 1348 94 1440 28V150H0Z' fill='%23ffffff'/%3E%3Cpath d='M-10 59C178 120 326 123 520 92C704 63 827 46 1018 80C1216 115 1348 80 1450 10L1450 31C1348 100 1216 137 1018 103C827 70 704 87 520 116C326 147 178 145 -10 84Z' fill='url(%23waveGradient)' opacity='.82'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 620px;
  padding: 56px 0 96px clamp(24px, 5vw, 64px);
}

.hero h1 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 4.4vw, 4.35rem);
  font-weight: 850;
}

.script {
  margin-bottom: 26px;
  color: #2caaa5;
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-style: italic;
  line-height: 1.3;
}

.hero-copy > p:not(.script) {
  max-width: 580px;
  margin-bottom: 28px;
  color: #25354d;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 610px;
}

.trust-row div {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  align-items: center;
}

.line-icon {
  grid-row: span 2;
  width: 34px;
  height: 40px;
  object-fit: contain;
}

.trust-row strong {
  color: var(--deep);
  line-height: 1.1;
}

.trust-row small {
  color: var(--slate);
  font-size: 0.82rem;
}

.hero-image {
  position: relative;
  z-index: 1;
  min-height: 520px;
  background: linear-gradient(90deg, rgba(246, 249, 252, 0.2), rgba(246, 249, 252, 0.86));
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}

.projects,
.process,
.about-cta {
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
}

section {
  scroll-margin-top: 104px;
}

#top {
  position: absolute;
  top: 0;
}

.section-heading {
  margin-bottom: 24px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.section-heading p {
  margin-bottom: 0;
  color: #26364d;
}

.projects {
  padding: 52px 0 34px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.project-grid article {
  text-align: center;
}

.project-grid a {
  display: block;
}

.project-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 14px;
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(16, 58, 109, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.project-grid a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(16, 58, 109, 0.24);
}

.project-grid h3 {
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.project-grid p {
  margin-bottom: 0;
  color: #26364d;
  font-size: 0.9rem;
}

.pricing {
  position: relative;
  width: min(1200px, calc(100% - 56px));
  margin: 26px auto 0;
  overflow: hidden;
  padding: 20px 24px 42px;
  background: linear-gradient(135deg, #eef8ff, #f8fdff 55%, #e8f7f4);
  border-radius: var(--radius);
}

.pricing::after {
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 390px;
  height: 205px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 420 220' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='76' cy='72' r='20' fill='%23F5C86A' opacity='.85'/%3E%3Cpath d='M5 154C64 115 129 108 205 125C277 141 338 129 417 76V220H5Z' fill='%2366BFB3' opacity='.68'/%3E%3Cpath d='M0 177C70 140 135 137 213 151C291 166 351 145 420 104V220H0Z' fill='%232384E8' opacity='.25'/%3E%3Cpath d='M20 170C95 126 162 126 235 143C306 159 360 139 420 101' fill='none' stroke='%23ffffff' stroke-width='7' stroke-linecap='round' opacity='.9'/%3E%3Cpath d='M98 190C161 157 220 158 281 170C336 181 378 168 420 144' fill='none' stroke='%23ffffff' stroke-width='5' stroke-linecap='round' opacity='.72'/%3E%3Cpath d='M176 88C184 82 193 82 201 88C209 82 218 82 226 88' fill='none' stroke='%2366BFB3' stroke-width='3' stroke-linecap='round' opacity='.7'/%3E%3Cpath d='M132 101C139 96 147 96 154 101C161 96 169 96 176 101' fill='none' stroke='%232384E8' stroke-width='3' stroke-linecap='round' opacity='.42'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  opacity: 0.86;
}

.pricing-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  width: min(560px, 100%);
  margin: 24px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-box {
  padding: 30px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.price-box h3 {
  margin-bottom: 12px;
}

.price {
  margin-bottom: 10px;
  color: var(--deep);
  font-weight: 900;
}

.price span {
  color: var(--blue);
  font-size: 4.7rem;
  line-height: 1;
}

.price-box p:not(.price) {
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  align-content: center;
  margin: 0;
  padding: 30px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #26364d;
  font-size: 0.96rem;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: #27a5a2;
  font-weight: 900;
}

.process {
  padding: 44px 0 38px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  text-align: center;
}

.process-grid article {
  position: relative;
}

.process-grid article:not(:last-child)::after {
  position: absolute;
  top: 34px;
  right: -22px;
  width: 22px;
  content: "···";
  color: #9fb4c6;
  letter-spacing: 0.12em;
}

.process-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  object-fit: contain;
  border-radius: 50%;
}

.process-grid h3 {
  font-size: 0.98rem;
}

.process-grid p {
  margin-bottom: 0;
  color: #26364d;
  font-size: 0.92rem;
}

.about-cta {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 54px;
  padding: 28px;
  background: linear-gradient(135deg, #eef8ff, #f8fdff);
  border-radius: var(--radius);
}

.founder-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-content: start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.founder-note img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

.founder-note h2,
.ready-box h2 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.founder-note p,
.ready-box p {
  margin-bottom: 0;
  color: #26364d;
}

.ready-box {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(16, 58, 109, 0.09);
}

.ready-box .button {
  margin-top: 16px;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-honey {
  display: none;
}

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

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(16, 58, 109, 0.18);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 132, 232, 0.14);
}

.lead-form .button {
  justify-self: start;
  margin-top: 2px;
  border: 0;
  cursor: pointer;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #072851;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 64px;
  align-items: start;
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
  padding: 40px 0 34px;
}

.footer-brand img {
  width: 185px;
  margin-bottom: 14px;
  border-radius: var(--radius);
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

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

  .hero-copy {
    max-width: none;
    padding-right: clamp(24px, 5vw, 64px);
  }

  .hero-image {
    min-height: 360px;
  }

  .project-grid,
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-cta {
    grid-template-columns: 1fr;
  }

  .ready-box {
    padding: 24px;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 14px;
    min-height: 76px;
    padding: 12px 14px;
  }

  .brand img {
    width: 140px;
  }

  .button-small {
    min-height: 40px;
    padding: 0 18px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-copy {
    display: contents;
  }

  .hero h1,
  .script,
  .hero-copy > p:not(.script),
  .hero-actions,
  .trust-row {
    width: calc(100% - 28px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero h1 {
    order: 1;
    margin-top: 42px;
  }

  .hero-image {
    order: 2;
  }

  .script {
    order: 3;
    margin-top: 28px;
    font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
    font-style: normal;
    font-weight: 700;
  }

  .hero-copy > p:not(.script) {
    order: 4;
  }

  .hero-actions {
    order: 5;
  }

  .trust-row {
    order: 6;
    margin-bottom: 70px;
  }

  .hero-actions,
  .trust-row,
  .form-row,
  .pricing-card,
  .about-cta,
  .founder-note,
  .ready-box {
    grid-template-columns: 1fr;
  }

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

  .trust-row {
    gap: 14px;
  }

  .hero-image {
    min-height: 300px;
  }

  .projects,
  .process,
  .about-cta,
  .pricing,
  .footer-inner,
  .footer-bottom {
    width: calc(100% - 28px);
  }

  .project-grid,
  .process-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .process-grid article::after {
    display: none;
  }

  .pricing {
    padding: 22px 14px 36px;
  }

  .pricing::after {
    opacity: 0.34;
  }

  .price-box {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-cta {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}
