:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-muted: #4f5567;
  --ink-faint: #7d8894;
  --rule: #e5e7eb;
  --pill-bg: #f8f4e5;
  --pill-ink: #6b5c30;
  --accent: #ffd113;
  --accent-dark: #1f1f1f;
  --surface: #f9fafb;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max: 1100px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-gap: clamp(3rem, 6vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
  border-radius: 4px;
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cursor {
  display: inline-block;
  font-weight: 300;
  animation: blink 1s step-end infinite;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in.delay-1 { animation-delay: 0.12s; }
.fade-in.delay-2 { animation-delay: 0.18s; }
.fade-in.delay-3 { animation-delay: 0.24s; }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.72);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

nav.shrink {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: var(--font);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  transition: font-size 0.25s ease, transform 0.25s ease;
}

nav.shrink .logo {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--accent-dark);
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 25px rgba(255, 209, 19, 0.15);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(255, 209, 19, 0.2);
}

@media (max-width: 640px) {
  .nav-links { display: none; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pill-bg);
  color: var(--pill-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  line-height: 1.4;
}

.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--pill-ink);
  border-radius: 50%;
  opacity: 0.7;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.divider {
  border: none;
  height: 7px;
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 209, 19, 0.2) 0 2px,
    transparent 2px 4px,
    rgba(15, 23, 42, 0.14) 4px 5px,
    transparent 5px 8px
  );
  background-color: rgba(15, 23, 42, 0.03);
  margin: 2.5rem 0;
}

#hero {
  padding: clamp(4rem, 10vw, 8rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
}

.hero-pill { margin-bottom: 2rem; }

.hero-headline {
  font-size: clamp(2.8rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 14ch;
  margin-bottom: 1.75rem;
}

.hero-headline em {
  font-style: normal;
  color: var(--ink-muted);
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--ink-muted);
  max-width: 58ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 2rem;
  border-radius: 10px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hero-badges {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  border: 1px solid var(--rule);
  padding: 0.3rem 0.9rem;
  border-radius: 6px;
}

.section {
  padding: calc(var(--section-gap) / 1.2) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.section-head { margin-bottom: 2.4rem; }

.section-head .eyebrow { margin-bottom: 0.75rem; }

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  max-width: 22ch;
}

.section-title em { font-style: normal; color: var(--ink-muted); }

.section-lead {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 60ch;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.service-card {
  border-top: 1px solid var(--rule);
  padding: 1.6rem 0 2rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.7s ease forwards;
}

@media (min-width: 700px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(odd) {
    padding-right: 2.5rem;
    border-right: 1px solid var(--rule);
  }
  .service-card:nth-child(even) {
    padding-left: 2.5rem;
  }
}

.service-card:nth-child(1) { animation-delay: 0.18s; }
.service-card:nth-child(2) { animation-delay: 0.26s; }
.service-card:nth-child(3) { animation-delay: 0.34s; }
.service-card:nth-child(4) { animation-delay: 0.42s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.service-body {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

.process-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
  align-items: start;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.7s ease forwards;
}

.process-step:last-child { border-bottom: 1px solid var(--rule); }
.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.3s; }
.process-step:nth-child(3) { animation-delay: 0.4s; }

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

.diff-list { list-style: none; padding: 0; margin: 0; }

.diff-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
  align-items: start;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.65s ease forwards;
}

.diff-item:last-child { border-bottom: 1px solid var(--rule); }

.diff-arrow {
  font-size: 1rem;
  color: var(--ink-faint);
  padding-top: 0.18rem;
}

.diff-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.diff-text span {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-aside h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.contact-aside p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.contact-aside a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.1rem;
  transition: border-color 0.15s ease;
}

.contact-aside a:hover {
  border-color: var(--ink);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

input, textarea, select {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
  outline: none;
}

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

.form-btn {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  align-self: flex-start;
}

.form-btn:hover,
.form-btn:focus-visible {
  opacity: 0.95;
  transform: translateY(-1px);
}

.form-btn:focus-visible {
  outline: 3px solid rgba(255, 209, 19, 0.65);
  outline-offset: 3px;
}

.form-msg {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  display: none;
}

.form-msg.success {
  background: #f0faf4;
  color: #1a6b3a;
  border: 1px solid #b3ddc6;
  display: block;
}

.form-msg.error {
  background: #fff2f2;
  color: #8b1a1a;
  border: 1px solid #f0b3b3;
  display: block;
}

footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (max-width: 720px) {
  .hero-headline { font-size: clamp(2.4rem, 10vw, 4.8rem); }
  .nav-inner { height: 68px; }
  .nav-cta { padding: 0.55rem 1rem; }
}
