/* Jenko Digital — accessible responsive refinements + optional dark appearance. */
:root {
  color-scheme: light;
}

body {
  min-width: 0;
  transition: background-color .22s ease, color .22s ease;
}

a, button { -webkit-tap-highlight-color: transparent; }
.ui-icon { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.btn .ui-icon { width: 17px; height: 17px; }
.theme-icon { width: 19px; height: 19px; }
.menu .ui-icon { width: 23px; height: 23px; }
.symbol { display: flex; align-items: center; }
.service-icon { width: 34px; height: 34px; stroke-width: 1.75; }
.pill { display: flex; flex-direction: column; align-items: flex-start; }
.pill-icon { display: block; width: 27px; height: 27px; margin-bottom: 17px; color: #D8F5BC; }
.hero-spark { position: absolute; right: 60px; top: 60px; color: #211439; width: 47px; height: 47px; transform: rotate(-15deg); stroke-width: 1.6; }
.float::before { content: ''; display: inline-block; width: 7px; height: 7px; background: #211439; border-radius: 50%; margin-right: 7px; vertical-align: 2px; }
.strip span + span::before { content: ''; display: none; width: 5px; height: 5px; margin: 0 14px 2px 0; border-radius: 50%; background: #9773dd; }
.mockbody b { display: inline-flex; align-items: center; gap: 6px; }
.mockbody b .ui-icon { width: 12px; height: 12px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #9465E6;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: #D8F5BC;
  color: #211439;
  font-weight: 700;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
main:focus { outline: none; }

.nav { gap: 24px; }
.navlinks { align-items: center; gap: clamp(18px, 2.7vw, 38px); }
.navlinks a { padding: 14px 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta { white-space: nowrap; }
.theme-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  min-width: 46px;
  padding: 9px 15px;
  border: 1px solid #C9BBD8;
  border-radius: 100px;
  color: #211439;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.js .theme-toggle { display: inline-flex; }
.theme-toggle:hover { background: #EDE4FA; border-color: #9972D4; }
.theme-icon { font-size: 23px; font-weight: 400; line-height: 1; }
.mobile-links[hidden] { display: none !important; }
.mobile-links a { display: block; padding: 13px 4px; min-height: 44px; font-weight: 600; }
.menu { min-width: 46px; min-height: 46px; border-radius: 12px; color: inherit; cursor: pointer; }
.menu:hover { background: #C9B3F02B; }

section[id], div[id] { scroll-margin-top: 30px; }
.hero, .intro, .statement, .contact-inner { min-width: 0; }
.hero > *, .intro > *, .statement > *, .contact-inner > * { min-width: 0; }
.hero p { max-width: 540px; }
.mockbody h3 { max-width: 175px; }
.mockshape { width: 100px; height: 100px; }
.service p { font-size: 15px; }
.num { color: #685087; }
.service h3 { overflow-wrap: break-word; }
.pill { overflow-wrap: break-word; }

/* Dark treatment follows the approved lavender/ink/ivory visual direction. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #211439;
  --ink: #F7F5F0;
  --muted: #D1C5DE;
  --line: #5B466E;
}
:root[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
:root[data-theme="dark"] ::selection { background: #D8F5BC; color: #211439; }
:root[data-theme="dark"] .logo { color: #F7F5F0; }
:root[data-theme="dark"] .logo span { color: #AE8CF0; }
:root[data-theme="dark"] .navlinks a:hover,
:root[data-theme="dark"] .mobile-links a:hover { color: #D8F5BC; }
:root[data-theme="dark"] .theme-toggle {
  background: #35244F;
  border-color: #8065A1;
  color: #F7F5F0;
}
:root[data-theme="dark"] .theme-toggle:hover { background: #4A3467; }
:root[data-theme="dark"] .menu:hover { background: #493360; }
:root[data-theme="dark"] .btn { background: #D8F5BC; color: #211439; box-shadow: none; }
:root[data-theme="dark"] .btn:hover { background: #E6FFC9; }
:root[data-theme="dark"] .eyebrow { color: #D8F5BC; }
:root[data-theme="dark"] .eyebrow:before { background: #D8F5BC; }
:root[data-theme="dark"] h1 em { color: #C4A7FF; }
:root[data-theme="dark"] .hero p { color: #D3C7DF; }
:root[data-theme="dark"] .hero-art { background: #AE8CF0; }
:root[data-theme="dark"] .mock { background: #F7F5F0; color: #211439; }
:root[data-theme="dark"] .mockbody h3 { color: #211439; }
:root[data-theme="dark"] .mockbody b { color: #F7F5F0; }
:root[data-theme="dark"] .float { color: #211439; }
:root[data-theme="dark"] .strip { color: #D5C8E4; }
:root[data-theme="dark"] .strip strong { color: #D8F5BC; }
:root[data-theme="dark"] .service,
:root[data-theme="dark"] .service:nth-child(2),
:root[data-theme="dark"] .service:nth-child(3),
:root[data-theme="dark"] .service:nth-child(5),
:root[data-theme="dark"] .service:nth-child(6) {
  background: #35244F;
  border-color: #624B80;
  box-shadow: none;
}
:root[data-theme="dark"] .service h3 { color: #F7F5F0; }
:root[data-theme="dark"] .service p { color: #D7CDE2; }
:root[data-theme="dark"] .num { color: #CBB0FF; }
:root[data-theme="dark"] .symbol { color: #D8F5BC; }
:root[data-theme="dark"] .pill-icon { color: #D8F5BC; }
:root[data-theme="dark"] .strip span + span::before { background: #D8F5BC; }
:root[data-theme="dark"] .statement { background: #2C1B42; border: 1px solid #58446E; }
:root[data-theme="dark"] .statement h2 span { color: #C4A7FF; }
:root[data-theme="dark"] .pill { border-color: #765E92; }
:root[data-theme="dark"] .step { border-color: #735B8E; }
:root[data-theme="dark"] .step strong { color: #CCB2FF; }
:root[data-theme="dark"] .contact { background: #AE8CF0; color: #211439; }
:root[data-theme="dark"] .contact .eyebrow { color: #211439; }
:root[data-theme="dark"] .contact .eyebrow:before { background: #D8F5BC; }
:root[data-theme="dark"] .contact h2,
:root[data-theme="dark"] .contact p { color: #211439; }
:root[data-theme="dark"] .contact .btn { background: #211439; color: #F7F5F0; }
:root[data-theme="dark"] .contact .btn:hover { background: #382052; }
:root[data-theme="dark"] a:focus-visible,
:root[data-theme="dark"] button:focus-visible { outline-color: #D8F5BC; }

/* Mobile-first layout: 320px phones are the baseline; larger screens progressively expand. */
.container { padding-left: 16px; padding-right: 16px; }
.nav { height: 72px; gap: 8px; }
.logo { font-size: 25px; flex-shrink: 0; }
.navlinks { display: none; }
.nav-cta { display: inline-flex; }
.nav-actions { gap: 6px; }
.menu { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; }
.theme-toggle { min-height: 44px; min-width: 44px; padding: 8px; gap: 4px; font-size: 11px; }
.theme-icon { font-size: 18px; }
.theme-label { display: inline; white-space: nowrap; }
.mobile-links.open { display: flex; flex-direction: column; gap: 0; padding: 8px 4px 22px; border-top: 1px solid var(--line); }

h1 { font-size: clamp(2.5rem, 11.8vw, 3.5rem); line-height: 1.04; }
.hero { grid-template-columns: minmax(0, 1fr); gap: 25px; padding: 30px 0 56px; }
.hero p { font-size: 17px; line-height: 1.6; }
.hero .btn, .contact .btn { display: inline-flex; width: 100%; text-align: center; }
.hero-art { height: clamp(290px, 92vw, 385px); border-radius: 20px; }
.mock { left: 12%; top: 18%; width: 76%; height: 67%; }
.mockbody { padding: 12px; }
.mockbody small { font-size: 8px; }
.mockbody h3 { font-size: clamp(22px, 6.3vw, 27px); line-height: 1.04; margin: 10px 0; max-width: 95%; }
.mockbody b { font-size: 9px; padding: 7px 12px; }
.mockshape { display: none; }
.float { padding: 12px 14px; font-size: 11px; max-width: 92%; }
.hero-spark { display: none; }
.strip { gap: 10px; justify-content: center; padding: 20px 0; font-size: 11px; line-height: 1.5; }
.strip strong { display: none; }

.section { padding: 64px 0; }
.section-title { font-size: clamp(2.35rem, 9vw, 3.5rem); }
.intro { display: block; margin-bottom: 28px; }
.intro p { font-size: 16px; }
.services { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.service { min-height: 220px; padding: 25px; }
.service p { font-size: 16px; }
.symbol { margin: 20px 0 12px; }
.statement { grid-template-columns: minmax(0, 1fr); padding: 38px 25px; gap: 26px; border-radius: 20px; }
.statement h2 { font-size: clamp(2.35rem, 9vw, 3.5rem); }
.statement p { font-size: 16px; }
.pill-grid { grid-template-columns: minmax(0, 1fr); }
.pill { padding: 20px; font-size: 16px; }
.steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.step h3 { margin-top: 20px; }
.contact { padding: 66px 0; }
.contact-inner { display: block; }
.contact h2 { font-size: clamp(2.45rem, 10vw, 4rem); overflow-wrap: break-word; }
.contact p { max-width: 100%; }

@media (min-width: 360px) {
  .logo { font-size: 27px; }
  .theme-toggle { font-size: 12px; padding: 8px 10px; gap: 6px; }
  .theme-icon { font-size: 19px; }
}

@media (min-width: 480px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .nav { height: 78px; }
  .logo { font-size: 30px; }
  .theme-toggle { font-size: 13px; padding: 9px 14px; }
  .hero { padding-top: 42px; }
  .hero .btn, .contact .btn { width: auto; }
  .section { padding: 76px 0; }
  .statement { padding: 50px 36px; }
}

@media (min-width: 680px) {
  .container { padding-left: 30px; padding-right: 30px; }
  .hero { gap: 36px; }
  .hero-art { width: 100%; max-width: 650px; height: 440px; margin: 0 auto; }
  .mock { top: 23%; height: 56%; }
  .mockbody { padding: 29px; }
  .mockbody small { font-size: 10px; }
  .mockbody h3 { font-size: 38px; max-width: 175px; }
  .mockbody b { font-size: 11px; padding: 9px 16px; }
  .mockshape { display: block; width: 100px; height: 100px; }
  .float { font-size: 14px; padding: 19px 22px; }
  .hero-spark { display: block; top: 60px; right: 60px; }
  .strip strong { display: inline; font-size: 17px; }
  .strip span + span::before { display: inline-block; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .service { min-height: 280px; padding: 30px; }
  .pill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact h2 { font-size: clamp(3.6rem, 8vw, 5.5rem); }
}

@media (min-width: 950px) {
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 36px; padding: 70px 0 90px; }
  h1 { font-size: clamp(3.8rem, 6.4vw, 6.5rem); }
  .hero-art { max-width: none; height: 480px; }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .statement { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .contact-inner { display: flex; }
}

@media (min-width: 1100px) {
  .container { padding-left: 42px; padding-right: 42px; }
  .nav { height: 94px; gap: 24px; }
  .navlinks { display: flex; gap: clamp(18px, 2.7vw, 38px); }
  .nav-cta { display: inline-flex; }
  .menu { display: none; }
  .theme-toggle { font-size: 13px; }
  .hero { gap: 56px; }
  .hero-art { height: 525px; }
  .statement { padding: 72px 60px; }
}

/* Keep the primary contact action visible in the mobile header, outside the menu. */
@media (max-width: 1099px) {
  .nav-actions .nav-cta {
    display: inline-flex;
    min-height: 44px;
    padding: 11px 15px;
    gap: 8px;
    font-size: 13px;
  }
}

@media (max-width: 599px) {
  header.container { padding-inline: 16px; }
  .nav { gap: 4px; }
  .nav .logo { font-size: 24px; }
  .nav-actions { gap: 4px; }
  .theme-toggle .theme-label { display: none; }
  .nav-actions .theme-toggle { width: 44px; min-width: 44px; padding: 8px; }
  .nav-actions .menu { min-width: 44px; min-height: 44px; padding: 8px; }
  .nav-actions .nav-cta {
    min-height: 44px;
    padding: 10px 12px;
    gap: 0;
    font-size: 12px;
  }
  .nav-actions .nav-cta .ui-icon { display: none; }
}

@media (max-width: 359px) {
  header.container { padding-inline: 12px; }
  .nav .logo { font-size: 23px; }
  .nav-actions { gap: 2px; }
  .nav-actions .nav-cta { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (prefers-contrast: more) {
  .theme-toggle, .service, .pill { border-width: 2px; }
  a:focus-visible, button:focus-visible { outline-width: 4px; }
}
