/* SS Consultancy Group main stylesheet
   Colours and fonts are set once here and used everywhere.
   The look: warm paper, dark navy ink, orange and yellow from the logo,
   a serif for headings and solid edges in place of soft shadows. */
:root {
  --ink: #14213d;
  --ink-soft: #33405c;
  --muted: #646a78;
  --bg: #f4efe5;
  --surface: #fffdf8;
  --tint: #ebe3d3;
  --line: #d9cfbc;
  --orange: #f2622e;
  --orange-dark: #d94c1a;
  --primary: #14213d;
  --primary-dark: #000;
  --accent: #ffc23d;
  --accent-dark: #f0a800;
  --good: #1d7a52;
  --radius: 10px;
  --edge: 2px solid var(--ink);
  --lift: 5px 5px 0 var(--ink);
  --shadow: 3px 3px 0 var(--ink);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 11.5l4.2 4L17 4.5' fill='none' stroke='%23f2622e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17.5px; line-height: 1.65; overflow-x: hidden; }
/* A little paper grain so the page doesn't feel flat and digital */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 .55em; font-variation-settings: "SOFT" 50, "WONK" 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.75rem); letter-spacing: -0.025em; }
h3 { font-size: 1.32rem; }
h1 em, h2 em { font-style: italic; color: var(--orange); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.section { padding: 88px 0; position: relative; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #dfe3ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 26px; height: 2px; margin: -2px 10px 0 0; background: var(--orange); }
.eyebrow a { color: inherit; text-decoration: none; }
.section-dark .eyebrow { color: var(--accent) !important; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 680px; }
.section-dark .lead, .section-dark p { color: #c9cfdc; }
.muted { color: var(--muted); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 300; }
.skip-link:focus { left: 8px; }

/* Home page: number each section like chapters (01, 02...) */
.home main { counter-reset: chapter; }
.home .section-head .eyebrow { counter-increment: chapter; }
.home .section-head .eyebrow::before { content: counter(chapter, decimal-leading-zero); width: auto; height: auto; background: none; font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; color: var(--orange); text-transform: none; padding-right: 10px; border-right: 2px solid currentColor; line-height: 1; vertical-align: baseline; margin: 0 10px 0 0; }

/* Buttons: solid, square-ish, with a printed offset shadow */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; text-decoration: none; border-radius: 8px; padding: 12px 22px; border: var(--edge); cursor: pointer; font-family: inherit; font-size: 1rem; line-height: 1.3; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--lift); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn-sm { padding: 8px 16px; font-size: .92rem; box-shadow: 2px 2px 0 var(--ink); }
.btn-lg { padding: 15px 28px; font-size: 1.06rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink); color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent); color: var(--ink); }
.btn-ghost { color: var(--ink); background: var(--surface); }
.btn-ghost:hover { color: var(--ink); }
.section-dark .btn, .cta-band .btn { border-color: var(--ink); }
.section-dark .btn-accent { box-shadow: 4px 4px 0 var(--orange); border-color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,239,229,.95); backdrop-filter: blur(8px); border-bottom: var(--edge); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-weight: 700; }
.logo:hover { color: var(--ink); }
.logo-mark { display: block; width: 42px; height: 42px; flex: none; transition: transform .25s; }
.logo:hover .logo-mark { transform: rotate(-6deg); }
.logo-tile { fill: var(--ink); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em; }
.logo-text span { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--orange); margin-top: 4px; }
.logo-light, .logo-light:hover { color: #fff; }
.logo-light .logo-tile { fill: #22325a; }
.logo-light .logo-text span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.site-nav > ul > li > a { padding: 6px 0; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .2s; }
.site-nav > ul > li > a:hover, .site-nav > ul > li > a[aria-current] { color: var(--ink); background-size: 100% 2px; }
.site-nav .btn-primary { color: #fff; }
.site-nav .btn-primary:hover { color: var(--accent); }
.site-nav .sub { display: none; position: absolute; top: 100%; left: -18px; background: var(--surface); border: var(--edge); border-radius: 8px; box-shadow: var(--lift); list-style: none; padding: 8px 0; margin: 10px 0 0; min-width: 230px; }
.site-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.site-nav .sub a { display: block; padding: 8px 18px; }
.site-nav .sub a:hover { background: var(--accent); color: var(--ink); }
.site-nav .has-children:hover .sub, .site-nav .has-children:focus-within .sub { display: block; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 26px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--bg); border-bottom: var(--edge); flex-direction: column; align-items: stretch; padding: 12px 22px 24px; gap: 14px; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a { display: block; padding: 12px 0; font-size: 1.1rem; font-family: var(--serif); background: none; }
  .site-nav .sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 8px 14px; margin: 0; background: none; }
  .site-nav .sub a { padding: 6px 0; font-weight: 500; }
  .site-nav .sub a:hover { background: none; }
}

/* Hero */
.hero { padding: 84px 0 96px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: var(--accent); opacity: .5; z-index: -1; }
.hero { isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
/* A hand-drawn orange underline under the key words */
.hero h1 em { font-style: italic; color: var(--ink); white-space: nowrap; padding-bottom: .12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14c40-7 95-11 150-9s95 5 144-2' fill='none' stroke='%23f2622e' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 100% .3em no-repeat; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 22px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-soft); font-size: .95rem; font-weight: 500; list-style: none; padding: 0; margin: 0; }
.trust-line li { padding-left: 24px; background: var(--tick) 0 .3em / 16px no-repeat; }
.founder-note { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--line); max-width: 520px; }
.founder-note img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: var(--edge); flex: none; }
.founder-note p { margin: 0; font-size: .96rem; color: var(--ink-soft); line-height: 1.45; }
.founder-note strong { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.08rem; color: var(--ink); }
/* The three steps card looks like a job ticket pinned to the page */
.hero-card { position: relative; background: var(--surface); border: var(--edge); border-radius: 6px; box-shadow: 8px 8px 0 var(--ink); padding: 34px 30px 28px; transform: rotate(1.4deg); }
.hero-card::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 26px; margin-left: -55px; background: rgba(255,194,61,.75); transform: rotate(-3deg); }
.hero-card h2 { font-size: 1.45rem; padding-bottom: 14px; border-bottom: 2px dashed var(--line); margin-bottom: 20px; }
.steps-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps-mini li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.steps-mini .num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.4rem; border: var(--edge); background: var(--accent); color: var(--ink); }
.steps-mini li:nth-child(2) .num { background: var(--orange); color: #fff; }
.steps-mini li:nth-child(3) .num { background: var(--ink); color: var(--accent); }
.steps-mini strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.steps-mini span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; margin-top: 2px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero { padding: 52px 0 64px; }
  .hero::after { width: 300px; height: 300px; right: -140px; top: -120px; }
  .hero-card { transform: rotate(.8deg); margin: 0 6px; }
  .hero h1 em { white-space: normal; }
}

