/* SKENJA, the website for clients. One family (Inter), the brand palette, one orchestrated moment: the scan in the hero. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-opsz-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-opsz-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #FFFFFF;
  --mint: #EEF5F3;
  --mint-2: #E2EEEA;
  --ink: #092D2D;
  --ink-2: #2F4B49;
  --muted: #536B69;
  --line: #D5E3DF;
  --green: #087E48;
  --green-dark: #066A3C;
  --teal-dark: #062C2C;
  --emerald: #05D94F;
  --cyan: #00C9D0;
  --on-dark: #E8F3F0;
  --on-dark-muted: #A7C4BF;

  /* Type scale: a major third, from 16px. */
  --t-0: 1rem; --t-1: 1.125rem; --t-2: 1.25rem; --t-3: 1.5625rem; --t-4: 1.953rem; --t-5: 2.441rem;
  --t-hero: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  --measure: 62ch;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-0)/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-optical-sizing: auto; font-feature-settings: "cv05", "cv08", "ss03"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; }
h2 { font-size: var(--t-5); line-height: 1.08; letter-spacing: -0.028em; }
h3 { font-size: var(--t-1); line-height: 1.3; letter-spacing: -0.01em; font-weight: 650; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 20; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.small { font-size: 0.9375rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px;
  background: var(--green); color: #FFFFFF; font-weight: 600; font-size: var(--t-0); text-decoration: none; border: 1px solid var(--green);
  transition: background-color 140ms ease, border-color 140ms ease; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #FFFFFF; }
.btn.quiet { background: transparent; color: var(--ink); border-color: #A9C2BC; }
.btn.quiet:hover { background: var(--mint); color: var(--ink); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
@supports not (backdrop-filter: blur(1px)) { .top { background: var(--paper); } }
.top-in { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand img { height: 38px; width: auto; object-fit: contain; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 6px 0; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.staff { font-size: 0.9375rem; font-weight: 600; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; white-space: nowrap; }
.staff:hover { background: var(--mint); color: var(--ink); }
@media (max-width: 900px) { .nav { display: none; } .staff { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 var(--section); background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-copy { padding-top: clamp(8px, 3vw, 48px); }
.from { font-size: 0.9375rem; font-weight: 600; color: var(--green); margin-bottom: 18px; }
.hero h1 { font-size: var(--t-hero); line-height: 1.02; letter-spacing: -0.038em; font-weight: 750; max-width: 14ch; text-wrap: balance; }
.lede { margin-top: 24px; font-size: var(--t-1); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* The scan: a paper invoice inside the brand's four corners, and the fields read from it. */
.scan { position: relative; isolation: isolate; margin: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: 20px; align-items: start; }
.doc-frame { position: relative; padding: 18px; }
.corner { position: absolute; width: 34px; height: 34px; border-color: var(--emerald); border-style: solid; border-width: 0; }
.corner.tl { top: 0; left: 0; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 10px; }
.corner.tr { top: 0; right: 0; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 10px; border-color: var(--cyan); }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 10px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 10px; border-color: var(--cyan); }
.doc { position: relative; background: #FFFFFF; border-radius: 4px; padding: 26px 24px 24px; font-size: 0.75rem; line-height: 1.45; color: #2B3A3A;
  box-shadow: 0 1px 0 rgb(9 45 45 / 0.04), 0 18px 40px -18px rgb(9 45 45 / 0.35), 0 0 0 1px rgb(9 45 45 / 0.06); font-variant-numeric: tabular-nums; }
.doc-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid #2B3A3A; }
.doc-co { font-weight: 700; font-size: 0.875rem; color: #1A2626; white-space: nowrap; }
.doc-small { color: #6A7878; }
.doc-title { font-weight: 700; font-size: 0.8125rem; color: #1A2626; white-space: nowrap; }
.doc-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; padding: 12px 0; border-bottom: 1px solid #E3E8E8; }
.doc-meta span, .doc-to span { display: block; color: #6A7878; font-size: 0.6875rem; }
.doc-meta b, .doc-to b { font-weight: 600; color: #1A2626; white-space: nowrap; }
.doc-to { padding: 12px 0; }
.doc-lines { width: 100%; border-collapse: collapse; margin-top: 4px; }
.doc-lines th { text-align: left; font-weight: 600; color: #6A7878; font-size: 0.6875rem; padding: 6px 0; border-bottom: 1px solid #E3E8E8; }
.doc-lines td { padding: 7px 0; border-bottom: 1px solid #F0F3F3; vertical-align: top; }
.doc-lines th:nth-child(n+2), .doc-lines td:nth-child(n+2) { text-align: right; padding-left: 10px; white-space: nowrap; }
.doc-sum { margin: 12px 0 0 auto; width: 62%; display: grid; gap: 4px; }
.doc-sum div { display: flex; justify-content: space-between; }
.doc-sum .doc-total { font-weight: 700; color: #1A2626; border-top: 2px solid #2B3A3A; padding-top: 6px; margin-top: 4px; font-size: 0.8125rem; }

.read { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; box-shadow: 0 12px 30px -20px rgb(9 45 45 / 0.4); }
.read-title { font-weight: 650; font-size: 0.9375rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.read-title::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--green); border-radius: 3px;
  -webkit-mask: linear-gradient(#000 0 0) top left / 5px 5px no-repeat, linear-gradient(#000 0 0) top right / 5px 5px no-repeat, linear-gradient(#000 0 0) bottom left / 5px 5px no-repeat, linear-gradient(#000 0 0) bottom right / 5px 5px no-repeat;
          mask: linear-gradient(#000 0 0) top left / 5px 5px no-repeat, linear-gradient(#000 0 0) top right / 5px 5px no-repeat, linear-gradient(#000 0 0) bottom left / 5px 5px no-repeat, linear-gradient(#000 0 0) bottom right / 5px 5px no-repeat; }
.fields { margin: 0; display: grid; }
.f { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-top: 1px solid var(--mint-2); }
.f dt { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.f dd { margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.f.ok { display: block; }
.f.ok dd { text-align: left; margin-top: 3px; }
.f .num { font-variant-numeric: tabular-nums; }
.f.ok dd { font-weight: 500; color: var(--green-dark); }
.f.ok dd::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; }
.read-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--mint-2); font-size: 0.8125rem; color: var(--ink-2); }

/* A mint block behind the scan, running off the right edge of the page. */
.scan::before { content: ""; position: absolute; z-index: -1; top: 56px; bottom: -48px; left: 72px; right: -100vw; background: var(--mint); border-radius: 24px 0 0 24px; }

/* The one orchestrated moment: on load, the beam passes over the invoice once, and the fields arrive in order. */
.beam { position: absolute; left: 18px; right: 18px; top: 18px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--emerald), var(--cyan));
  box-shadow: 0 0 18px 4px rgb(5 217 79 / 0.35); opacity: 0; pointer-events: none; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .beam { animation: beam 1.6s cubic-bezier(0.45, 0, 0.25, 1) 0.35s 1 both; }
  .f, .read-note { animation: arrive 0.45s ease-out both; }
  .f:nth-child(1) { animation-delay: 0.65s; } .f:nth-child(2) { animation-delay: 0.8s; } .f:nth-child(3) { animation-delay: 0.95s; }
  .f:nth-child(4) { animation-delay: 1.1s; } .f:nth-child(5) { animation-delay: 1.3s; } .f:nth-child(6) { animation-delay: 1.45s; }
  .f:nth-child(7) { animation-delay: 1.6s; } .f:nth-child(8) { animation-delay: 1.85s; } .read-note { animation-delay: 2.1s; }
}
@keyframes beam { 0% { opacity: 0; transform: translateY(0); } 10% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--travel, 420px)); } }
@keyframes arrive { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 16ch; }
  .scan { max-width: 760px; }
}
@media (max-width: 640px) {
  .scan { grid-template-columns: minmax(0, 1fr); }
  .read { margin-top: 0; }
  .doc { padding: 20px 16px; }
}

/* ---------- Sections ---------- */
.band { padding: var(--section) 0; }
.band.alt { background: var(--mint); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.head p { margin-top: 16px; font-size: var(--t-1); color: var(--ink-2); max-width: var(--measure); }

/* How it works: five numbered steps on one rail. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps li { counter-increment: step; position: relative; padding: 64px 22px 0 0; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 0.9375rem; font-variant-numeric: tabular-nums; background: var(--paper); color: var(--green); border: 2px solid var(--green); z-index: 1; }
.steps li:first-child::before { background: var(--green); color: #FFFFFF; }
.steps li::after { content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 0.9688rem; line-height: 1.6; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 640px; }
  .steps li { padding: 0 0 36px 64px; }
  .steps li::after { top: 40px; bottom: 0; left: 19px; right: auto; width: 2px; height: auto; }
  .steps li:last-child { padding-bottom: 0; }
}

/* Your address */
.address { padding: var(--section) 0; background: var(--mint); }
.address-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.address-copy > p { margin-top: 16px; font-size: var(--t-1); color: var(--ink-2); max-width: 52ch; }
.address-copy .ticks { margin-top: 24px; }
.address-copy .small { margin-top: 20px; font-size: 0.9375rem; max-width: 52ch; }
.mail { background: var(--paper); border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgb(9 45 45 / 0.45); overflow: hidden; }
.mail-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #F8FBFA; }
.mail-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D3E0DC; }
.mail-head { margin: 0; padding: 6px 20px; }
.mail-head div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--mint-2); }
.mail-head dt { color: var(--muted); font-size: 0.875rem; }
.mail-head dd { margin: 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.addr { display: inline-block; font-weight: 650; color: var(--green-dark); background: #E3F5EA; border-radius: 6px; padding: 1px 8px; }
.mail-body { padding: 16px 20px 0; color: var(--muted); font-size: 0.9375rem; }
.attach { display: flex; align-items: center; gap: 12px; margin: 16px 20px 22px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; max-width: 280px; }
.attach svg { width: 28px; height: 28px; color: var(--green); flex: none; }
.attach b { display: block; font-size: 0.9375rem; font-weight: 600; }
.attach small { color: var(--muted); font-size: 0.8125rem; }
@media (max-width: 900px) { .address-in { grid-template-columns: minmax(0, 1fr); } }

/* Lists with marks */
.ticks, .crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li, .crosses li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before, .crosses li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; }
.ticks li::before { background: #E3F5EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%23087E48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.crosses li::before { background: #EEF1F1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%23536B69' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* What to send */
.send { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.send h3 { margin-bottom: 18px; }
.spec { margin: 0; display: grid; gap: 14px; }
.spec dt { font-size: 0.875rem; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 860px) { .send { grid-template-columns: minmax(0, 1fr); } }

/* Checks table */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
table.checks { width: 100%; border-collapse: collapse; min-width: 560px; }
.checks th, .checks td { text-align: left; padding: 18px 24px; vertical-align: top; border-bottom: 1px solid var(--mint-2); }
.checks thead th { font-size: 0.875rem; font-weight: 600; color: var(--muted); background: #F8FBFA; border-bottom: 1px solid var(--line); }
.checks tbody th { width: 30%; font-weight: 650; color: var(--ink); }
.checks td { color: var(--ink-2); max-width: var(--measure); }
.checks tbody tr:last-child th, .checks tbody tr:last-child td { border-bottom: 0; }

/* Your data: the one dark section */
.data { padding: var(--section) 0; background: var(--teal-dark); color: var(--on-dark); position: relative; overflow: hidden; }
.data::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 201 208 / 0.16), transparent); pointer-events: none; }
.data .wrap { position: relative; }
.data h2 { color: #FFFFFF; }
.data .head p { color: var(--on-dark-muted); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.facts div { padding: 26px 0; border-top: 1px solid rgb(255 255 255 / 0.12); }
.facts dt { font-size: var(--t-1); font-weight: 650; color: #FFFFFF; margin-bottom: 8px; }
.facts dd { margin: 0; color: var(--on-dark-muted); line-height: 1.6; }
.data a { color: #7FE3A6; }
@media (max-width: 900px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* Hubdoc */
.hubdoc { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.hubdoc h2 { font-size: var(--t-4); }
.hubdoc-copy { display: grid; gap: 14px; font-size: var(--t-1); color: var(--ink-2); max-width: var(--measure); }
@media (max-width: 860px) { .hubdoc { grid-template-columns: minmax(0, 1fr); } }

/* Questions */
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-in h2 { font-size: var(--t-4); position: sticky; top: 100px; }
.faq { border-top: 1px solid #C9DAD5; }
.faq details { border-bottom: 1px solid #C9DAD5; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: var(--t-1); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform 160ms ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--green-dark); }
.faq details p { padding: 0 44px 22px 0; color: var(--ink-2); max-width: var(--measure); }
@media (max-width: 860px) { .faq-in { grid-template-columns: minmax(0, 1fr); } .faq-in h2 { position: static; } }

/* Footer */
.foot { background: var(--teal-dark); color: var(--on-dark-muted); padding: 48px 0; border-top: 1px solid rgb(255 255 255 / 0.08); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand img { height: 32px; width: auto; object-fit: contain; margin-bottom: 14px; }
.foot-brand p, .foot-links p { font-size: 0.875rem; }
.foot-links { display: grid; gap: 8px; justify-items: end; text-align: right; }
.foot-links a { color: #FFFFFF; font-weight: 600; text-decoration: none; font-size: 0.9375rem; }
.foot-links a:hover { text-decoration: underline; color: #FFFFFF; }
@media (max-width: 640px) { .foot-links { justify-items: start; text-align: left; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } .beam { display: none; } }
@media print { .top, .hero-actions, .beam, .corner { display: none; } .data, .foot { background: none; color: #000; } .data h2, .facts dt { color: #000; } }
