/* Shemen Solutions — "ledger" visual system
   Ruled lines, a margin rule, and aligned columns: the vernacular of accounting paper,
   applied to a site about accounting systems. One accent (oil-amber), one dark (indigo ink). */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --ink: #1d1a3a;          /* indigo-black, from the logo's hue */
  --ink-2: #2e2a5e;
  --paper: #f4f4f1;
  --sheet: #fbfbf9;        /* ledger sheet, slightly lighter than paper */
  --text: #26243b;
  --muted: #666380;
  --amber: #d69828;        /* the drop: oil */
  --amber-deep: #a9761a;
  --amber-pale: #fbf1dc;
  --rule: #d8d7e3;         /* ruled line */
  --rule-strong: #b9b7cc;
  --max: 1120px;
  --lh: 1.75rem;           /* the ruled-line pitch; body text sits on it */
  --display: 'Plus Jakarta Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --sans: 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: var(--lh);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 var(--lh); max-width: 64ch; }
ul, ol { padding-left: 1.3em; margin: 0 0 var(--lh); }
li { margin-bottom: .3em; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--ink); }
strong { font-weight: 600; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Layout: a margin rule runs down the left of every content column, like the red rule on ledger paper. */
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
section { padding: 5rem 0; }
section + section { border-top: 1px solid var(--rule); }
.section-head { max-width: 60ch; margin-bottom: 2.75rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
@media (max-width: 860px) {
  .two-col, .three-col { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 3.5rem 0; }
}

/* Header */
.site-header { background: var(--sheet); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 1rem; }
.brand { display: flex; align-items: center; text-decoration: none; white-space: nowrap; }
.brand img { height: 44px; width: auto; display: block; }
.site-footer .brand img { height: 40px; }
@media (max-width: 480px) { .brand img { height: 30px; } }
.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; white-space: nowrap; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--rule-strong); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--amber); }
.nav a.btn { margin-left: .4rem; padding: .6rem 1.1rem; border-bottom: 0; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 2px; padding: .5rem .8rem; font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 80px; background: var(--sheet); border-bottom: 2px solid var(--ink); flex-direction: column; align-items: stretch; padding: .6rem 1.25rem 1.25rem; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--rule) !important; }
  .nav a[aria-current="page"] { color: var(--amber-deep); }
  .nav a.btn { margin: 1rem 0 0; text-align: center; border: 1.5px solid var(--ink) !important; }
}

