/* ==========================================================================
   TKSoftware Inc. — static site stylesheet
   Replaces the WordPress/Elementor theme. Single stylesheet, no build step.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  --blue:        #1a6fc4;
  --blue-dark:   #11528f;
  --blue-soft:   rgba(26, 111, 196, 0.10);
  --ink:         #1c2733;
  --ink-2:       #1b1a1a;
  --muted:       #5a6b7b;
  --body:        #333333;
  --bg:          #ffffff;
  --bg-soft:     #f4f8fc;
  --bg-alt:      #f7f9fb;
  --line:        #e2ebf3;
  --line-2:      #e6e6e6;
  --dark:        #000000;
  --dark-2:      #12161c;
  --brand-red:   #dd1010;
  --white:       #ffffff;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(16, 40, 70, 0.06);
  --shadow:    0 8px 30px rgba(16, 40, 70, 0.09);
  --shadow-lg: 0 12px 40px rgba(26, 111, 196, 0.10);

  --header-h: 78px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 64px; /* room for the sticky mobile action bar */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--ink-2);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 600;
}
h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -0.4px; }
h2 { font-size: clamp(26px, 3.6vw, 42px); }
h3 { font-size: clamp(21px, 2.4vw, 32px); }
h4 { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; color: #1d1d1d; }
h5 { font-size: 18px; font-weight: 600; }
p  { margin: 0 0 18px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- Layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }

.section { padding: 78px 0; }
.section-sm { padding: 52px 0; }
.section-soft { background: var(--bg-soft); }
.section-alt  { background: var(--bg-alt); }
.section-dark { background: var(--dark-2); color: #d8dee6; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.center { text-align: center; }
.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; margin-bottom: 0; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--blue); background: var(--blue-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block; font-size: 16px; font-weight: 700; line-height: 1.2;
  padding: 14px 30px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; text-align: center;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2b2b2b; color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #eef4fb; color: var(--blue-dark); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn-note { font-size: 14px; color: var(--muted); }

/* --- Header / navigation ------------------------------------------------ */
/* White header: the logo is a black-on-white lockup, so the bar is light and
   the navigation is dark ink. The footer stays dark and uses the reversed
   logo. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(16, 40, 70, .04);
}
/* The header needs more room than the content column: 8 top-level items plus
   the brand and the call-to-action. It gets its own, wider container. */
.header-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: nowrap;
  min-height: var(--header-h); max-width: 1440px;
}
.brand { display: flex; flex-direction: column; justify-content: center; flex: 0 0 auto; }

/* The wordmark is a hairline weight: its horizontal strokes are 3.13 units of
   an 83.5-unit-tall lockup, so at 200px wide they land at 0.86 CSS pixels and
   render as patchy grey rather than solid black. The E suffers most - three
   horizontal bars. 285px puts the strokes back above 1px.
   height:auto keeps the aspect ratio regardless of the width/height attrs. */
.brand img { width: 285px; height: auto; max-width: 60vw; }
.brand .tagline {
  font-size: 12px; font-style: italic; color: var(--muted);
  letter-spacing: .2px; margin-top: 4px;
}

.nav { margin-left: auto; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; }
.nav-list > li > a {
  display: block; padding: 10px 11px; font-size: 14px; font-weight: 500;
  color: var(--ink); border-radius: 6px; white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a:focus-visible { color: var(--blue); background: var(--bg-soft); }
.nav-list > li.is-current > a { color: var(--blue); background: var(--blue-soft); }

.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: 8px; z-index: 20;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li { margin: 0; }
.sub-menu a {
  display: block; padding: 9px 12px; font-size: 13px; font-weight: 500;
  color: #33373d; border-radius: 6px;
}
.sub-menu a:hover { background: var(--bg-soft); color: var(--blue); }

.nav-mobile-cta { display: none; }

.header-cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.header-phone { color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.header-phone:hover { color: var(--blue); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: 8px; color: var(--ink); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; position: relative; width: 20px; height: 2px;
  margin: 0 auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --- Page hero ---------------------------------------------------------- */
.page-hero {
  background: linear-gradient(160deg, var(--bg-soft) 0%, #ffffff 70%);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 58px;
}
.page-hero h1 { margin-bottom: 14px; color: var(--ink); }
.page-hero .lead { max-width: 780px; margin-bottom: 0; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 7px; opacity: .6; }

/* --- Hero with form ----------------------------------------------------- */
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.hero-split .hero-copy h1 { color: var(--ink); }
.hero-points { list-style: none; margin: 24px 0 28px; padding: 0; }
.hero-points li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15.5px; color: var(--ink); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* --- Announcement card (ICONIC Scheduling) ------------------------------ */
.announce { padding: 56px 0; }
.announce-card {
  background: linear-gradient(160deg, var(--bg-soft) 0%, #ffffff 60%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 44px 40px; box-shadow: var(--shadow-lg);
}
.announce-card h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--ink); margin-bottom: 14px; letter-spacing: -.5px; }
.announce-card h2 span { color: var(--blue); }
.announce-card .lead { max-width: 660px; margin-bottom: 28px; }
.announce-features {
  list-style: none; margin: 0 0 32px; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px;
}
.announce-features li { position: relative; padding-left: 30px; margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.announce-features li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* App announcement: icon alongside the copy. */
.announce-app { display: flex; gap: 30px; align-items: flex-start; }
.announce-app .app-icon {
  flex: 0 0 auto; width: 108px; height: 108px; border-radius: 24px;
  box-shadow: 0 10px 26px rgba(16, 40, 70, .18);
}
.announce-app .app-body { min-width: 0; }
.announce-app h2 { margin-bottom: 12px; }
.store-link {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--dark); color: #fff; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 10px;
  transition: background-color .2s ease, transform .2s ease;
}
.store-link:hover { background: #2b2b2b; color: #fff; transform: translateY(-1px); }
.store-link svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.store-link small { display: block; font-size: 10.5px; font-weight: 400; opacity: .75; line-height: 1.1; }
.store-link span { line-height: 1.15; }

@media (max-width: 620px) {
  .announce-app { flex-direction: column; gap: 20px; }
  .announce-app .app-icon { width: 84px; height: 84px; border-radius: 19px; }
}

/* --- ICONIC Pro announcement card ---------------------------------------
   Ported from HipaaWeb/css/maindash.css (.dash-announce) so the marketing
   site and the application speak the same visual language: the same
   five-colour palette, the Jost / IBM Plex stack, the deep-blue gradient
   card with the five-diamond mark. Scaled up a little for a marketing page.
   ------------------------------------------------------------------------ */
.tk-announce-wrap { padding: 40px 0 0; }
.tk-announce-wrap + .tk-announce-wrap { padding-top: 22px; }
.tk-announce-wrap:last-of-type { padding-bottom: 46px; }

:root {
  --ic-blue:      #3D6AB4;
  --ic-blue-deep: #26497F;
  --ic-grey:      #9A9BA5;
  --ic-olive:     #858445;
  --ic-red:       #CC3546;
  --ic-gold:      #D4A922;
  --ic-ink:       #231F20;
  --ic-display: 'Jost', system-ui, sans-serif;
  --ic-body:    'IBM Plex Sans', system-ui, sans-serif;
  --ic-data:    'IBM Plex Mono', ui-monospace, monospace;
}

.tk-announce {
  display: block; position: relative; overflow: hidden;
  border-radius: 10px; text-decoration: none; color: #fff;
  background-color: var(--ic-blue-deep);
  background-image: linear-gradient(115deg, #1F3D6B 0%, var(--ic-blue-deep) 42%, var(--ic-blue) 100%);
  box-shadow: 0 1px 2px rgba(15, 32, 58, .16), 0 10px 24px -6px rgba(15, 32, 58, .36);
}

/* five-colour rule across the top */
.tk-announce .rule { display: flex; height: 6px; }
.tk-announce .rule span { flex: 1; }
.tk-announce .rule .s1 { background: var(--ic-olive); }
.tk-announce .rule .s2 { background: var(--ic-red); }
.tk-announce .rule .s3 { background: var(--ic-gold); }
.tk-announce .rule .s4 { background: var(--ic-grey); }
.tk-announce .rule .s5 { background: var(--ic-blue); }

.tk-announce .inner {
  display: flex; align-items: center; gap: 26px;
  padding: 28px 34px 30px;
}

/* The ICONIC mark: five diamonds on a white tile, drawn with rotated
   squares — no extra asset to ship. Centres 20px apart so the four
   outer diamonds meet at their corners. */
.tk-announce-mark {
  position: relative; flex: none; width: 74px; height: 74px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 2px 6px rgba(15, 32, 58, .22);
}
.tk-announce-mark span { position: absolute; width: 14px; height: 14px; transform: rotate(45deg); }
.tk-announce-mark .dL { left: 10px; top: 30px; background: var(--ic-blue); }
.tk-announce-mark .dT { left: 30px; top: 10px; background: var(--ic-olive); }
.tk-announce-mark .dB { left: 30px; top: 50px; background: var(--ic-gold); }
.tk-announce-mark .dR { left: 50px; top: 30px; background: var(--ic-red); }
.tk-announce-mark .dC { left: 32px; top: 32px; width: 10px; height: 10px; background: var(--ic-grey); }

/* the App Store icon sits on the same white tile as the mark */
.tk-announce-icon {
  flex: none; width: 74px; height: 74px; border-radius: 16px;
  box-shadow: 0 2px 6px rgba(15, 32, 58, .28);
}

.tk-announce .copy { flex: 1; min-width: 0; }

.tk-announce .kicker {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--ic-data); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255, 255, 255, .74); margin-bottom: 10px;
}
.tk-announce .tag-new {
  display: inline-block; padding: 3px 9px 2px; border-radius: 4px;
  background: var(--ic-gold); color: var(--ic-ink);
  font-weight: 600; font-size: 10px; letter-spacing: .18em;
}

.tk-announce .title {
  display: block; font-family: var(--ic-display); font-weight: 500;
  font-size: clamp(24px, 3vw, 31px); line-height: 1.15; color: #fff;
  margin-bottom: 9px; letter-spacing: -.01em;
}
.tk-announce .lead {
  display: block; font-family: var(--ic-body); font-size: 15px;
  line-height: 1.6; color: rgba(255, 255, 255, .84); margin: 0;
  max-width: 66ch;
}

/* compact feature list, kept from the original sections */
.tk-announce .points {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 26px;
  font-family: var(--ic-body); font-size: 13.5px; color: rgba(255, 255, 255, .8);
}
.tk-announce .points li { position: relative; padding-left: 19px; margin: 0; }
.tk-announce .points li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; transform: rotate(45deg); background: var(--ic-gold);
}

.tk-announce .actions {
  flex: none; display: flex; flex-direction: column; gap: 10px; align-items: stretch;
}
.tk-announce .cta {
  display: inline-block; padding: 13px 22px; border-radius: 8px;
  background: #fff; color: var(--ic-blue-deep);
  font-family: var(--ic-display); font-size: 12.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-align: center;
  white-space: nowrap; box-shadow: 0 2px 5px rgba(15, 32, 58, .2);
  transition: background .16s ease, transform .16s ease;
}
.tk-announce .cta:hover { background: #eef2f8; color: var(--ic-blue-deep); transform: translateY(-1px); }
.tk-announce .cta-ghost {
  background: transparent; color: #fff; box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .45);
}
.tk-announce .cta-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* App Store button keeps its own lockup */
.tk-announce .cta-store {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: 8px; background: #000; color: #fff;
  box-shadow: 0 2px 5px rgba(15, 32, 58, .28);
  transition: background .16s ease, transform .16s ease;
}
.tk-announce .cta-store:hover { background: #1c1c1c; color: #fff; transform: translateY(-1px); }
.tk-announce .cta-store svg { width: 21px; height: 21px; fill: currentColor; flex: none; }
.tk-announce .cta-store span { font-family: var(--ic-display); line-height: 1.15; text-align: left; }
.tk-announce .cta-store small { display: block; font-size: 9.5px; opacity: .8; letter-spacing: .1em; text-transform: uppercase; }
.tk-announce .cta-store b { font-size: 14px; font-weight: 500; letter-spacing: .02em; }

@media (max-width: 900px) {
  .tk-announce .inner { flex-wrap: wrap; gap: 18px; padding: 22px 22px 24px; }
  .tk-announce .copy { flex: 1 1 100%; order: 2; }
  .tk-announce-mark, .tk-announce-icon { order: 1; }
  .tk-announce .actions { order: 3; width: 100%; flex-direction: row; flex-wrap: wrap; }
  .tk-announce .actions > * { flex: 1 1 auto; }
}
@media (max-width: 620px) {
  .tk-announce .points { grid-template-columns: 1fr; }
  .tk-announce .actions { flex-direction: column; }
}

/* --- ICONIC Pro flow cards ----------------------------------------------
   Ported from HipaaWeb/css/splash.css (.card / .chain / .path / .loop) so
   the Scribe page tells the charge-to-claim story the same way the
   application's splash screen does.
   ------------------------------------------------------------------------ */
/* Same tinted backdrop the splash screen uses — grey base with soft blue,
   gold and olive washes — so the white cards sit on it the same way. */
.tk-flow {
  padding: 62px 0;
  background-color: #E7E7EB;
  background-image:
    radial-gradient(70% 60% at 8% -10%, rgba(61, 106, 180, .16), transparent 62%),
    radial-gradient(55% 55% at 96% 108%, rgba(212, 169, 34, .14), transparent 64%),
    radial-gradient(45% 45% at 78% 8%, rgba(133, 132, 69, .10), transparent 70%);
}
.tk-flowcard {
  background: #fff; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 1px 2px rgba(31, 62, 110, .06),
              0 10px 24px rgba(31, 62, 110, .10),
              0 32px 60px rgba(31, 62, 110, .10);
  padding: 34px 38px 32px;
}
.tk-flowcard + .tk-flowcard { margin-top: 26px; }
/* the Scribe card is the one the page is about — flag it in brand blue */
.tk-flowcard.is-scribe { border-left: 4px solid var(--ic-blue); }

.tk-flowcard h2 {
  font-family: var(--ic-display); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 29px); line-height: 1.15;
  color: var(--ic-ink); letter-spacing: -.01em; margin: 0 0 12px;
}
.tk-flowcard > p {
  font-family: var(--ic-body); font-size: 14.5px; line-height: 1.65;
  color: #5A6068; margin: 0 0 6px; max-width: 78ch;
}

/* ---- the four-stop chain ---- */
.tk-chain { display: flex; align-items: stretch; gap: 0; margin: 22px 0 16px; }
.tk-step {
  flex: 1; padding: 16px 16px 15px; background: #F4F5F8;
  border-radius: 8px; border-left: 3px solid var(--ic-grey);
}
.tk-step.sched  { border-left-color: var(--ic-gold); }
.tk-step.scribe { border-left-color: var(--ic-blue); }
.tk-step.bill   { border-left-color: var(--ic-red); }
.tk-step.clear  { border-left-color: var(--ic-olive); }
.tk-step .n {
  display: block; font-family: var(--ic-data); font-size: 10px;
  letter-spacing: .18em; color: #5A6068; margin-bottom: 6px;
}
.tk-step strong {
  display: block; font-family: var(--ic-display); font-weight: 500;
  font-size: 14.5px; color: var(--ic-ink); margin-bottom: 5px;
}
.tk-step .t {
  display: block; font-family: var(--ic-body); font-size: 12px;
  line-height: 1.5; color: #5A6068;
}
.tk-arrow {
  flex: none; width: 34px; display: flex; align-items: center;
  justify-content: center; color: var(--ic-grey); font-size: 13px;
}

/* ---- the five-node path ---- */
.tk-path { display: flex; margin: 28px 0 18px; }
.tk-node { flex: 1; position: relative; padding: 22px 16px 0 0; }
.tk-node::before {
  content: ""; position: absolute; top: 5px; left: 0; right: 0;
  height: 2px; background: rgba(35, 31, 32, .14);
}
.tk-node::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 12px; height: 12px; background: var(--ic-grey); transform: rotate(45deg);
}
.tk-node.n1::after { background: var(--ic-blue); }
.tk-node.n2::after { background: var(--ic-blue); }
.tk-node.n3::after { background: var(--ic-gold); }
.tk-node.n4::after { background: var(--ic-red); }
.tk-node.n5::after { background: var(--ic-olive); }
.tk-node .idx {
  display: block; font-family: var(--ic-data); font-size: 10px;
  letter-spacing: .18em; color: #5A6068; margin-bottom: 5px;
}
.tk-node strong {
  display: block; font-family: var(--ic-display); font-weight: 500;
  font-size: 14.5px; line-height: 1.2; color: var(--ic-ink); margin-bottom: 5px;
}
.tk-node .t {
  display: block; font-family: var(--ic-body); font-size: 12px;
  line-height: 1.5; color: #5A6068;
}
/* the approval step — the one deliberate human stop on the path */
.tk-node.n4 strong { color: var(--ic-red); }
.tk-node .click {
  display: inline-block; margin-top: 7px; padding: 3px 8px;
  border: 1px solid rgba(204, 53, 70, .3); border-radius: 5px;
  font-family: var(--ic-data); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ic-red);
}

/* ---- the dashed footnote box ---- */
.tk-loop {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 15px; border: 1px dashed rgba(35, 31, 32, .22);
  border-radius: 8px; font-family: var(--ic-body);
  font-size: 12.5px; line-height: 1.55; color: #5A6068;
}
.tk-loop .rt {
  font-family: var(--ic-data); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ic-blue-deep); white-space: nowrap;
}

@media (max-width: 900px) {
  .tk-flowcard { padding: 26px 22px 24px; }
  .tk-chain { flex-wrap: wrap; gap: 12px; }
  .tk-step { flex: 1 1 calc(50% - 6px); }
  .tk-arrow { display: none; }
  /* the path turns into a vertical rail so five nodes still read */
  .tk-path { flex-direction: column; gap: 20px; margin-top: 22px; }
  .tk-node { padding: 0 0 0 26px; }
  .tk-node::before { top: 0; bottom: -20px; left: 5px; right: auto; width: 2px; height: auto; }
  .tk-node:last-child::before { bottom: 0; }
  .tk-node::after { top: 2px; left: 0; }
}
@media (max-width: 620px) {
  .tk-step { flex: 1 1 100%; }
  .tk-loop { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* --- Cards -------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0f0; }
.card h3, .card h4 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 15.5px; }
.card-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 18px; }
.card-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 15px; }
.card-link::after { content: " \2192"; }