/* A slow ribbon of the trades and shops we work with */
.ribbon { background: var(--ink); color: var(--bg); border-top: var(--edge); border-bottom: var(--edge); overflow: hidden; white-space: nowrap; padding: 15px 0; }
.ribbon-track { display: inline-flex; animation: ribbon 45s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: 1.3rem; padding: 0 22px; }
.ribbon span::after { content: "\2726"; font-style: normal; color: var(--accent); font-size: .85rem; margin-left: 44px; position: relative; top: -2px; }
@keyframes ribbon { to { transform: translateX(-50%); } }
/* With Reduce Motion on (an iPhone setting), the ribbon stands still, so wrap the list to keep every name readable */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon { white-space: normal; padding: 14px 16px; }
  .ribbon-track { animation: none; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .ribbon span { font-size: 1.1rem; padding: 0 10px; }
  .ribbon span::after { margin-left: 20px; }
  .ribbon span.repeat { display: none; }
  .ribbon span:nth-last-child(11)::after { display: none; }
}

.page-hero { position: relative; padding: 72px 0 56px; border-bottom: var(--edge); overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; right: -90px; bottom: -150px; width: 340px; height: 340px; border-radius: 50%; border: 2px solid var(--orange); z-index: -1; }
.page-hero::before { content: ""; position: absolute; right: 60px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; background: var(--accent); opacity: .55; z-index: -1; }
.page-hero h1 { max-width: 920px; font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
.page-hero .meta { color: var(--muted); font-size: .95rem; }
.post-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
@media (max-width: 620px) { .page-hero { padding: 48px 0 40px; } .page-hero::before { right: -60px; width: 150px; height: 150px; } .page-hero::after { display: none; } }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--surface); border: var(--edge); border-radius: var(--radius); padding: 28px; color: var(--ink); text-decoration: none; display: block; transition: transform .15s, box-shadow .15s; }
a.card:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.card h3 { margin-top: 8px; }
.card p { color: var(--ink-soft); margin-bottom: 12px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--orange); padding-bottom: 1px; margin-top: 4px; }
.card .more::after { content: ""; width: 14px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8 1l4 4-4 4' fill='none' stroke='%23f2622e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .15s; }
a.card:hover .more::after { transform: translateX(4px); }
.card .icon { font-size: 1.8rem; line-height: 1; }
.card ul { padding-left: 0; list-style: none; margin: 0 0 16px; color: var(--ink-soft); }
.card ul li { padding-left: 26px; margin-bottom: 7px; background: var(--tick) 0 .32em / 15px no-repeat; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); background: var(--accent); border: 1.5px solid var(--ink); padding: 3px 10px; border-radius: 4px; }
.post-card { display: flex !important; flex-direction: column; }
.post-card h3 { font-size: 1.22rem; }
.post-card .meta { color: var(--muted); font-size: .86rem; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.post-card .tag { align-self: flex-start; background: transparent; border-color: var(--orange); color: var(--orange-dark); }

/* Home: the three problems read as things customers actually say */
.section-problems .card { border-radius: 20px 20px 20px 4px; box-shadow: var(--shadow); }
.section-problems .card:nth-child(1) { transform: rotate(-1deg); }
.section-problems .card:nth-child(2) { transform: rotate(.8deg) translateY(14px); background: #fff5d9; }
.section-problems .card:nth-child(3) { transform: rotate(-.6deg); }
.section-problems .card h3 { font-style: italic; font-size: 1.5rem; color: var(--ink); }

/* Home: the two services, one dark and one light */
.home #services .grid-2 > .card:first-child { background: var(--ink); color: #dfe3ec; }
.home #services .grid-2 > .card:first-child h3 { color: #fff; }
.home #services .grid-2 > .card:first-child ul { color: #c9cfdc; }
.home #services .grid-2 > .card:first-child .more { color: #fff; }
.home #services .grid-2 > .card:first-child:hover { box-shadow: 6px 6px 0 var(--orange); }
.home #services .grid-2 > .card:last-child { background: var(--accent); }
.home #services .grid-2 > .card:last-child .tag { background: var(--surface); }
.home #services .grid-2 > .card:last-child ul { color: var(--ink); }
.home #services .grid-2 > .card:last-child ul li { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 11.5l4.2 4L17 4.5' fill='none' stroke='%2314213d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.home #services .card h3 { font-size: 1.75rem; }
.home #services .card { padding: 34px; }

/* Home: who we help, with a coloured strip on top of each card */
.section-who .card { padding-top: 40px; overflow: hidden; }
.section-who .card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; border-bottom: var(--edge); background: var(--orange); }
.section-who .card:nth-child(2)::before { background: var(--accent); }
.section-who .who-tech { margin: 32px 0 0; font-size: 1.05rem; color: var(--ink-soft); }
.section-who .who-tech a { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--orange); text-decoration: none; }
.section-who .card:nth-child(3)::before { background: var(--ink); }
.section-who .card h3 { font-size: 1.6rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid currentColor; }
.stat { padding: 22px 22px 6px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid rgba(128,128,128,.35); }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: .95rem; display: block; line-height: 1.45; }
.section-dark .stats { border-color: var(--accent); }
.section-dark .stat span { color: #b8c2d6; }
.section-dark .stat strong { color: var(--accent); }
.stats-hero { margin-top: 32px; }
.card .stats { border-top-width: 1.5px; }
.card .stat strong { font-size: 2rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat, .stat + .stat { padding: 18px 14px 10px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(128,128,128,.35); }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(128,128,128,.35); }
}
.section-dark { overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.2px); background-size: 22px 22px; pointer-events: none; }
.section-dark > .container { position: relative; }