/* Buttons: square-cornered, like a rubber stamp */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; padding: .8rem 1.4rem; border-radius: 2px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: background .15s, color .15s, transform .1s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-amber, .nav a.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-amber:hover, .nav a.btn-amber:hover { background: #e5a93a; border-color: #e5a93a; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.75rem; }

/* Hero: dark sheet, headline left, the "statement" right */
.hero { background: var(--ink); color: #e9e8f2; padding: 5.5rem 0 5rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--lh) - 1px), rgba(255,255,255,.055) calc(var(--lh) - 1px) var(--lh)); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero .lede { color: #c9c7dd; }
.hero .btn { border-color: #fff; color: #fff; }
.hero .btn:hover { background: #fff; color: var(--ink); }
.hero .btn-amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.hero .btn-amber:hover { background: #e5a93a; border-color: #e5a93a; }
.specialist { color: var(--amber); font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin: 0 0 1rem; letter-spacing: -0.01em; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 3rem; } .hero { padding: 3.5rem 0; } }

/* The statement: an invoice that totals to nothing. The memorable object of the site. */
.statement { background: var(--sheet); color: var(--text); border-radius: 2px; padding: 1.6rem 1.8rem 1.4rem 2.6rem; position: relative; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--lh) - 1px), var(--rule) calc(var(--lh) - 1px) var(--lh)); background-origin: content-box; }
.statement::before { content: ''; position: absolute; top: 0; bottom: 0; left: 1.7rem; width: 2px; background: var(--amber); opacity: .7; }
.statement h3 { font-size: 1.05rem; margin: 0; line-height: var(--lh); font-family: var(--sans); font-weight: 600; color: var(--muted); }
.statement .title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ink); line-height: var(--lh); margin: 0 0 var(--lh); letter-spacing: -0.02em; }
.statement table { width: 100%; border-collapse: collapse; }
.statement td { padding: 0; line-height: var(--lh); height: var(--lh); vertical-align: baseline; font-size: .98rem; }
.statement td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; white-space: nowrap; padding-left: 1rem; }
.statement tr.total td { border-top: 2px solid var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.statement .stamp { position: absolute; right: 1.4rem; top: 1.1rem; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .04em; color: var(--amber-deep); border: 2px solid var(--amber); border-radius: 3px; padding: .15rem .5rem; transform: rotate(-6deg); }
.statement .foot { margin: var(--lh) 0 0; font-size: .9rem; color: var(--muted); line-height: var(--lh); }

/* Badges */
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; justify-items: center; align-items: start; }
.badges figure { margin: 0; text-align: center; max-width: 230px; }
.badges img { width: 100%; max-width: 190px; height: auto; display: block; margin: 0 auto .6rem; }
.badges figcaption { font-size: .9rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 480px) { .badges { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .statement { padding-left: 2.2rem; padding-right: 1.2rem; } .statement::before { left: 1.4rem; } .statement .stamp { position: static; display: inline-block; transform: rotate(-3deg); margin-bottom: .4rem; } }

/* Certified band: badges and explanation side by side */
.certified { background: var(--sheet); }
.certified .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: center; }
.cert-list { display: grid; gap: 1.5rem; margin-top: .5rem; }
.cert-list > div { border-left: 2px solid var(--amber); padding-left: 1.25rem; }
.cert-list h3 { margin-bottom: .25rem; }
.cert-list p { font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .certified .wrap { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Page intro (interior pages): dark band, same ruled texture */
.page-intro { background: var(--ink); color: #e9e8f2; padding: 4.5rem 0 4rem; position: relative; }
.page-intro::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--lh) - 1px), rgba(255,255,255,.055) calc(var(--lh) - 1px) var(--lh)); pointer-events: none; }
.page-intro .wrap { position: relative; }
.page-intro h1 { color: #fff; max-width: 18ch; }
.page-intro .lede { color: #c9c7dd; margin-bottom: 0; }
.page-intro .btn { border-color: #fff; color: #fff; }
.page-intro .btn:hover { background: #fff; color: var(--ink); }
.page-intro .btn-primary { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* Feature entries: ruled rows, not cards */
.feature { padding: 1.1rem 0 1.4rem; border-top: 1px solid var(--rule-strong); }
.feature h3 { margin-bottom: .35rem; }
.feature p { font-size: .98rem; margin-bottom: .6em; }
.three-col .feature:nth-child(-n+3) { border-top: 2px solid var(--ink); }

/* Hesitation entries: two columns like debit / credit */
.pairs { border-top: 2px solid var(--ink); }
.pair { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule-strong); }
.pair .worry h4 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; color: var(--muted); letter-spacing: -0.01em; margin: 0; line-height: 1.25; }
.pair h4 { margin: 0 0 .35rem; }
.pair p { font-size: .98rem; margin: 0; }
@media (max-width: 720px) { .pair { grid-template-columns: 1fr; gap: .8rem; } }

/* Timeline (process page): a numbered margin column, ruled rows */
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; max-width: 820px; border-top: 2px solid var(--ink); }
.timeline li { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem; padding: 1.6rem 0 1.8rem; border-bottom: 1px solid var(--rule-strong); counter-increment: step; }
.timeline li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1.1; color: var(--amber); letter-spacing: -0.03em; }
.timeline li > div { min-width: 0; }
.timeline h3 { margin-bottom: .2rem; }
.timeline .when { color: var(--muted); font-size: .92rem; margin-bottom: .6rem; }
.timeline p { margin-bottom: .6em; }
.timeline .you { border-left: 2px solid var(--amber); padding: .2rem 0 .2rem 1rem; font-size: .95rem; margin-top: .6rem; }
.timeline .you strong { color: var(--ink); }
@media (max-width: 600px) { .timeline li { grid-template-columns: 3.2rem 1fr; gap: .8rem; } .timeline li::before { font-size: 1.8rem; } }

/* Callout: amber sheet with the margin rule */
.callout { background: var(--amber); color: var(--ink); border-radius: 2px; padding: 2.75rem 2.75rem 2.75rem 3.5rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; }
.callout::before { content: ''; position: absolute; top: 1.25rem; bottom: 1.25rem; left: 2rem; width: 2px; background: var(--ink); opacity: .35; }
.callout h2, .callout h3 { color: var(--ink); }
.callout p { color: #3a3120; max-width: 48ch; }
.callout .btn { border-color: var(--ink); color: var(--ink); }
.callout .btn-primary { background: var(--ink); color: #fff; }
.callout .btn-primary:hover { background: var(--ink-2); }
.callout .btn-row { margin-top: 0; justify-content: flex-start; }
@media (max-width: 860px) { .callout { grid-template-columns: 1fr; padding: 2rem 1.6rem 2rem 2.4rem; } .callout::before { left: 1.2rem; } }

/* Comparison table: ledger columns */
.compare { width: 100%; border-collapse: collapse; font-size: .97rem; border-top: 2px solid var(--ink); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem 1.2rem 1rem 0; border-bottom: 1px solid var(--rule-strong); }
.compare th { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.compare td:first-child, .compare th:first-child { font-weight: 600; color: var(--ink); width: 20%; border-right: 2px solid var(--amber); padding-right: 1.2rem; }
.compare td:not(:first-child) { padding-left: 1.2rem; }
.compare th:not(:first-child) { padding-left: 1.2rem; }
@media (max-width: 720px) {
  .compare thead { display: none; }
  .compare tr { display: block; border-bottom: 1px solid var(--rule-strong); padding: .6rem 0; }
  .compare td { display: block; border: 0 !important; padding: .4rem 0; width: auto !important; }
  .compare td:first-child { font-family: var(--display); font-size: 1.15rem; padding-top: .6rem; }
  .compare td[data-label]::before { content: attr(data-label); display: block; font-size: .85rem; color: var(--amber-deep); font-weight: 600; }
}

/* Client notes: ruled entries */
.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; border-top: 2px solid var(--ink); }
.note { padding: 1.4rem 0 1.5rem; border-bottom: 1px solid var(--rule-strong); }
.note p { font-family: var(--display); font-weight: 500; font-size: 1.15rem; line-height: 1.4; color: var(--ink); margin-bottom: .7em; letter-spacing: -0.01em; }
.note cite { font-style: normal; font-size: .92rem; color: var(--muted); }
.note cite strong { color: var(--text); font-weight: 500; }
@media (max-width: 720px) { .notes { grid-template-columns: 1fr; } }

/* People */
.person { display: grid; grid-template-columns: 72px 1fr; gap: 1.2rem; align-items: start; }
.person .initials { width: 72px; height: 72px; border-radius: 50%; background: var(--amber-pale); color: var(--amber-deep); font-family: var(--display); font-weight: 700; font-size: 1.5rem; display: grid; place-items: center; border: 2px solid var(--amber); }
.person h3 { margin-bottom: .1rem; }
.person .role { color: var(--amber-deep); font-weight: 500; margin-bottom: .6rem; }
.person p { font-size: .98rem; }

/* FAQ */
details { border-top: 1px solid var(--rule-strong); padding: 1rem 0; max-width: 760px; }
details:first-of-type { border-top: 2px solid var(--ink); }
details:last-of-type { border-bottom: 1px solid var(--rule-strong); }
summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--amber-deep); font-weight: 400; font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin-top: .7rem; font-size: .98rem; }

/* Contact */
.form { background: var(--sheet); border: 1px solid var(--rule-strong); border-top: 2px solid var(--ink); border-radius: 2px; padding: 1.8rem; }
.form label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: .35rem; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid var(--rule-strong); border-radius: 2px; background: #fff; color: var(--text); margin-bottom: 1.1rem; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--amber); outline: 3px solid rgba(214,152,40,.25); outline-offset: 0; }
.form .hint { font-size: .88rem; color: var(--muted); margin: -.7rem 0 1.1rem; line-height: 1.4; }
.form button { width: 100%; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 2px solid var(--ink); }
.contact-lines li { padding: .7rem 0; border-bottom: 1px solid var(--rule-strong); display: grid; grid-template-columns: 90px 1fr; gap: 1rem; font-size: .98rem; }
.contact-lines li span:first-child { color: var(--muted); }
.expect { list-style: none; padding: 0; counter-reset: ex; margin-bottom: 2.5rem; }
.expect li { counter-increment: ex; display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.expect li::before { content: counter(ex, decimal-leading-zero); font-family: var(--display); font-weight: 700; color: var(--amber); font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.03em; }
.expect li strong { display: block; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #b7b5cc; padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer h4 { color: #fff; margin-bottom: .7rem; }
.site-footer a { color: #e3e2ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--amber); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .brand { margin-bottom: 1rem; }
.site-footer p { color: #b7b5cc; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .88rem; color: #8f8caa; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Ruled list sheet (used on services and proof-of-concept pages) */
.ledger { background: var(--sheet); border-radius: 2px; padding: 1.4rem 1.6rem 1.4rem 2.6rem; position: relative; border: 1px solid var(--rule); }
.ledger::before { content: ''; position: absolute; top: 0; bottom: 0; left: 1.7rem; width: 2px; background: var(--amber); opacity: .7; }
.ledger h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.ledger ul { list-style: none; padding: 0; margin: 0; }
.ledger li { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; padding: .5rem 0; border-top: 1px solid var(--rule); font-size: .97rem; line-height: 1.5; }
.ledger li:first-child { border-top: 0; }
.ledger li svg { width: 18px; height: 18px; margin-top: .2rem; color: var(--amber-deep); }
.ledger .foot { margin: .8rem 0 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
