/* Rivit marketing site — shared styles for index, pricing, jobtread-xero-integration, contact.
   Tokens and type treatment carried over from the original waitlist page (Inter 500, tight
   tracking, square yellow buttons, panel-grey bands with white cards). */
:root {
  --yellow: #F2F71E;
  --yellow-press: #e3e81a;
  --ink: #111214;
  --line: #d9dadc;
  --panel: #f4f4f2;
  --card-line: #ececec;
  --grey-text: #a9a9a9;
  --body-text: #6a6c70;
  --inbox: #ececec;
  --approved: #e2f6e5;
  --approved-ink: #1e7a34;
  --synced: #ece6fb;
  --synced-ink: #5b3fc4;
  --review: #f0a53a;
  --wrap: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--yellow); padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 500; letter-spacing: -0.05em; line-height: 1.08; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.lead {
  font-size: clamp(18px, 1.7vw, 21px);
  letter-spacing: -0.04em;
  color: var(--grey-text);
  line-height: 1.45;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--body-text);
  margin-bottom: 20px;
}
.eyebrow b { font-weight: 600; color: var(--ink); background: var(--yellow); padding: 2px 7px; }
p { color: var(--body-text); font-size: 15px; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 14px; font-weight: 500;
  padding: 14px 22px;
  border: 1px solid transparent; border-radius: 0;
  background: var(--yellow); color: var(--ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .05s, border-color .15s;
}
.btn:hover { background: var(--yellow-press); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 14px; height: 14px; flex: 0 0 auto; }
.btn.ghost { background: transparent; border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2a2c30; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--card-line);
}
.nav-inner { display: flex; align-items: center; height: 68px; gap: 40px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 30px; margin-right: auto; list-style: none; }
.nav-links a { font-size: 14px; text-decoration: none; color: #3c3e42; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); box-shadow: 0 6px 0 -4px var(--yellow); }
.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-cta .signin { font-size: 14px; text-decoration: none; color: #3c3e42; }
.nav-cta .signin:hover { color: var(--ink); }
.nav-cta .btn { padding: 11px 18px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 128px 0 0; text-align: center; overflow: hidden; }
.hero h1 { max-width: 900px; margin: 0 auto 32px; }
.hero h1 mark, h2 mark { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); color: inherit; padding: 0 .06em; }
.hero .lead { max-width: 620px; margin: 0 auto 44px; }
.hero .btn-row { justify-content: center; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--grey-text); }
.hero-stage {
  margin-top: 112px;
  background: var(--panel);
  border-top: 1px solid var(--card-line);
  padding: 96px 0 0;
}
.page-hero { padding: 128px 0 112px; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 62px); max-width: 880px; margin-bottom: 22px; }
.page-hero .lead { max-width: 660px; margin-bottom: 32px; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- App mockup (hero) ---------- */
.mock {
  position: relative;
  max-width: 980px; margin: 0 auto;
  text-align: left;
}
.mock-window {
  background: #fff;
  border: 8px solid #101010; border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 30px 60px rgba(0,0,0,.12);
  overflow: hidden;
}
.mock-top { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--card-line); }
.mock-top img { height: 20px; }
.mock-crumb { font-size: 12px; color: #85878c; }
.mock-crumb b { color: var(--ink); font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 300px 1fr; min-height: 430px; }
.mock-doc { background: #fafaf8; border-right: 1px solid var(--card-line); padding: 26px; display: flex; justify-content: center; }
.receipt {
  width: 190px; background: #fff; border: 1px solid var(--card-line);
  padding: 18px 16px 22px; font-size: 9.5px; color: #55575b; line-height: 1.7;
  box-shadow: 0 10px 24px rgba(0,0,0,.07);
  transform: rotate(-1.5deg);
  align-self: flex-start;
}
.receipt strong { display: block; text-align: center; font-size: 12px; color: var(--ink); letter-spacing: .08em; margin-bottom: 2px; }
.receipt .c { text-align: center; }
.receipt .r { display: flex; justify-content: space-between; gap: 8px; }
.receipt hr { border: 0; border-top: 1px dashed #c9cbce; margin: 8px 0; }
.receipt .t { font-weight: 700; color: var(--ink); font-size: 11px; }
.mock-fields { padding: 24px 26px 28px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; }
.mock-head h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.mock-actions { display: flex; gap: 8px; }
.chip { font-size: 11px; font-weight: 600; padding: 7px 13px; border: 1px solid var(--card-line); border-radius: 7px; background: #fff; }
.chip.yel { background: var(--yellow); border-color: var(--yellow); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.f { min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f label { display: block; font-size: 10.5px; color: #85878c; margin-bottom: 5px; }
.f div {
  font-size: 12.5px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.f.review div { border-color: var(--review); box-shadow: 0 0 0 2px rgba(240,165,58,.16); }
.tick { color: var(--approved-ink); font-size: 11px; font-weight: 600; flex: 0 0 auto; }
.mock-lines { margin-top: 18px; border-top: 1px solid var(--card-line); font-size: 11.5px; }
.mock-lines .r { display: grid; grid-template-columns: 1fr 150px 70px; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f2f2f0; color: #2b2d31; }
.mock-lines .r.h { color: #85878c; font-size: 10px; }
.mock-lines .r span:last-child { text-align: right; }
.pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.pill.inbox { background: var(--inbox); color: #6a6c70; }
.pill.approved { background: var(--approved); color: var(--approved-ink); }
.pill.synced { background: var(--synced); color: var(--synced-ink); }
.pill.soon { background: var(--ink); color: var(--yellow); }
.float {
  position: absolute; z-index: 2;
  background: #fff; border: 1px solid var(--card-line); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  padding: 13px 15px; font-size: 12px; color: var(--ink);
  display: flex; align-items: center; gap: 11px;
}
.float small { display: block; font-size: 11px; color: #85878c; font-weight: 500; }
.float .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; flex: 0 0 auto; }
.float .dot svg { width: 15px; height: 15px; }
.float.a { left: -56px; top: 318px; }
.float.b { right: -48px; top: 250px; }

/* ---------- Sections ---------- */
.section { padding: 152px 0; }
.section.panel { background: var(--panel); border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark p, .section.dark .lead { color: #9a9ca1; }
.section.dark .eyebrow { color: #9a9ca1; }
.sec-head { max-width: 720px; margin-bottom: 80px; }
.sec-head h2 { margin-bottom: 22px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Works-with strip */
.strip { padding: 48px 0; border-bottom: 1px solid var(--card-line); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 38px; font-size: 14px; color: var(--grey-text); }
.strip-inner strong { font-weight: 600; color: var(--ink); font-size: 17px; letter-spacing: -0.03em; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--card-line); border-radius: 12px; padding: 34px 30px 36px; }
.card h3::after { content: ""; display: block; width: 26px; height: 3px; margin: 10px 0 12px; background: var(--yellow); border-radius: 2px; }
.card p { font-size: 14px; line-height: 1.55; }
.card .num { display: block; font-size: 13px; font-weight: 600; color: var(--grey-text); margin-bottom: 34px; }
.card.soon { border-style: dashed; background: transparent; }
.card .pill { margin-bottom: 14px; }
.section.dark .card { background: #1a1c1f; border-color: #2a2c30; }
.section.dark .card h3 { color: #fff; }

/* Problem list */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 104px; align-items: start; }
.problem ul { list-style: none; border-top: 1px solid var(--line); }
.problem li { padding: 28px 0; border-bottom: 1px solid var(--line); font-size: 17px; letter-spacing: -0.02em; display: flex; gap: 16px; }
.problem li span { color: var(--grey-text); font-size: 13px; font-weight: 600; padding-top: 4px; flex: 0 0 22px; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 104px; align-items: center; }
.split h2 { margin-bottom: 24px; }
.split .lead { margin-bottom: 36px; }
.checks { list-style: none; margin: 0 0 40px; }
.checks li { position: relative; padding: 9px 0 9px 30px; font-size: 15px; color: #3c3e42; }
.checks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 8px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translateY(-3px); }
.section.dark .checks li { color: #d5d6d8; }
.section.dark .checks li::before { border-color: var(--yellow); }

/* Phone video */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 16;
  background: #000; border: 9px solid #101010; border-radius: 40px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
}
.phone video { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px;
  border: 0; border-radius: 50%; background: var(--yellow); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform .15s;
}
.play:hover { transform: scale(1.06); }
.play svg { width: 24px; height: 24px; margin-left: 3px; }

/* Flow diagram (integration) */
.flow { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1fr; gap: 18px; align-items: stretch; }
.flow .node { background: #fff; border: 1px solid var(--card-line); border-radius: 12px; padding: 24px 22px; }
.flow .node.core { background: var(--ink); border-color: var(--ink); color: #fff; }
.flow .node.core p { color: #9a9ca1; }
.flow .node h3 { margin-bottom: 10px; }
.flow .node img { height: 22px; margin-bottom: 14px; filter: invert(1); }
.flow .node ul { list-style: none; font-size: 13.5px; color: var(--body-text); }
.flow .node li { padding: 5px 0; }
.flow .arrow { align-self: center; font-size: 13px; color: var(--grey-text); text-align: center; line-height: 1.3; }
.flow .arrow b { display: block; font-size: 22px; color: var(--ink); font-weight: 500; }

/* Sync table */
.table-wrap { overflow-x: auto; border: 1px solid var(--card-line); border-radius: 12px; background: #fff; }
table.sync { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.sync th { text-align: left; font-size: 12px; font-weight: 600; color: #85878c; padding: 14px 20px; border-bottom: 1px solid var(--card-line); background: #fafaf8; }
table.sync td { padding: 16px 20px; border-bottom: 1px solid #f2f2f0; color: #3c3e42; vertical-align: top; }
table.sync tr:last-child td { border-bottom: 0; }
table.sync td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Quote */
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote blockquote { font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -0.05em; line-height: 1.15; color: #fff; margin-bottom: 28px; }
.quote blockquote mark { background: none; color: var(--yellow); }
.quote cite { font-style: normal; font-size: 14px; color: #9a9ca1; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px; }
.quotes blockquote { font-size: clamp(22px, 2vw, 27px); letter-spacing: -0.045em; line-height: 1.2; color: #fff; margin-bottom: 28px; }
.quotes blockquote mark { background: none; color: var(--yellow); }
.quotes figcaption { font-size: 14px; color: #d5d6d8; }
.quotes figcaption img { height: 26px; width: auto; margin-bottom: 16px; }
.quotes figcaption img.inv { filter: invert(1); }
.quotes figcaption img.tall { height: 52px; }
.quotes figcaption small { display: block; margin-top: 6px; font-size: 13px; color: #7d7f84; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; gap: 64px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--card-line); border-radius: 12px; padding: 40px 32px; display: flex; flex-direction: column; position: relative; }
.plan.pop { border-color: var(--ink); box-shadow: 0 20px 44px rgba(0,0,0,.08); }
.plan .tag { position: absolute; top: -12px; left: 32px; background: var(--yellow); font-size: 12px; font-weight: 600; padding: 3px 10px; }
.plan h3 { font-size: 20px; letter-spacing: -0.03em; }
.plan .for { font-size: 14px; min-height: 44px; margin-top: 6px; }
.plan .price { font-size: 48px; letter-spacing: -0.06em; line-height: 1; margin: 22px 0 6px; }
.plan .price small { font-size: 15px; letter-spacing: -0.02em; color: var(--grey-text); font-weight: 500; }
.plan .docs { font-size: 14px; color: var(--ink); padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--card-line); }
.plan .checks { flex: 1; margin-bottom: 26px; }
.plan .checks li { font-size: 14px; padding: 7px 0 7px 28px; }
.plan .checks li::before { top: 13px; }
.fine { font-size: 13px; color: var(--grey-text); text-align: center; margin-top: 28px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 44px 28px 0; font-size: 17px; letter-spacing: -0.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-size: 26px; font-weight: 400; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 30px 0; }

/* CTA band */
.cta { background: var(--yellow); padding: 144px 0; text-align: center; }
.cta h2 { max-width: 760px; margin: 0 auto 22px; }
.cta p { color: #3c3e42; font-size: 17px; max-width: 560px; margin: 0 auto 40px; }
.cta .btn-row { justify-content: center; }
.cta .btn.ghost { border-color: var(--ink); }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 104px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--card-line); border-radius: 12px; padding: 34px 30px; }
.field-row { display: flex; gap: 20px; }
.field { flex: 1; min-width: 0; margin-bottom: 22px; }
.field label { display: block; font-size: 14px; margin-bottom: 9px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field textarea::placeholder { color: var(--grey-text); }
.field .opt { color: var(--grey-text); font-size: 12.5px; margin-left: 6px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,18,20,.08); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form-msg:empty { margin-top: 0; min-height: 0; }
.form-msg.err { color: #c0392b; }
.success { display: none; padding: 26px 24px; border: 1px solid var(--line); border-radius: 10px; background: #fafaf5; }
.success h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.legal-line { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--grey-text); }
.steps { list-style: none; counter-reset: s; margin-top: 34px; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; padding: 18px 0 18px 44px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; color: #3c3e42; }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 20px; font-size: 13px; font-weight: 600; color: var(--grey-text); }
.steps li b { display: block; color: var(--ink); font-weight: 600; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding: 104px 0 44px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 80px; border-bottom: 1px solid #2a2c30; }
.footer img { height: 28px; filter: invert(1); margin-bottom: 18px; }
.footer p { color: #9a9ca1; font-size: 14px; max-width: 300px; }
.footer h4 { font-size: 13px; font-weight: 600; color: #9a9ca1; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 11px; }
.footer li a { font-size: 14px; text-decoration: none; color: #e6e7e8; }
.footer li a:hover { color: var(--yellow); }
.footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #7d7f84; }

/* Video modal */
.video-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.85); }
.video-modal[hidden] { display: none; }
.video-modal video { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 12px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.video-close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.video-close:hover { background: rgba(255,255,255,.24); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .float.a { left: -12px; }
  .float.b { right: -12px; }
}
@media (max-width: 960px) {
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan .for { min-height: 0; }
  .split, .problem, .form-grid { grid-template-columns: 1fr; gap: 48px; }
  .flow { grid-template-columns: 1fr; }
  .flow .arrow b { transform: rotate(90deg); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 112px 0; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-inner { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 20px; gap: 0; }
  /* The toggle sits after the links in the markup: keep it on the logo's row when the menu opens. */
  .nav.open .nav-toggle { order: 1; }
  .nav.open .nav-links { order: 2; }
  .nav.open .nav-cta { order: 3; }
  .nav.open .nav-links { display: block; width: 100%; margin: 8px 0 12px; }
  .nav.open .nav-links li { border-bottom: 1px solid var(--card-line); }
  .nav.open .nav-links a { display: block; padding: 14px 0; font-size: 16px; box-shadow: none; }
  .nav.open .nav-cta { display: flex; width: 100%; justify-content: space-between; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-doc { display: none; }
  .float { display: none; }
  .hero { padding-top: 76px; }
  .hero-stage { margin-top: 68px; padding-top: 44px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 22px; }
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .mock-window { border-width: 6px; border-radius: 14px 14px 0 0; }
  .mock-fields { padding: 18px 16px 22px; }
  .mock-crumb { display: none; }
  .mock-lines .r { grid-template-columns: 1fr 64px; }
  .mock-lines .r span:nth-child(2) { display: none; }
  .field-row { flex-direction: column; gap: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
  .cta { padding: 92px 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .sec-head { margin-bottom: 52px; }
  .page-hero { padding: 72px 0 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media (max-width: 620px) {
  .strip-inner > span { flex-basis: 100%; text-align: center; }
}