/* Steps, joined by a dashed line like a route */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: calc((100% - 68px) / 3 - 32px); border-top: 2px dashed var(--ink); }
.step { position: relative; padding-top: 86px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); border: var(--edge); box-shadow: var(--shadow); color: var(--ink); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.9rem; display: grid; place-items: center; }
.step:nth-child(2)::before { background: var(--orange); color: #fff; }
.step:nth-child(3)::before { background: var(--ink); color: var(--accent); }
.step h3 { font-size: 1.45rem; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps::before { top: 30px; bottom: 30px; left: 31px; right: auto; border-top: 0; border-left: 2px dashed var(--ink); }
  .step { padding: 8px 0 18px 90px; min-height: 80px; }
}

/* Comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: var(--edge); border-radius: var(--radius); overflow: hidden; box-shadow: 6px 6px 0 var(--ink); }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; border-bottom: var(--edge); }
.compare tbody th { font-weight: 700; }
.compare td:nth-child(2), .compare td:nth-child(3) { color: var(--muted); }
.compare td:last-child, .compare th:last-child { background: #fff3d1; font-weight: 600; border-left: var(--edge); }
.compare thead th:last-child { background: var(--accent); color: var(--ink); font-style: italic; font-size: 1.15rem; }
.table-scroll { overflow-x: auto; padding: 0 8px 10px 0; }
/* On phones, show the comparison as one card per row so our column is never cut off */
@media (max-width: 700px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare { background: none; box-shadow: none; border: 0; border-radius: 0; overflow: visible; }
  .compare thead { display: none; }
  .compare tr { background: var(--surface); border: var(--edge); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; }
  .compare tbody th { font-family: var(--serif); font-size: 1.15rem; padding: 14px 16px 8px; border: 0; }
  .compare td { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line) !important; font-size: .95rem; border-left: 0 !important; }
  .compare td::before { content: attr(data-label); color: var(--muted); font-weight: 600; font-size: .85rem; }
  .compare td:last-child { border-bottom: 0 !important; border-top: var(--edge); }
  .compare td:last-child::before { color: var(--ink); }
}