/* Numbered / plain benefit cards */
.benefit { text-align: left; }
.benefit .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 16px;
  background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 17px;
}

/* --- Split (image + text) ---------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { color: var(--muted); }
.split.reverse .split-media { order: 2; }

/* --- Comparison list ---------------------------------------------------- */
.compare-list { display: grid; gap: 20px; }
.compare-item {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 10px; padding: 22px 26px; box-shadow: var(--shadow-sm);
}
.compare-item h3 { font-size: 19px; font-weight: 600; color: var(--blue-dark); margin-bottom: 8px; }
.compare-item p { margin-bottom: 0; color: var(--muted); font-size: 15.5px; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff; padding: 68px 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 720px; margin: 0 auto 28px; font-size: 17px; }
.cta-band .btn-row { justify-content: center; }

/* --- Testimonials ------------------------------------------------------- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.testimonial .quote-mark { font-size: 46px; line-height: 1; color: var(--blue); opacity: .25; font-weight: 700; margin-bottom: 4px; }
.testimonial blockquote { margin: 0 0 18px; font-size: 15.5px; color: var(--body); font-style: italic; }
.testimonial cite { margin-top: auto; font-style: normal; font-weight: 600; font-size: 14px; color: var(--ink); }
.review-badge { margin: 0 auto 34px; max-width: 260px; }

/* --- FAQ (accordion) ---------------------------------------------------- */
.faq { max-width: 900px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq details[open] { border-color: #cfe0f0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 600; font-size: 17px; color: var(--ink); line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 26px;
  width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq summary:hover { color: var(--blue); }
.faq .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* --- Forms -------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 6px; }
.form-note { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--brand-red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid #d6e0ea; border-radius: 8px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-consent { font-size: 13px; color: var(--muted); line-height: 1.55; }
.form-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; }
.form-consent input { width: auto; margin-top: 3px; flex: 0 0 auto; }
.form-card .btn { width: 100%; }

/* Honeypot: invisible to people, tempting to bots. Positioned off-screen
   rather than display:none, which some bots specifically look for. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto; width: 1px; height: 1px; overflow: hidden;
}

/* Form status messages, rendered by main.js from the ?err= query string. */
.form-alert {
  padding: 14px 16px; border-radius: 8px; margin-bottom: 18px;
  font-size: 14.5px; line-height: 1.5; border: 1px solid;
}
.form-alert-error { background: #fdf2f2; border-color: #f5c2c2; color: #8a1f1f; }
.form-alert strong { display: block; margin-bottom: 2px; }

/* --- Article / prose ---------------------------------------------------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 44px; }
.prose h3 { font-size: clamp(19px, 2.1vw, 24px); margin-top: 32px; }
.prose h4 { font-size: 18px; font-weight: 600; margin-top: 26px; }
.prose p, .prose li { font-size: 16.5px; color: #3d4650; }
.prose ul, .prose ol { margin-bottom: 22px; }
.prose blockquote {
  margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--blue);
  background: var(--bg-soft); border-radius: 0 8px 8px 0; font-style: italic; color: var(--ink);
}
.prose img { border-radius: var(--radius); margin: 28px 0; box-shadow: var(--shadow-sm); }
.prose > :first-child { margin-top: 0; }

.article-meta { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.article-meta span { margin: 0 8px; opacity: .6; }

/* --- Article listing ---------------------------------------------------- */
.post-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .post-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; }
.post-card h3 a { color: var(--ink-2); }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.post-card .post-more { margin-top: auto; font-weight: 600; font-size: 15px; }
.post-card .post-more::after { content: " \2192"; }
.post-thumb { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); height: 8px; }

