:root {
  color-scheme: light;
  --background: #f6f7f9;
  --surface: #fff;
  --surface-soft: #eef1f5;
  --border: #dfe3e9;
  --text: #182230;
  --muted: #566171;
  --subtle: #707a88;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --content-width: 1180px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.container {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

img,
svg {
  max-width: 100%;
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(246, 247, 249, .96);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 76px;
  align-items: center;
  gap: 28px;
}

.wordmark {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -.045em;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
}

.desktop-nav a,
.mobile-menu nav a {
  color: var(--muted);
  font-size: .94rem;
  text-decoration: none;
  transition: color .18s ease;
}

.desktop-nav a:hover,
.mobile-menu nav a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: .96rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .22);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.button:hover {
  border-color: var(--blue-hover);
  background: var(--blue-hover);
  box-shadow: 0 5px 12px rgba(37, 99, 235, .18);
  transform: translateY(-1px);
}

.button:active {
  box-shadow: none;
  transform: translateY(0);
}

.button-outline {
  border-color: #c8d0dc;
  background: var(--surface);
  color: var(--text);
  box-shadow: none;
}

.button-outline:hover {
  border-color: #aebbd0;
  background: var(--surface-soft);
  color: var(--text);
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 8px 15px;
  font-size: .9rem;
}

.header-cta {
  justify-self: end;
}

.mobile-menu {
  display: none;
}

.hero {
  padding: clamp(64px, 8vw, 104px) 0 80px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: .79rem;
  font-weight: 650;
  letter-spacing: .015em;
  line-height: 1.5;
}

.eyebrow span,
.contact-location span,
.footer-inner > p span {
  color: var(--subtle);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  max-width: 15ch;
  margin-bottom: 19px;
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  font-weight: 670;
  letter-spacing: -.06em;
  line-height: 1.08;
}

.hero-lead {
  max-width: 570px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  align-items: center;
}

[hidden] {
  display: none !important;
}

.button span {
  transition: transform .18s ease;
}

.button:hover span {
  transform: translateX(2px);
}

.button-ghost {
  border-color: transparent;
  background: var(--surface-soft);
  color: var(--text);
  box-shadow: none;
}

.button-ghost:hover {
  border-color: transparent;
  background: #e1e6ee;
  box-shadow: none;
}

.button-ghost span {
  color: var(--blue);
}

.site-illustration {
  min-width: 0;
}

.browser-window {
  overflow: hidden;
  border: 1px solid #d8dde5;
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(24, 34, 48, .08);
  transform: rotate(1deg);
}

.browser-bar {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #fbfcfd;
}

.browser-bar {
  position: relative;
}

.browser-dots {
  position: absolute;
  left: 15px;
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5ccd6;
}

.browser-address {
  padding: 3px 20px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--subtle);
  font-size: .68rem;
}

.mock-site {
  min-height: 275px;
  padding: 19px 24px 0;
  background: #fff;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #edf0f3;
}

.mock-brand {
  color: var(--text);
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .06em;
}

.mock-links {
  color: var(--subtle);
  font-size: .6rem;
  white-space: nowrap;
}

.mock-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 37px 8px 20px;
}