/* Quote / testimonial */
.quote { font-family: var(--serif); font-style: italic; font-size: 1.45rem; font-weight: 500; line-height: 1.35; border-left: 4px solid var(--orange); padding-left: 22px; margin: 0; }

/* Prose (Markdown content) */
.prose-wrap { padding: 60px 0 28px; }
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.9em; font-size: 2rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.4rem; }
.prose > p:first-of-type { font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li::marker { color: var(--orange); }
.prose ol li::marker { color: var(--orange-dark); font-weight: 700; font-family: var(--serif); }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); font-family: var(--serif); font-style: italic; font-size: 1.22rem; line-height: 1.45; color: var(--ink); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--ink); color: #fff; border-color: var(--ink); }
.prose tr:nth-child(even) td { background: rgba(235,227,211,.5); }
.prose .grid { margin: 1.6em 0; }
.prose .card ul { padding-left: 0; }
.prose .card h3 { margin-top: 8px; }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2.5em 0; }
@media (max-width: 620px) {
  .prose table { font-size: .88rem; }
  .prose th, .prose td { padding: 8px 9px; }
  .prose h2 { font-size: 1.6rem; }
}
.tldr { background: #fff3d1; border: var(--edge); border-radius: 4px; box-shadow: var(--shadow); padding: 18px 22px; margin-bottom: 2.2em; }
.tldr strong { font-family: var(--serif); font-style: italic; }
.callout { background: var(--surface); border: var(--edge); border-left: 8px solid var(--orange); border-radius: 6px; padding: 18px 22px; margin: 1.6em 0; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 3.2em; padding: 24px; background: var(--surface); border: var(--edge); border-radius: var(--radius); box-shadow: var(--shadow); font-size: .96rem; }
.author-box strong { font-family: var(--serif); font-size: 1.1rem; }

/* FAQ */
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: var(--edge); padding: 0; }
.faq details:last-of-type { border-bottom: var(--edge); }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; padding: 20px 52px 20px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border: var(--edge); border-radius: 50%; display: grid; place-items: center; font-family: var(--font); font-size: 1.3rem; line-height: 1; background: var(--surface); transition: transform .2s, background .2s; }
.faq summary:hover::after { background: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq details > div { padding: 0 0 18px; color: var(--ink-soft); max-width: 640px; }

/* CTA band */
.cta-band { background: var(--orange); color: var(--ink); padding: 72px 0; border-top: var(--edge); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid var(--ink); opacity: .35; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; }
.cta-band h2 { color: var(--ink); margin-bottom: .3em; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta-band p { color: var(--ink); max-width: 640px; margin: 0; font-size: 1.08rem; }
.cta-band .btn-accent { background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--accent); flex: none; }
.cta-band .btn-accent:hover { color: var(--accent); box-shadow: 7px 7px 0 var(--accent); }
@media (max-width: 760px) { .cta-inner { flex-direction: column; align-items: flex-start; gap: 26px; } .cta-band { padding: 56px 0; } }

/* Forms */
.contact-form { display: grid; gap: 16px; background: var(--surface); padding: 30px; border-radius: var(--radius); border: var(--edge); box-shadow: 8px 8px 0 var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } .contact-form { padding: 22px; box-shadow: 5px 5px 0 var(--ink); } }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,98,46,.25); }
.contact-form button { justify-self: start; }
.form-note { color: var(--muted); font-size: .88rem; margin: 0; }
.form-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; background: var(--tick) 0 .3em / 17px no-repeat; }

