/* PaperClip Software — site styles
   Tokens first, then base, layout, components, pages. */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700&family=Public+Sans:wght@400;500;600&display=swap");

:root {
  --paper: #ffffff;
  --wash: #f1f6ef;
  --ink: #1c2b36;
  --muted: #5b6672;
  --line: #d9e2d6;
  --brand: #1f7a2e;
  --brand-dark: #155a21;
  --leaf: #3fa535;
  --sun: #f28c1a;

  --display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.6vw, 4.75rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 62ch;
  --max: 74rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }

p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 1em; }

a { color: var(--brand); text-underline-offset: 0.2em; }
a:hover { color: var(--brand-dark); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

img, svg { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--gutter); top: -4rem;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 10;
}
.skip:focus { top: 0.5rem; color: #fff; }

/* ---------- Layout ---------- */

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band-wash { background: var(--wash); }
.band-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2.5rem; }

.split {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.5rem;
}

.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  letter-spacing: -0.03em; color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { height: 2.75rem; width: auto; max-width: 14rem; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 500;
  padding-block: 0.4rem; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--brand); }
.nav a.btn-small {
  background: var(--brand); color: #fff; font-size: var(--step--1); font-weight: 600;
  padding: 0.5rem 0.95rem; border: 0; border-radius: 6px;
}
.nav a.btn-small:hover { background: var(--brand-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  font: inherit; font-size: var(--step--1); font-weight: 500; color: var(--ink);
  padding: 0.45rem 0.8rem; cursor: pointer;
}

@media (max-width: 46rem) {
  .nav-toggle { display: block; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav {
    display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start;
    gap: 0.25rem; padding-bottom: 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: var(--step-0); padding-block: 0.5rem; }
}

/* ---------- Buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }

.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 600; font-size: var(--step-0); padding: 0.8rem 1.35rem; border-radius: 6px;
  border: 0; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.link-quiet { color: var(--ink); font-weight: 500; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center;
}
@media (max-width: 60rem) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 1.5rem; max-width: 46ch; }
.hero .actions { margin-top: 2rem; }

.page-head { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: var(--step-3); font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); max-width: 18ch; }
.page-head .lede { margin-top: 1.25rem; }

/* ---------- Product screenshots ---------- */

.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; box-shadow: 0 18px 40px -28px rgba(28, 43, 54, 0.5);
}
.shot figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.75rem; max-width: 52ch; }
.shot figcaption b { color: var(--ink); font-weight: 600; }

.shots { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shots-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 52rem) { .shots, .shots-2 { grid-template-columns: 1fr; } }

/* ---------- Feature blocks ---------- */

.feature {
  display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}
.feature > .shot { order: 2; }
.feature-flip > .shot { order: -1; }
.feature h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-2); letter-spacing: -0.02em; }
.feature p { color: var(--muted); }
@media (max-width: 52rem) {
  .feature { grid-template-columns: 1fr; }
  .feature > .shot, .feature-flip > .shot { order: 2; }
}

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 0.35rem 0 0.35rem 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.72rem; width: 1.05rem; height: 0.55rem;
  border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf);
  transform: rotate(-45deg) scale(0.8); transform-origin: left center;
}

.strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.strip li { font-size: var(--step--1); color: var(--muted); border-top: 3px solid var(--leaf); padding-top: 0.8rem; }
.strip b { display: block; font-family: var(--display); font-size: var(--step-1); color: var(--ink); letter-spacing: -0.01em; }
@media (max-width: 52rem) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 1.1rem; }
.faq summary { cursor: pointer; font-weight: 600; font-size: var(--step-1); letter-spacing: -0.01em; }
.faq p { color: var(--muted); margin-top: 0.7rem; }

.hero .shot img { max-height: 30rem; width: auto; margin-inline: auto; border: 0; box-shadow: none; background: none; }
.hero .shot figcaption { text-align: center; margin-inline: auto; }

/* ---------- Reasons ---------- */