.mock-overline {
  color: var(--blue);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.mock-content strong {
  margin-top: 9px;
  color: #182230;
  font-size: clamp(1.15rem, 2.1vw, 1.8rem);
  letter-spacing: -.045em;
  line-height: 1.2;
}

.mock-copy-line {
  width: min(82%, 270px);
  height: 5px;
  margin-top: 12px;
  border-radius: 5px;
  background: #e6eaf0;
}

.mock-copy-short {
  width: min(58%, 190px);
  margin-top: 7px;
}

.mock-action {
  margin-top: 17px;
  padding: 7px 11px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
}

.mock-footer {
  padding: 10px 8px;
  border-top: 1px solid #edf0f3;
  color: var(--subtle);
  font-size: .6rem;
}

.illustration-caption {
  margin: 13px 0 0;
  color: var(--subtle);
  font-size: .82rem;
  text-align: right;
}

.section {
  padding: 82px 0;
}

.services-section {
  padding-top: 18px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: 1.16;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(23px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.service:hover {
  border-color: #bdcbe1;
  box-shadow: 0 9px 24px rgba(24, 34, 48, .07);
  transform: translateY(-2px);
}

.service-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d8e3f7;
  border-radius: 11px;
  background: #f2f6ff;
  color: var(--blue);
}

.service-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.35;
}

.service p {
  margin-bottom: 15px;
  color: var(--muted);
  line-height: 1.68;
}

.service .service-examples {
  margin: auto 0 0;
  padding-top: 16px;
  color: var(--subtle);
  font-size: .87rem;
  line-height: 1.6;
}

.service-examples span {
  padding-inline: 3px;
  color: #9aa3b0;
}

.developing-label {
  color: var(--blue) !important;
  font-size: .82rem !important;
  font-weight: 600;
}

.service-developing {
  background: #fdfdfe;
}

.about-section {
  border-block: 1px solid var(--border);
  background: #eef1f5;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(38px, 8vw, 110px);
}

.about-layout .section-heading {
  margin: 0;
}

.about-copy p {
  max-width: 68ch;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.about-copy p:last-child {
  margin-bottom: 0;
  color: var(--text);
}

.start-section {
  padding: 46px 0;
}

.start-inner {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr);
  align-items: baseline;
  gap: clamp(38px, 8vw, 110px);
}

.start-inner h2 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.start-inner p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
}

.contact-section {
  padding: 74px 0 78px;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.contact-inner {
  max-width: 760px;
  margin-inline: auto;
}

.contact-inner h2 {
  max-width: 20ch;
  margin-bottom: 14px;
}

.contact-description {
  max-width: 67ch;
  margin-bottom: 24px;
  color: var(--muted);
}

.contact-location {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.site-footer {
  background: #eef1f5;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 88px;
  align-items: center;
  gap: 12px clamp(18px, 3vw, 38px);
}

.footer-area,
.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.footer-phone {
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-phone:hover {
  color: var(--blue);
}

.footer-copy {
  color: var(--subtle);
  text-align: right;
}

@media (max-width: 820px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: 30px;
  }

  h1 {
    font-size: clamp(2.45rem, 5.2vw, 3.6rem);
  }

  .mock-site {
    min-height: 250px;
    padding-inline: 16px;
  }

  .mock-content {
    padding-top: 29px;
  }

  .about-layout,
  .start-inner {
    gap: 32px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: min(var(--content-width), calc(100% - 36px));
  }

  .header-inner {
    display: flex;
    min-height: 66px;
    gap: 10px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    min-height: 39px;
    margin-left: auto;
    padding: 7px 11px;
    font-size: .82rem;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: grid;
    width: 40px;
    height: 40px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    display: grid;
    min-width: 180px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(24, 34, 48, .12);
  }

  .mobile-menu nav a {
    padding: 10px 12px;
  }

  .hero {
    padding: 57px 0 61px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .eyebrow {
    font-size: .76rem;
  }

  h1 {
    max-width: 16ch;
    font-size: clamp(2.55rem, 9.5vw, 3.7rem);
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .site-illustration {
    width: min(100%, 480px);
    margin-inline: auto;
  }

  .mock-site {
    min-height: 244px;
  }

  .services-section {
    padding-top: 10px;
  }

  .section {
    padding: 64px 0;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .service {
    padding: 23px;
  }

  .service:hover {
    transform: none;
  }

  .about-layout,
  .start-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }

  .about-section {
    padding-block: 58px;
  }

  .start-section {
    padding: 37px 0;
  }

  .contact-section {
    padding: 58px 0;
  }

  .contact-actions {
    align-items: stretch;
  }

  .contact-actions .button {
    flex: 1 1 auto;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-block: 17px;
    gap: 10px;
  }

  .footer-area {
    grid-column: 1;
    text-align: left;
  }

  .footer-phone {
    grid-column: 1;
  }

  .footer-copy {
    grid-column: 1;
    text-align: left;
  }
}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 30px);
  }

  .wordmark {
    font-size: 1.05rem;
  }

  .header-cta {
    padding-inline: 9px;
    font-size: .78rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex-basis: 100%;
  }

  .mock-header {
    gap: 6px;
  }

  .mock-links {
    font-size: .52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
