/* Ladingkit site — set like a well-printed trade document: cream paper, ruled boxes, deep teal ink. */
:root {
  --paper: #f4efe4; --paper-2: #ece5d3; --paper-3: #e3dbc6;
  --ink: #14262a; --ink-2: #3b4f52; --ink-3: #6b7b7d;
  --teal: #0f7b6c; --teal-deep: #0a5a4e; --teal-soft: #d9ebe6;
  --rule: #cdc3ad; --rule-strong: #9d917a; --red: #b5321f;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; position: relative; }
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='220' height='220' filter='url(%23n)' opacity='1'/></svg>");
}
main, header, footer { position: relative; z-index: 1; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.015em; margin: 0; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 1.02; }
h1 em { font-style: italic; color: var(--teal); font-variation-settings: "SOFT" 50, "opsz" 72, "wght" 500; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0; }
a { color: var(--teal-deep); }
code { font-family: var(--mono); font-size: .92em; background: var(--paper-2); padding: 1px 6px; border-radius: 4px; }
.mono-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.muted { color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 8px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .15s, background .15s, color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.2), 0 8px 24px -10px rgba(20,38,42,.5); }
.btn.primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn.ghost { border-color: var(--rule-strong); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.35); }
.btn.big { height: 50px; padding: 0 24px; font-size: 16px; border-radius: 10px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 4vw, 48px); height: 68px;
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.wordmark.small { font-size: 16px; }
.mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, #3fbfa8, #0f7b6c); position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.mark::after { content: ''; position: absolute; left: 7px; top: 7px; width: 12px; height: 12px; border: 2.5px solid #fff; border-radius: 3px; }
.wordmark.small .mark { width: 20px; height: 20px; border-radius: 5px; }
.wordmark.small .mark::after { left: 5px; top: 5px; width: 10px; height: 10px; border-width: 2px; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--teal-deep); }
.nav .btn { height: 38px; }
.nav-signin { margin-left: auto; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-signin:hover { color: var(--teal-deep); }

/* ---------- hero ---------- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 8vw, 110px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 22px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 560px; margin: 26px 0 30px; }
.fineprint { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.hero-fan { position: relative; height: clamp(420px, 44vw, 640px); }
.sheet { position: absolute; width: 62%; left: 50%; top: 50%; border: 1px solid var(--rule); background: #fff;
  box-shadow: 0 1px 2px rgba(20,38,42,.12), 0 30px 60px -20px rgba(20,38,42,.45); transform-origin: center; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.sheet.s1 { transform: translate(-50%, -50%) rotate(-3deg); z-index: 3; }
.sheet.s2 { transform: translate(-36%, -56%) rotate(5deg); z-index: 2; filter: brightness(.985); }
.sheet.s3 { transform: translate(-64%, -44%) rotate(-11deg); z-index: 1; filter: brightness(.97); }
.hero-fan:hover .s1 { transform: translate(-50%, -52%) rotate(-1.5deg); }
.hero-fan:hover .s2 { transform: translate(-30%, -58%) rotate(7deg); }
.hero-fan:hover .s3 { transform: translate(-70%, -42%) rotate(-13deg); }
.stamp { position: absolute; z-index: 4; right: 6%; bottom: 10%; transform: rotate(-9deg); font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  border: 2px solid var(--red); outline: 1px solid var(--red); outline-offset: 3px; padding: 8px 14px; border-radius: 4px; opacity: .85; mix-blend-mode: multiply; background: rgba(255,255,255,.4); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .sheet { transition: none; } }

/* ---------- band ---------- */
.band { background: var(--ink); color: var(--paper); }
.band-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px); display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.band .mono-label { color: #9fb7b3; padding-top: 10px; }
.pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pains li { font-family: var(--display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; font-variation-settings: "SOFT" 50, "opsz" 40; padding-left: 28px; position: relative; }
.pains li::before { content: '—'; position: absolute; left: 0; color: #3fbfa8; }

/* ---------- sections ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .mono-label { margin-bottom: 14px; }
.section-lede { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.35); }
.step { padding: 26px 26px 30px; border-right: 1.5px solid var(--ink); position: relative; }
.step:last-child { border-right: 0; }
.step-no { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--teal-deep); display: block; margin-bottom: 44px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 16px; }
.shot { margin: 40px 0 0; }
.shot img { width: 100%; display: block; border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(20,38,42,.5); }
.shot figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }

/* documents */
.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.doc.next.wide { grid-column: 1 / -1; }
.doc.next.wide .next-box { aspect-ratio: auto; flex-direction: row; align-items: center; gap: 22px; padding: 18px 22px; }
.doc.next.wide h3 { margin: 0 0 4px; }
.doc.next.wide p { margin: 0; }
.doc.next .next-box { aspect-ratio: 210 / 297; border: 1.5px dashed var(--rule-strong); border-radius: 4px; padding: 16px 14px; display: flex; flex-direction: column; justify-content: center; background: rgba(255,255,255,.3); transition: border-color .25s, background .25s; }
.doc.next:hover .next-box { border-color: var(--teal); background: rgba(255,255,255,.55); }
.doc.next .doc-no { margin-top: 0; }
.doc.next h3 { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.15; margin: 8px 0 10px; }
.doc.next p { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.doc { position: relative; }
.doc img { width: 100%; display: block; border: 1px solid var(--rule); background: #fff; box-shadow: 0 1px 2px rgba(20,38,42,.1), 0 18px 34px -20px rgba(20,38,42,.45); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.doc:hover img { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 1px 2px rgba(20,38,42,.1), 0 30px 50px -22px rgba(20,38,42,.55); }
.doc-no { display: block; margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--teal-deep); }
.doc h3 { font-size: 17px; margin-top: 6px; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.doc p { font-size: 14px; color: var(--ink-3); margin-top: 4px; }

/* ledger */
.ledger { width: 100%; border-collapse: collapse; border: 1.5px solid var(--ink); background: rgba(255,255,255,.4); }
.ledger th { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; text-align: left; padding: 12px 16px; border-bottom: 1.5px solid var(--ink); color: var(--ink-2); }
.ledger td { padding: 14px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger td + td, .ledger th + th { border-left: 1px solid var(--rule); }
.ledger .num { width: 104px; text-align: center; font-family: var(--mono); font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.ledger td:nth-child(2) { width: 230px; }
.ledger tbody tr:hover { background: rgba(255,255,255,.6); }
.ledger tfoot td { border-top: 1.5px solid var(--ink); border-bottom: 0; background: var(--paper-2); }
.ledger .right { text-align: right; }

/* proforma pricing */
.proforma { border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(20,38,42,.45); max-width: 960px; }
.pf-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px; border-bottom: 1.5px solid var(--ink); font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; background: var(--paper-2); }
.pf-body { display: grid; grid-template-columns: 1.1fr .9fr; }
.pf-desc { padding: 28px 28px 30px; border-right: 1.5px solid var(--ink); }
.pf-desc h3 { font-size: 30px; margin: 8px 0 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.pf-amount { padding: 28px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, #fff, var(--paper)); }
.price { font-family: var(--display); font-size: 56px; line-height: 1; margin-top: 6px; font-variation-settings: "SOFT" 50, "opsz" 72; }
.price .cur { font-size: 30px; vertical-align: top; margin-right: 2px; }
.price .per { font-family: var(--body); font-size: 16px; color: var(--ink-3); margin-left: 8px; }
.alt { color: var(--ink-2); }
.pf-note { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; }
.pf-foot { display: flex; justify-content: space-between; gap: 20px; padding: 12px 22px; border-top: 1.5px solid var(--ink); font-size: 13.5px; color: var(--ink-3); background: var(--paper-2); }
.pf-foot .sig { font-family: var(--display); font-style: italic; color: var(--ink); }

/* faq */
.faq { max-width: 820px; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 2px; top: 14px; font-family: var(--display); font-size: 28px; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--ink-2); max-width: 720px; }

/* closing */
.closing { max-width: var(--wrap); margin: clamp(56px, 8vw, 110px) auto 0; padding: clamp(48px, 7vw, 90px) clamp(16px, 4vw, 48px); text-align: center; border-top: 1.5px solid var(--ink); }
.closing p { max-width: 620px; margin: 18px auto 28px; color: var(--ink-2); font-size: 18px; }
.closing .cta-row { justify-content: center; }

/* footer */
.footer { border-top: 1px solid var(--rule); padding: 28px clamp(16px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: 14px; color: var(--ink-2); max-width: calc(var(--wrap) + 2 * 48px); margin: 0 auto; }
.footer > div { display: flex; align-items: center; gap: 6px; }
.footer .muted { margin-left: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-fan { height: clamp(360px, 70vw, 560px); order: -1; }
  .sheet { width: 54%; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .step:last-child { border-bottom: 0; }
  .step-no { margin-bottom: 18px; }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .band-inner { grid-template-columns: 1fr; gap: 8px; }
  .pf-body { grid-template-columns: 1fr; }
  .pf-desc { border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .ledger td:nth-child(2) { width: auto; }
  .footer .muted { margin-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 14px; height: 60px; }
  .nav-links, .nav-signin { display: none; }
  .nav .btn { margin-left: auto; }
  .docs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .doc h3 { font-size: 15px; }
  .ledger th:first-child, .ledger td:first-child { display: none; }
  .ledger td, .ledger th { padding: 12px; }
  .ledger tfoot td:nth-child(2) { text-align: left; }
  .price { font-size: 46px; }
  .btn.big { width: 100%; justify-content: center; }
  .cta-row { flex-direction: column; }
}
