﻿:root {
  --ink: #111832;
  --ink-soft: #4d5875;
  --navy: var(--trm-navy);
  --navy-2: #111f4d;
  --violet: var(--trm-blue);
  --violet-dark: var(--trm-navy);
  --mint: #18a98f;
  --gold: #d21611;
  --paper: #ffffff;
  --surface: var(--trm-bg-light);
  --line: var(--trm-border);
  --shadow: 0 20px 60px rgba(11, 20, 55, 0.12);
  --radius: 20px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.notice {
  background: var(--navy);
  color: #dce3ff;
  font-size: 0.82rem;
}

.notice-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.notice p {
  margin: 0;
}

.notice a {
  color: #fff;
  font-weight: 700;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 228, 240, 0.9);
  backdrop-filter: blur(14px);
}

.navigation {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.inner-topbar {
  color: #181b35;
  background: linear-gradient(90deg, #f7f8ff 0%, #eef2ff 100%);
  border-bottom: 1px solid #dde3f2;
}

.inner-topbar-container {
  min-height: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.inner-topbar-links,
.inner-topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.inner-topbar a {
  color: #252945;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.inner-topbar .topbar-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  color: var(--trm-text);
  background: #d21611;
  border-radius: 25px;
  box-shadow: 0 7px 18px rgba(243, 156, 18, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  width: 128px;
  height: auto;
}

.brand-logo-dark {
  display: none;
}

.footer-brand-logo {
  width: 150px;
  height: auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--mint));
  border-radius: 13px 4px 13px 4px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 20px rgba(98, 84, 231, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.menu > a {
  color: #28324f;
  font-family: var(--font-primary);
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.menu > a:not(.button):hover {
  color: var(--violet);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: #fff;
  background: var(--violet);
  border: 0;
  border-radius: 25px;
  box-shadow: 0 10px 24px rgba(98, 84, 231, 0.22);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--violet-dark);
  box-shadow: 0 14px 30px rgba(98, 84, 231, 0.28);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  color: #fff !important;
  font-size: 0.84rem !important;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--violet-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 126px) 0 72px;
  background:
    radial-gradient(circle at 75% 20%, rgba(98, 84, 231, 0.14), transparent 32%),
    linear-gradient(180deg, #fbfcff 0%, #f3f6ff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 280px;
  height: 280px;
  top: -150px;
  left: -100px;
  border: 54px solid rgba(24, 169, 143, 0.08);
}

.hero::after {
  width: 110px;
  height: 110px;
  right: 6%;
  bottom: 8%;
  background: repeating-linear-gradient(45deg, rgba(241, 178, 74, 0.24) 0 4px, transparent 4px 12px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--violet-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  line-height: 1.12;
  text-wrap: balance;
  font-family: "Bricolage Grotesque", sans-serif;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6vw, 5.4rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}

.hero-lead {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.proof-list,
.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  color: #35405e;
  font-size: 0.9rem;
  font-weight: 700;
}

.proof-list li::before,
.check-list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--mint);
  font-weight: 900;
}

.hero-portrait {
  width: min(100%, 430px);
  margin: 0 auto;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.81;
  background: linear-gradient(160deg, #dcd8ff, #d8f4ed);
  border-radius: 46% 46% 18px 18px;
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero-portrait figcaption {
  width: calc(100% - 44px);
  position: relative;
  z-index: 2;
  margin: -24px auto 0;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(11, 20, 55, 0.12);
}

.hero-portrait strong,
.hero-portrait span {
  display: block;
}

.hero-portrait strong {
  color: var(--navy);
}

.hero-portrait span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.principles {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: var(--navy);
  color: #fff;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle-grid article {
  min-height: 190px;
  padding: 38px clamp(22px, 4vw, 52px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-grid span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
}

.principle-grid h2 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.principle-grid p {
  margin: 0;
  color: #b8c2df;
  font-size: 0.92rem;
}

.section {
  padding: clamp(76px, 10vw, 132px) 0;
}

.section-tint {
  background: var(--surface);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.prose {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.prose p:first-child {
  margin-top: 0;
}

.prose .text-link {
  margin-top: 12px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.domain-grid article {
  min-height: 210px;
  padding: 27px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.domain-grid article:hover {
  border-color: rgba(98, 84, 231, 0.4);
  box-shadow: 0 16px 34px rgba(11, 20, 55, 0.08);
  transform: translateY(-3px);
}

.domain-grid article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--violet-dark);
  background: #eceafe;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.domain-grid p,
.service-grid p,
.outcome-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-grid article {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-grid article::after {
  content: "";
  width: 130px;
  height: 130px;
  position: absolute;
  right: -70px;
  top: -70px;
  background: rgba(98, 84, 231, 0.07);
  border-radius: 50%;
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 900;
}

.service-grid h3 {
  font-size: 1.3rem;
}

.service-grid a {
  display: inline-block;
  margin-top: 22px;
  color: var(--violet-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.founder-section {
  background:
    linear-gradient(90deg, rgba(98, 84, 231, 0.05), transparent 45%),
    #fff;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}

.founder-card {
  position: relative;
  padding: clamp(36px, 6vw, 68px);
  color: #fff;
  background: linear-gradient(145deg, var(--violet), var(--navy-2));
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.quote-mark {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.7;
}

.founder-card blockquote {
  margin: 28px 0 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.25;
}

.founder-name {
  margin: 0;
  color: #d7def8;
  font-size: 0.9rem;
  font-weight: 800;
}

.check-list {
  margin-top: 26px;
  color: var(--ink-soft);
}

.check-list li {
  margin: 13px 0;
}

.section-dark {
  color: #dbe2f8;
  background:
    radial-gradient(circle at 90% 20%, rgba(98, 84, 231, 0.27), transparent 25%),
    var(--navy);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .eyebrow {
  color: #9ef0df;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list > li > span {
  display: block;
  margin-bottom: 50px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
}

.process-list p {
  margin: 0;
  color: #abb7d7;
  font-size: 0.91rem;
}

.outcome-list {
  display: grid;
  gap: 16px;
}

.outcome-list article {
  padding: 24px 26px;
  background: var(--surface);
  border-left: 4px solid var(--mint);
  border-radius: 0 14px 14px 0;
}

.outcome-list h3 {
  margin-bottom: 6px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-grid article {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.insight-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.6;
  background: #dce2f0;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.insight-image:hover img {
  transform: scale(1.025);
}

.insight-grid article > div {
  padding: 25px;
}

.meta {
  margin: 0 0 12px;
  color: var(--violet-dark);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.insight-grid h3 {
  font-size: 1.2rem;
}

.insight-grid h3 a {
  text-decoration: none;
}

.insight-grid h3 a:hover {
  color: var(--violet-dark);
}

.insight-grid article > div > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 120px);
}

.faq-grid > div:first-child > p:last-child {
  color: var(--ink-soft);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 19px;
  color: var(--violet);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 40px 24px 0;
  color: var(--ink-soft);
}

.contact-section {
  color: #dce3f6;
  background:
    radial-gradient(circle at 12% 75%, rgba(24, 169, 143, 0.2), transparent 25%),
    var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: start;
}

.contact-section h2 {
  color: #fff;
}

.contact-section .eyebrow {
  color: #9ef0df;
}

.contact-email {
  display: inline-block;
  margin: 18px 0;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-note {
  color: #aeb9d7;
  font-size: 0.88rem;
}

.consultation-form {
  padding: clamp(26px, 5vw, 44px);
  color: var(--ink);
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: #fbfcff;
  border: 1px solid #cfd6e6;
  border-radius: 10px;
}

.field input,
.field select {
  height: 48px;
  padding: 0 13px;
}

.field textarea {
  min-height: 140px;
  padding: 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(98, 84, 231, 0.18);
  outline-offset: 0;
  border-color: var(--violet);
}

.field small {
  display: block;
  margin-top: 6px;
  color: #68728c;
  font-size: 0.76rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 22px;
  color: #4c5670;
  font-size: 0.82rem;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--violet);
}

.consent a {
  color: var(--violet-dark);
  font-weight: 800;
}

.form-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: #52607d;
  font-size: 0.82rem;
}

.site-footer {
  padding: 70px 0 28px;
  color: #aeb7c5;
  background: #121212;
  border-radius: 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 36px;
}

.brand-footer {
  color: #fff;
}

.brand-footer small {
  color: #aeb8d7;
}

.footer-grid > div:first-child p {
  max-width: 360px;
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a {
  display: block;
  margin: 9px 0;
  color: #b9c3df;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

/* Article and policy pages */
.page-hero {
  padding: 76px 0 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  max-width: 900px;
}

.breadcrumbs {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: var(--violet-dark);
}

.page-hero h1 {
  max-width: 900px;
  font-size: var(--text-h1-desktop);
}

.article-meta {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 250px;
  gap: 70px;
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-content .article-image {
  width: 100%;
  margin: 0 0 44px;
  border-radius: 20px;
}

.article-content h2 {
  margin-top: 50px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.article-content h3 {
  margin-top: 32px;
}

.article-content p,
.article-content li {
  color: #39445f;
  font-size: 1.02rem;
}

.article-content li {
  margin: 8px 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9rem;
}

.article-content th,
.article-content td {
  padding: 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-content th {
  color: var(--navy);
  background: var(--surface);
}

.callout {
  margin: 34px 0;
  padding: 24px 26px;
  background: #eeecff;
  border-left: 4px solid var(--violet);
  border-radius: 0 14px 14px 0;
}

.article-aside {
  position: sticky;
  top: 120px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.article-aside h2 {
  font-size: 1rem;
}

.article-aside a {
  display: block;
  margin: 11px 0;
  color: var(--violet-dark);
  font-size: 0.86rem;
}

.policy-content {
  max-width: 800px;
}

.theme-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 750;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--violet);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 118px) 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(98, 84, 231, 0.2), transparent 26%),
    linear-gradient(180deg, var(--surface), var(--paper));
  border-bottom: 1px solid var(--line);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  gap: clamp(42px, 8vw, 96px);
  align-items: center;
}

.detail-hero h1 {
  margin-bottom: 22px;
  font-size: var(--text-h1-desktop);
}

.detail-hero .hero-lead {
  max-width: 760px;
}

.detail-panel {
  padding: 30px;
  color: #dce3f8;
  background: linear-gradient(145deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.detail-panel h2 {
  color: #fff;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}

.detail-panel p {
  color: #b9c4df;
}

.detail-panel .check-list {
  color: #dce3f8;
}

.detail-panel .check-list li {
  margin: 12px 0;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -1px;
  color: #fff;
  background: var(--navy);
}

.stat-strip div {
  padding: 24px clamp(18px, 3vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-strip div:last-child {
  border-right: 0;
}

.stat-strip strong,
.stat-strip span {
  display: block;
}

.stat-strip strong {
  color: var(--gold);
  font-size: 1.35rem;
}

.stat-strip span {
  margin-top: 4px;
  color: #b9c4df;
  font-size: 0.82rem;
}

.detail-copy {
  max-width: 780px;
}

.detail-copy > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.detail-grid,
.related-grid,
.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-card,
.related-card,
.index-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 20, 55, 0.05);
}

.detail-card span,
.index-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--violet-dark);
  background: #eceafe;
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 900;
}

.detail-card p,
.related-card p,
.index-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.index-card {
  display: flex;
  flex-direction: column;
}

.index-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.workflow {
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
  counter-reset: detail-step;
}

.workflow li {
  position: relative;
  min-height: 92px;
  padding: 0 0 30px 74px;
  counter-increment: detail-step;
}

.workflow li::before {
  content: counter(detail-step, decimal-leading-zero);
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--violet);
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 900;
}

.workflow li::after {
  content: "";
  width: 1px;
  position: absolute;
  top: 54px;
  bottom: 4px;
  left: 25px;
  background: var(--line);
}

.workflow li:last-child::after {
  display: none;
}

.workflow h3 {
  margin-bottom: 6px;
}

.workflow p {
  margin: 0;
  color: var(--ink-soft);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.tech-list li {
  padding: 8px 13px;
  color: var(--violet-dark);
  background: #eeecff;
  border: 1px solid #dcd8ff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(34px, 6vw, 64px);
  color: #dce3f8;
  background:
    radial-gradient(circle at 86% 20%, rgba(98, 84, 231, 0.35), transparent 30%),
    var(--navy);
  border-radius: 24px;
}

.cta-band h2 {
  margin-bottom: 10px;
  color: #fff;
}

.cta-band p {
  max-width: 700px;
  margin: 0;
  color: #b9c4df;
}

.related-card {
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.related-card:hover {
  border-color: var(--violet);
  transform: translateY(-3px);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f7ff;
  --ink-soft: #c1c8d4;
  --paper: #0d101a;
  --surface: #151a28;
  --line: #30384b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .site-header {
  background: rgba(13, 16, 26, 0.96);
  border-bottom-color: var(--line);
}

html[data-theme="dark"] .inner-topbar {
  color: #fff;
  background: linear-gradient(90deg, #11152f 0%, #1b2147 100%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .inner-topbar a {
  color: #fff;
}

html[data-theme="dark"] .inner-topbar .topbar-cta {
  color: var(--trm-text);
}

html[data-theme="dark"] .brand-logo {
  display: none;
}

html[data-theme="dark"] .brand-logo-dark {
  display: block;
}

html[data-theme="dark"] :is(h1, h2, h3, .brand, .menu > a, .faq-list summary) {
  color: #f5f7ff;
}

html[data-theme="dark"] :is(.eyebrow, .breadcrumbs a, .text-link, .article-aside a) {
  color: #a8adff;
}

html[data-theme="dark"] .skip-link {
  color: #0b1437;
  background: #fff;
}

html[data-theme="dark"] :is(.article-content p, .article-content li, .proof-list) {
  color: var(--ink-soft);
}

html[data-theme="dark"] :is(.callout, .tech-list li) {
  color: #dfe3ff;
  background: #202742;
  border-color: #475078;
}

html[data-theme="dark"] .detail-card > span,
html[data-theme="dark"] .index-card > span {
  color: #dfe3ff;
  background: #282f52;
}

html[data-theme="dark"] .menu-toggle {
  background: var(--surface);
  border-color: var(--line);
}

html[data-theme="dark"] .menu-toggle span:not(.sr-only) {
  background: #fff;
}

html[data-theme="dark"] .article-content th {
  color: #fff;
}

html[data-theme="dark"] .article-aside {
  background: var(--surface);
}

html[data-theme="dark"] .consultation-form {
  color: #111832;
  background: #fff;
}

html[data-theme="dark"] .consultation-form :is(h2, h3, label) {
  color: #0b1437;
}

@media (max-width: 980px) {
  .notice-inner p {
    display: none;
  }

  .notice-inner {
    justify-content: center;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    top: 114px;
    left: 20px;
    right: 20px;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: grid;
  }

  .menu.menu-simple {
    display: flex;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .menu > a {
    padding: 8px;
  }

  .hero-grid,
  .founder-grid {
    grid-template-columns: 1fr 0.72fr;
    gap: 44px;
  }

  .domain-grid,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .inner-page .menu {
    top: 90px;
  }

  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    max-width: 680px;
  }

  .detail-grid,
  .related-grid,
  .index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    top: 0;
  }

  .notice {
    display: none;
  }

  .inner-topbar {
    display: none;
  }

  .menu {
    top: 68px;
    left: 14px;
    right: 14px;
  }

  .menu.menu-simple {
    display: flex;
  }

  .menu-simple > a:not(.button) {
    display: none;
  }

  .navigation {
    min-height: 70px;
  }

  .inner-page .menu {
    top: 70px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .split,
  .founder-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: left;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .hero-portrait {
    width: min(88%, 380px);
  }

  .principle-grid,
  .domain-grid,
  .service-grid,
  .insight-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .principle-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .principle-grid article:last-child {
    border-bottom: 0;
  }

  .process-list li,
  .process-list li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .process-list > li > span {
    margin-bottom: 24px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-strip div:nth-child(2) {
    border-right: 0;
  }

  .stat-strip div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .detail-grid,
  .related-grid,
  .index-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-list {
    display: grid;
  }

  .service-grid article,
  .domain-grid article,
  .consultation-form {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .theme-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .notice,
  .menu-toggle,
  .menu,
  .site-footer,
  .consultation-form {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .page-hero {
    padding: 24px 0;
  }
}
.trm-card-link {
  color: inherit;
  text-decoration: none;
}

.trm-card-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

/* ── Extracted from WordPress inline style blocks ─────────────────────────
   These rules were previously in nori_options-dynamic-css and
   nori-wp-custom-style-inline-css. They are needed for visual correctness.
   ──────────────────────────────────────────────────────────────────────── */

/* Fix: --color-primary token so inner-pages.css resolves correctly (H-3) */
:root {
  --color-primary: var(--gold);
}

/* Body / paragraph font */
.font-family,
body,
.entry-content > p,
.entry-content li {
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  color: #6a7c92;
}

/* Heading font family override */
.font-primary,
h1, h2, h3, h4, h5, h6,
#loading .loading-wrap .loader_txt,
.sidepanel ul.menu li > a,
.nav-sidepanel > ul > li > a,
.single-header .post-title,
.footer .wg-title,
.footer .wg-title a {
  font-family: "Bricolage Grotesque", "DM Sans", ui-sans-serif, sans-serif !important;
  color: var(--trm-text);
}

/* Heading type scale (h1–h6) */
h1 {
  font-size: 54px;
  font-weight: 600;
  line-height: 48px;
  font-style: normal;
}
h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 48px;
  font-style: normal;
}
h3 {
  font-size: 36px;
  font-weight: 600;
  line-height: 42px;
  font-style: normal;
}
h4 {
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  font-style: normal;
}
h5 {
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  font-style: normal;
}
h6 {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  font-style: normal;
}

/* Logo height */
.mo-header-v1 .logo img,
.mo-header-v2 .mo-logo img,
.mo-header-v3 .mo-logo img,
.mo-header-v4 .mo-logo img,
.mo-header-v5 .mo-logo img,
.mo-header-v6 .mo-logo img,
.mo-header-v7 .mo-logo img,
.mo-header-onepage .mo-logo img,
.mo-left-navigation .mo-header-menu .mo-logo img,
.navigation img.Logo_white,
.navigation .logo.logo_page,
.loading-wrap .logotype {
  height: 60px;
}

/* Header v2 menu link color / font size */
.mo-header-v2 .mo-menu-list > ul > li > a,
.mo-header-v2 .mo-search-sidebar > a,
.mo-header-v2 .select-languages > a {
  color: var(--trm-text);
  font-size: 15px;
  line-height: 28px;
}

/* Header v2 menu bar background */
.mo-header-v2 .mo-header-menu {
  background-color: #fff;
}

/* Sticky header background */
.mo-stick-active .mo-header-v2.mo-header-stick .mo-header-menu {
  background-color: rgba(255, 255, 255, 0.946);
}

/* Container max-width at 1490px (single, de-duplicated copy) */
@media (min-width: 1490px) {
  .main-container,
  .page-header .parallax-container,
  .mo-blog-archive,
  .container.mo-path-inner,
  .page-header .container,
  footer .container,
  .mo-header-menu .mo-menu-list > ul > li.menu-item-has-children.mega-menu-item > ul.columns4,
  .page .main-content > .container {
width: var(--container-max) !important;
    max-width: 98% !important;
  }
}

/* Internal content padding / background */
.internal-content {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-right: 0;
  padding-left: 0;
  background-color: #fff;
}

/* Body background */
body,
.main-content {
  background-color: #fff;
}


/* ==========================================================================
   Footer v2 Styles (trm-footer-v2)
   ========================================================================== */
.trm-footer-v2 {
  background-color: var(--trm-navy);
  color: #b7c5d9;
  padding: 80px 0 30px;
  font-family: var(--font-primary);
  border-top: 1px solid rgba(113, 163, 255, 0.1);
}

.trm-footer-v2__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.trm-footer-v2__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.trm-footer-v2__brand {
  padding-right: 20px;
}

.trm-footer-v2__logo img {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.trm-footer-v2__tagline {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #8a9bb3;
}

.trm-footer-v2__social {
  display: flex;
  gap: 16px;
}

.trm-footer-v2__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all 0.3s ease;
}

.trm-footer-v2__social-link:hover {
  background: #315fe9;
  transform: translateY(-3px);
}

.trm-footer-v2__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.trm-footer-v2__col-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.trm-footer-v2__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trm-footer-v2__links li {
  margin-bottom: 12px;
}

.trm-footer-v2__links a {
  color: #b7c5d9;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.trm-footer-v2__links a:hover {
  color: #fff;
}

.trm-footer-v2__address {
  font-style: normal;
}

.trm-footer-v2__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.5;
}

.trm-footer-v2__contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #315fe9;
  margin-top: 3px;
}

.trm-footer-v2__contact-item a {
  color: #b7c5d9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.trm-footer-v2__contact-item a:hover {
  color: #fff;
}

.trm-footer-v2__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: #8a9bb3;
}

.trm-footer-v2__bottom a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.trm-footer-v2__bottom a:hover {
  color: #315fe9;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .trm-footer-v2__top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .trm-footer-v2__brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .trm-footer-v2__top {
    grid-template-columns: 1fr 1fr;
  }
  .trm-footer-v2__contact-col {
    grid-column: 1 / -1;
  }
  .trm-footer-v2__bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .trm-footer-v2__top {
    grid-template-columns: 1fr;
  }
}


/* hero H1 responsive scale (design-system tokens) */
@media (max-width: 1024px) {
  .page-hero h1,
  .detail-hero h1 {
    font-size: var(--text-h1-tablet);
  }
}

@media (max-width: 767px) {
  .page-hero h1,
  .detail-hero h1 {
    font-size: var(--text-h1-mobile);
  }
}
