/* theme.css — Trustiko design system (solid blue on white).
   Loaded last on every page, so it overrides the older style.css / home.css.
   Every text/background pair below passes WCAG AA (4.5:1). */

:root {
  --tk-blue:#2B4EE0;        /* brand: white text on it = 6.4:1 */
  --tk-blue-dark:#1E3AB8;   /* hover, pressed */
  --tk-blue-soft:#EEF2FF;   /* quiet blue surfaces */
  --tk-on-blue:#DCE4FF;     /* secondary text on blue = 5.1:1 */
  --tk-ink:#0F1424;         /* headings */
  --tk-text:#3D4457;        /* body = 9.7:1 */
  --tk-muted:#5A6278;       /* labels = 6.1:1 */
  --tk-bg:#FFFFFF;
  --tk-surface:#F5F7FB;
  --tk-border:#D3D9E5;      /* card borders */
  --tk-border-strong:#8A93A8; /* inputs, 3:1 */
  --tk-green:#12703F; --tk-green-bg:#E7F6EE; --tk-green-border:#B5E2C7;
  --tk-amber:#8A5300; --tk-amber-bg:#FFF4DE; --tk-amber-border:#F2D39A;
  --tk-radius:14px;
  --tk-font:'Manrope',system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}

html {scroll-behavior:smooth}
body {font-family:var(--tk-font);color:var(--tk-text);background:var(--tk-bg);line-height:1.7;margin:0}
h1,h2,h3,h4,h5,h6 {color:var(--tk-ink);font-family:var(--tk-font);letter-spacing:-.015em;line-height:1.25}
a {color:var(--tk-blue)}
a:hover {color:var(--tk-blue-dark)}
:focus-visible {outline:3px solid #FFB020;outline-offset:2px;border-radius:4px}
.tk-wrap {max-width:1200px;margin:0 auto;padding:0 24px;box-sizing:border-box}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* ---------- Header ---------- */
.tk-header {background:var(--tk-blue);color:#fff;position:relative;z-index:5}
.tk-header-in {display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px;flex-wrap:wrap}
.tk-logo {display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:21px;text-decoration:none;letter-spacing:-.02em}
.tk-logo:hover {color:#fff;text-decoration:none}
.tk-nav {display:flex;gap:6px;align-items:center;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tk-nav::-webkit-scrollbar {display:none}
.tk-nav a {color:var(--tk-on-blue);text-decoration:none;font-weight:600;font-size:15px;padding:9px 12px;border-radius:9px;white-space:nowrap}
.tk-nav a:hover {color:#fff;background:rgba(255,255,255,.12);text-decoration:none}
.tk-nav a[aria-current="page"] {color:#fff;background:rgba(255,255,255,.16)}
@media (max-width:760px){
  .tk-header-in {padding-top:10px;padding-bottom:6px;gap:6px}
  .tk-nav {width:100%;margin:0 -12px;padding:0 12px 4px}
}

/* ---------- Footer ---------- */
.tk-footer {background:var(--tk-ink);color:#C5CBD8;margin-top:72px;font-size:15px}
.tk-footer a {color:#fff;text-decoration:none}
.tk-footer a:hover {text-decoration:underline;color:#fff}
.tk-footer-grid {display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:32px;padding:48px 0 32px}
.tk-footer h2 {color:#fff;font-size:14px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px}
.tk-footer ul {list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.tk-footer p {margin:10px 0 0;line-height:1.6}
.tk-legal {border-top:1px solid #2A3147;padding:18px 0 28px;font-size:13.5px;color:#AEB5C4}
@media (max-width:760px){.tk-footer-grid {grid-template-columns:1fr 1fr}}

/* ---------- Buttons ---------- */
.tk-btn {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:12px;border:0;font:700 16px/1 var(--tk-font);text-decoration:none;cursor:pointer}
.tk-btn-primary {background:var(--tk-blue);color:#fff}
.tk-btn-primary:hover {background:var(--tk-blue-dark);color:#fff;text-decoration:none}

/* ---------- Old landing-page hero (guides with .hero-search) ---------- */
.hero-search {background:var(--tk-blue) !important;color:#fff;padding:56px 20px 64px !important;text-align:center}
.hero-search .hero-title,.hero-search h1 {color:#fff !important;font-family:var(--tk-font) !important;font-weight:800 !important;letter-spacing:-.03em;font-size:clamp(34px,5vw,52px) !important;line-height:1.1 !important;margin:0 0 12px !important}
.hero-search .lead-text {color:var(--tk-on-blue) !important;font-size:clamp(17px,2vw,20px) !important;margin:0 auto 26px !important;max-width:640px}

/* ---------- Guide pages (style.css layout) ---------- */
.breadcrumbs-bar {background:var(--tk-surface);border-bottom:1px solid var(--tk-border)}
.breadcrumbs-container {max-width:1000px;margin:0 auto;padding:12px 24px;font-size:14px;color:var(--tk-muted)}
.breadcrumbs-container a {color:var(--tk-blue);font-weight:600}
.container {background:#fff;border:1.5px solid var(--tk-border);border-radius:18px;box-shadow:none;padding:32px 36px;margin-top:28px}
@media (max-width:700px){.container {padding:22px 18px;margin:16px 12px;border-radius:14px}}
.article-header h1,.page-header h1 {font-weight:800;letter-spacing:-.03em}
.article-meta {color:var(--tk-muted)}
.article-body {color:var(--tk-text)}
.article-body h2 {border-bottom:2px solid var(--tk-blue-soft);padding-bottom:6px}
.article-body a {color:var(--tk-blue)}
.table-of-contents,.bold-toc {background:#fff !important;border:1.5px solid var(--tk-border) !important;border-radius:var(--tk-radius) !important;overflow:hidden;box-shadow:none !important}
.table-of-contents h2,.bold-toc h2 {border:0 !important;background:var(--tk-blue-soft) !important;color:var(--tk-ink) !important;margin:0 !important}
.bold-toc a {color:var(--tk-blue) !important}
.expert-insight-tabbed {background:#fff !important;border:1.5px solid var(--tk-border) !important;border-radius:var(--tk-radius) !important;box-shadow:none !important}
.expert-insight-header {background:var(--tk-blue-soft) !important;border:0 !important}
.expert-insight-title {color:var(--tk-ink) !important}
.article-body table {border-collapse:collapse;width:100%}
.article-body th {background:var(--tk-surface);color:var(--tk-ink)}
.article-body th,.article-body td {border:1px solid var(--tk-border)}
.cta-container {background:var(--tk-blue) !important;border-radius:18px !important}
.cta-button,.cta-button-large {background:#fff !important;color:var(--tk-blue) !important;box-shadow:none !important}
.cta-button:hover,.cta-button-large:hover {background:var(--tk-blue-soft) !important;text-decoration:none}
.cta-banner-centered {background:var(--tk-blue-soft) !important;border:1.5px solid var(--tk-border);box-shadow:none !important}
.cta-banner-centered .cta-button-large {background:var(--tk-blue) !important;color:#fff !important}
.author-box {background:#fff;border:1.5px solid var(--tk-border);border-radius:var(--tk-radius)}
.author-box .author-title {color:var(--tk-ink)}
.faq-question {color:var(--tk-ink)}

/* ---------- Homepage ---------- */
.tk-hero {background:var(--tk-blue);color:#fff}
.tk-hero-in {display:flex;flex-wrap:wrap;align-items:center;gap:40px;padding:56px 24px 72px}
.tk-hero-copy {flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:18px}
.tk-pill {align-self:flex-start;background:#fff;color:var(--tk-blue);font-weight:800;font-size:14px;border-radius:999px;padding:6px 14px}
.tk-hero h1 {color:#fff;font-size:clamp(36px,5.2vw,58px);line-height:1.05;letter-spacing:-.035em;font-weight:800;margin:0}
.tk-hero p {color:var(--tk-on-blue);font-size:19px;line-height:1.6;margin:0;max-width:540px}
.tk-hero p strong {color:#fff}
.tk-map {flex:1 1 400px;min-width:0;display:flex;justify-content:center}
.tk-map-stage {position:relative;width:440px;max-width:100%;aspect-ratio:11/10}
.tk-orbit {position:absolute;border-radius:50%;border:1.5px dashed rgba(255,255,255,.42)}
.tk-orbit.o1 {inset:9%}.tk-orbit.o2 {inset:27%;border-color:rgba(255,255,255,.26)}
.tk-node {position:absolute;background:#fff;color:var(--tk-ink);border-radius:12px;padding:9px 13px;font-weight:700;font-size:14px;line-height:1.3;box-shadow:0 10px 24px rgba(10,20,80,.25)}
.tk-node span {display:block;font-weight:500;font-size:12px;color:var(--tk-muted)}
.tk-node.center {left:50%;top:50%;transform:translate(-50%,-50%);font-size:20px;color:var(--tk-blue);padding:13px 18px;border-radius:16px}
.tk-node.more {background:var(--tk-ink);color:#fff;border-radius:999px;font-size:13px}
@media (max-width:760px){.tk-map {display:none}.tk-hero-in {padding:36px 24px 48px}}

/* Search form (used on blue) */
.us-form {display:flex;gap:10px;flex-wrap:wrap;max-width:580px}
.us-form input {flex:1 1 260px;min-width:0;height:56px;padding:0 18px;border:0;border-radius:12px;font:500 18px var(--tk-font);color:var(--tk-ink);background:#fff;box-shadow:0 10px 30px rgba(10,20,80,.25)}
.us-form input::placeholder {color:#6B7388}
.us-form input:focus {outline:3px solid #FFB020;outline-offset:2px}
.us-form button {height:56px;padding:0 24px;border:1.5px solid #fff;border-radius:12px;background:var(--tk-ink);color:#fff;font:800 16px var(--tk-font);cursor:pointer}
.us-form button:hover {background:#262D42}
.us-form button:disabled {opacity:.7;cursor:wait}
.us-hint,.tk-hero p.us-hint {color:var(--tk-on-blue);font-size:14.5px;margin:0}
.hero-search .us-form {margin:0 auto}
.hero-search .us-hint {margin:14px auto 0;text-align:center}

/* Sections */
.tk-section {padding:64px 0 8px}
.tk-section h2 {font-size:clamp(26px,3vw,34px);margin:0 0 14px;font-weight:800;letter-spacing:-.025em}
.tk-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tk-card {background:#fff;border:1.5px solid var(--tk-border);border-radius:16px;padding:22px}
.tk-card h3 {margin:0 0 8px;font-size:19px}
.tk-card p {margin:0}
.tk-card.step {border-top:6px solid var(--tk-blue)}
.tk-guides {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tk-guide {display:flex;flex-direction:column;background:#fff;border:1.5px solid var(--tk-border);border-radius:16px;overflow:hidden;text-decoration:none;color:var(--tk-ink)}
.tk-guide:hover {border-color:var(--tk-blue);text-decoration:none;color:var(--tk-ink)}
.tk-guide img {width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block;border-bottom:1.5px solid var(--tk-border)}
.tk-guide span {padding:14px 16px;font-weight:700;line-height:1.4}
.tk-faq details {border:1.5px solid var(--tk-border);border-radius:12px;background:#fff;margin:0 0 10px}
.tk-faq summary {cursor:pointer;padding:16px 18px;font-weight:700;color:var(--tk-ink);list-style:none;display:flex;justify-content:space-between;gap:12px}
.tk-faq summary::-webkit-details-marker {display:none}
.tk-faq summary::after {content:"+";color:var(--tk-blue);font-size:22px;line-height:1}
.tk-faq details[open] summary::after {content:"\2212"}
.tk-faq details p {margin:0;padding:0 18px 16px}
@media (max-width:900px){.tk-cards,.tk-guides {grid-template-columns:1fr 1fr}}
@media (max-width:600px){.tk-cards,.tk-guides {grid-template-columns:1fr}}
.bold-toc > ul {background:#fff !important}

/* Guide list on landing pages */
.tk-guide-list {margin:48px 0 8px}
.tk-guide-list h2 {font-size:26px;margin:0 0 14px}
.tk-guide-list ul {list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tk-guide-list li {border:1.5px solid var(--tk-border);border-radius:12px;padding:14px 16px;background:#fff;display:flex;flex-direction:column;gap:4px}
.tk-guide-list li:hover {border-color:var(--tk-blue)}
.tk-guide-list a {font-weight:700;color:var(--tk-ink);text-decoration:none;line-height:1.35}
.tk-guide-list a:hover {color:var(--tk-blue)}
.tk-guide-list span {font-size:14px;color:var(--tk-muted);line-height:1.5}
@media (max-width:700px){.tk-guide-list ul {grid-template-columns:1fr}}
.tk-guide-list a {text-decoration:none !important}

/* Wide tables scroll inside their own box on phones instead of widening the page */
@media (max-width:700px){.article-body table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}
