@font-face {
  font-family: "Familjen Grotesk";
  src: url("/fonts/familjen-grotesk.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --folder: #e9dfd0;
  --sheet: #fbf8f3;
  --ink: #1c1916;
  --body: #3f3832;
  --muted: #5c534c;
  --line: #d9d0c3;
  --registrar: #8e2418;
  --registrar-deep: #6e1b12;
  --live-soft: #f6e7e3;
  --gutter: clamp(20px, 4vw, 72px);
  --measure: 68ch;
  --shadow: 0 16px 40px rgba(28, 25, 22, 0.08);
  color-scheme: light;
  color: var(--body);
  background: var(--folder);
  font-family: "Familjen Grotesk", "Segoe UI", sans-serif;
  font-size: 17px;
  font-synthesis: none;
  scrollbar-color: var(--ink) var(--folder);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; }
img { max-width: 100%; display: block; }
p { margin: 0 0 16px; line-height: 1.6; }
h1, h2, h3 {
  color: var(--ink);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 2.4vw, 2.35rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: #f3d2cc; color: var(--ink); }
::placeholder { color: var(--muted); opacity: 1; }
:focus-visible {
  outline: 3px solid var(--registrar);
  outline-offset: 3px;
}
main:focus { outline: none; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--ink);
  color: var(--sheet);
  padding: 12px 16px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px var(--gutter);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-height: 48px;
}
.brand img { width: 42px; height: 42px; }
.wordmark {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1;
}
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.nav a {
  text-decoration: none;
  font-weight: 650;
  padding: 10px 0;
  color: var(--ink);
}
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--registrar); }
.nav-quote {
  background: var(--registrar);
  color: #fff !important;
  padding: 12px 16px !important;
  box-shadow: none !important;
  text-decoration: none;
}
.nav-quote:hover { background: var(--registrar-deep); }
.menu-button {
  display: none;
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
}

.file {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
  display: grid;
  gap: 22px;
}
.sheet {
  background: var(--sheet);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 56px);
}
.sheet h2 { margin-bottom: 22px; }
.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  max-width: 38ch;
  color: var(--body);
  margin: 18px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hero-sheet { animation: sheet-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes sheet-in {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}
.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  height: min(520px, 62vh);
  object-fit: cover;
  object-position: 50% 40%;
}
.hero-figure figcaption,
.caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.start-form {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr auto;
  gap: 12px;
  align-items: end;
}
.start-form label,
.order-form label {
  display: block;
  font-weight: 650;
  color: var(--ink);
}
.start-form label span,
.order-form label span {
  display: block;
  margin-top: 4px;
  font-weight: 450;
  color: var(--muted);
}
.start-form select,
.start-form input,
.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  margin-top: 8px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
  caret-color: var(--registrar);
}
.order-form textarea { min-height: 140px; resize: vertical; }
.fine {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  background: var(--registrar);
  color: #fff;
  border: 1px solid var(--registrar);
  text-decoration: none;
  font-weight: 680;
  border-radius: 2px;
}
.button:hover { background: var(--registrar-deep); border-color: var(--registrar-deep); color: #fff; }
.button:disabled { opacity: 0.72; cursor: progress; }
.button-ink { background: var(--sheet); color: var(--ink); border-color: var(--sheet); }
.actions { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.actions a:not(.button) { font-weight: 680; }
.button-ink:hover { background: #fff; color: var(--ink); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.steps article {
  padding: 4px 28px 4px 0;
  border-top: 1px solid var(--line);
}
.steps article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.steps h3 { margin: 18px 0 8px; }
.steps p { margin: 0; }

.work-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.work-layout img { width: 100%; height: 420px; object-fit: cover; }
.job-index { list-style: none; margin: 0; padding: 0; }
.job-index a {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.job-index li:last-child a { border-bottom: 1px solid var(--line); }
.job-index a:hover { background: var(--live-soft); }
.job-index strong { color: var(--ink); font-size: 1.15rem; }
.job-index span { color: var(--body); }

.photo-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; height: 220px; object-fit: cover; }

.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin: 0;
}
.reasons div { border-top: 1px solid var(--line); padding: 16px 0; }
.reasons dt { color: var(--ink); font-weight: 680; }
.reasons dd { margin: 6px 0 0; }

.pm-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.pm-grid img { width: 100%; height: 360px; object-fit: cover; }
.pm-points { list-style: none; margin: 18px 0 24px; padding: 0; }
.pm-points li { border-top: 1px solid var(--line); padding: 10px 0; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 680;
  color: var(--ink);
}
.faq p { margin: 0 0 14px; }

.sheet-live { background: var(--registrar); color: var(--sheet); box-shadow: none; }
.sheet-live h2, .sheet-live p { color: var(--sheet); }
.sheet-live p { max-width: 42ch; }

.site-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px var(--gutter) 36px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-mark { width: 36px; height: 36px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--ink); font-weight: 650; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { margin: 0 0 0 auto; max-width: 46ch; font-size: 0.9rem; color: var(--body); }

.page-head { margin-bottom: 8px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.9rem; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--ink); }
.prose { max-width: var(--measure); }
.prose h2 { margin: 32px 0 12px; font-size: 1.6rem; }
.prose a { color: var(--registrar-deep); }
.article-hero { margin: 0 0 22px; }
.article-hero img { width: 100%; height: min(420px, 52vh); object-fit: cover; }
.meta { color: var(--muted); font-size: 0.9rem; margin: 12px 0 0; }