/* --- Contact info blocks ------------------------------------------------ */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-list .ci-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .ci-icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--muted); font-size: 15px; }
.contact-list a:hover { color: var(--blue); }

.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--dark-2); color: #aab4c0; padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h5 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600; }
.site-footer p { color: #aab4c0; }
.site-footer a { color: #aab4c0; }
.site-footer a:hover { color: #fff; }
.footer-brand img { width: 230px; height: auto; margin-bottom: 16px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background-color .2s ease;
}
.social a:hover { background: var(--blue); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  margin-top: 52px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 13.5px; color: #8e99a6;
}

/* --- Sticky action bar (mobile) ---------------------------------------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  background: var(--dark); box-shadow: 0 -2px 14px rgba(0, 0, 0, .25);
}
.action-bar .action-inner { display: grid; grid-template-columns: 1fr 1fr; }
.action-bar a {
  padding: 15px 10px; text-align: center; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.25;
}
.action-bar a small { display: block; font-size: 11px; font-weight: 400; opacity: .75; }
.action-bar a + a { background: var(--blue); }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1400px) {
  .nav-list > li > a { padding: 10px 9px; font-size: 13.5px; }
  .brand img { width: 250px; }
  .header-phone { display: none; }
}

@media (max-width: 1120px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 1200px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; padding: 12px 16px 32px; overflow-y: auto;
    border-top: 1px solid var(--line);
    transform: translateX(100%); transition: transform .25s ease; margin-left: 0;
  }
  .nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a { padding: 13px 12px; font-size: 15.5px; border-radius: 8px; }
  .has-sub > a::after { float: right; margin-top: 8px; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: var(--bg-soft); box-shadow: none; margin: 2px 0 8px;
    padding: 4px; border-radius: 8px;
  }
  .sub-menu a { color: var(--ink); font-size: 14.5px; padding: 11px 14px; }
  .sub-menu a:hover { background: #fff; color: var(--blue); }
  .nav-mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
  .nav-mobile-cta .btn { width: 100%; }

  .action-bar { display: block; }

  .hero-split, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 56px 0; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .announce-features { grid-template-columns: 1fr; }
  .announce-card { padding: 30px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 46px 0; }
  .page-hero { padding: 44px 0 40px; }
  .form-card { padding: 24px 20px; }
}

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

/* --- Print -------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .action-bar, .cta-band { display: none; }
  body { padding: 0; }
}
