:root {
  --ink: #171a21;
  --ink-soft: #333842;
  --paper: #f5f5f1;
  --white: #ffffff;
  --line: #d9dbd3;
  --accent: #d4ff4f;
  --accent-deep: #a9d71d;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif; font-weight: 800; letter-spacing: -.02em; }
.brand-logo { width: 52px; height: 52px; display: block; object-fit: cover; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
nav { display: flex; gap: 30px; }
nav a { text-decoration: none; font-size: 15px; font-weight: 600; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 9px; background: var(--accent); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: 0 0 0 1px rgba(23,26,33,.08); transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #c8f33e; }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 14px; }

.hero { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; min-height: 680px; display: grid; grid-template-columns: 1.45fr .75fr; gap: 70px; align-items: center; padding: 80px 0; }
.eyebrow { margin: 0 0 18px; color: var(--ink-soft); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1,h2,h3 { font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif; line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 780px; margin: 0; font-size: clamp(3.4rem, 7vw, 6.5rem); font-weight: 800; }
h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.intro { max-width: 650px; margin: 30px 0 0; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--ink-soft); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 7px; }
.hero-panel { padding: 32px; border-radius: 20px; background: var(--ink); color: var(--white); transform: rotate(1.5deg); box-shadow: 14px 14px 0 var(--accent); }
.panel-label { color: var(--accent); font-size: 13px; text-transform: uppercase; font-weight: 700; letter-spacing: .1em; }
.panel-number { margin-top: 22px; font: 800 6rem/1 "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif; color: var(--accent); }
.panel-title { margin: 4px 0 25px; font: 700 1.1rem/1.35 "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif; }
.hero-panel ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid #3f444d; }
.hero-panel li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid #3f444d; font-size: 15px; }
.hero-panel li span { color: #858b96; font-size: 12px; }

.proof-strip { background: var(--accent); min-height: 70px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 30px; padding: 16px 24px; font: 700 14px/1 "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.proof-strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 70px; align-items: end; margin-bottom: 48px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.section-heading > p:last-child { margin: 0 0 6px; color: var(--ink-soft); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-card { min-height: 320px; padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.service-card.featured { background: var(--accent); border-color: var(--accent); }
.service-card.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.service-number { display: block; margin-bottom: 55px; font-size: 13px; font-weight: 700; opacity: .62; }
.service-card h3 { margin: 0 0 15px; font-size: 1.65rem; }
.service-card p { margin: 0; color: inherit; opacity: .78; }
.service-card ul { margin: 22px 0 0; padding-left: 20px; font-size: 15px; }

.workflow { border-top: 1px solid var(--line); }
.section-heading.compact { display: block; max-width: 720px; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; }
.steps li { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps > li > span { font-weight: 700; color: var(--accent-deep); }
.steps h3 { margin: 0 0 8px; font-size: 1.5rem; }
.steps p { max-width: 700px; margin: 0; color: var(--ink-soft); }

.about { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 100px; }
.about-logo-wrap { width: min(100%, 360px); padding: 9px; border-radius: 20px; background: var(--white); box-shadow: 14px 14px 0 var(--accent); justify-self: center; }
.about-logo { width: 100%; height: auto; display: block; border-radius: 12px; }
.about-copy h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
.about-copy > p:not(.eyebrow) { color: var(--ink-soft); }

.contact { width: min(calc(100% - 40px), var(--max)); margin: 40px auto 0; padding: 70px; border-radius: 24px; background: var(--ink); color: var(--white); display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.contact .eyebrow { color: var(--accent); }
.contact-intro > p:not(.eyebrow) { color: #c8cbd0; font-size: 1.08rem; }
.direct-contact { margin-top: 35px; padding-top: 25px; border-top: 1px solid #3d424c; display: flex; flex-direction: column; gap: 3px; }
.direct-contact span { color: #9fa4ad; font-size: 14px; }
.direct-contact a { color: var(--accent); font-weight: 700; text-underline-offset: 4px; }
.inquiry-form { padding: 34px; border-radius: 16px; background: var(--white); color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field-hint { margin: 7px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #c8cbc3; border-radius: 8px; background: #fafaf8; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(212,255,79,.65); }
.consent { display: grid; grid-template-columns: 19px 1fr; gap: 10px; align-items: start; margin: 2px 0 22px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.submit-button { width: 100%; border: 0; cursor: pointer; font: 700 16px/1 "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif; }
.form-note { margin: 10px 0 0; color: #747982; font-size: 12px; text-align: center; }
.form-success { margin: 0 0 18px; padding: 13px 15px; border-radius: 8px; background: #efffc1; color: #243000; font-size: 14px; font-weight: 600; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; min-height: 150px; display: grid; grid-template-columns: 1fr auto auto; gap: 36px; align-items: center; font-size: 14px; color: var(--ink-soft); }
.footer-brand { color: var(--ink); }
.footer-brand .brand-logo { width: 48px; height: 48px; }
.footer-email { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.legal a { text-underline-offset: 3px; }

.legal-page { min-height: 100vh; }
.legal-header { width: min(calc(100% - 40px), 900px); }
.legal-main { width: min(calc(100% - 40px), 900px); margin: 0 auto; padding: 80px 0 120px; }
.legal-main .eyebrow { color: var(--accent-deep); }
.legal-main h1 { margin-bottom: 38px; font-size: clamp(3rem, 7vw, 5.5rem); }
.legal-card { padding: clamp(28px, 5vw, 55px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.legal-card h2 { margin: 42px 0 14px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 28px 0 8px; font-size: 1.2rem; letter-spacing: -.02em; }
.legal-card p, .legal-card li { color: var(--ink-soft); }
.legal-card a { font-weight: 650; text-underline-offset: 3px; }
.legal-card address { font-style: normal; }
.legal-card ul { padding-left: 22px; }
.legal-back { display: inline-flex; margin-top: 25px; font-weight: 700; text-decoration: none; }
.legal-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-footer { width: min(calc(100% - 40px), 900px); grid-template-columns: 1fr auto; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 55px; padding: 70px 0 90px; }
  .hero-panel { max-width: 520px; }
  .section-heading { display: block; }
  .section-heading > p:last-child { max-width: 680px; margin-top: 20px; }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .about-logo-wrap { width: min(82vw, 360px); }
  .contact { grid-template-columns: 1fr; gap: 45px; }
  footer { grid-template-columns: 1fr; gap: 10px; padding: 45px 0; }
  footer p { margin: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { width: min(calc(100% - 28px), var(--max)); min-height: 72px; }
  .site-header .button { display: none; }
  .hero, .section, .contact, footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .text-link { text-align: center; }
  .hero-panel { padding: 25px; transform: none; box-shadow: 8px 8px 0 var(--accent); }
  .proof-strip { justify-content: flex-start; gap: 14px; }
  .section { padding: 84px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 28px; }
  .service-number { margin-bottom: 38px; }
  .steps li { grid-template-columns: 50px 1fr; gap: 10px; }
  .contact { padding: 55px 28px; border-radius: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .inquiry-form { padding: 25px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