.order-form { max-width: 720px; }
.order-form label { margin: 0 0 16px; }
.order-form label.check { display: flex; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 450 !important; color: var(--body) !important; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--registrar); flex: none; }
.quote-status { min-height: 1.5em; font-weight: 680; color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; margin: 0 0 16px; padding: 0; }
legend { font-weight: 680; color: var(--ink); margin-bottom: 8px; }

.fee-schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 8px 0 22px;
}
.fee-schedule div { padding: 18px 20px 18px 0; }
.fee-schedule div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.fee {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}
.plain-points { margin: 8px 0 22px; padding-left: 1.1em; }
.plain-points li { margin: 0 0 8px; }

.provider-top, .contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}
.provider-top img { width: 100%; height: 320px; object-fit: cover; }
.contact-email {
  display: inline-block;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, var(--measure)); gap: 40px; }
.toc { position: sticky; top: 20px; align-self: start; font-size: 0.95rem; }
.toc p { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.toc a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink); }
.document-meta { color: var(--muted); font-size: 0.9rem; }

.blog-list { display: grid; gap: 28px; }
.blog-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
.blog-card img { width: 100%; height: 140px; object-fit: cover; }
.blog-card h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 0 0 8px; }
.blog-card a { text-decoration: none; color: var(--ink); }
.blog-card a:hover { color: var(--registrar-deep); }
.blog-card p { margin: 0; }
.related-blogs { display: grid; gap: 8px; margin: 8px 0 20px; }
.related-blogs a { font-weight: 680; color: var(--registrar-deep); }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--folder);
    padding: 8px var(--gutter) 18px;
    border-bottom: 1px solid var(--line);
    z-index: 10;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav-quote { text-align: center; margin-top: 6px; }
  .site-header { position: relative; }
  .hero-grid, .work-layout, .pm-grid, .provider-top, .contact-grid, .legal-layout, .steps, .start-form, .reasons, .fee-schedule, .photo-row {
    grid-template-columns: 1fr;
  }
  .steps article, .steps article + article { border-left: 0; padding: 0 0 18px; }
  .fee-schedule div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .hero-figure img, .work-layout img, .pm-grid img { height: 240px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .toc p { width: 100%; }
  .blog-card { grid-template-columns: 1fr; }
  .footer-note { margin-left: 0; }
}

@media (max-width: 600px) {
  .start-form { grid-template-columns: 1fr; }
  .button, .start-form .button, .order-form .button { width: 100%; }
  .photo-row img { height: 180px; }
}

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

@media print {
  .site-header, .site-footer, .menu-button, .toc, .crumbs { display: none !important; }
  body { background: #fff; }
  .sheet { box-shadow: none; }
}