/* Footer */
.site-footer { background: var(--ink); color: #b8c2d6; padding: 64px 0 26px; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--accent) 0 40px, var(--orange) 40px 80px); }
.site-footer a { color: #e3e8f2; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.site-footer h3 { color: var(--accent); font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand p { margin-top: 16px; }
.footer-brand p:first-of-type { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #fff; line-height: 1.4; max-width: 320px; }
.footer-base { border-top: 1px solid #2a3a5f; margin-top: 44px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.whatsapp-float { position: fixed; right: 18px; bottom: 18px; background: #25d366; color: var(--ink); font-weight: 700; padding: 12px 18px; border-radius: 8px; border: var(--edge); text-decoration: none; box-shadow: var(--shadow); z-index: 60; }
.whatsapp-float:hover { color: var(--ink); }

/* Client logos: one colour, same-size tiles, so they read as a set */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; margin: 16px 0 0; }
.logos li { display: grid; place-items: center; background: var(--surface); border: var(--edge); border-radius: 8px; padding: 14px 18px; }
.logos img { display: block; width: 100%; max-width: 180px; height: auto; aspect-ratio: 3 / 1; opacity: .85; }
.logos-on-dark li { background: transparent; border: 1.5px dashed rgba(255,255,255,.28); }
.logos-on-dark img { filter: brightness(0) invert(1); }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(2, 1fr); } }
.contact-form .hp { display: none; }
.contact-form label { display: block; }
.contact-form label input, .contact-form label select, .contact-form label textarea { display: block; margin-top: 6px; }

.founder-photo { float: right; width: 230px; height: 230px; border-radius: 6px; margin: 4px 6px 20px 28px; object-fit: cover; border: var(--edge); box-shadow: 8px 8px 0 var(--accent), 8px 8px 0 2px var(--ink); transform: rotate(2deg); }
@media (max-width: 620px) { .founder-photo { float: none; display: block; margin: 0 0 24px; } }
.author-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; border: var(--edge); }
.form-success { background: #dff3ea; color: #135c3d; border: 2px solid #135c3d; border-radius: 8px; padding: 16px 20px; font-weight: 600; }
.form-error { background: #fde8e8; color: #8a1c1c; border: 2px solid #8a1c1c; border-radius: 8px; padding: 12px 16px; }

/* Pricing */
.price-grid { margin: 0 0 2.2em; align-items: stretch; }
.price-card .price { font-family: var(--serif); font-size: 3.4rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--ink); margin: 10px 0 4px; }
.price-card .price-monthly { color: var(--muted); font-size: .92rem; margin-top: 0; padding-bottom: 14px; border-bottom: 2px dashed var(--line); }
.price-card h3 { font-size: 1.6rem; margin-top: 14px; }
.price-card-main { background: #fff3d1; box-shadow: 8px 8px 0 var(--ink); transform: translateY(-8px); }
.price-card-main .tag { background: var(--orange); color: #fff; }
@media (max-width: 900px) { .price-card-main { transform: none; } }
.prose .card { box-shadow: var(--shadow); }
@media (max-width: 620px) { .section-problems .card:nth-child(n) { transform: none; } }
