/* Jack & Anna: AI and growth for SMEs. Plain CSS, phone portrait first. */

:root {
  --ink: #0e1a2b;
  --ink-2: #1f2f47;
  --text: #2b3647;
  --muted: #5a6779;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --accent: #ff6a3d;
  --accent-ink: #c2410c;
  --teal: #19b3a3;
  --teal-ink: #0f766e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 8px 24px rgba(14, 26, 43, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); color: var(--muted); max-width: 46rem; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
@media (min-width: 860px) { section { padding: 96px 0; } }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: 40px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 .9rem;
}

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 24px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--accent); color: #fff;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #f2551f; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { flex: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); cursor: pointer; padding: 0;
}
.nav-links { display: none; }
.nav-links.open {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 64px;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px; box-shadow: var(--shadow);
}
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav-links a[aria-current="page"] { color: var(--accent-ink); }
.nav-links a.btn { margin-top: 14px; border-bottom: 0; color: #fff; padding: 12px 24px; }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav-links, .nav-links.open { display: flex; flex-direction: row; align-items: center; gap: 28px; position: static; padding: 0; box-shadow: none; border: 0; background: none; }
  .nav-links a { padding: 6px 0; border: 0; }
  .nav-links a.btn { margin: 0; padding: 10px 20px; min-height: 42px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(25, 179, 163, .28), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(255, 106, 61, .22), transparent 60%),
              var(--ink);
  color: #d7deea;
  padding: 64px 0 56px;
}
.hero h1 { color: #fff; }
.hero .lead { color: #c3cddc; }
.hero .eyebrow { color: #ffb199; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-art { max-width: 520px; width: 100%; justify-self: center; }
.credentials { margin-top: 28px; font-size: .95rem; color: #a9b5c7; }
.credentials strong { color: #fff; font-weight: 600; }
@media (min-width: 960px) {
  .hero { padding: 112px 0 104px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}
.page-hero { padding: 64px 0 56px; }
@media (min-width: 960px) { .page-hero { padding: 96px 0 80px; } }

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 600px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
}
.section-soft .card { border-color: transparent; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; background: #fff1eb; color: var(--accent-ink);
}
.card .icon.teal { background: #e3f6f4; color: var(--teal-ink); }
.card .small { font-size: .95rem; color: var(--muted); }

/* Services */
.services { display: grid; gap: 20px; }
@media (min-width: 860px) { .services { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.service .num { font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 6px; display: block; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* Dark band */
.band-dark { background: var(--ink); color: #c3cddc; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: #ffb199; }
.band-dark a:not(.btn) { color: #7fe0d4; }
.band-dark a:not(.btn):hover { color: #fff; }
.steps { display: grid; gap: 28px; counter-reset: step; margin: 8px 0 32px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.step { border-top: 2px solid rgba(255, 255, 255, .16); padding-top: 22px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-weight: 800; color: var(--accent); margin-bottom: 8px; letter-spacing: .08em;
}

/* Split layouts */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.top { align-items: start; } }
.portrait { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }

/* Proof panel */
.proof { display: grid; gap: 14px; }
.proof-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.proof-item .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); margin-top: .6em; }
.proof-item strong { color: var(--ink); }

/* Quote */
.quote { text-align: center; max-width: 44rem; margin: 0 auto; }
.quote blockquote { margin: 0; font-size: clamp(1.35rem, 3.4vw, 1.9rem); line-height: 1.35; color: var(--ink); font-weight: 650; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 16px; color: var(--muted); font-weight: 600; }

/* CTA */
.cta { text-align: center; }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .btn-row { justify-content: center; }

/* Long-form sections (approach, trends) */
.feature { display: grid; gap: 12px; padding: 40px 0; border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .feature { grid-template-columns: .8fr 1.2fr; gap: 56px; padding: 56px 0; } }
.feature .tag { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 10px; display: block; }
.journey { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .journey { grid-template-columns: repeat(2, 1fr); } }
.journey li { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; }
.journey strong { display: block; color: var(--ink); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list .lbl { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list .val { font-size: 1.15rem; font-weight: 600; color: var(--ink); word-break: break-word; }
ol.next { padding-left: 1.2em; margin: 0; }
ol.next li { margin: 10px 0; padding-left: 4px; }

/* Prose (privacy) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.updated { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { background: #0a1320; color: #a9b5c7; padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: #dfe6f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h2 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8592a6; }

/* 404 */
.notfound { min-height: 50vh; display: grid; align-content: center; }
