:root {
  --purple: #5c2a5d;
  --green: #56a23c;
  --ink: #34383e;
  --muted: #626970;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fbfcfd;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(rgba(109, 127, 145, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 127, 145, .055) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center top;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1000px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -80px; padding: 12px 20px; background: white; z-index: 5; }
.skip-link:focus { top: 15px; }
.header { display: flex; justify-content: center; padding-block: 52px 0; }
.brand { display: inline-flex; align-items: center; gap: 17px; text-decoration: none; }
.brand img { width: 90px; }
.brand-name { display: grid; gap: 5px; color: var(--purple); font-size: 35px; font-weight: 800; letter-spacing: .11em; line-height: 1; }
.brand-name span:last-child { color: var(--ink); font-size: 15px; letter-spacing: .47em; }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero { padding-block: 54px 48px; text-align: center; }
h1 { font-size: clamp(34px, 4vw, 46px); line-height: 1.2; letter-spacing: -.035em; font-weight: 700; color: var(--purple); margin: 0 0 20px; }
.intro { max-width: 540px; margin: 0 auto 28px; font-size: 18px; line-height: 1.7; }
.contact-actions { display: flex; justify-content: center; gap: 18px 28px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 50px; padding: 14px 20px; border-radius: 3px; text-decoration: none; font-size: 15px; font-weight: 700; transition: background .15s; }
.button-primary { background: var(--purple); color: white; }
.button-primary:hover { background: #442045; }
.email-address { color: var(--purple); font-size: 16px; text-underline-offset: 5px; text-decoration-color: #b3a3b6; }
.email-address:hover { text-decoration-color: var(--purple); }
.services-inner { padding-block: 0 18px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; gap: 16px 24px; text-align: center; }
.service-list li { font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer { padding-block: 40px 30px; text-align: center; }
.footer p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.footer a { color: var(--purple); text-underline-offset: 4px; }
.footer a:hover { text-decoration-thickness: 2px; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 44px); }
  .header { padding-top: 38px; }
  .brand img { width: 78px; }
  .brand-name { font-size: 31px; }
  .brand-name span:last-child { font-size: 13px; }
  .hero { padding-block: 44px 38px; }
  h1 { max-width: 480px; margin-inline: auto; }
  .intro { font-size: 17px; max-width: 420px; }
  .service-list { grid-template-columns: repeat(2, 1fr); gap: 13px 20px; }
  .service-list li:last-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 40px); }
  .brand { gap: 13px; }
  .brand img { width: 70px; }
  .brand-name { font-size: 28px; }
  .brand-name span:last-child { font-size: 12px; }
  h1 { font-size: 34px; }
  .intro { max-width: 320px; }
  .contact-actions { flex-direction: column; gap: 20px; }
  .service-list { grid-template-columns: 1fr; gap: 10px; }
  .service-list li { font-size: 14px; }
  .footer { padding-block: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