.reasons { display: grid; gap: 0 clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 52rem) { .reasons { grid-template-columns: 1fr; } }
.reason { padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.reason h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-1); }
.reason p { color: var(--muted); margin-top: 0.6rem; }
.reason .then { color: var(--ink); border-left: 3px solid var(--leaf); padding-left: 0.9rem; }

.compare { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.compare tbody th { font-weight: 600; width: 24%; }
.compare td:last-child { color: var(--ink); }
.compare td { color: var(--muted); }
@media (max-width: 40rem) {
  .compare thead { display: none; }
  .compare tr { display: block; padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
  .compare th, .compare td { display: block; border: 0; padding: 0.15rem 0; width: auto; }
}

.journey { columns: 2; column-gap: 2.5rem; list-style: none; padding: 0; margin: 0; counter-reset: j; }
@media (max-width: 40rem) { .journey { columns: 1; } }
.journey li { counter-increment: j; break-inside: avoid; padding: 0.55rem 0 0.55rem 2.4rem; position: relative; border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.journey li::before { content: counter(j); position: absolute; left: 0; top: 0.5rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--leaf); color: #fff; font-weight: 600; font-size: 0.75rem; display: grid; place-items: center; }

/* ---------- Lists of offerings ---------- */

.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 0.5rem 2.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line);
}
.row p { color: var(--muted); }
@media (max-width: 40rem) { .row { grid-template-columns: 1fr; } }

.pair { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 46rem) { .pair { grid-template-columns: 1fr; } }

.offer { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.5rem; border-top: 3px solid var(--leaf); }
.offer h2, .offer h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-2); letter-spacing: -0.02em; }
.offer p { color: var(--muted); }
.offer a { margin-top: auto; font-weight: 600; }

.tech { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; list-style: none; }
.tech li {
  border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.95rem;
  font-size: var(--step--1); font-weight: 500; background: var(--paper);
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr);
  padding-block: 1.4rem; border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step); font-family: var(--display); font-weight: 700;
  font-size: var(--step-2); line-height: 1; color: var(--sun);
}
.steps p { color: var(--muted); margin-top: 0.35rem; }

/* ---------- Call to action band ---------- */

.cta { background: var(--ink); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta h2 { max-width: 20ch; }
.cta p { color: #c3cbd3; margin-top: 0.75rem; }
.cta a:not(.btn) { color: #fff; }

/* ---------- Contact ---------- */

.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.form label { display: grid; gap: 0.35rem; font-size: var(--step--1); font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; font-size: var(--step-0); font-weight: 400; color: var(--ink);
  padding: 0.7rem 0.8rem; border: 1px solid #aab3b0; border-radius: 6px; background: #fff; width: 100%;
}
.form textarea { min-height: 9rem; resize: vertical; }
.form .btn { justify-self: start; }
.form-note { font-size: var(--step--1); color: var(--muted); }

.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.form fieldset + fieldset { margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form legend { font-family: var(--display); font-weight: 700; font-size: var(--step-1); padding: 0; margin-bottom: 0.9rem; }
.form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 30rem) { .form-2 { grid-template-columns: 1fr; } }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; font-size: var(--step--1); }
.checks > span { grid-column: 1 / -1; font-weight: 600; }
.form .checks label { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; font-size: var(--step-0); }
.form .checks input { width: 1.1rem; height: 1.1rem; padding: 0; accent-color: var(--brand); }
.form .hp { position: absolute; left: -9999px; }
.form-status { padding: 0.9rem 1rem; border-radius: 6px; background: var(--wash); border-left: 4px solid var(--leaf); max-width: none; }
.form-status.is-error { background: #fdf1ee; border-left-color: #c8452c; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list span { display: block; font-size: var(--step--1); color: var(--muted); }
.contact-list a, .contact-list b { font-family: var(--display); font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--brand); }
.contact-list address { font-style: normal; font-size: var(--step-1); font-weight: 500; line-height: 1.4; margin-top: 0.2rem; }
.contact-list a[href^="mailto"] { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; }
.site-footer p { max-width: 48ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-content: start; }
.site-footer a { color: var(--ink); }
