/* Guava, "statement of work" direction.
   Written against the Impeccable anti-pattern catalog: cool neutral ground
   instead of cream, no cards or nested containers, 0 radius, no eyebrow
   labels or badges above headings, display type held under 4.1rem, body copy
   at 17px on a 60-62ch measure, interface text floored at 14px, letter
   spacing no tighter than -0.025em, single accent used for rules and marks.
   Layers: content 0, navigation 10, skip link 20. */
:root {
  --paper: #f7f8f8;
  --surface: #eceeee;
  --ink: #1b1f22;
  --muted: #545d61;
  --rule: #c7cdce;
  --rule-inverse: #47504f;
  --paper-muted: #c3cacb;
  --accent: #b03a24;
  --gutter: clamp(20px, 6vw, 96px);
  --sans: "Schibsted Grotesk", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  color: var(--accent);
}
p,
h1,
h2,
h3,
dd,
dt {
  margin: 0;
  overflow-wrap: break-word;
}
p {
  font-size: 1.0625rem;
  line-height: 1.6;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.mono {
  font-family: var(--mono);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: min(100% - var(--gutter), 1240px);
  margin-inline: auto;
}
.section {
  padding-block: 88px;
  scroll-margin-top: 24px;
}
.skip-link {
  position: absolute;
  z-index: 20;
  top: 8px;
  left: 16px;
  padding: 12px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}

/* Header */
.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  padding-block: 14px;
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.wordmark img {
  object-fit: contain;
  width: 28px;
  height: 28px;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.875rem;
}
.site-header nav a {
  padding-block: 10px;
}
.nav-contact {
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 20px;
  transition: background-color 0.18s ease;
}
.nav-contact:hover,
.button:hover {
  background: var(--accent);
  color: var(--paper);
}

/* Type scale */
h1 {
  font-size: clamp(2.25rem, 4.4vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 19ch;
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 26ch;
}
h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.section-lede {
  color: var(--muted);
  max-width: 62ch;
  margin-top: 22px;
}

/* Buttons and links */
.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 26px;
  font-size: 1.0625rem;
  font-weight: 500;
  max-width: 100%;
  transition: background-color 0.18s ease;
}
.mono-link {
  font-family: var(--mono);
  font-size: 0.9375rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  display: inline-block;
}

/* Hero */
.hero {
  padding-block: 80px 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 64px;
  align-items: start;
}
.hero-copy {
  min-width: 0;
}
.hero-description {
  font-size: 1.125rem;
  color: var(--muted);
  margin-top: 30px;
  max-width: 60ch;
}
.cta-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 36px;
}
.terms-at-a-glance {
  min-width: 0;
  border-top: 2px solid var(--ink);
}
.terms-at-a-glance > div {
  display: grid;
  grid-template-columns: minmax(84px, 0.4fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.terms-at-a-glance dt {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--muted);
}
.terms-at-a-glance dd {
  font-size: 1rem;
  line-height: 1.5;
}

/* Photo band */
.photo-band {
  background: var(--ink);
}
.photo-band img {
  width: 100%;
  height: clamp(240px, 40vw, 480px);
  object-fit: cover;
  object-position: 50% 42%;
}

/* Comparison table */
.table-scroller {
  margin-top: 52px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  border-top: 2px solid var(--ink);
}
.compare th,
.compare td {
  vertical-align: top;
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
}
.compare thead th {
  padding-top: 24px;
}
.compare col:first-child,
.compare tbody th[scope="row"] {
  width: 15%;
}
.compare tbody th[scope="row"] {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--muted);
}
.num {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.num-featured {
  color: var(--accent);
}
.engagement-name {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.figure {
  font-size: 1.0625rem;
  font-weight: 500;
}
.compare-actions td {
  border-bottom: 0;
  padding-bottom: 30px;
}
.fee-footnote {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 24px;
  max-width: 72ch;
}

/* Clauses */
.clauses {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  border-top: 2px solid var(--ink);
}
.clauses li {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 12px 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.clause-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.clause-num {
  font-size: 1rem;
  color: var(--accent);
}
.clause-who {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--muted);
}
.clauses p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Inverse band */
.inverse {
  background: var(--ink);
  color: var(--paper);
  margin-top: 88px;
}
.inverse-inner {
  padding-block: 88px;
}
.inverse .section-lede,
.inverse p {
  color: var(--paper-muted);
}
.measure-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 36px 44px;
  border-top: 1px solid var(--rule-inverse);
}
.measure-grid > div {
  padding-top: 26px;
}
.measure-grid h3 {
  margin-bottom: 10px;
}

/* Ongoing care */
.care {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 64px;
  align-items: center;
}
.care-copy {
  min-width: 0;
}
.care h2 {
  max-width: 22ch;
}
.care .section-lede {
  max-width: 54ch;
}
.care-list {
  margin-top: 36px;
  border-top: 2px solid var(--ink);
}
.care-list > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.care-list dt {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.care-list dd {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}
.care-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.care-price dt {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 0;
}
.care-price dd {
  color: var(--ink);
}
.care-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.scope-note {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 20px;
  max-width: 54ch;
}

/* Signed statement */
.statement {
  padding-bottom: 88px;
}
.statement-inner {
  background: var(--surface);
  padding: clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px 64px;
  align-items: start;
}
.statement h2 {
  font-size: clamp(1.625rem, 2.6vw, 2.4rem);
  line-height: 1.15;
  max-width: 18ch;
}
.statement-inner p {
  line-height: 1.65;
  max-width: 58ch;
}
.signature {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: baseline;
  font-size: 0.875rem;
  color: var(--muted);
}
.signature-name {
  color: var(--ink);
  font-size: 1rem;
}
.signature a {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}

/* FAQ */
.faq {
  padding-bottom: 88px;
}
.faq h2 {
  margin-bottom: 44px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 0 64px;
  border-top: 2px solid var(--ink);
}
.faq-grid > div {
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.faq-grid h3 {
  line-height: 1.35;
  margin-bottom: 12px;
}
.faq-grid p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
}

/* Contact */
.contact {
  border-top: 2px solid var(--ink);
  padding-top: 72px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 56px;
  align-items: start;
}
.contact-copy {
  min-width: 0;
}
.contact h2 {
  font-size: clamp(2.125rem, 4.2vw, 3.9rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 16ch;
}
.contact-copy > p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-top: 24px;
  max-width: 46ch;
}
.contact .button {
  margin-top: 32px;
  gap: 32px;
  padding: 20px 28px;
}
.agenda {
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.agenda li {
  display: grid;
  grid-template-columns: minmax(40px, auto) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.agenda p {
  font-size: 1rem;
  line-height: 1.55;
}
.agenda .clause-num {
  font-size: 0.9375rem;
}
.agenda-link {
  display: block;
  border-bottom: 0;
}
.agenda-link a {
  word-break: break-word;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
}
.site-footer-inner {
  padding-block: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .wordmark {
  font-size: 1.375rem;
  color: var(--paper);
}
.site-footer .wordmark:hover {
  color: var(--paper);
}
.site-footer p {
  font-size: 0.875rem;
  color: var(--paper-muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-size: 0.875rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-links a:hover {
  color: var(--paper);
  border-bottom: 1px solid var(--accent);
}

@media (max-width: 1023px) {
  .section,
  .inverse-inner {
    padding-block: 72px;
  }
  .inverse {
    margin-top: 72px;
  }
  .hero {
    padding-block: 64px 56px;
    gap: 44px;
  }
  .care {
    gap: 44px;
  }
  .faq-grid {
    gap: 0 44px;
  }
}

@media (max-width: 767px) {
  .section,
  .inverse-inner,
  .statement,
  .faq,
  .contact {
    padding-block: 56px;
  }
  .inverse {
    margin-top: 56px;
  }
  .hero {
    padding-block: 48px 44px;
    gap: 40px;
  }
  .site-header {
    min-height: 68px;
    gap: 14px;
  }
  .site-header nav {
    display: none;
  }
  .contact {
    padding-top: 56px;
  }
  .care-art {
    order: -1;
  }
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

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