:root {
  color: #09090b;
  background: #fff;
  font: 16px/1.55 Inter, system-ui, sans-serif;
  --ink: #09090b;
  --muted: #52525b;
  --accent: #ffdd00;
  --line: #e4e4e7;
  --surface: #fafafa;
  --radius: 10px;
  --header-height: 81px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
html { scroll-padding-top: var(--header-height); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid #365fc0; outline-offset: 4px; }
img { max-width: 100%; display: block; }
.wrap { width: min(100% - 48px, 1352px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--accent);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  border-bottom: 1px solid #f4f4f5;
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; min-height: calc(var(--header-height) - 1px); align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { width: auto; height: 38px; max-width: 160px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.header nav > a:not(.button) { color: #3f3f46; font-size: .875rem; font-weight: 600; text-decoration: none; }
.header nav > a:not(.button):hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }
.mobile-menu { display: none; }

.hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding-block: clamp(110px, 18vh, 160px) clamp(64px, 13vh, 112px);
  text-align: center;
  background: radial-gradient(ellipse at top right, #f7faff, #fff 65%);
}
.hero-copy { animation: enter .36s ease-out both; }
h1, h2, h3 { font-family: 'Inter Tight', Inter, system-ui, sans-serif; letter-spacing: -.025em; }
h1 { max-width: 56rem; margin-inline: auto; font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; line-height: 1.12; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
.marker-highlight { position: relative; z-index: 0; display: inline-block; white-space: nowrap; }
.marker-highlight::before {
  position: absolute;
  z-index: -1;
  inset: 5% -4px;
  border-radius: 3px 18px 2px 14px / 14px 3px 16px 4px;
  background: var(--accent);
  transform: rotate(-1.2deg) skewX(-2.5deg);
  content: '';
}
.hero-copy p {
  max-width: 42rem;
  margin: 26px auto 36px;
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px clamp(16px, 3vw, 32px);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, border-color .18s, transform .18s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-dark { background: #000; color: #fff; box-shadow: 0 12px 24px rgb(0 0 0 / 10%); }
.button-dark:hover { background: #27272a; }
.button-outline { border-color: var(--line); color: #27272a; }
.button-outline:hover { border-color: var(--ink); background: var(--surface); }
.button-accent, .button-header { background: var(--accent); color: var(--ink); }
.button-accent:hover, .button-header:hover { background: #facc15; }
.button-header { min-height: 44px; padding: 8px 20px; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }

.project-section, .scope, .questions { padding-block: clamp(64px, 8vw, 112px); }
.project-section, .questions { border-top: 1px solid #f4f4f5; }
.project-grid, .questions {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  max-width: 1152px;
}
.project-copy p, .scope-grid p, details p { color: var(--muted); }
.project-copy p { max-width: 36ch; margin-top: 16px; }
.project-copy .project-type { margin-top: 10px; font-size: .875rem; font-weight: 600; }
.project-copy .button { margin-top: 26px; }
.project-preview-macbook {
  position: relative;
  display: block;
  padding-bottom: 2.4%;
  transition: transform .25s ease-out;
}
.project-preview-macbook:hover { transform: translateY(-3px); }
.macbook-screen {
  position: relative;
  display: block;
  width: 91%;
  margin-inline: auto;
  padding: 1.35% 1.1% 1.65%;
  overflow: hidden;
  border: 1px solid #56565b;
  border-bottom: 0;
  border-radius: 2.4% 2.4% 0 0 / 4.8% 4.8% 0 0;
  background: #17171b;
}
.macbook-screen::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 46%;
  width: 8%;
  height: 3.8%;
  border-radius: 0 0 5px 5px;
  background: #17171b;
  content: '';
}
.macbook-screen img { width: 100%; height: auto; border-radius: 4px 4px 0 0; }
.project-preview-macbook::before, .project-preview-macbook::after {
  position: absolute;
  inset: auto 0 0;
  content: '';
}
.project-preview-macbook::before {
  height: 4.7%;
  border-radius: 2px 2px 8% 8% / 2px 2px 65% 65%;
  background: linear-gradient(180deg, #afb1b8 0%, #d5d6dc 24%, #8d8f98 50%, #50525a 100%);
  box-shadow: 0 10px 18px -7px rgb(9 9 11 / 28%);
}
.project-preview-macbook::after {
  inset: auto 43% 2.35%;
  height: 1.55%;
  border-radius: 0 0 7px 7px;
  background: #979aa3;
}
.scope { background: #fcfaf8; }
.scope h2 { margin-bottom: clamp(28px, 5vw, 56px); text-align: center; }
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1152px; margin-inline: auto; }
.scope-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.scope-grid article:first-child { border-color: var(--ink); background: var(--ink); color: #fff; }
.scope-grid article:first-child p { color: #d4d4d8; }
.scope-grid p { margin-top: 10px; line-height: 1.65; }
.questions { align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; padding: 16px 0; font-weight: 700; }
.accordion summary::marker { color: #665600; }
.accordion p { padding: 0 0 18px 18px; }
.contact { background: var(--ink); color: #fff; padding-block: clamp(56px, 7vw, 88px); }
.contact-inner { display: flex; max-width: 1152px; align-items: center; justify-content: space-between; gap: 26px 42px; }
.contact h2 span { color: var(--accent); }
.contact p { margin-top: 14px; color: #a1a1aa; }
.contact .button { flex-shrink: 0; }
.footer { border-top: 1px solid #27272a; background: var(--ink); color: #a1a1aa; font-size: .875rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; padding-block: 32px 76px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer .wordmark { filter: brightness(0) invert(1); }
.footer a { text-decoration: none; }
.footer a:hover, .footer a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.wa-master-btn { position: fixed; bottom: max(1.5rem, env(safe-area-inset-bottom)); right: max(1.5rem, env(safe-area-inset-right)); z-index: 999; padding: .25rem; line-height: 0; transition: transform .22s ease; }
.wa-master-btn:hover { transform: scale(1.08); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@keyframes enter {
  from { opacity: .8; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1023px) {
  .desktop-nav, .button-header { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; min-width: 44px; min-height: 44px; place-items: center; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] summary { border-radius: var(--radius); background: var(--surface); }
  .mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 16px 24px 24px; border-block: 1px solid var(--line); background: #fff; box-shadow: 0 12px 25px rgb(0 0 0 / 8%); }
  .mobile-menu nav > a:not(.button) { display: flex; min-height: 44px; align-items: center; }
  .mobile-menu .button { margin-top: 8px; }
}

@media (max-width: 767px) {
  .wrap { width: calc(100% - 32px); }
  .project-grid, .scope-grid, .questions { grid-template-columns: 1fr; }
  .contact-inner { align-items: start; flex-direction: column; }
  .wa-master-btn { right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); }
  .wa-master-btn img { width: 54px; height: 54px; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(1.75rem, 8.5vw, 2.25rem); }
  .hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
