:root {
  --ink: #14181f;
  --ink-soft: #4a5260;
  --line: #e6e8ec;
  --paper: #ffffff;
  --paper-tint: #f6f7f9;
  --accent: #1f5fff;
  --accent-deep: #0d3fb8;
  --radius: 14px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(20, 24, 31, 0.04), 0 12px 32px rgba(20, 24, 31, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.brand-name { font-size: 0.98rem; letter-spacing: -0.01em; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.92rem; color: var(--ink-soft); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  color: var(--ink) !important;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav-cta:hover { border-color: var(--ink); }

.nav-links a.active { color: var(--ink); }
.nav-links a.active:not(.nav-cta) { font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 92px 24px 72px; max-width: 880px; }

.eyebrow {
  margin: 0 0 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hero-sub {
  margin: 24px 0 0;
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 64px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stats dt { font-weight: 600; font-size: 0.98rem; }
.hero-stats dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Inner page header ---------- */
.page-head {
  padding: 72px 24px 8px;
  max-width: 760px;
}
.page-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  margin-top: 18px;
}
.page-lead {
  margin: 22px 0 0;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- Sections ---------- */
.section { padding: 80px 24px; }

.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.section-head p { margin: 12px 0 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: #fff; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps li {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.step-no {
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.steps h3 { font-size: 1.18rem; margin: 8px 0 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Service rows (services page) ---------- */
.service-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.service-row:first-child { border-top: none; padding-top: 0; }
.service-label span {
  font-family: "Fraunces", serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.service-label h2 { font-size: 1.5rem; margin-top: 8px; }
.service-body p { margin: 0 0 18px; color: var(--ink-soft); font-size: 1.02rem; }

.tick-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tick-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 0.96rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- CTA band ---------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.cta-band h2 { font-size: 1.5rem; }
.cta-band p { margin: 8px 0 0; color: var(--ink-soft); }

/* ---------- Prose (about / legal) ---------- */
.prose { max-width: 64ch; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: var(--ink-soft); font-size: 1.05rem; }
.legal a { color: var(--accent-deep); text-decoration: underline; }

.contact-details { margin-bottom: 28px; }
.contact-details dt {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.contact-details dd { margin: 0 0 2px; }
.contact-details a { color: var(--accent-deep); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.about-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 18px; }
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 16px; }

.about-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
}
.about-card h3 { font-size: 1.05rem; margin-bottom: 20px; }

.detail-list { margin: 0; display: grid; gap: 18px; }
.detail-list dt {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}
.detail-list dd { margin: 0; font-size: 1rem; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-intro h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 16px; }
.contact-intro p { color: var(--ink-soft); font-size: 1.05rem; }
.contact-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.contact-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-form {
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 0.88rem; font-weight: 500; }
.optional { color: var(--ink-soft); font-weight: 400; }

.field input, .field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 95, 255, 0.14);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status { margin: 0; font-size: 0.9rem; min-height: 1.2em; }
.form-status.ok { color: #137a3e; }
.form-status.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-tint);
  padding: 44px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--ink-soft); font-size: 0.9rem; transition: color 0.15s; }
.footer-nav a:hover { color: var(--ink); }
.footer-meta { color: var(--ink-soft); font-size: 0.9rem; text-align: right; }
.footer-meta p { margin: 0; }
.footer-copy {
  width: 100%;
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 64px; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .cta-band { padding: 28px 24px; }
  .footer-meta { text-align: left; }
}
