:root {
  --page: #020914;
  --surface-1: #031126;
  --surface-2: #061a36;
  --surface-3: #082451;
  --surface-4: #0a2d61;
  --border: rgba(69, 137, 222, 0.24);
  --border-strong: rgba(71, 151, 255, 0.42);
  --text: #f5f8ff;
  --muted: #a9b9d2;
  --blue: #1683ff;
  --blue-bright: #2e9cff;
  --green: #00d68f;
  --orange: #ff6a2b;
  --purple: #8d63ff;
  --radius-lg: 16px;
  --radius-md: 11px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 50% -10%, rgba(20, 92, 192, 0.2), transparent 36rem), var(--page); color: var(--text); font-family: "Segoe UI", Inter, Arial, sans-serif; font-size: 15px; line-height: 1.5; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
svg { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(83, 139, 211, 0.12); background: rgba(2, 9, 20, 0.88); backdrop-filter: blur(16px); }
.header-inner { min-height: 64px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 760; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; color: #5da8ff; filter: drop-shadow(0 0 10px rgba(22, 131, 255, 0.45)); }
.brand-mark svg { width: 28px; height: 28px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { color: #cbd7e8; font-size: 13px; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav .is-active { color: #fff; }
.desktop-nav .is-active { position: relative; }
.desktop-nav .is-active::after { content: ""; position: absolute; right: 0; bottom: -22px; left: 0; height: 2px; background: var(--blue); }
.header-cta { min-height: 38px; padding: 0 15px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(57, 145, 255, 0.6); border-radius: 8px; color: #fff; font-size: 12px; font-weight: 750; text-decoration: none; background: rgba(9, 40, 83, 0.42); }
.header-cta:hover { background: rgba(22, 131, 255, 0.16); }
.header-cta svg { width: 14px; height: 14px; }
.mobile-menu { display: none; padding: 8px; border: 0; color: #fff; background: transparent; cursor: pointer; }
.mobile-menu svg { width: 24px; height: 24px; }
.mobile-navigation { padding: 4px 0 16px; }
.mobile-navigation a { display: block; padding: 10px 0; color: #cfdaea; text-decoration: none; }
.mobile-navigation .mobile-cta { margin-top: 8px; padding: 11px 14px; border: 1px solid var(--border-strong); border-radius: 8px; text-align: center; }

.page { padding: 18px 0 40px; }
.hero { position: relative; min-height: 385px; overflow: hidden; padding: 34px 36px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 50px; align-items: center; border: 1px solid rgba(69, 137, 222, 0.2); border-radius: 20px; background: linear-gradient(90deg, rgba(3, 17, 38, .98) 0%, rgba(3, 17, 38, .94) 42%, rgba(3, 17, 38, .5) 100%), radial-gradient(circle at 80% 35%, rgba(19, 116, 255, .22), transparent 25rem), var(--surface-1); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(59,120,202,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(59,120,202,.045) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to right, transparent 18%, #000 55%); }
.hero-art { position: absolute; z-index: -2; top: 35px; right: 0; width: 58%; height: 300px; opacity: .9; mix-blend-mode: screen; mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 100%); }
.hero-copy { position: relative; z-index: 2; max-width: 700px; }
.crumb { display: flex; gap: 8px; align-items: center; margin-bottom: 26px; color: #aebbd0; font-size: 12px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: #fff; }
.eyebrow, .section-kicker, .mini-kicker, .search-step { margin: 0 0 8px; color: var(--blue-bright); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin: 0 0 14px; font-size: clamp(44px, 4.5vw, 62px); line-height: 1; letter-spacing: -.045em; }
.hero-lead { max-width: 650px; margin-bottom: 22px; color: #d7e1f0; font-size: 18px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0; padding: 0; list-style: none; color: #e8eef8; font-size: 12px; font-weight: 650; }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 16px; height: 16px; color: var(--blue-bright); }
.hero-search-card { position: relative; z-index: 2; padding: 22px; border: 1px solid var(--border-strong); border-radius: 14px; background: linear-gradient(145deg, rgba(8, 36, 81, .94), rgba(3, 20, 46, .96)); box-shadow: var(--shadow); }
.search-step { display: block; margin-bottom: 4px; font-size: 9px; }
.search-card-label { display: block; margin-bottom: 10px; color: #fff; font-size: 17px; font-weight: 750; }
.search-field { min-height: 52px; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: center; padding: 0 14px; border: 1px solid rgba(100, 161, 235, .35); border-radius: 9px; color: #8fb7e8; background: rgba(1, 10, 25, .72); }
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,131,255,.14); }
.search-field svg { width: 20px; height: 20px; }
.search-field input { width: 100%; height: 50px; padding: 0; border: 0; outline: 0; color: #fff; background: transparent; }
.search-field input::placeholder { color: #7f96b4; }
.search-meta { margin-top: 17px; padding-top: 15px; border-top: 1px solid rgba(105,155,220,.16); }
.search-meta strong, .search-meta span { display: block; }
.search-meta strong { font-size: 24px; letter-spacing: -.03em; }
.search-meta span { margin-top: 4px; color: var(--muted); font-size: 11px; }

.category-nav, .tool-library, .trust-panel, .faq-panel, .embed-panel, .journal-promo { margin-top: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0, rgba(24,100,210,.1), transparent 20rem), linear-gradient(145deg, rgba(5,27,58,.98), rgba(3,17,38,.98)); box-shadow: var(--shadow); }
.category-nav, .tool-library, .trust-panel { padding: 24px; }
.section-heading { max-width: 760px; }
.section-heading.compact { margin-bottom: 18px; }
.section-heading h2 { margin-bottom: 8px; font-size: 28px; line-height: 1.15; letter-spacing: -.025em; }
.section-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.category-header { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.show-all-button { min-height: 42px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 9px; color: #d9e8fa; font-size: 11px; font-weight: 800; background: rgba(22,131,255,.08); cursor: pointer; }
.show-all-button svg { width: 16px; height: 16px; }
.show-all-button:hover, .show-all-button[aria-pressed="true"] { color: #fff; border-color: var(--blue); background: rgba(22,131,255,.2); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.category-card { width: 100%; min-height: 138px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 17px; border: 1px solid var(--border); border-radius: 12px; color: inherit; text-align: left; background: linear-gradient(145deg, rgba(9,37,78,.88), rgba(4,22,48,.95)); cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.category-card:hover { transform: translateY(-2px); border-color: var(--border-strong); background: linear-gradient(145deg, rgba(12,49,104,.92), rgba(4,22,48,.98)); }
.category-card[aria-pressed="true"] { transform: translateY(-2px); border-color: var(--blue); background: radial-gradient(circle at 10% 10%, rgba(22,131,255,.18), transparent 12rem), linear-gradient(145deg, rgba(12,49,104,.96), rgba(4,22,48,.98)); box-shadow: 0 0 0 1px rgba(22,131,255,.18), 0 16px 34px rgba(0,0,0,.22); }
.category-green[aria-pressed="true"] { border-color: rgba(0,214,143,.68); background: radial-gradient(circle at 10% 10%, rgba(0,214,143,.13), transparent 12rem), linear-gradient(145deg, rgba(7,52,67,.96), rgba(4,22,48,.98)); box-shadow: 0 0 0 1px rgba(0,214,143,.12), 0 16px 34px rgba(0,0,0,.22); }
.category-purple[aria-pressed="true"] { border-color: rgba(141,99,255,.7); background: radial-gradient(circle at 10% 10%, rgba(141,99,255,.15), transparent 12rem), linear-gradient(145deg, rgba(32,31,79,.96), rgba(4,22,48,.98)); box-shadow: 0 0 0 1px rgba(141,99,255,.12), 0 16px 34px rgba(0,0,0,.22); }
.category-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(22,131,255,.1); }
.category-icon svg { width: 27px; height: 27px; }
.category-card strong, .category-card small, .category-card b { display: block; }
.category-card strong { font-size: 16px; }
.category-card small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.category-card .category-step { margin: 0 0 4px; color: #7aaee8; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.category-card b { margin-top: 10px; color: #cfe2f7; font-size: 10px; font-weight: 750; }
.category-arrow { width: 19px; height: 19px; color: #77a9df; transition: transform .16s ease; }
.category-card:hover .category-arrow, .category-card[aria-pressed="true"] .category-arrow { transform: translateX(3px); }
.category-blue .category-icon { color: var(--blue-bright); }
.category-green .category-icon { color: var(--green); background: rgba(0,214,143,.09); }
.category-green .category-step { color: #69dcb4; }
.category-purple .category-icon { color: var(--purple); background: rgba(141,99,255,.1); }
.category-purple .category-step { color: #aa92ff; }

.tool-library { padding-bottom: 28px; scroll-margin-top: 82px; }
.library-header { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.result-status { flex: 0 0 auto; margin: 0 0 2px; color: var(--muted); font-size: 12px; font-weight: 700; }
.active-filter { min-height: 56px; margin: 2px 0 10px; padding: 10px 12px 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(71,151,255,.28); border-radius: 10px; background: rgba(9,37,78,.62); }
.active-filter[hidden] { display: none; }
.active-filter strong, .active-filter small { display: block; }
.active-filter strong { font-size: 13px; }
.active-filter small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.active-filter button { min-height: 36px; padding: 0 12px; border: 1px solid rgba(82,139,207,.3); border-radius: 7px; color: #d5e6fa; font-size: 10px; font-weight: 800; background: rgba(3,19,42,.7); cursor: pointer; }
.active-filter button:hover { border-color: var(--blue); color: #fff; }
.workflow-section { margin-top: 34px; }
.workflow-section[hidden], .tool-card[hidden], .empty-state[hidden] { display: none; }
.workflow-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; padding-bottom: 15px; border-bottom: 1px solid rgba(105,155,220,.18); }
.workflow-number { color: var(--blue-bright); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.green-text { color: var(--green); }
.purple-text { color: var(--purple); }
.workflow-heading h3 { margin-bottom: 4px; font-size: 22px; letter-spacing: -.02em; }
.workflow-heading p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.tool-grid.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.tool-card { min-width: 0; }
.tool-card a { min-height: 258px; height: 100%; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--border); border-radius: 12px; color: inherit; text-decoration: none; background: linear-gradient(145deg, rgba(7,31,66,.94), rgba(3,20,44,.98)); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.tool-card a:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: 0 16px 34px rgba(0,0,0,.2); }
.tool-card.featured { grid-column: span 2; }
.tool-card.featured a { background: radial-gradient(circle at 84% 10%, rgba(22,131,255,.18), transparent 18rem), linear-gradient(145deg, rgba(8,42,92,.98), rgba(3,20,44,.98)); }
.card-topline { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.tool-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; border: 1px solid currentColor; background: rgba(22,131,255,.08); }
.tool-icon svg { width: 23px; height: 23px; }
.tool-icon.blue { color: var(--blue-bright); }
.tool-icon.green { color: var(--green); background: rgba(0,214,143,.08); }
.tool-icon.orange { color: var(--orange); background: rgba(255,106,43,.08); }
.tool-icon.purple { color: var(--purple); background: rgba(141,99,255,.08); }
.card-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.badge { min-height: 24px; display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; color: #9db3ce; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; background: rgba(139,165,198,.09); border: 1px solid rgba(139,165,198,.13); }
.badge.accent { color: #fff; background: rgba(22,131,255,.78); border-color: rgba(69,151,255,.8); }
.green-badge { color: #72edc1; background: rgba(0,214,143,.08); border-color: rgba(0,214,143,.16); }
.purple-badge { color: #bca8ff; background: rgba(141,99,255,.1); border-color: rgba(141,99,255,.16); }
.tool-title, .tool-description, .tool-inputs, .tool-action { display: block; }
.tool-title { margin-bottom: 8px; font-size: 19px; font-weight: 760; line-height: 1.2; letter-spacing: -.02em; }
.tool-description { margin-bottom: 15px; color: #c0cde0; font-size: 13px; line-height: 1.5; }
.tool-inputs { margin-top: auto; padding-top: 13px; border-top: 1px solid rgba(105,155,220,.15); color: #8297b4; font-size: 10px; }
.tool-action { margin-top: 13px; display: flex; align-items: center; gap: 7px; color: var(--blue-bright); font-size: 12px; font-weight: 800; }
.tool-action svg { width: 15px; height: 15px; transition: transform .16s ease; }
.tool-card a:hover .tool-action svg { transform: translateX(3px); }
.green-action { color: var(--green); }
.purple-action { color: #aa8cff; }
.forex-quick-links { margin-top: 13px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; border: 1px solid rgba(69,137,222,.18); border-radius: 11px; background: rgba(3,19,42,.78); }
.forex-quick-links strong { display: block; font-size: 13px; }
.mini-kicker { margin-bottom: 3px; font-size: 9px; }
.forex-quick-links nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.forex-quick-links a { min-height: 34px; display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid rgba(82,139,207,.25); border-radius: 7px; color: #cfe3fb; font-size: 10px; font-weight: 800; text-decoration: none; background: rgba(9,37,78,.7); }
.forex-quick-links a:hover { border-color: var(--blue); color: #fff; }
.empty-state { margin-top: 28px; padding: 42px 20px; text-align: center; border: 1px dashed rgba(117,160,212,.42); border-radius: 12px; background: rgba(3,19,42,.7); }
.empty-state span { width: 50px; height: 50px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-bright); background: rgba(22,131,255,.09); }
.empty-state span svg { width: 24px; height: 24px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); }
.empty-state button { min-height: 40px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 8px; color: #fff; background: rgba(22,131,255,.12); cursor: pointer; }

.journal-promo { padding: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 36px; align-items: center; }
.journal-copy h2 { max-width: 570px; margin-bottom: 12px; font-size: 31px; line-height: 1.12; letter-spacing: -.03em; }
.journal-copy > p:not(.section-kicker) { max-width: 590px; color: var(--muted); }
.journal-copy ul { margin: 20px 0 24px; padding: 0; list-style: none; display: grid; gap: 9px; }
.journal-copy li { position: relative; padding-left: 22px; color: #dbe6f5; font-size: 13px; }
.journal-copy li::before { content: ""; position: absolute; top: .62em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(0,214,143,.4); }
.primary-button, .secondary-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 16px; border-radius: 8px; font-size: 12px; font-weight: 800; text-decoration: none; }
.primary-button { color: #fff; border: 1px solid #248dff; background: linear-gradient(145deg, #1683ff, #0968dc); box-shadow: 0 10px 28px rgba(22,131,255,.22); }
.primary-button:hover { filter: brightness(1.08); }
.primary-button svg, .secondary-button svg { width: 15px; height: 15px; }
.journal-visual { min-height: 315px; overflow: hidden; padding: 14px; border: 1px solid rgba(79,145,224,.3); border-radius: 14px; background: linear-gradient(145deg, #091827, #06101c); box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.dashboard-topbar { min-height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 8px; background: #101d2c; }
.dashboard-topbar span { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.dashboard-topbar strong { font-size: 11px; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 11px; }
.dashboard-metrics span { min-height: 70px; padding: 12px; border: 1px solid #24415f; border-radius: 9px; background: #102035; }
.dashboard-metrics small, .dashboard-metrics strong { display: block; }
.dashboard-metrics small { color: #8297b4; font-size: 9px; text-transform: uppercase; }
.dashboard-metrics strong { margin-top: 7px; font-size: 19px; }
.metric-green { color: var(--green); }
.metric-purple { color: #b59dff; }
.dashboard-chart { width: 100%; height: 170px; margin-top: 12px; padding: 8px; border: 1px solid #24415f; border-radius: 10px; background: #0e1c2b; }

.trust-panel { padding-bottom: 28px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(105,155,220,.18); border-bottom: 1px solid rgba(105,155,220,.18); }
.trust-grid article { min-height: 175px; padding: 22px 18px; }
.trust-grid article + article { border-left: 1px solid rgba(105,155,220,.18); }
.trust-icon { width: 38px; height: 38px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 10px; color: var(--blue-bright); background: rgba(22,131,255,.09); }
.trust-icon svg { width: 21px; height: 21px; }
.trust-grid h3 { margin-bottom: 6px; font-size: 15px; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.bottom-grid { margin-top: 18px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.faq-panel, .embed-panel { margin-top: 0; padding: 24px; }
.faq-panel h2, .embed-panel h2 { margin-bottom: 16px; font-size: 23px; letter-spacing: -.02em; }
details { border-top: 1px solid rgba(105,155,220,.17); }
details:last-of-type { border-bottom: 1px solid rgba(105,155,220,.17); }
summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 17px; height: 17px; color: #7fa9d8; transition: transform .16s ease; }
details[open] summary svg { transform: rotate(90deg); }
details p { margin: -4px 0 15px; color: var(--muted); font-size: 12px; }
.embed-panel { display: flex; flex-direction: column; align-items: flex-start; }
.embed-icon { width: 52px; height: 52px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 12px; color: var(--blue-bright); background: rgba(22,131,255,.1); border: 1px solid rgba(71,151,255,.25); }
.embed-icon svg { width: 27px; height: 27px; }
.embed-panel > p:not(.section-kicker) { color: var(--muted); font-size: 13px; }
.secondary-button { margin-top: auto; color: #fff; border: 1px solid var(--border-strong); background: rgba(22,131,255,.08); }
.secondary-button:hover { background: rgba(22,131,255,.15); }
.tools-footer { margin-top: 18px; padding: 18px 2px 0; display: flex; justify-content: space-between; gap: 18px; color: #71839b; font-size: 10px; }
.tools-footer p { margin: 0; }

button:focus-visible, input:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(46,156,255,.35); outline-offset: 3px; }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 28px; }
  .hero-copy { max-width: 680px; }
  .hero-art { width: 75%; opacity: .55; }
  .hero-search-card { max-width: 520px; }
  .category-header { align-items: flex-start; }
  .category-grid, .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card:last-child { grid-column: 1 / -1; }
  .tool-card.featured { grid-column: span 2; }
  .journal-promo { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid article:nth-child(3) { border-left: 0; border-top: 1px solid rgba(105,155,220,.18); }
  .trust-grid article:nth-child(4) { border-top: 1px solid rgba(105,155,220,.18); }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1200px); }
  .page { padding-top: 12px; }
  .hero { padding: 24px 18px; border-radius: 15px; }
  .hero-art { top: 25px; right: -80px; width: 120%; height: 240px; opacity: .35; }
  .crumb { margin-bottom: 20px; }
  h1 { font-size: 38px; }
  .hero-lead { font-size: 15px; }
  .trust-row { gap: 10px 15px; }
  .category-nav, .tool-library, .trust-panel, .faq-panel, .embed-panel, .journal-promo { border-radius: 14px; }
  .category-nav, .tool-library, .trust-panel, .faq-panel, .embed-panel, .journal-promo { padding: 18px; }
  .category-header { display: block; }
  .show-all-button { width: 100%; margin-bottom: 14px; justify-content: center; }
  .category-grid { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .category-card, .category-card:last-child { min-width: min(84vw, 320px); min-height: 128px; grid-column: auto; scroll-snap-align: start; }
  .tool-grid, .tool-grid.two-column, .bottom-grid { grid-template-columns: 1fr; }
  .tool-card.featured { grid-column: auto; }
  .library-header { display: block; }
  .result-status { margin-top: 10px; }
  .active-filter { align-items: flex-start; }
  .active-filter button { flex: 0 0 auto; }
  .tool-card a { min-height: 240px; }
  .forex-quick-links { grid-template-columns: 1fr; gap: 12px; }
  .forex-quick-links nav { justify-content: flex-start; }
  .journal-copy h2 { font-size: 26px; }
  .journal-visual { min-height: 270px; }
  .dashboard-metrics { grid-template-columns: 1fr 1fr; }
  .dashboard-metrics span:last-child { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .trust-grid article { min-height: 0; border-bottom: 1px solid rgba(105,155,220,.18); }
  .trust-grid article + article { border-left: 0; }
  .trust-grid article:nth-child(3), .trust-grid article:nth-child(4) { border-top: 0; }
  .tools-footer { display: block; }
  .tools-footer span { display: block; margin-top: 5px; }
}

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